/* =========================
   INTER – SELF HOSTED
   ========================= */

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-v20-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-v20-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-v20-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-v20-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-v20-latin-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
:root {

  --bg: #f6fbff;
  --bg-alt: #edf6fb;
  --white: #ffffff;
  --text: #102333;
  --muted: #5d7283;
  --primary: #14a3c7;
  --primary-dark: #0d7d99;
  --accent: #dff7ff;
  --border: rgba(16, 35, 51, 0.08);
  --shadow: 0 20px 50px rgba(16, 35, 51, 0.08);
  --radius: 20px;
  --radius-sm: 14px;
  --container: 1140px;
  --wheel-item-height: 56px;
  --wheel-visible-count: 5;
  --glass-bg: linear-gradient(145deg, rgba(255,255,255,0.88) 0%, rgba(235,248,255,0.72) 100%);
  --glass-border: rgba(255, 255, 255, 0.9);
  --glass-shadow:
    0 24px 56px rgba(16, 35, 51, 0.08),
    0 8px 20px rgba(16, 35, 51, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(16, 35, 51, 0.03);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  background:
    radial-gradient(ellipse 140% 70% at 0% 0%, rgba(235, 240, 250, 0.98) 0%, rgba(215, 225, 242, 0.80) 20%, rgba(190, 205, 232, 0.45) 40%, transparent 62%),
    radial-gradient(ellipse 110% 60% at 100% 0%, rgba(210, 215, 242, 0.92) 0%, rgba(185, 190, 228, 0.68) 22%, rgba(158, 165, 215, 0.35) 42%, transparent 58%),
    radial-gradient(ellipse 100% 45% at 50% 0%, rgba(245, 246, 255, 0.88) 0%, rgba(228, 228, 250, 0.55) 28%, transparent 58%),
    radial-gradient(ellipse 80% 55% at 15% 45%, rgba(210, 218, 242, 0.55) 0%, rgba(188, 195, 228, 0.28) 35%, transparent 62%),
    radial-gradient(ellipse 70% 45% at 85% 40%, rgba(165, 162, 218, 0.52) 0%, rgba(140, 138, 205, 0.28) 30%, transparent 58%),
    radial-gradient(ellipse 60% 50% at 70% 60%, rgba(98, 80, 160, 0.28) 0%, rgba(118, 95, 175, 0.14) 35%, transparent 62%),
    radial-gradient(ellipse 50% 40% at 25% 75%, rgba(88, 72, 155, 0.22) 0%, rgba(108, 88, 168, 0.12) 32%, transparent 58%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(28, 28, 105, 0.90) 0%, rgba(52, 48, 138, 0.58) 30%, transparent 62%),
    radial-gradient(ellipse 60% 40% at 80% 70%, rgba(48, 42, 118, 0.68) 0%, rgba(70, 62, 148, 0.36) 28%, transparent 56%),
    linear-gradient(165deg,
      #e2e9f6 0%,
      #d4dff2 8%,
      #c0cfec 16%,
      #a8b8e2 26%,
      #8e9ed8 36%,
      #7484c8 46%,
      #5e6ab8 56%,
      #4c54a8 66%,
      #3a3e92 76%,
      #2a2c7e 86%,
      #1e1e6a 100%
    );
  background-attachment: fixed;
}

html::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 60% 50% at 80% 20%,
      rgba(180, 230, 255, 0.35) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 100% 100% at 50% 50%,
      transparent 40%,
      rgba(14, 30, 50, 0.055) 100%
    );
}

html::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
  animation: ambientShift 12s ease-in-out infinite;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  background: transparent;
  position: relative;
  touch-action: manipulation;
}

body::before {
  content: "";
  position: fixed;
  top: -300px;
  left: -200px;
  width: 1000px;
  height: 1000px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(30, 180, 220, 0.65) 0%,
    rgba(66, 203, 232, 0.40) 30%,
    rgba(100, 220, 245, 0.18) 55%,
    rgba(66, 203, 232, 0) 70%
  );
  filter: blur(100px);
  z-index: -2;
  pointer-events: none;
  animation: moveOrb1 28s infinite ease-in-out alternate;
  will-change: transform;
}

body::after {
  content: "";
  position: fixed;
  bottom: -300px;
  right: -200px;
  width: 1100px;
  height: 1100px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(10, 140, 190, 0.60) 0%,
    rgba(20, 163, 199, 0.38) 28%,
    rgba(50, 180, 215, 0.16) 52%,
    rgba(20, 163, 199, 0) 70%
  );
  filter: blur(100px);
  z-index: -2;
  pointer-events: none;
  animation: moveOrb2 36s infinite ease-in-out alternate;
  will-change: transform;
}

@keyframes moveOrb1 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(70px, 90px) scale(1.08); }
  100% { transform: translate(20px, 170px) scale(0.95); }
}

@keyframes moveOrb2 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-55px, -45px) scale(1.04); }
  100% { transform: translate(-12px, -105px) scale(0.96); }
}

@keyframes ambientShift {
  0%   { opacity: 0.032; transform: scale(1) rotate(0deg); }
  50%  { opacity: 0.048; transform: scale(1.08) rotate(1deg); }
  100% { opacity: 0.032; transform: scale(1) rotate(0deg); }
}

@keyframes proGlare {
  0%   { left: -120%; }
  33%  { left: 150%; }
  100% { left: 150%; }
}

@keyframes btnGradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes btnPrimaryGlowPulse {
  0%, 100% {
    box-shadow:
      0 10px 26px rgba(20, 163, 199, 0.34),
      0 2px 10px rgba(20, 163, 199, 0.26),
      0 0 0 1px rgba(255,255,255,0.10),
      inset 0 1px 0 rgba(255,255,255,0.42),
      inset 0 -1px 0 rgba(0,0,0,0.08);
  }
  50% {
    box-shadow:
      0 14px 34px rgba(20, 163, 199, 0.42),
      0 4px 14px rgba(20, 163, 199, 0.30),
      0 0 28px rgba(66, 203, 232, 0.18),
      inset 0 1px 0 rgba(255,255,255,0.46),
      inset 0 -1px 0 rgba(0,0,0,0.08);
  }
}

@keyframes successPop {
  0%   { opacity: 0; transform: translateY(8px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes cardGlare {
  0%   { transform: translateX(-160%) skewX(-22deg); opacity: 0; }
  4%   { opacity: 1; }
  46%  { opacity: 0.9; }
  52%  { transform: translateX(190%) skewX(-22deg); opacity: 0; }
  100% { transform: translateX(190%) skewX(-22deg); opacity: 0; }
}

@keyframes ambientPulse {
  0%, 100% { opacity: 0.7; transform: scale(1) translate(0, 0) rotate(-15deg); }
  33%       { opacity: 0.9; transform: scale(1.18) translate(6%, 4%) rotate(-11deg); }
  66%       { opacity: 0.75; transform: scale(0.90) translate(-4%, 6%) rotate(-20deg); }
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

a, button, input, textarea, select, label {
  touch-action: manipulation;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(16, 35, 51, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 2rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}

.logo-image {
  width: 50px;
  height: 50px;
  min-width: 50px;
  min-height: 50px;
  max-width: 50px;
  max-height: 50px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  border-radius: 12px;
  transform: translateY(8px);
}

.logo-text-image {
  height: 27px;   /* säädä tarvittaessa */
  width: auto;
  display: block;
  margin-left: -4px;
  transform: translateY(11px);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2.1rem;
  margin-left: auto;
}

.site-nav a {
  color: #556b7d;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav .btn-nav {
  color: #556b7d !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  min-height: auto !important;
  padding: 0 !important;
}

.site-nav .btn-nav:hover {
  color: var(--text) !important;
  background: transparent !important;
  box-shadow: none !important;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
  cursor: pointer;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px auto;
  border-radius: 999px;
}

.mobile-top-blur {
  display: none;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  cursor: pointer;
  border: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  isolation: isolate;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.btn > span,
.btn {
  color: inherit;
}

.btn-secondary::before,
.btn-secondary::after {
  z-index: 0 !important;
}

.btn-secondary {
  color: #102333 !important;
}

/* Teksti päällimmäiseksi */
.btn-secondary > *,
.btn-secondary {
  z-index: 2;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.2s ease;
  background: rgba(255, 255, 255, 0.18);
  z-index: -1;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
  opacity: 0.9;
}

.btn:hover::before {
  opacity: 1;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: scale(0.97);
}

.btn:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 4px rgba(20, 163, 199, 0.12),
    0 14px 32px rgba(16, 35, 51, 0.10);
}

.full {
  width: 100%;
}

.btn-nav {
  padding-inline: 0;
  min-height: auto;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.btn-primary {
  position: relative;
  background:
    radial-gradient(circle at 18% 18%, rgba(255,255,255,0.34) 0%, rgba(255,255,255,0.08) 18%, transparent 34%),
    linear-gradient(135deg, #14a3c7 0%, #42cbe8 50%, #14a3c7 100%);
  background-size: 180% 180%;
  color: white;
  box-shadow:
    0 10px 26px rgba(20, 163, 199, 0.34),
    0 2px 10px rgba(20, 163, 199, 0.26),
    0 0 0 1px rgba(255,255,255,0.10),
    inset 0 1px 0 rgba(255,255,255,0.42),
    inset 0 -1px 0 rgba(0,0,0,0.08);
  animation:
    btnGradientShift 4s ease infinite,
    btnPrimaryGlowPulse 3.6s ease-in-out infinite;
  text-shadow: 0 1px 0 rgba(255,255,255,0.10);
}

.btn-primary::before {
  background: linear-gradient(
    105deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.12) 22%,
    rgba(255,255,255,0.32) 48%,
    rgba(255,255,255,0.10) 72%,
    rgba(255,255,255,0) 100%
  );
  opacity: 0.72;
  transform: translateX(-130%) skewX(-18deg);
  transition:
    opacity 0.22s ease,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-primary::after {
  background:
    radial-gradient(circle at 50% -30%, rgba(255,255,255,0.38), transparent 58%),
    radial-gradient(circle at 50% 120%, rgba(6, 113, 140, 0.18), transparent 55%);
}

.btn-primary:hover {
  box-shadow:
    0 16px 38px rgba(20, 163, 199, 0.42),
    0 4px 14px rgba(20, 163, 199, 0.28),
    0 0 24px rgba(66, 203, 232, 0.16),
    inset 0 1px 0 rgba(255,255,255,0.50),
    inset 0 -1px 0 rgba(0,0,0,0.08);
}

.btn-primary:hover::before {
  transform: translateX(135%) skewX(-18deg);
  opacity: 0.95;
}

.btn-secondary {
  position: relative;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.82) 0%,
    rgba(246, 251, 255, 0.68) 42%,
    rgba(233, 246, 252, 0.72) 100%
  );
  backdrop-filter: blur(24px) saturate(185%);
  -webkit-backdrop-filter: blur(24px) saturate(185%);
  color: #102333 !important;
  border: 1px solid rgba(255, 255, 255, 0.92) !important;
  box-shadow:
    0 12px 28px rgba(16, 35, 51, 0.08),
    0 2px 8px rgba(16, 35, 51, 0.04),
    0 0 0 1px rgba(255,255,255,0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -1px 0 rgba(16, 35, 51, 0.04);
  text-shadow: 0 1px 0 rgba(255,255,255,0.10);
  letter-spacing: -0.015em;
}

.btn-secondary::before {
  background: linear-gradient(
    110deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.15) 20%,
    rgba(255,255,255,0.48) 48%,
    rgba(255,255,255,0.14) 76%,
    rgba(255,255,255,0) 100%
  );
  opacity: 0.78;
  transform: translateX(-130%) skewX(-18deg);
  transition:
    opacity 0.22s ease,
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-secondary::after {
  background:
    radial-gradient(circle at 50% -24%, rgba(255,255,255,0.60), transparent 60%),
    radial-gradient(circle at 50% 120%, rgba(173, 212, 227, 0.14), transparent 56%);
}

.btn-secondary:hover {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(249, 253, 255, 0.82) 42%,
    rgba(238, 248, 253, 0.82) 100%
  );
  box-shadow:
    0 18px 36px rgba(16, 35, 51, 0.12),
    0 4px 12px rgba(16, 35, 51, 0.05),
    0 0 22px rgba(255,255,255,0.22),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(16, 35, 51, 0.04);
  color: #102333 !important;
}

.btn-secondary:hover::before {
  transform: translateX(135%) skewX(-18deg);
  opacity: 0.95;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 0 5rem;
}

.hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(100, 200, 255, 0.28) 0%,
    rgba(60, 180, 230, 0.12) 45%,
    transparent 70%
  );
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
  animation: moveOrb3 22s infinite ease-in-out alternate;
  will-change: transform;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.hero-bg {
  display: none !important;
}

.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  line-height: 0.98;
  margin: 0 0 1.1rem;
  letter-spacing: -0.07em;
  font-weight: 800;
  max-width: 12ch;
  color: #07111e;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hero-text {
  font-size: 1.12rem;
  color: #4a6275;
  max-width: 48ch;
  font-weight: 700;
  line-height: 1.72;
  letter-spacing: -0.01em;
}

.hero-actions {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
  margin-top: 2.2rem;
}

.hero-card {
  display: flex;
  justify-content: center;
}

/* ============================================================
   GLASS CARD
   ============================================================ */

.glass-card {
  width: 100%;
  max-width: 420px;
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate !important;
  background: linear-gradient(
    150deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(248, 253, 255, 0.92) 30%,
    rgba(235, 248, 255, 0.88) 65%,
    rgba(218, 240, 255, 0.84) 100%
  ) !important;
  backdrop-filter: blur(56px) saturate(240%) brightness(1.10) !important;
  -webkit-backdrop-filter: blur(56px) saturate(240%) brightness(1.10) !important;
  border: none !important;
  border-radius: 28px;
  padding: 2.2rem 2.2rem 2rem !important;
  box-shadow:
    0 0 0 1.5px rgba(255, 255, 255, 0.90),
    0 0 0 3px rgba(14, 80, 140, 0.09),
    0 12px 28px rgba(8, 40, 80, 0.10),
    0 36px 72px rgba(8, 40, 80, 0.13),
    0 72px 120px rgba(8, 40, 80, 0.09),
    0 0 64px rgba(14, 80, 160, 0.14),
    0 0 140px rgba(14, 80, 160, 0.09),
    0 0 280px rgba(20, 163, 199, 0.10),
    inset 0 2px 0 rgba(255, 255, 255, 1),
    inset 0 4px 10px rgba(255, 255, 255, 0.70),
    inset 0 -1px 0 rgba(14, 60, 120, 0.07),
    inset 1.5px 0 0 rgba(255, 255, 255, 0.65),
    inset -1.5px 0 0 rgba(255, 255, 255, 0.45) !important;
}

.glass-card::after {
  content: "" !important;
  position: absolute !important;
  top: -38% !important;
  left: -10% !important;
  width: 76% !important;
  height: 62% !important;
  background: radial-gradient(
    ellipse at 40% 40%,
    rgba(255, 255, 255, 0.82) 0%,
    rgba(210, 240, 255, 0.38) 38%,
    rgba(160, 210, 245, 0.14) 62%,
    rgba(255, 255, 255, 0) 76%
  ) !important;
  border-radius: 50% !important;
  pointer-events: none !important;
  z-index: 1 !important;
  transform: rotate(-12deg) !important;
  animation: ambientPulse 11s ease-in-out infinite !important;
}

.glass-card > * {
  position: relative !important;
  z-index: 3 !important;
}

.glass-card h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #07111e;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.glass-card p {
  color: #3d5a6e !important;
  font-weight: 600 !important;
  font-size: 1.02rem !important;
  line-height: 1.65 !important;
  letter-spacing: -0.01em !important;
}

.glass-card ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.8rem;
}

.glass-card ul li {
  color: #0a1a2e !important;
  font-weight: 600 !important;
  font-size: 1.02rem !important;
  letter-spacing: -0.01em !important;
}

/* ============================================================
   EYEBROW
   ============================================================ */

.eyebrow {
  display: inline-block !important;
  padding: 0.45rem 1rem !important;
  background: linear-gradient(
    135deg,
    rgba(20, 163, 199, 0.15) 0%,
    rgba(66, 203, 232, 0.10) 100%
  ) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  color: #0a6f8a !important;
  border: 1px solid rgba(20, 163, 199, 0.22) !important;
  border-radius: 999px !important;
  font-family: "Inter", sans-serif !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  margin-bottom: 1.1rem !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 4px 12px rgba(20, 163, 199, 0.10) !important;
}

/* ============================================================
   SECTIONS
   ============================================================ */

.section {
  padding: 3rem 0;
}

.section-alt {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

.section-heading.left {
  text-align: left;
  margin-inline: 0;
}

.section-heading h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.02;
  margin: 0 0 1rem;
  letter-spacing: -0.06em;
  font-weight: 800;
  color: #0a1a2e;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.section-heading p {
  color: #4a6275;
  font-weight: 500;
  line-height: 1.75;
  font-size: 1.08rem;
  max-width: 52ch;
  margin-inline: auto;
}

/* ============================================================
   CARDS / FEATURES / PRICING
   ============================================================ */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
}

.pricing {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
}

.card,
.feature,
.price-card,
.contact-info {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate !important;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(250, 253, 255, 0.90) 30%,
    rgba(240, 250, 255, 0.88) 65%,
    rgba(228, 245, 255, 0.85) 100%
  ) !important;
  backdrop-filter: blur(48px) saturate(220%) brightness(1.06) !important;
  -webkit-backdrop-filter: blur(48px) saturate(220%) brightness(1.06) !important;
  border: none !important;
  border-radius: var(--radius);
  padding: 2rem 2rem 1.8rem !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.82),
    0 0 0 2.5px rgba(14, 80, 140, 0.13),
    0 6px 16px rgba(8, 40, 80, 0.12),
    0 18px 40px rgba(8, 40, 80, 0.10),
    0 40px 80px rgba(8, 40, 80, 0.08),
    0 0 48px rgba(14, 80, 160, 0.10),
    inset 0 1.5px 0 rgba(255, 255, 255, 1),
    inset 0 3px 8px rgba(255, 255, 255, 0.65),
    inset 0 -1.5px 0 rgba(14, 60, 120, 0.12),
    inset 1.5px 0 0 rgba(255, 255, 255, 0.60),
    inset -1.5px 0 0 rgba(255, 255, 255, 0.40) !important;
  transition:
    transform 0.40s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.40s ease !important;
}

.card::after,
.feature::after,
.price-card::after,
.contact-info::after {
  content: "" !important;
  position: absolute !important;
  top: -25% !important;
  left: 0 !important;
  width: 50% !important;
  height: 150% !important;
  background: linear-gradient(
    108deg,
    rgba(14, 60, 140, 0) 0%,
    rgba(20, 100, 180, 0.04) 10%,
    rgba(255, 255, 255, 0.08) 22%,
    rgba(255, 255, 255, 0.32) 38%,
    rgba(255, 255, 255, 0.52) 50%,
    rgba(255, 255, 255, 0.32) 62%,
    rgba(200, 230, 255, 0.12) 76%,
    rgba(14, 60, 140, 0.06) 88%,
    rgba(14, 60, 140, 0) 100%
  ) !important;
  pointer-events: none !important;
  z-index: 2 !important;
  animation: cardGlare 7s ease-in-out infinite !important;
  will-change: transform !important;
}

.card:hover,
.feature:hover,
.price-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 32px 64px rgba(16, 35, 51, 0.11),
    0 12px 28px rgba(16, 35, 51, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(16, 35, 51, 0.03) !important;
}

.card > *:not(.card-ambient),
.feature > *:not(.card-ambient),
.price-card > *:not(.price-label):not(.card-ambient),
.contact-info > *:not(.card-ambient) {
  position: relative !important;
  z-index: 3 !important;
}

.card-ambient {
  position: absolute !important;
  top: -40% !important;
  left: -12% !important;
  width: 78% !important;
  height: 62% !important;
  background: radial-gradient(
    ellipse at 40% 40%,
    rgba(255, 255, 255, 0.80) 0%,
    rgba(210, 238, 255, 0.40) 35%,
    rgba(160, 210, 245, 0.15) 60%,
    rgba(255, 255, 255, 0) 75%
  ) !important;
  border-radius: 50% !important;
  pointer-events: none !important;
  z-index: 1 !important;
  transform: rotate(-15deg) !important;
  animation: ambientPulse 9s ease-in-out infinite !important;
  will-change: transform, opacity !important;
}

.card-icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
}

.card h3,
.feature h3,
.price-card h3,
.contact-info h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #0a1a2e;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.card p,
.feature p,
.price-card li,
.contact-info li,
.contact-info p {
  color: #4a6275;
  font-size: 0.97rem;
  line-height: 1.65;
  font-weight: 500;
}
/* ============================================================
   PRICING
   ============================================================ */

.price-card ul {
  padding-left: 1.1rem;
  margin: 1rem 0 1.5rem;
}

.price {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}

.price-label {
  position: absolute;
  top: 1rem;
  right: 1rem;
  left: auto;
  width: fit-content;
  background: linear-gradient(
    135deg,
    rgba(20, 163, 199, 0.18) 0%,
    rgba(66, 203, 232, 0.14) 100%
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--primary-dark);
  padding: 0.42rem 0.82rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  border: 1px solid rgba(20, 163, 199, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 4px 12px rgba(20, 163, 199, 0.12);
  white-space: nowrap;
  margin: 0;
  z-index: 4;
}

.featured {
  border: 1px solid rgba(20, 163, 199, 0.25) !important;
}

.price-card .btn {
  min-height: 56px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.95rem 1.4rem;
}

.price-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-top: 1.25rem;
}

.price-card-actions .btn {
  width: 100%;
  min-height: 62px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  padding: 1rem 1.2rem;
}

.price-accent {
  background: linear-gradient(to right, #42cbe8, #183f86);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  position: relative;
  overflow: hidden;
  vertical-align: bottom;
}

.price-accent::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -120%;
  width: 40%;
  height: 140%;
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.75) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  animation: proGlare 3.5s infinite;
  pointer-events: none;
  z-index: 2;
}

/* ============================================================
   CONTACT
   ============================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: start;
}

.contact-form {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate !important;
  height: auto;
  contain: layout;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(250, 253, 255, 0.90) 30%,
    rgba(240, 250, 255, 0.88) 65%,
    rgba(228, 245, 255, 0.85) 100%
  ) !important;
  backdrop-filter: blur(48px) saturate(220%) brightness(1.06) !important;
  -webkit-backdrop-filter: blur(48px) saturate(220%) brightness(1.06) !important;
  border: none !important;
  border-radius: var(--radius);
  padding: 2rem 2rem 1.8rem !important;
  box-shadow:
    0 0 0 1.5px rgba(255, 255, 255, 0.90),
    0 0 0 3px rgba(14, 80, 140, 0.08),
    0 6px 12px rgba(8, 40, 80, 0.10),
    0 18px 36px rgba(8, 40, 80, 0.12),
    0 40px 72px rgba(8, 40, 80, 0.10),
    0 72px 120px rgba(8, 40, 80, 0.07),
    0 0 48px rgba(14, 80, 160, 0.12),
    0 0 96px rgba(14, 80, 160, 0.08),
    0 0 200px rgba(20, 163, 199, 0.10),
    inset 0 1.5px 0 rgba(255, 255, 255, 1),
    inset 0 3px 8px rgba(255, 255, 255, 0.7),
    inset 0 -1px 0 rgba(14, 60, 120, 0.08),
    inset 1.5px 0 0 rgba(255, 255, 255, 0.65),
    inset -1.5px 0 0 rgba(255, 255, 255, 0.45) !important;
}

.contact-form::after {
  content: "" !important;
  position: absolute !important;
  top: -25% !important;
  left: 0 !important;
  width: 50% !important;
  height: 150% !important;
  background: linear-gradient(
    108deg,
    rgba(14, 60, 140, 0) 0%,
    rgba(20, 100, 180, 0.04) 10%,
    rgba(255, 255, 255, 0.08) 22%,
    rgba(255, 255, 255, 0.32) 38%,
    rgba(255, 255, 255, 0.52) 50%,
    rgba(255, 255, 255, 0.32) 62%,
    rgba(200, 230, 255, 0.12) 76%,
    rgba(14, 60, 140, 0.06) 88%,
    rgba(14, 60, 140, 0) 100%
  ) !important;
  pointer-events: none !important;
  z-index: 2 !important;
  animation: cardGlare 7s ease-in-out infinite !important;
  will-change: transform !important;
}

.contact-form > * {
  position: relative !important;
  z-index: 3 !important;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.contact-box {
  margin-top: 1rem;
  padding: 1.4rem 1.6rem !important;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.72) 0%,
    rgba(220, 242, 255, 0.55) 100%
  );
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow:
    0 8px 24px rgba(16, 35, 51, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  display: grid;
  gap: 0.4rem;
}

.contact-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.95) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
}

.contact-box > * {
  position: relative;
  z-index: 1;
}

.contact-box p {
  margin: 0;
}

.contact-box p + p {
  margin-top: 0.5rem;
}

/* ============================================================
   FORMS
   ============================================================ */

.form-group {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

label {
  font-weight: 600;
}

label .required {
  color: #d93025 !important;
  font-weight: 700;
}

.optional {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
  opacity: 0.8;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  font: inherit;
  color: var(--text);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

input:not([type="checkbox"]),
textarea,
select {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.62) 0%,
    rgba(235, 247, 255, 0.52) 100%
  ) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1px solid rgba(90, 130, 160, 0.28) !important;
  border-top-color: rgba(255, 255, 255, 0.85) !important;
  border-bottom-color: rgba(60, 100, 140, 0.35) !important;
  box-shadow:
    0 2px 6px rgba(8, 40, 80, 0.10),
    0 8px 20px rgba(8, 40, 80, 0.07),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.92),
    inset 0 -1.5px 0 rgba(40, 80, 120, 0.12),
    inset 0 0 0 1px rgba(100, 140, 180, 0.08) !important;
  border-radius: 16px !important;
  color: var(--text) !important;
  -webkit-font-smoothing: antialiased !important;
}

input:not([type="checkbox"]):focus,
textarea:focus,
select:focus {
  outline: none !important;
  border: 1px solid rgba(20, 163, 199, 0.55) !important;
  border-top-color: rgba(255, 255, 255, 0.90) !important;
  border-bottom-color: rgba(20, 163, 199, 0.60) !important;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.78) 0%,
    rgba(225, 246, 255, 0.65) 100%
  ) !important;
  box-shadow:
    0 0 0 3.5px rgba(20, 163, 199, 0.13),
    0 0 0 1px rgba(20, 163, 199, 0.40),
    0 4px 16px rgba(14, 80, 160, 0.10),
    0 10px 30px rgba(14, 80, 160, 0.07),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.96),
    inset 0 -1.5px 0 rgba(20, 130, 180, 0.15),
    inset 0 0 0 1px rgba(100, 180, 220, 0.10) !important;
}

input.input-error {
  border-color: #d93025 !important;
  outline: 2px solid rgba(217, 48, 37, 0.15);
}

input[type="checkbox"] {
  width: 20px !important;
  min-width: 20px !important;
  height: 20px !important;
  padding: 0 !important;
  border-radius: 6px !important;
  background: white !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  border: 1.5px solid rgba(16, 35, 51, 0.2) !important;
}

.field-error {
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 0.88rem;
  font-weight: 700;
  color: #ff6b6b; /* Kirkkaampi punainen tummalle taustalle */
  transition: all 0.25s ease;
}

.field-error.visible {
  margin-top: 0.5rem;
  max-height: 60px; /* Tarpeeksi tilaa tekstille */
  opacity: 1;
}

.helper-text {
  margin-top: 0.25rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--muted);
}

.form-note {
  margin-top: 1.5rem;
  min-height: 1.5rem;
  font-weight: 700;
  color: #ffffff; /* Säädetty sopimaan tummaan lasitaustaasi */
  transition: all 0.3s ease;
  text-align: center;
}

.form-note.success-message {
  padding: 1.2rem 1.5rem;
  border-radius: 18px;
  /* Tausta on hieman kylläisempi vihreä, jotta se erottuu lasista */
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(16, 185, 129, 0.15));
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid rgba(34, 197, 94, 0.35);
  
  /* TUMMANVIHREÄ TEKSTI */
  color: #064e3b !important; 
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4); /* Kevyt valo tekstin alla parantaa luettavuutta */
  
  font-weight: 700;
  text-align: center;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.1);
  
  /* Animaatio (varmista että successPop on määritelty aiemmin) */
  animation: successPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.submit-btn {
  font-family: "Inter", sans-serif;
  font-size: 1.17rem;
  font-weight: 700;
  letter-spacing: normal;
  line-height: 1;
}

.calculator-note,
#calculatorNote {
  margin: -0.2rem 0 1rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(223, 247, 255, 0.7), rgba(237, 246, 251, 0.9));
  border: 1px solid rgba(20, 163, 199, 0.12);
  color: var(--primary-dark);
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: -0.01em;
  box-shadow: 0 8px 20px rgba(16, 35, 51, 0.04);
}

.privacy-check {
  margin-bottom: 1rem;
}

.privacy-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.privacy-label input[type="checkbox"] {
  width: 20px;
  min-width: 20px;
  height: 20px;
  margin: 0;
  margin-top: 1px;
  border-radius: 6px;
  border: 1.5px solid rgba(16, 35, 51, 0.2);
  cursor: pointer;
  accent-color: var(--primary);
  padding: 0;
}

.privacy-label a {
  color: var(--primary-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.privacy-label a:hover {
  color: var(--primary);
}

/* ============================================================
   DATE & TIME PICKER
   ============================================================ */

.date-scroll-wrap {
  position: relative;
  overflow: hidden;
}

.date-picker-scroll {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.25rem 0.1rem 0.5rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.date-picker-scroll::-webkit-scrollbar {
  display: none;
}

.date-chip {
  flex: 0 0 auto;
  min-width: 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.9rem 0.85rem;
  border-radius: 18px;
  border: 1px solid rgba(16, 35, 51, 0.08);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  scroll-snap-align: start;
}

.date-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(20, 163, 199, 0.24);
}

.date-chip.active {
  background: linear-gradient(135deg, var(--primary), #42cbe8);
  color: white;
  border-color: transparent;
}

.date-chip-day {
  font-size: 0.82rem;
  font-weight: 700;
  opacity: 0.75;
}

.date-chip-date {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.time-group-shell {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition:
    max-height 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease,
    transform 0.36s ease;
}

.time-group-shell.visible {
  max-height: 700px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.time-group-card {
  margin-bottom: 1rem;
}

.time-pref-toggle-wrap {
  margin-bottom: 0.95rem;
}

.time-pref-toggle {
  width: 100%;
  min-height: 56px;
  border: 1px solid rgba(16, 35, 51, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(16, 35, 51, 0.04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.95rem 1.2rem;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    color 0.22s ease;
}

.time-pref-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(16, 35, 51, 0.07);
  border-color: rgba(20, 163, 199, 0.18);
}

.time-pref-toggle:active {
  transform: scale(0.992);
}

.time-pref-toggle-indicator {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(16, 35, 51, 0.18);
  background: white;
  box-shadow: inset 0 1px 2px rgba(16, 35, 51, 0.08);
  transition: all 0.22s ease;
}

.time-pref-toggle.active {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.16), rgba(16, 185, 129, 0.12));
  border-color: rgba(16, 185, 129, 0.28);
  color: #0f7a43;
  box-shadow: 0 16px 30px rgba(16, 185, 129, 0.12);
}

.time-pref-toggle.active .time-pref-toggle-indicator {
  background: linear-gradient(135deg, #22c55e, #10b981);
  border-color: transparent;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

.time-wheel-shell {
  overflow: hidden;
  max-height: 420px;
  opacity: 1;
  transform: translateY(0);
  transition:
    max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.24s ease,
    transform 0.24s ease;
}

.time-wheel-shell.hidden {
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.time-wheel-wrap {
  position: relative;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 0.9rem;
  box-shadow: 0 10px 24px rgba(16, 35, 51, 0.05);
  overflow: hidden;
  touch-action: pan-y;
}

.time-wheel-wrap::before {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  height: var(--wheel-item-height);
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), #42cbe8);
  pointer-events: none;
  z-index: 1;
  opacity: 0.16;
}

.time-wheel-wrap::after {
  content: "";
  position: absolute;
  inset: 0.9rem;
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 26%),
    linear-gradient(to top, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 26%);
  pointer-events: none;
  z-index: 2;
  border-radius: 20px;
}

.time-wheel {
  position: relative;
  z-index: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
}

.time-wheel-column {
  height: calc(var(--wheel-item-height) * var(--wheel-visible-count));
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0;
  border-radius: 18px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: y mandatory;
  touch-action: pan-y;
  position: relative;
}

.time-wheel-column::-webkit-scrollbar {
  display: none;
}

.time-option,
.time-spacer {
  height: var(--wheel-item-height);
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: center;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.time-option {
  color: var(--muted);
  transition: color 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
  user-select: none;
  pointer-events: none;
  opacity: 0.5;
}

.time-option.active {
  color: var(--text);
  transform: scale(1.08);
  font-size: 1.06rem;
  font-weight: 800;
  opacity: 1;
}

.time-separator {
  align-self: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.04em;
  position: relative;
  z-index: 3;
}

/* ============================================================
   GRADIENT TEXT
   ============================================================ */

.gradient-text {
  position: relative;
  display: inline-block;
  background: linear-gradient(to right, #42cbe8, #183f86);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.15em;
  padding-right: 0.06em;
  overflow: visible;
}

.gradient-text::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to right,
    rgba(110, 232, 255, 0.42),
    rgba(78, 196, 245, 0.68),
    rgba(64, 154, 232, 0.94)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  filter: blur(20px);
  opacity: 0.85;
  pointer-events: none;
}
/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid rgba(16, 35, 51, 0.06);
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  position: relative;
  isolation: isolate;
}

.footer-content {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1 1 420px;
}

.footer-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 1.25rem;
  padding-top: 1.1rem;
}

.footer-logo-block {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.footer-tagline {
  margin: 0.45rem 0 0;
  font-size: 0.98rem;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #4e6477;
  opacity: 0.95;
}

.footer-company-info {
  display: grid;
  gap: 0.35rem;
}

.footer-company-info p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.55;
  color: #5b7082;
  font-weight: 500;
}

.footer-company-info strong {
  color: var(--text);
  font-weight: 700;
}

.footer-company-info a {
  color: inherit;
  transition: color 0.2s ease;
}

.footer-company-info a:hover {
  color: var(--text);
}

.footer-socials {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  width: 252px;
  margin-top: auto;
}

.social-link {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(16, 35, 51, 0.08);
  box-shadow:
    0 10px 24px rgba(16, 35, 51, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  color: #556b7d;
  transition:
    transform 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.social-link:hover {
  transform: translateY(-2px);
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 14px 28px rgba(16, 35, 51, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.social-link svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.footer-bottom {
  display: block;
  text-align: center;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(16, 35, 51, 0.06);
  font-size: 0.92rem;
  font-weight: 500;
  color: #5b7082;
}

.footer-bottom p {
  margin: 0;
  text-align: center;
}

.footer-bottom a {
  color: #5b7082;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: var(--primary);
}

/* ============================================================
   SCROLL MARGIN
   ============================================================ */

#hero    { scroll-margin-top: 120px; }
#yhteys  { scroll-margin-top: 96px; }
#miksi-me,
#hinnat  { scroll-margin-top: 40px; }
#tarjous { scroll-margin-top: 30px; }
#palvelut { scroll-margin-top: 55px; }

/* ============================================================
   DESKTOP (min-width: 761px)
   ============================================================ */

@media (min-width: 761px) {
  body {
    padding-top: 0;
  }

  .mobile-top-blur {
    display: none !important;
  }

  .site-header {
    position: sticky !important;
    top: 0 !important;
    left: auto !important;
    right: auto !important;
    border-radius: 0 !important;
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border: none !important;
    border-bottom: 1px solid rgba(16, 35, 51, 0.06) !important;
    overflow: visible !important;
    max-height: none !important;
    box-shadow: none !important;
  }

.nav {
  display: grid !important;
  grid-template-columns: auto 1fr;
  align-items: center !important;
  min-height: 78px !important;
  gap: 2rem !important;
}

.site-nav {
  position: static !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 2.1rem !important;
  width: 100% !important;
  margin: 0 !important;
  max-height: none !important;
  height: auto !important;
  padding: 0 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: none !important;
  overflow: visible !important;
  transition: none !important;
}

  .site-nav a,
  .site-nav .btn-nav {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-height: auto !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #556b7d !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
    opacity: 1 !important;
    transform: none !important;
    transition: color 0.2s ease !important;
  }

  .site-nav a:hover,
  .site-nav .btn-nav:hover {
    color: var(--text) !important;
    background: transparent !important;
    transform: none !important;
  }

  .menu-toggle {
    display: none !important;
  }

  .hero-grid {
    display: grid !important;
    grid-template-columns: 1.2fr 0.8fr !important;
  }

  .hero-actions .btn {
    width: auto !important;
  }

  .cards {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .pricing {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .features {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .contact-grid {
    display: grid !important;
    grid-template-columns: 1.2fr 0.8fr !important;
  }
}

/* ============================================================
   MOBILE (max-width: 760px)
   ============================================================ */

@media (max-width: 760px) {
  html, body {
    overflow-x: hidden;
  }

html {
  background:
    radial-gradient(ellipse 100% 46% at 18% 12%, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.28) 34%, transparent 68%),
    radial-gradient(ellipse 86% 34% at 50% 18%, rgba(210, 244, 252, 0.58) 0%, rgba(210, 244, 252, 0.18) 42%, transparent 72%),
    radial-gradient(ellipse 100% 42% at 82% 10%, rgba(10, 58, 110, 0.82) 0%, rgba(10, 58, 110, 0.42) 32%, transparent 68%),
    radial-gradient(ellipse 140% 34% at 78% 36%, rgba(168, 232, 250, 0.62) 0%, rgba(168, 232, 250, 0.20) 36%, transparent 70%),
    radial-gradient(ellipse 92% 34% at 12% 60%, rgba(198, 234, 246, 0.64) 0%, rgba(198, 234, 246, 0.22) 40%, transparent 74%),
    radial-gradient(ellipse 86% 38% at 68% 86%, rgba(10, 72, 122, 0.82) 0%, rgba(10, 72, 122, 0.42) 30%, transparent 68%),
    radial-gradient(ellipse 70% 28% at 94% 74%, rgba(8, 44, 86, 0.72) 0%, rgba(8, 44, 86, 0.28) 28%, transparent 62%),
    linear-gradient(180deg, #c8eff8 0%, #d9f4fb 24%, #d6eef8 48%, #cdebf6 72%, #bfe4f1 100%) !important;
  background-attachment: scroll !important;
}

  body {
    padding-top: calc(env(safe-area-inset-top, 0px) + 4.8rem);
  }

body::before,
body::after {
  display: none !important;
}

  * {
    will-change: auto !important;
  } 

  .btn-primary {
    background:
      radial-gradient(circle at 18% 18%, rgba(255,255,255,0.34) 0%, rgba(255,255,255,0.08) 18%, transparent 34%),
      linear-gradient(135deg, #0d8ab8 0%, #1ab0d4 50%, #0d8ab8 100%) !important;
    box-shadow:
      0 10px 28px rgba(10, 120, 170, 0.55),
      0 4px 12px rgba(10, 120, 170, 0.38),
      inset 0 1px 0 rgba(255,255,255,0.42),
      inset 0 -1px 0 rgba(0,0,0,0.12) !important;
  }
  
  .site-header {
    position: fixed !important;
    top: calc(env(safe-area-inset-top, 0px) + 0.35rem) !important;
    left: 0.5rem !important;
    right: 0.5rem !important;
    z-index: 3000 !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.58) !important;
    backdrop-filter: blur(15px) saturate(110%) !important;
    -webkit-backdrop-filter: blur(15px) saturate(110%) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 14px 34px rgba(16, 35, 51, 0.08) !important;
    overflow: hidden !important;
    max-height: 69px !important;
    transition: max-height 0.42s cubic-bezier(0.22, 1, 0.36, 1),
                border-radius 0.42s ease !important;
  }

  .site-header::before,
  .site-header::after {
    content: none !important;
  }

  .site-header.menu-open {
    max-height: 500px !important;
    border-radius: 22px !important;
  }

  .nav {
    min-height: 68px !important;
    position: relative !important;
    z-index: 6000 !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    align-items: center !important;
    column-gap: 1rem !important;
  }

  .logo {
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
  }

  .menu-toggle {
    display: block !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    position: relative !important;
    z-index: 7001 !important;
    width: 44px !important;
    height: 44px !important;
	margin-top: 4px;
    padding: 0 !important;
    border: 1px solid rgba(16, 35, 51, 0.08) !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.72) !important;
    backdrop-filter: blur(8px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(8px) saturate(140%) !important;
    box-shadow:
      0 10px 24px rgba(16, 35, 51, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
    cursor: pointer !important;
	transform: translateY(7px);
  }

  .site-nav {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    position: static !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.15rem !important;
    width: 100% !important;
    padding: 0 0.6rem !important;
    margin: 0 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    overflow: hidden !important;
    max-height: 0 !important;
    pointer-events: none !important;
    transition:
      max-height 0.72s cubic-bezier(0.22, 1, 0.36, 1),
      padding 0.72s ease !important;
  }

  .site-header.menu-open .site-nav {
    max-height: 400px !important;
    padding: 0 0.6rem 0.6rem !important;
    pointer-events: auto !important;
  }

.site-nav a,
.site-nav .btn-nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 1.1rem !important;
  border-radius: 16px;
  text-align: right;
  font-size: 1rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.1;
  color: #1a2e3d !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transform: translateY(-4px);
  opacity: 0;
  -webkit-font-smoothing: antialiased;
  transition:
    background 0.22s ease,
    color 0.22s ease,
    transform 0.34s ease,
    opacity 0.34s ease;
}

  .site-header.menu-open .site-nav a,
  .site-header.menu-open .site-nav .btn-nav {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  .site-header.menu-open .site-nav a:nth-child(1) { transition-delay: 0.12s !important; }
  .site-header.menu-open .site-nav a:nth-child(2) { transition-delay: 0.18s !important; }
  .site-header.menu-open .site-nav a:nth-child(3) { transition-delay: 0.24s !important; }
  .site-header.menu-open .site-nav a:nth-child(4) { transition-delay: 0.30s !important; }
  .site-header.menu-open .site-nav a:nth-child(5) { transition-delay: 0.36s !important; }
  .site-header.menu-open .site-nav a:nth-child(6) { transition-delay: 0.42s !important; }

.site-nav a:hover,
.site-nav .btn-nav:hover {
  background: rgba(26, 46, 61, 0.06) !important;
  color: #1a2e3d !important;
}

.site-nav a:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 1.1rem;
  left: 1.1rem;
  height: 1px;
  background: rgba(26, 46, 61, 0.07);
  border-radius: 999px;
}

  .menu-toggle span {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    width: 18px !important;
    height: 2px !important;
    margin: 0 !important;
    border-radius: 999px !important;
    background: #21384c !important;
    transform-origin: center center !important;
    transition:
      transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.22s ease !important;
  }

  .menu-toggle span:nth-child(1) { transform: translate(-50%, -4px) !important; }
  .menu-toggle span:nth-child(2) { transform: translate(-50%, 4px) !important; }
  .menu-toggle.active span:nth-child(1) { transform: translate(-50%, 0) rotate(45deg) !important; }
  .menu-toggle.active span:nth-child(2) { transform: translate(-50%, 0) rotate(-45deg) !important; }

  .mobile-top-blur {
    display: block;
    position: fixed;
    left: 0.5rem;
    right: 0.5rem;
    top: 0;
    height: calc(env(safe-area-inset-top, 0px) + 6.4rem);
    z-index: 2999;
    pointer-events: none;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    background: transparent;
    overflow: hidden;
  }

  .mobile-top-blur::before {
    content: "";
    position: absolute;
    inset: 0;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    background: transparent;
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    mask-image: linear-gradient(
      180deg,
      rgba(0,0,0,1) 0%,
      rgba(0,0,0,1) 40%,
      rgba(0,0,0,0.88) 68%,
      rgba(0,0,0,0.22) 92%,
      rgba(0,0,0,0) 100%
    );
    -webkit-mask-image: linear-gradient(
      180deg,
      rgba(0,0,0,1) 0%,
      rgba(0,0,0,1) 40%,
      rgba(0,0,0,0.88) 68%,
      rgba(0,0,0,0.22) 92%,
      rgba(0,0,0,0) 100%
    );
    transform: scaleY(-1);
    transform-origin: bottom;
  }

  .mobile-top-blur::after {
    content: none;
  }

  .hero-grid,
  .contact-grid,
  .cards,
  .pricing,
  .features {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .hero {
    padding: 1.5rem 0 0;
  }

  .hero-content,
  .hero-card,
  .contact-form,
  .contact-info,
  .card,
  .feature,
  .price-card {
    width: 100%;
    max-width: 100%;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2rem, 11vw, 3rem);
    line-height: 0.98;
    margin-bottom: 0.85rem;
  }

  .hero-text {
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero-actions {
    gap: 0.9rem;
    margin-top: 1.2rem;
    flex-wrap: nowrap;
  }

  .hero-actions .btn {
    width: auto;
    flex: 1 1 0;
    min-width: 0;
    padding: 0.95rem 1.15rem;
    font-size: 0.94rem;
    font-weight: 760;
    letter-spacing: -0.015em;
  }

  .hero-actions .glass-button {
    min-height: 62px;
  }

  .hero-actions .glass-button .glass-content > span {
    font-size: 0.94rem;
    white-space: nowrap;
  }

  .glass-card {
    max-width: 100%;
    padding: 1.35rem;
    border-radius: 22px;
  }

  .section {
    padding: 1rem 0;
  }

  .section-heading {
    margin-bottom: 1.75rem;
  }

  .section-heading h2 {
    font-size: clamp(1.7rem, 8vw, 2.3rem);
    line-height: 1.05;
  }

  .section-heading p {
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .contact-grid .section-heading.left {
    text-align: center;
  }

  .card,
  .feature,
  .price-card,
  .contact-info,
  .contact-form {
    padding: 1.4rem 1.5rem !important;
    border-radius: 18px;
    backdrop-filter: blur(18px) saturate(170%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(170%) !important;
    box-shadow:
      0 0 0 1.5px rgba(255, 255, 255, 0.90),
      0 0 0 3px rgba(14, 80, 140, 0.07),
      0 8px 24px rgba(8, 40, 80, 0.10),
      inset 0 1.5px 0 rgba(255, 255, 255, 1) !important;
  }
  
  input:not([type="checkbox"]),
  textarea,
  select {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.82) 0%,
      rgba(235, 247, 255, 0.72) 100%
    ) !important;
    border: 1px solid rgba(90, 130, 160, 0.22) !important;
    border-top-color: rgba(255, 255, 255, 0.90) !important;
    border-bottom-color: rgba(60, 100, 140, 0.28) !important;
  }

  .card::after,
  .feature::after,
  .price-card::after,
  .contact-info::after,
  .contact-form::after,
  .glass-card::after {
    animation: none !important;
    display: none !important;
  }

  .card-ambient {
    animation: none !important;
    opacity: 0.55 !important;
    will-change: auto !important;
  }

  .card:hover,
  .feature:hover,
  .price-card:hover {
    transform: translateY(2px) !important;
  }

  .btn-primary {
    animation:
      btnGradientShift 4s ease infinite,
      btnPrimaryGlowPulse 3.6s ease-in-out infinite !important;
    box-shadow:
      0 10px 24px rgba(20, 163, 199, 0.32),
      0 2px 10px rgba(20, 163, 199, 0.24),
      inset 0 1px 0 rgba(255, 255, 255, 0.40),
      inset 0 -1px 0 rgba(0, 0, 0, 0.08) !important;
  }

  .btn-secondary {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow:
      0 8px 20px rgba(16, 35, 51, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
  }

  .price {
    font-size: 1.7rem;
  }

  .price-label {
    top: 1rem;
    right: 1rem;
    font-size: 0.78rem;
    padding: 0.34rem 0.68rem;
  }

  .date-chip {
    min-width: 78px;
    padding: 0.85rem 0.75rem;
  }

  :root {
    --wheel-item-height: 52px;
  }

  .time-wheel {
    gap: 0.5rem;
  }

  .time-option,
  .time-spacer {
    font-size: 0.95rem;
  }

  .time-separator {
    font-size: 1.6rem;
  }

  .time-pref-toggle {
    min-height: 52px;
    font-size: 0.96rem;
  }

  #miksi-me,
  #hinnat  { scroll-margin-top: 70px; }
  #tarjous { scroll-margin-top: 60px; }
  #palvelut { scroll-margin-top: 70px; }

  .footer-content {
    display: block !important;
  }

  .footer-main {
    width: 100% !important;
    margin: 0 !important;
  }

  .footer-logo-block {
    margin-bottom: 0.35rem;
  }

  .footer-company-info {
    margin: 0 !important;
    gap: 0.2rem;
  }

  .footer-company-info p {
    font-size: 0.92rem;
  }

  .footer-side {
    width: 100% !important;
    display: block !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .footer-tagline {
    font-size: 0.92rem;
  }

  .footer-socials {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    align-items: center !important;
    gap: 0 !important;
    margin: 1.6rem 0 0 !important;
    padding: 0 1rem !important;
  }

  .footer-socials .social-link:nth-child(1) { justify-self: start; }
  .footer-socials .social-link:nth-child(2) { justify-self: center; }
  .footer-socials .social-link:nth-child(3) { justify-self: end; }

  .social-link {
    width: 74px !important;
    height: 74px !important;
    border-radius: 20px !important;
  }

  .social-link svg {
    width: 34px !important;
    height: 34px !important;
  }
}

@media (min-width: 761px) {
  main {
    position: relative;
    isolation: isolate;
  }

  main::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: min(100% - 2rem, 1280px);
    transform: translateX(-50%);
    border-radius: 0;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.82) 0%,
      rgba(255, 255, 255, 0.78) 28%,
      rgba(250, 253, 255, 0.74) 55%,
      rgba(248, 252, 255, 0.76) 78%,
      rgba(255, 255, 255, 0.82) 100%
    );
    backdrop-filter: blur(8px) saturate(125%);
    -webkit-backdrop-filter: blur(8px) saturate(125%);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.34),
      0 18px 60px rgba(16, 35, 51, 0.04),
      inset 0 1px 0 rgba(255, 255, 255, 0.58),
      inset 0 -1px 0 rgba(16, 35, 51, 0.02);
    z-index: 0;
    pointer-events: none;
  }

  main > * {
    position: relative;
    z-index: 1;
  } 

 @media (min-width: 761px) {

  .menu-toggle {
    display: block !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    position: relative !important;
    z-index: 7001 !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 14px !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    cursor: pointer !important;
  }

  .menu-toggle span {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    width: 18px !important;
    height: 2px !important;
    margin: 0 !important;
    border-radius: 999px !important;
    background: #21384c !important;
    transform-origin: center center !important;
    transition:
      transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.22s ease !important;
  }

  .menu-toggle span:nth-child(1) { transform: translate(-50%, -4px) !important; }
  .menu-toggle span:nth-child(2) { transform: translate(-50%, 4px) !important; }
  .menu-toggle.active span:nth-child(1) { transform: translate(-50%, 0) rotate(45deg) !important; }
  .menu-toggle.active span:nth-child(2) { transform: translate(-50%, 0) rotate(-45deg) !important; }

  .desktop-menu-backdrop {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    pointer-events: none;
    opacity: 0;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition:
      opacity 0.45s ease,
      backdrop-filter 0.55s cubic-bezier(0.22, 1, 0.36, 1),
      -webkit-backdrop-filter 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .site-header.menu-open + .desktop-menu-backdrop {
    opacity: 1;
    pointer-events: auto;
    backdrop-filter: blur(24px) saturate(145%);
    -webkit-backdrop-filter: blur(24px) saturate(145%);
  }

  .site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    background: rgba(248, 251, 255, 0.62) !important;
    backdrop-filter: blur(26px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(26px) saturate(160%) !important;
    border: none !important;
    border-bottom: 1px solid rgba(16, 35, 51, 0.06) !important;
    overflow: hidden !important;
    height: 78px !important;
    max-height: 78px !important;
    box-shadow: none !important;
    transition:
      height 0.55s cubic-bezier(0.22, 1, 0.36, 1),
      max-height 0.55s cubic-bezier(0.22, 1, 0.36, 1),
      background 0.35s ease,
      backdrop-filter 0.35s ease,
      -webkit-backdrop-filter 0.35s ease,
      box-shadow 0.35s ease !important;
  }

  .site-header.menu-open {
    height: 60vh !important;
    max-height: 70vh !important;
    background: rgba(252, 253, 255, 0.92) !important;
    backdrop-filter: blur(34px) saturate(175%) !important;
    -webkit-backdrop-filter: blur(34px) saturate(175%) !important;
    box-shadow:
      0 10px 30px rgba(16, 35, 51, 0.06),
      0 30px 80px rgba(16, 35, 51, 0.08) !important;
  }

  .site-header.menu-closing {
    pointer-events: none !important;
  }

  .site-header.menu-closing .menu-toggle {
    pointer-events: auto !important;
  }

  .nav {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-rows: 78px auto !important;
    align-items: center !important;
    column-gap: 1rem !important;
    row-gap: 0 !important;
    min-height: 78px !important;
  }

  .logo {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  .menu-toggle {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  .site-nav {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    position: static !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: none !important;
    transition:
      max-height 0.55s cubic-bezier(0.22, 1, 0.36, 1),
      padding 0.4s ease !important;
  }

  .site-header.menu-open .site-nav {
    max-height: none !important;
    height: calc(52vh - 18px) !important;
    padding: 1.5rem 0 2.2rem 0 !important;
    pointer-events: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-evenly !important;
    align-items: flex-end !important;
  }

  .site-nav a,
  .site-nav .btn-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: min(420px, 42vw) !important;
    min-height: 58px !important;
    padding: 0.25rem 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #1d1d1f !important;
    font-size: clamp(1.65rem, 2.1vw, 2.15rem) !important;
    font-weight: 600 !important;
    letter-spacing: -0.04em !important;
    text-transform: none !important;
    line-height: 1.08 !important;
    text-align: right !important;
    opacity: 0 !important;
    transform: translateY(-10px) !important;
    transition:
      color 0.2s ease,
      opacity 0.22s ease,
      transform 0.22s ease !important;
  }

  .site-header.menu-open .site-nav a,
  .site-header.menu-open .site-nav .btn-nav {
    color: #0e2234 !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  .site-header.menu-open .site-nav a:nth-child(1) { transition-delay: 0.10s !important; }
  .site-header.menu-open .site-nav a:nth-child(2) { transition-delay: 0.16s !important; }
  .site-header.menu-open .site-nav a:nth-child(3) { transition-delay: 0.22s !important; }
  .site-header.menu-open .site-nav a:nth-child(4) { transition-delay: 0.28s !important; }
  .site-header.menu-open .site-nav a:nth-child(5) { transition-delay: 0.34s !important; }
  .site-header.menu-open .site-nav a:nth-child(6) { transition-delay: 0.40s !important; }

  .site-header.menu-closing .site-nav a,
  .site-header.menu-closing .site-nav .btn-nav {
    opacity: 0 !important;
    transform: translateY(-2px) !important;
    transition-delay: 0s !important;
  }

  .site-header.menu-open .site-nav,
  .site-header.menu-closing .site-nav {
    max-height: none !important;
    height: calc(60vh - 78px) !important;
    padding: 1.5rem 0 2.2rem 0 !important;
    pointer-events: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-evenly !important;
    align-items: flex-end !important;
  }

  .site-nav a:hover,
  .site-nav .btn-nav:hover {
    color: #102333 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    transform: none !important;
  }

  .site-nav a::before,
  .site-nav a::after,
  .site-nav .btn-nav::before,
  .site-nav .btn-nav::after {
    content: none !important;
    display: none !important;
  }
  
    .logo-image {
    width: 68px;
    height: 68px;
    min-width: 68px;
    min-height: 68px;
    max-width: 68px;
    max-height: 68px;
	transform: translateY(-1px);
  }

  .logo-text-image {
    height: 33px;
	transform: translateY(2px);
  }

}
}

.btn-secondary,
.btn-secondary:hover,
.btn-secondary:active,
.btn-secondary:focus-visible {
  color: #0b1824 !important;
}

.btn-secondary {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 54px;
  padding: 0.98rem 1.75rem;

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.88) 0%,
      rgba(246, 250, 253, 0.80) 34%,
      rgba(231, 240, 246, 0.82) 70%,
      rgba(220, 231, 239, 0.88) 100%
    ) !important;

  backdrop-filter: blur(26px) saturate(185%) !important;
  -webkit-backdrop-filter: blur(26px) saturate(185%) !important;

  border: 1px solid rgba(90, 112, 130, 0.28) !important;

  box-shadow:
    0 18px 38px rgba(16, 35, 51, 0.12),
    0 5px 14px rgba(16, 35, 51, 0.06),
    0 0 0 1px rgba(70, 92, 110, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    inset 0 -1px 0 rgba(88, 108, 126, 0.12),
    inset 0 10px 18px rgba(255, 255, 255, 0.14),
    0 0 28px rgba(255, 255, 255, 0.14) !important;

  text-shadow: none !important;
  transform: translateZ(0);
}

.btn-secondary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(
      110deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0.12) 18%,
      rgba(255,255,255,0.42) 42%,
      rgba(255,255,255,0.68) 50%,
      rgba(255,255,255,0.28) 60%,
      rgba(255,255,255,0.08) 78%,
      rgba(255,255,255,0) 100%
    ) !important;
  opacity: 0.82 !important;
  transform: translateX(-130%) skewX(-18deg);
  transition:
    opacity 0.24s ease,
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1 !important;
}

.btn-secondary::after {
  content: "";
  position: absolute;
  inset: 1px !important;
  border-radius: inherit !important;
  background:
    radial-gradient(circle at 50% -20%, rgba(255,255,255,0.66), transparent 52%),
    radial-gradient(circle at 50% 125%, rgba(112, 140, 160, 0.10), transparent 56%),
    linear-gradient(
      180deg,
      rgba(255,255,255,0.18) 0%,
      rgba(255,255,255,0.04) 50%,
      rgba(100,120,138,0.06) 100%
    ) !important;
  opacity: 1 !important;
  z-index: 0 !important;
}

.btn-secondary > span {
  position: relative;
  z-index: 3;
  display: inline-block;
  color: #0b1824 !important;
  font-weight: 700;
  letter-spacing: -0.022em;
  text-shadow:
    0 1px 0 rgba(255,255,255,0.10);
}

.btn-secondary > span::before {
  content: "";
  position: absolute;
  inset: -0.26em -0.58em;
  border-radius: 999px;
  background:
    radial-gradient(
      circle at center,
      rgba(255,255,255,0.22) 0%,
      rgba(255,255,255,0.10) 45%,
      rgba(255,255,255,0.02) 100%
    );
  filter: blur(8px);
  z-index: -1;
  pointer-events: none;
}

.btn-secondary:hover {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.94) 0%,
      rgba(249, 252, 255, 0.88) 34%,
      rgba(236, 245, 250, 0.88) 70%,
      rgba(224, 236, 244, 0.92) 100%
    ) !important;

  border: 1px solid rgba(78, 98, 116, 0.34) !important;

  box-shadow:
    0 22px 46px rgba(16, 35, 51, 0.15),
    0 6px 18px rgba(16, 35, 51, 0.07),
    0 0 0 1px rgba(72, 94, 112, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    inset 0 -1px 0 rgba(88, 108, 126, 0.14),
    inset 0 12px 20px rgba(255,255,255,0.16),
    0 0 36px rgba(255,255,255,0.18) !important;

  color: #081521 !important;
}

.btn-secondary:hover::before {
  transform: translateX(135%) skewX(-18deg);
  opacity: 0.95 !important;
}

.btn-secondary:active {
  box-shadow:
    0 10px 22px rgba(16, 35, 51, 0.11),
    0 2px 8px rgba(16, 35, 51, 0.05),
    0 0 0 1px rgba(72, 94, 112, 0.10),
    inset 0 1px 0 rgba(255,255,255,0.76),
    inset 0 -1px 0 rgba(88, 108, 126, 0.12),
    inset 0 8px 14px rgba(255,255,255,0.12) !important;
}

.btn-secondary:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 4px rgba(20, 163, 199, 0.10),
    0 18px 40px rgba(16, 35, 51, 0.12),
    inset 0 1px 0 rgba(255,255,255,0.82) !important;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus-visible {
  color: #ffffff !important;
}

.btn-primary {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  filter: saturate(1.08) contrast(1.03);

  background:
    radial-gradient(circle at 18% 18%, rgba(255,255,255,0.36) 0%, rgba(255,255,255,0.10) 18%, transparent 34%),
    linear-gradient(135deg, #1198ba 0%, #43c9e7 48%, #128fb4 100%) !important;
  background-size: 180% 180% !important;

  border: 1px solid rgba(76, 154, 191, 0.30) !important;

  box-shadow:
    0 16px 38px rgba(20, 163, 199, 0.42),
    0 5px 16px rgba(20, 163, 199, 0.28),
    0 0 0 1px rgba(126, 232, 255, 0.14),
    0 0 26px rgba(66, 203, 232, 0.22),
    0 0 64px rgba(20, 163, 199, 0.22),
    0 0 110px rgba(66, 203, 232, 0.10),
    inset 0 1px 0 rgba(255,255,255,0.46),
    inset 0 -1px 0 rgba(0,0,0,0.10),
    inset 0 10px 18px rgba(255,255,255,0.08) !important;

  text-shadow: none !important;

  animation:
    btnGradientShift 3s ease infinite,
    btnPrimaryGlowPulse 3.3s ease-in-out infinite;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    105deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.12) 18%,
    rgba(255,255,255,0.34) 42%,
    rgba(255,255,255,0.56) 50%,
    rgba(255,255,255,0.22) 62%,
    rgba(255,255,255,0.08) 78%,
    rgba(255,255,255,0) 100%
  ) !important;
  opacity: 0.86 !important;
  transform: translateX(-130%) skewX(-18deg);
  transition:
    opacity 0.22s ease,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1 !important;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% -28%, rgba(255,255,255,0.34), transparent 58%),
    radial-gradient(circle at 50% 125%, rgba(4, 72, 102, 0.22), transparent 56%),
    linear-gradient(
      180deg,
      rgba(255,255,255,0.14) 0%,
      rgba(255,255,255,0.03) 48%,
      rgba(0,0,0,0.08) 100%
    ) !important;
  opacity: 1 !important;
  z-index: 0 !important;
}

.btn-primary > span {
  position: relative;
  z-index: 3;
  display: inline-block;
  color: #ffffff !important;
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 1.02em;
  letter-spacing: -0.032em;
  line-height: 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-shadow:
    0 1px 0 rgba(255,255,255,0.16),
    0 1px 10px rgba(0, 73, 104, 0.22),
    0 0 18px rgba(255,255,255,0.05);
}

.btn-primary > span::before {
  content: "";
  position: absolute;
  inset: -0.25em -0.55em;
  border-radius: 999px;
  background:
    radial-gradient(
      circle at center,
      rgba(255,255,255,0.16) 0%,
      rgba(255,255,255,0.06) 48%,
      rgba(255,255,255,0.01) 100%
    );
  filter: blur(8px);
  z-index: -1;
  pointer-events: none;
}

.submit-btn > span {
  font-size: 1.08em;
  font-weight: 800;
  letter-spacing: -0.038em;
  line-height: 1;
  text-shadow:
    0 1px 0 rgba(255,255,255,0.16),
    0 1px 12px rgba(0, 73, 104, 0.24),
    0 0 20px rgba(255,255,255,0.06);
}

.btn-primary:hover {
  background:
    radial-gradient(circle at 18% 18%, rgba(255,255,255,0.40) 0%, rgba(255,255,255,0.14) 18%, transparent 34%),
    linear-gradient(135deg, #10a1c6 0%, #4ad5f1 48%, #1097bd 100%) !important;

  border: 1px solid rgba(70, 146, 184, 0.34) !important;

  box-shadow:
    0 20px 46px rgba(20, 163, 199, 0.50),
    0 6px 18px rgba(20, 163, 199, 0.32),
    0 0 36px rgba(66, 203, 232, 0.28),
    0 0 74px rgba(20, 163, 199, 0.24),
    0 0 130px rgba(66, 203, 232, 0.12),
    0 0 0 1px rgba(136, 236, 255, 0.16),
    inset 0 1px 0 rgba(255,255,255,0.52),
    inset 0 -1px 0 rgba(0,0,0,0.10),
    inset 0 12px 20px rgba(255,255,255,0.10) !important;
}
.btn-primary:hover::before {
  transform: translateX(135%) skewX(-18deg);
  opacity: 0.96 !important;
}

.btn-primary:active {
  box-shadow:
    0 10px 22px rgba(20, 163, 199, 0.34),
    0 2px 8px rgba(20, 163, 199, 0.22),
    0 0 16px rgba(66, 203, 232, 0.14),
    0 0 0 1px rgba(130, 232, 255, 0.10),
    inset 0 1px 0 rgba(255,255,255,0.42),
    inset 0 -1px 0 rgba(0,0,0,0.08),
    inset 0 8px 14px rgba(255,255,255,0.06) !important;
}

.btn-primary:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 4px rgba(20, 163, 199, 0.16),
    0 18px 42px rgba(20, 163, 199, 0.42),
    0 0 44px rgba(66, 203, 232, 0.24),
    0 0 90px rgba(66, 203, 232, 0.12),
    inset 0 1px 0 rgba(255,255,255,0.48) !important;
}

.comparison-slider {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 22px 22px 0 0;
  overflow: hidden;
  line-height: 0;
  cursor: ew-resize;
  box-shadow:
    0 18px 44px rgba(16,35,51,0.10),
    0 0 0 1px rgba(170,220,255,0.14),
    inset 0 1px 0 rgba(255,255,255,0.32);
}

.slide-before {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

.label-jalkeen,
.label-ennen {
  position: absolute;
  top: 20px;
  padding: 6px 14px;
  background: rgba(0, 0, 0, 0.55);
  color: white;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 6px;
  user-select: none;
  pointer-events: none;
  letter-spacing: 0.08em;
  backdrop-filter: blur(4px);
  line-height: 1.2;
}

.label-left,
.label-right {
  position: absolute;
  top: 20px;
  padding: 6px 14px;
  background: rgba(0, 0, 0, 0.55);
  color: white;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 6px;
  user-select: none;
  pointer-events: none;
  letter-spacing: 0.08em;
  backdrop-filter: blur(4px);
  line-height: 1.2;
}

/* Ennen-teksti, pohjalla vasemmalla */
.label-left {
  left: 25%;
  transform: translateX(-50%);
  z-index: 2;
}

/* Jälkeen-teksti, wrapperin sisällä oikealla - katoaa sliderin alle */
.label-right {
  right: 25%;
  transform: translateX(50%);
  z-index: 4;
}

.slide-after-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  clip-path: inset(0 0 0 50%);
  transition: clip-path 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide-after {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.slide-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 3px;
  height: 100%;
  background: white;
  z-index: 5;
  pointer-events: none;
  transform: translateX(-50%);
  transition: left 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide-handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.slide-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  border-top: 2.5px solid #333;
  border-right: 2.5px solid #333;
  /* Kaksi nuolta CSS border-trickillä ei onnistu yhdellä elementillä */
  /* Tehdään kaksi erillistä nuolta box-shadow-trikillä */
  box-shadow: -8px 0 0 -5px transparent,
              8px 0 0 -5px transparent;
  border-radius: 1px;
}

.slide-handle-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  pointer-events: none;
}

.knob-arrow {
  display: block;
  width: 8px;
  height: 8px;
  border-top: 2.5px solid #444;
  border-right: 2.5px solid #444;
  flex-shrink: 0;
}

.knob-left {
  transform: rotate(-135deg);
}

.knob-right {
  transform: rotate(45deg);
}

/* Poista vanhat pseudoelementit */
.slide-handle::before,
.slide-handle::after {
  display: none;
}

.comparison-slider.is-dragging .slide-after-wrapper,
.comparison-slider.is-dragging .slide-handle {
  transition: none !important;
}

.slider-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 10;
  margin: 0;
  padding: 0;
}

/* --- Before/after slider ohje (premium) --- */
.comparison-slider { position: relative; }


.slider-hint{
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%) translateY(6px);
  z-index: 30;

  display: inline-flex;
  align-items: center;
  gap: .5rem;

  padding: .55rem .8rem;
  border-radius: 999px;

  background: rgba(15, 18, 25, 0.42);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow:
    0 10px 30px rgba(0,0,0,0.18),
    0 1px 0 rgba(255,255,255,0.08) inset;

  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);

  color: rgba(255,255,255,0.92);
  font-weight: 800;
  font-size: .92rem;
  letter-spacing: -0.01em;
  line-height: 1;

  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
}

.slider-hint::after{
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% - 2px);
  width: 10px;
  height: 10px;
  background: inherit;
  border-left: 1px solid rgba(255,255,255,0.16);
  border-top: 1px solid rgba(255,255,255,0.16);
  transform: translateX(-50%) rotate(45deg);
  border-radius: 2px;
  box-shadow: 6px 10px 18px rgba(0,0,0,0.10);
}

.slider-hint__text{
  white-space: nowrap;
}

.comparison-slider.is-hinting .slider-hint{
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
   GALLERY SECTION (PALAUTETTU LOGIIKKA JA ARVOT)
   ============================================================ */

#gallerySection {
  padding: 18px 0 24px;
  overflow: visible;
}

.gallery-grid-4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
  width: 100%;
  overflow: visible;
}

.gallery-fade {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.30);
  box-shadow: 0 14px 34px rgba(20,35,60,0.12);
  transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1), opacity 380ms ease, filter 380ms ease, box-shadow 520ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.gallery-fade__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 800ms ease;
}

.gallery-fade__img.is-active { opacity: 1; }

/* DESKTOP HOVER LOGIIKKA (TARKAT PIKSELIARVOSI) */
/* DESKTOP HOVER (hillitty zoom) */
@media (hover: hover) and (pointer: fine) {
  .gallery-grid-4 .gallery-fade:nth-child(1) { transform-origin: top left; }
  .gallery-grid-4 .gallery-fade:nth-child(2) { transform-origin: top right; }
  .gallery-grid-4 .gallery-fade:nth-child(3) { transform-origin: bottom left; }
  .gallery-grid-4 .gallery-fade:nth-child(4) { transform-origin: bottom right; }

  /* 1 */
  .gallery-grid-4.is-hovering.active-1 .gallery-fade:nth-child(1){
    transform: scale(1.15);
    z-index: 10;
    box-shadow: 0 28px 70px rgba(20,35,60,0.26);
    opacity: 1;
    filter: none;
  }
  .gallery-grid-4.is-hovering.active-1 .gallery-fade:nth-child(4){ transform: scale(0.86); }
  .gallery-grid-4.is-hovering.active-1 .gallery-fade:nth-child(3){ transform: translateX(162px) scale(0.86); }
  .gallery-grid-4.is-hovering.active-1 .gallery-fade:nth-child(2){ transform: translateY(121px) scale(0.86); }

  /* 2 */
  .gallery-grid-4.is-hovering.active-2 .gallery-fade:nth-child(2){
    transform: scale(1.15);
    z-index: 10;
    box-shadow: 0 28px 70px rgba(20,35,60,0.26);
    opacity: 1;
    filter: none;
  }
  .gallery-grid-4.is-hovering.active-2 .gallery-fade:nth-child(3){ transform: scale(0.86); }
  .gallery-grid-4.is-hovering.active-2 .gallery-fade:nth-child(4){ transform: translateX(-162px) scale(0.86); }
  .gallery-grid-4.is-hovering.active-2 .gallery-fade:nth-child(1){ transform: translateY(121px) scale(0.86); }

  /* 3 */
  .gallery-grid-4.is-hovering.active-3 .gallery-fade:nth-child(3){
    transform: scale(1.15);
    z-index: 10;
    box-shadow: 0 28px 70px rgba(20,35,60,0.26);
    opacity: 1;
    filter: none;
  }
  .gallery-grid-4.is-hovering.active-3 .gallery-fade:nth-child(2){ transform: scale(0.86); }
  .gallery-grid-4.is-hovering.active-3 .gallery-fade:nth-child(1){ transform: translateX(162px) scale(0.86); }
  .gallery-grid-4.is-hovering.active-3 .gallery-fade:nth-child(4){ transform: translateY(-121px) scale(0.86); }

  /* 4 */
  .gallery-grid-4.is-hovering.active-4 .gallery-fade:nth-child(4){
    transform: scale(1.15);
    z-index: 10;
    box-shadow: 0 28px 70px rgba(20,35,60,0.26);
    opacity: 1;
    filter: none;
  }
  .gallery-grid-4.is-hovering.active-4 .gallery-fade:nth-child(1){ transform: scale(0.86); }
  .gallery-grid-4.is-hovering.active-4 .gallery-fade:nth-child(2){ transform: translateX(-162px) scale(0.86); }
  .gallery-grid-4.is-hovering.active-4 .gallery-fade:nth-child(3){ transform: translateY(-121px) scale(0.86); }

  /* muiden himmennys hoverissa */
  .gallery-grid-4.is-hovering .gallery-fade {
    opacity: 0.6;
  }
}

@media (max-width: 760px) {
  .gallery-grid-4 .gallery-fade:nth-child(1) { transform-origin: top left; }
  .gallery-grid-4 .gallery-fade:nth-child(2) { transform-origin: top right; }
  .gallery-grid-4 .gallery-fade:nth-child(3) { transform-origin: bottom left; }
  .gallery-grid-4 .gallery-fade:nth-child(4) { transform-origin: bottom right; }

  .gallery-grid-4.is-tapped .gallery-fade {
    opacity: 0.6;
    filter: saturate(0.7) brightness(0.88);
    box-shadow: 0 4px 12px rgba(20,35,60,0.06);
    z-index: 1;
  }

  .gallery-grid-4.is-tapped.tap-1 .gallery-fade:nth-child(1),
  .gallery-grid-4.is-tapped.tap-2 .gallery-fade:nth-child(2),
  .gallery-grid-4.is-tapped.tap-3 .gallery-fade:nth-child(3),
  .gallery-grid-4.is-tapped.tap-4 .gallery-fade:nth-child(4) {
    transform: scale(1.40);
    opacity: 1;
    filter: none;
    box-shadow: 0 28px 70px rgba(20,35,60,0.26);
    z-index: 10;
  }

  .gallery-grid-4.is-tapped.tap-1 .gallery-fade:nth-child(4) { transform: scale(0.62); }
  .gallery-grid-4.is-tapped.tap-1 .gallery-fade:nth-child(3) { transform: translateX(calc(var(--tap-x) * 0.75)) scale(0.62); }
  .gallery-grid-4.is-tapped.tap-1 .gallery-fade:nth-child(2) { transform: translateY(calc(var(--tap-y) * 0.75)) scale(0.62); }

  .gallery-grid-4.is-tapped.tap-2 .gallery-fade:nth-child(3) { transform: scale(0.62); }
  .gallery-grid-4.is-tapped.tap-2 .gallery-fade:nth-child(4) { transform: translateX(calc(var(--tap-x) * -0.75)) scale(0.62); }
  .gallery-grid-4.is-tapped.tap-2 .gallery-fade:nth-child(1) { transform: translateY(calc(var(--tap-y) * 0.75)) scale(0.62); }

  .gallery-grid-4.is-tapped.tap-3 .gallery-fade:nth-child(2) { transform: scale(0.62); }
  .gallery-grid-4.is-tapped.tap-3 .gallery-fade:nth-child(1) { transform: translateX(calc(var(--tap-x) * 0.75)) scale(0.62); }
  .gallery-grid-4.is-tapped.tap-3 .gallery-fade:nth-child(4) { transform: translateY(calc(var(--tap-y) * -0.75)) scale(0.62); }

  .gallery-grid-4.is-tapped.tap-4 .gallery-fade:nth-child(1) { transform: scale(0.62); }
  .gallery-grid-4.is-tapped.tap-4 .gallery-fade:nth-child(2) { transform: translateX(calc(var(--tap-x) * -0.75)) scale(0.62); }
  .gallery-grid-4.is-tapped.tap-4 .gallery-fade:nth-child(3) { transform: translateY(calc(var(--tap-y) * -0.75)) scale(0.62); }
}

/* ANIMAATIOT */
@keyframes successPop {
  0%   { opacity: 0; transform: translateY(8px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@media (min-width: 761px) {
  main {
    position: relative;
    isolation: isolate;
  }

  main::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;           /* ALKAA VASEMMASTA LAIDASTA */
    right: 0;          /* JATKUU OIKEAAN LAITAAN */
    width: 100vw;      /* KOKO NÄYTÖN LEVEYS */
    margin-left: 50%;
    transform: translateX(-50%); /* KESKITYS VARMUUDEN VUOKSI */
    
    border-radius: 0;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.82) 0%,
      rgba(255, 255, 255, 0.78) 28%,
      rgba(250, 253, 255, 0.74) 55%,
      rgba(248, 252, 255, 0.76) 78%,
      rgba(255, 255, 255, 0.82) 100%
    );
    backdrop-filter: blur(8px) saturate(125%);
    -webkit-backdrop-filter: blur(8px) saturate(125%);
    box-shadow: none; /* POISTETAAN REUNAVARJOT JOTKA TEKEE VIIVOJA */
    z-index: 0;
    pointer-events: none;
  }
}
@media (max-width: 760px) {
  /* pidä itemin yleinen spacing ok */
  .rating-marquee__text{
    gap: 10px !important; /* yleinen */
  }

  /* tuo 5.0 + tähti lähemmäs itse label-tekstiä */
  .rating-label{
    margin-right: -4px !important;  /* säädä: -2px ... -8px */
  }

  /* ja 5.0 + tähti keskenään tiiviimmäksi */
  .rating-score{
    margin-right: -4px !important;  /* säädä */
  }
}

#comparisonSlider .label-left,
#comparisonSlider .label-right,
#comparisonSlider .slide-handle,
#comparisonSlider .slide-handle-knob,
#comparisonSlider .slider-hint {
  pointer-events: none !important;
}
/* badge: pienempi ja siistimpi */
.link-note{
  display: inline-flex;
  align-items: center;
  margin-left: .45rem;
  padding: .12rem .45rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.25;
  color: rgba(16,35,51,.62);
  background: rgba(16,35,51,.05);
  border: 1px solid rgba(16,35,51,.10);
  white-space: nowrap;
}

/* mobiililla badge omalle riville (näyttää tarkoitukselliselta) */
@media (max-width: 760px){
  .privacy-label{
    align-items: flex-start;
  }

  .privacy-label > span{
    display: inline-block;
  }

  .privacy-label .link-note{
    display: block;
    margin-left: 0;
    margin-top: .35rem;
    width: fit-content;
  }
}
/* ============================================================
   GOOGLE-ARVOSTELUT HEADBAND 
   ============================================================ */

.rating-band{ margin:0; padding:0; width:100%; }

.rating-band__paperWidth{
  width:100%;
  height:56px;
  display:flex;
  align-items:center;
  overflow:hidden;
  position:relative;

  background: rgba(255,255,255,0.55);
  border-top: 1px solid rgba(10,20,30,0.08);
  border-bottom: 1px solid rgba(10,20,30,0.08);

  /* fade-pituus (desktop) */
  --fade: 560px;

  /* koko bandi feidaa reunoihin */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0,0,0,.05) 12%,
    rgba(0,0,0,.22) 22%,
    rgba(0,0,0,.60) 34%,
    #000 50%,
    rgba(0,0,0,.60) 66%,
    rgba(0,0,0,.22) 78%,
    rgba(0,0,0,.05) 88%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0,0,0,.05) 12%,
    rgba(0,0,0,.22) 22%,
    rgba(0,0,0,.60) 34%,
    #000 50%,
    rgba(0,0,0,.60) 66%,
    rgba(0,0,0,.22) 78%,
    rgba(0,0,0,.05) 88%,
    transparent 100%
  );

  /* tekee fadesta “leveämmän” ilman että muutat prosentteja */
  -webkit-mask-size: calc(100% + (var(--fade) * 2)) 100%;
  mask-size: calc(100% + (var(--fade) * 2)) 100%;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

/* Reunat (desktop) */
.rating-band__paperWidth::before,
.rating-band__paperWidth::after{
  content:"";
  position:absolute;
  top:-1px;
  bottom:-1px;
  width:min(420px,34vw);
  pointer-events:none;
  z-index:2;
  filter: blur(.2px);
  opacity:.95;
}

.rating-band__paperWidth::before{
  left:-1px;
  background:
    radial-gradient(120% 140% at 0% 50%,
      rgba(66,203,232,.22) 0%,
      rgba(20,163,199,.14) 22%,
      rgba(24,63,134,.10) 45%,
      rgba(255,255,255,.08) 62%,
      rgba(255,255,255,0) 78%),
    linear-gradient(to right,
      rgba(255,255,255,.55) 0%,
      rgba(255,255,255,.24) 22%,
      rgba(255,255,255,0) 72%);
}

.rating-band__paperWidth::after{
  right:-1px;
  background:
    radial-gradient(120% 140% at 100% 50%,
      rgba(66,203,232,.22) 0%,
      rgba(20,163,199,.14) 22%,
      rgba(24,63,134,.10) 45%,
      rgba(255,255,255,.08) 62%,
      rgba(255,255,255,0) 78%),
    linear-gradient(to left,
      rgba(255,255,255,.55) 0%,
      rgba(255,255,255,.24) 22%,
      rgba(255,255,255,0) 72%);
}

/* Marquee */
#ratingMarquee{
  display:flex;
  align-items:center;
  width:max-content;
  will-change: transform;
  transform: translate3d(0,0,0);
  z-index:1; /* alle reunojen */
}

.rating-marquee__text{
  flex: 0 0 25vw;
  min-width: 25vw;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  white-space:nowrap;
}

/* ===== MOBILE: EI reunoja, feidaa vain teksti ===== */
@media (max-width: 760px){
  .rating-band__paperWidth{
    height:52px;

    /* poista band-mask mobiilissa (iOS:llä vakaampi näin) */
    -webkit-mask-image: none;
    mask-image: none;
  }

  /* ei “paskareunoja” mobiilissa */
  .rating-band__paperWidth::before,
  .rating-band__paperWidth::after{
    content:none !important;
    display:none !important;
  }

  /* feidaa rullaava sisältö */
  #ratingMarquee{
    --mFade: 110px; /* leveä fade */
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0,
      #000 var(--mFade),
      #000 calc(100% - var(--mFade)),
      transparent 100%
    );
    mask-image: linear-gradient(
      to right,
      transparent 0,
      #000 var(--mFade),
      #000 calc(100% - var(--mFade)),
      transparent 100%
    );
  }

  .rating-marquee__text{
    flex: 0 0 50vw;
    min-width: 50vw;
    gap:6px;
    font-size:.85rem;
  }
}

.icon-badge{
  display:inline-grid;
  place-items:center;
  width:36px;
  height:36px;
  border-radius:50%;
  margin-right:.55rem;
  color:#fff;
  background: var(--glass-primary-grad);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow:
    0 8px 18px rgba(16,35,51,0.16),
    inset 0 1px 0 rgba(255,255,255,0.22),
    inset 0 -1px 0 rgba(0,0,0,0.16);
  flex: 0 0 36px;
  transform: translateY(-1px);
}

.icon-badge svg{
  width:20px;
  height:20px;
  display:block;
  fill:none;
  stroke:currentColor;
  stroke-width:2.15;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.icon-badge svg path{
  vector-effect: non-scaling-stroke;
}

.section-heading.left p{
  margin-inline: 0;
}

.reviews-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.review-card{
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 22px;
  padding: 1.35rem 1.35rem 1.2rem;

  background: linear-gradient(
    160deg,
    rgba(255,255,255,.92) 0%,
    rgba(246,252,255,.84) 45%,
    rgba(232,246,255,.82) 100%
  );
  border: 1px solid rgba(255,255,255,.75);
  box-shadow:
    0 18px 46px rgba(16,35,51,.10),
    inset 0 1px 0 rgba(255,255,255,.85);
  transition: transform 260ms cubic-bezier(.22,1,.36,1), box-shadow 260ms ease;
}

.review-card::before{
  content:"";
  position:absolute;
  inset:-2px;
  pointer-events:none;
  opacity:0;
  background: radial-gradient(600px 220px at 20% 0%,
    rgba(255,255,255,.70) 0%,
    rgba(255,255,255,.14) 32%,
    transparent 60%);
  transition: opacity 260ms ease;
}

@media (hover:hover) and (pointer:fine){
  .review-card:hover{
    transform: translate3d(0,-6px,0);
    box-shadow:
      0 30px 80px rgba(16,35,51,.14),
      0 12px 30px rgba(16,35,51,.07),
      inset 0 1px 0 rgba(255,255,255,.9);
  }
  .review-card:hover::before{ opacity: .9; }
}

.review-head{
  display:flex;
  align-items:center;
  gap:.85rem;
  margin-bottom:.9rem;
}

.review-avatar{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  font-weight: 900;
  letter-spacing: .02em;
  color: rgba(11,27,42,.92);

  background: linear-gradient(145deg, rgba(255,255,255,.78), rgba(235,248,255,.62));
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: 0 12px 26px rgba(16,35,51,.10), inset 0 1px 0 rgba(255,255,255,.9);
}

.review-name{
  font-weight: 900;
  letter-spacing: -0.02em;
  color: rgba(11,27,42,.94);
  line-height: 1.1;
}

.review-stars{
  font-weight: 900;
  letter-spacing: .12em;
  font-size: .9rem;
  color: #f4b400; /* google-keltainen */
  text-shadow: 0 1px 0 rgba(255,255,255,.5);
}

.review-text{
  margin: 0;
  color: #4a6275;
  font-weight: 600;
  line-height: 1.7;
}

.reviews-foot{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.2rem;
}

.reviews-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: .75rem 1.05rem;
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(16,35,51,.08);
  box-shadow: 0 10px 24px rgba(16,35,51,.06);
  font-weight: 800;
  color: rgba(11,27,42,.92);
}

.reviews-note{
  color: rgba(93,114,131,.9);
  font-weight: 700;
  font-size: .95rem;
}

@media (max-width: 900px){
  .reviews-grid{ grid-template-columns: 1fr; }
}

.reviews-note__link{
  color: var(--primary-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 800;
}
.reviews-note__link:hover{
  color: var(--primary);
}

/* overlay-ankkuri */
#gallerySection .container{
  position: relative;
}

/* pidä grid normaalina */
#galleryGrid{
  position: relative;
}

/* hintti overlayksi (ei vie tilaa) */
.gallery-hint{
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 60;
  pointer-events: none;

  /* layer valmiiksi */
  transform: translate3d(-50%, -50%, 0) translateY(8px);
  opacity: 0;
  will-change: opacity, transform;
  transition:
    opacity 220ms ease,
    transform 220ms cubic-bezier(.22,1,.36,1);
}

/* pillin tyyli (jos sulla jo oli, pidä/mergeä) */
.gallery-hint__text{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: .65rem 1rem;
  border-radius: 999px;

  /* EI backdrop-filter -> ei warmup-poppia */
  background:
    linear-gradient(
      180deg,
      rgba(40, 48, 58, 0.62) 0%,
      rgba(40, 48, 58, 0.52) 45%,
      rgba(40, 48, 58, 0.58) 100%
    );
  border: 1px solid rgba(255,255,255,0.16);

  box-shadow:
    0 10px 30px rgba(0,0,0,0.18),
    0 1px 0 rgba(255,255,255,0.10) inset;

  color: rgba(255,255,255,0.94);
  font-weight: 850;
  font-size: .95rem;
  line-height: 1;
  letter-spacing: -0.01em;

  /* pieni “glass highlight” reunoille */
  position: relative;
  overflow: hidden;
}

/* kun hinting -> näytä + pikkunosto */
#gallerySection.is-hinting .gallery-hint{
  opacity: 1;
  transform: translate3d(-50%, -50%, 0) translateY(0);
}

/* blur kuville kun hint näkyy */
#gallerySection.is-hinting #galleryGrid .gallery-fade{
  filter: blur(2.2px) saturate(.92) brightness(.96);
  opacity: .78;
  transition: filter 220ms ease, opacity 220ms ease;
}

/* desktopilla ei overlay-hinttiä eikä blurrausta */
@media (min-width: 761px){
  #gallerySection.is-hinting .gallery-hint{ display:none !important; }
  #gallerySection.is-hinting #galleryGrid .gallery-fade{ filter:none; opacity:1; }
}

/* =========================
   Glass card – premium Apple typography
   ========================= */

.glass-card{
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.glass-card__title{
  display:inline-block;
  font-size: clamp(1.9rem, 2.3vw, 2.25rem);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.06em;
  color: rgba(7,17,30,0.96);
  position: relative;
}

/* hienovarainen “Apple highlight” otsikon päällä */
.glass-card__title::after{
  content:"";
  position:absolute;
  inset: -0.15em -0.2em;
  border-radius: 18px;
  background: radial-gradient(60% 70% at 35% 35%,
    rgba(66,203,232,0.18) 0%,
    rgba(66,203,232,0.08) 38%,
    transparent 70%);
  filter: blur(10px);
  opacity: .9;
  z-index: -1;
  pointer-events:none;
}

.glass-card__lead{
  margin: 0 0 1.25rem;
  font-size: 1.06rem;
  line-height: 1.7;
  font-weight: 560;
  letter-spacing: -0.015em;
  color: rgba(55,82,102,0.92);
  text-wrap: balance;
}

/* Lista “Notes” -tyyliseksi */
.glass-card__list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.9rem;
}

.glass-card__list li{
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;

  font-size: 1.02rem;
  line-height: 1.45;
  font-weight: 650;
  letter-spacing: -0.012em;
  color: rgba(10,26,46,0.92);
}

/* premium check badge (ei emoji) */
.glass-card__list li::before{
  content: "";
  width: 22px;
  height: 22px;
  margin-top: 0.08rem;
  flex: 0 0 22px;

  border-radius: 7px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.55), rgba(255,255,255,0) 55%),
    linear-gradient(135deg, rgba(34,197,94,0.95), rgba(16,185,129,0.95));
  box-shadow:
    0 10px 18px rgba(16,185,129,0.18),
    inset 0 1px 0 rgba(255,255,255,0.55),
    inset 0 -1px 0 rgba(0,0,0,0.10);

  /* piirretään check merkki maskilla */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9.0 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9.0 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
}

/* jos haluat listan checkin valkoiseksi (maskilla väri tulee taustasta),
   vaihda yllä background -> pelkkä vihreä ja lisää tähän pieni “white fill” -kikka: */
.glass-card__list li::before{
  background:
    linear-gradient(135deg, rgba(34,197,94,0.98), rgba(16,185,129,0.98));
}
.glass-card__list li::before{
  /* check on läpinäkyvä maski -> itse merkki on backgroundin “aukko”.
     Jos haluat valkoisen merkin, tee pseudo-elementti kahdella layerilla: */
}

.glass-card::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.55) 0%,
    rgba(255,255,255,0.12) 35%,
    rgba(255,255,255,0.06) 60%,
    rgba(255,255,255,0.22) 100%
  );
  opacity: .35;
  mix-blend-mode: overlay;
  z-index: 2;
}

@media (max-width: 760px){
  html{
    background:
      radial-gradient(ellipse 140% 70% at 0% 0%, rgba(235, 240, 250, 0.98) 0%, rgba(215, 225, 242, 0.80) 20%, rgba(190, 205, 232, 0.45) 40%, transparent 62%),
      radial-gradient(ellipse 110% 60% at 100% 0%, rgba(210, 215, 242, 0.92) 0%, rgba(185, 190, 228, 0.68) 22%, rgba(158, 165, 215, 0.35) 42%, transparent 58%),
      radial-gradient(ellipse 100% 45% at 50% 0%, rgba(245, 246, 255, 0.88) 0%, rgba(228, 228, 250, 0.55) 28%, transparent 58%),
      radial-gradient(ellipse 80% 55% at 15% 45%, rgba(210, 218, 242, 0.55) 0%, rgba(188, 195, 228, 0.28) 35%, transparent 62%),
      radial-gradient(ellipse 70% 45% at 85% 40%, rgba(165, 162, 218, 0.52) 0%, rgba(140, 138, 205, 0.28) 30%, transparent 58%),
      radial-gradient(ellipse 60% 50% at 70% 60%, rgba(98, 80, 160, 0.22) 0%, rgba(118, 95, 175, 0.10) 35%, transparent 62%),

      /* vaalennettu alaosa */
      radial-gradient(ellipse 80% 60% at 50% 100%,
        rgba(28, 28, 105, 0.45) 0%,
        rgba(52, 48, 138, 0.22) 30%,
        transparent 62%),

      /* vaalennettu “base” */
linear-gradient(165deg,
  #eff6ff 0%,
  #e9f3ff 18%,
  #e0efff 40%,
  #daebff 62%,
  #d8eaff 100%
) !important;

    background-attachment: scroll !important;
  }
}

/* =========================
   Liquid Glass buttons (simple, premium)
   ========================= */

.btn{
  border-radius: 999px;
  min-height: 54px;
  padding: 0.95rem 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: transform 160ms ease, box-shadow 200ms ease, background 200ms ease, border-color 200ms ease;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow: hidden;
}

/* yhteinen “glass highlight” */
.btn::after{
  content:"";
  position:absolute;
  inset: 0;
  pointer-events:none;
  border-radius: inherit;
  background:
    radial-gradient(120% 80% at 30% 0%,
      rgba(255,255,255,0.55) 0%,
      rgba(255,255,255,0.18) 30%,
      transparent 60%),
    linear-gradient(180deg,
      rgba(255,255,255,0.22),
      rgba(255,255,255,0.06));
  opacity: .9;
}

/* press */
.btn:active{ transform: translateY(1px) scale(0.99); }

/* focus */
.btn:focus-visible{
  outline: none;
  box-shadow: 0 0 0 4px rgba(20,163,199,0.14);
}

/* ---------- Secondary: clear glass ---------- */
.btn-secondary{
  color: rgba(7,17,30,0.92) !important;
  background: rgba(255,255,255,0.58) !important;
  border: 1px solid rgba(255,255,255,0.70) !important;

  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);

  box-shadow:
    0 14px 30px rgba(16,35,51,0.10),
    inset 0 1px 0 rgba(255,255,255,0.70);
}

@media (hover:hover) and (pointer:fine){
  .btn-secondary:hover{
    background: rgba(255,255,255,0.70) !important;
    border-color: rgba(255,255,255,0.85) !important;
    box-shadow:
      0 18px 38px rgba(16,35,51,0.12),
      inset 0 1px 0 rgba(255,255,255,0.78);
    transform: translateY(-1px);
  }
}

/* ---------- Primary: tinted liquid glass ---------- */
.btn-primary{
  color: #fff !important;

  background: linear-gradient(135deg,
    rgba(20,163,199,0.92),
    rgba(66,203,232,0.88)
  ) !important;

  border: 1px solid rgba(255,255,255,0.22) !important;

  -webkit-backdrop-filter: blur(14px) saturate(170%);
  backdrop-filter: blur(14px) saturate(170%);

  box-shadow:
    0 18px 38px rgba(20,163,199,0.34),
    0 8px 18px rgba(16,35,51,0.08),
    inset 0 1px 0 rgba(255,255,255,0.28),
    inset 0 0 0 1px rgba(255,255,255,0.10);
}

@media (hover:hover) and (pointer:fine){
  .btn-primary:hover{
    box-shadow:
      0 22px 46px rgba(20,163,199,0.42),
      0 10px 22px rgba(16,35,51,0.10),
      inset 0 1px 0 rgba(255,255,255,0.32);
    transform: translateY(-1px);
  }
}

/* tee nappien sisällöstä varmasti päällimmäinen */
.btn > span, .btn{
  position: relative;
  z-index: 1;
}

@media (max-width: 760px){
  .hero-actions .btn-primary{
    min-height: 60px;
    padding: 1.08rem 1.7rem;
    font-size: 1.06rem;
  }
}

/* Clean Apple-ish button text rendering */
.btn{
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
}

.btn > span{
  font-weight: 750;          /* 800 -> pehmeämpi */
  letter-spacing: -0.015em;  /* vähän vähemmän “puristusta” */
  line-height: 1;
}

/* Primary: valkoinen teksti + kevyt varjo parantaa “crisp” */
.btn-primary > span{
  color: rgba(255,255,255,0.96) !important;
  text-shadow:
    0 1px 0 rgba(0,0,0,0.10),
    0 8px 24px rgba(0,0,0,0.10);
}

/* Secondary: tumma teksti, erittäin kevyt shadow */
.btn-secondary > span{
  color: rgba(7,17,30,0.92) !important;
  text-shadow: 0 1px 0 rgba(255,255,255,0.35);
}

/* iOS: joskus auttaa kun pakottaa oman compositing-layerin */
.btn > span{
  transform: translateZ(0);
}

/* Pakota nappiteksti identtiseksi molemmissa */
.btn > span{
  font-size: 1.06rem;     /* sama koko */
  font-weight: 760;       /* sama paino */
  letter-spacing: -0.015em;
  line-height: 1;
}

/* Tee primaryn text-shadow tosi hillityksi (ettei näytä isommalta) */
.btn-primary > span{
  text-shadow: 0 1px 0 rgba(0,0,0,0.10);
}

/* Secondary: ei käytännössä shadowta */
.btn-secondary > span{
  text-shadow: none;
}

/* Pricing-korttien napit: kaikki 4 saman kokoisiksi + sama fontti */
.price-card-actions .btn{
  width: 100%;
  min-height: 62px;          /* sama korkeus */
  padding: 0.95rem 1.15rem;  /* sama padding */
  font-size: 0.96rem;        /* pienempi -> "Pyydä tarjous" mahtuu */
  font-weight: 760;
  letter-spacing: -0.015em;
}

/* Pakota teksti yhdelle riville näissä napeissa */
.price-card-actions .btn > span{
  white-space: nowrap;
}

/* Jos jossain laitteessa on silti tiukkaa, vielä hitusen pienempi mobiilissa */
@media (max-width: 760px){
  .price-card-actions .btn{
    font-size: 0.94rem;
  }
  
}@media (max-width: 760px){
  /* Poista btn-efektit navin "Palvelut"-linkiltä */
  .site-nav a.btn.btn-nav{
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
  }

  .site-nav a.btn.btn-nav::before,
  .site-nav a.btn.btn-nav::after{
    content: none !important;
    display: none !important;
  }
}
@media (max-width: 760px){

  /* Poista kaikki fade/mask mobiilissa */
  .rating-band__paperWidth{
    -webkit-mask-image: none !important;
    mask-image: none !important;
    -webkit-mask-size: auto !important;
    mask-size: auto !important;
    -webkit-mask-position: initial !important;
    mask-position: initial !important;
  }

  #ratingMarquee{
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }

  /* Poista reunalayer jos käytössä */
  .rating-edge,
  .rating-band__paperWidth::before,
  .rating-band__paperWidth::after{
    display: none !important;
    content: none !important;
  }
}

/* =========================
   ========================= */

:root{
  --reveal-ease: cubic-bezier(.16, 1, .3, 1); /* premium ease-out */
  --reveal-delay: 0ms;
}

/* ---------- Shared delay tokens (käy kaikille) ---------- */
.delay-1 { --reveal-delay: 90ms; }
.delay-2 { --reveal-delay: 180ms; }
.delay-3 { --reveal-delay: 270ms; }
.delay-4 { --reveal-delay: 360ms; }
.delay-5 { --reveal-delay: 520ms; }
.delay-6 { --reveal-delay: 660ms; }

.delay-100 { --reveal-delay: 100ms; }
.delay-200 { --reveal-delay: 200ms; }
.delay-300 { --reveal-delay: 300ms; }
.delay-400 { --reveal-delay: 400ms; }

/* ---------- TEXT REVEAL (transition) ---------- */
.reveal{
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  filter: blur(10px);
  transition:
    opacity 900ms var(--reveal-ease),
    transform 900ms var(--reveal-ease),
    filter 900ms var(--reveal-ease);
  transition-delay: var(--reveal-delay);
  will-change: opacity, transform, filter;
}

/* näkyviin */
.reveal.is-visible{
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0px);
}

/* Teksteille pienempi blur ja hiukan lyhyempi (premium, ei “efekti”) */
.reveal--text{
  filter: blur(8px);
  transition-duration: 820ms;
}

/* Variants */
.reveal--fade{ transform: none; }
.reveal--up{ transform: translate3d(0, 16px, 0); }
.reveal--left{ transform: translate3d(-14px, 0, 0); }
.reveal--right{ transform: translate3d(14px, 0, 0); }

/* ---------- CARD REVEAL (keyframes) ---------- */
/* Alku: vähän alempana ja hitusen "tiukempi" */
/* ===== Cards: PREMIUM (no settle/valuminen) ===== */

.reveal-card{
  opacity: 0;
  transform: translate3d(0, 24px, 0) scale(0.985);
  filter: blur(10px);
  will-change: transform, opacity, filter;
}

/* käynnistyy kun JS lisää .is-visible */
.reveal-card.is-visible{
  animation: cardInPremium 1200ms cubic-bezier(.16, 1, .3, 1) both;
  animation-delay: var(--reveal-delay, 0ms);
}

/*
  - Ei “valu” lopussa: liike valmistuu vasta lopussa (100%)
  - Opacity nousee koko matkan (ei nopea alku)
  - Blur häviää koko matkan -> apple-fiilis
*/
@keyframes cardInPremium{
  0%{
    opacity: 0;
    transform: translate3d(0, 30px, 0) scale(0.985);
    filter: blur(6px);
  }

  /* viimeinen liike + tarkentuminen tapahtuu loppuun asti */
  100%{
    opacity: 1;
    transform: translate3d(0, 0px, 0) scale(1);
    filter: blur(0px);
  }
}

@media (prefers-reduced-motion: reduce){
  .reveal-card{
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }
}

@supports (-webkit-touch-callout: none) {
  .reveal-card {
    filter: none;
  }

  .reveal-card.is-visible {
    animation-name: cardInPremiumIOS;
  }

  @keyframes cardInPremiumIOS {
    0% {
      opacity: 0;
      transform: translate3d(0, 30px, 0) scale(0.985);
    }
    100% {
      opacity: 1;
      transform: translate3d(0, 0, 0) scale(1);
    }
  }
}

/* =========================
   EYEBROW – Ultra premium (no dot)
   ========================= */

.eyebrow{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 0.54rem 0.98rem !important;
  border-radius: 999px !important;

  /* typography: Apple-ish */
  font-family: "Inter", sans-serif !important;
  font-size: 0.86rem !important;
  font-weight: 760 !important;
  letter-spacing: -0.012em !important;
  color: rgba(8, 22, 34, 0.86) !important;

  /* glass */
  background:
    radial-gradient(120% 180% at 20% 0%,
      rgba(255,255,255,0.78) 0%,
      rgba(255,255,255,0.40) 34%,
      rgba(255,255,255,0.22) 62%,
      rgba(255,255,255,0.26) 100%),
    linear-gradient(180deg,
      rgba(255,255,255,0.26) 0%,
      rgba(255,255,255,0.18) 100%) !important;

  backdrop-filter: blur(18px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(160%) !important;

  /* “hairline” border + depth */
  border: 1px solid rgba(255,255,255,0.66) !important;
  box-shadow:
    0 16px 40px rgba(16, 35, 51, 0.10),
    0 6px 18px rgba(16, 35, 51, 0.06),
    inset 0 1px 0 rgba(255,255,255,0.78),
    inset 0 -1px 0 rgba(16,35,51,0.05) !important;

  /* spacing */
  margin-bottom: 1.1rem !important;

  /* crisp rendering */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;

  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Top highlight (specular) */
.eyebrow::before{
  content: "";
  position: absolute;
  left: -22%;
  top: -55%;
  width: 140%;
  height: 190%;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;

  background: radial-gradient(closest-side at 30% 35%,
    rgba(255,255,255,0.78) 0%,
    rgba(255,255,255,0.22) 45%,
    rgba(255,255,255,0.00) 72%);
  opacity: 0.75;
}

/* Inner “tint” ring: gives that iOS material edge */
.eyebrow::after{
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;

  background: linear-gradient(
    180deg,
    rgba(66, 203, 232, 0.10) 0%,
    rgba(20, 163, 199, 0.05) 36%,
    rgba(24, 63, 134, 0.04) 100%
  );
  opacity: 0.85;
  mix-blend-mode: multiply;
}

/* keep the text above the glass layers */
.eyebrow{
  z-index: 1;
}

/* =========================
   PRICE LABEL – same as premium eyebrow, but bluer
   ========================= */

.price-label{
  /* layout */
  top: 1.05rem;
  right: 1.05rem;
  padding: 0.52rem 0.92rem;
  border-radius: 999px;
  white-space: nowrap;

  /* typography (match eyebrow vibe) */
  font-size: 0.84rem;
  font-weight: 780;
  letter-spacing: -0.012em;
  color: rgba(8, 34, 54, 0.84);

  /* frosted glass, but with a stronger blue tint than eyebrow */
  background:
    radial-gradient(120% 180% at 20% 0%,
      rgba(255,255,255,0.80) 0%,
      rgba(235,250,255,0.52) 34%,
      rgba(210,244,255,0.36) 62%,
      rgba(210,244,255,0.40) 100%),
    linear-gradient(180deg,
      rgba(66,203,232,0.18) 0%,
      rgba(20,163,199,0.10) 55%,
      rgba(24,63,134,0.06) 100%);

  backdrop-filter: blur(18px) saturate(165%);
  -webkit-backdrop-filter: blur(18px) saturate(165%);

  /* hairline border, slightly “blue” */
  border: 1px solid rgba(200, 242, 255, 0.78);

  /* depth (same family as eyebrow) + small cyan lift */
  box-shadow:
    0 16px 40px rgba(16,35,51,0.10),
    0 8px 20px rgba(20,163,199,0.12),
    inset 0 1px 0 rgba(255,255,255,0.82),
    inset 0 -1px 0 rgba(16,35,51,0.05);

  text-shadow: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;

  position: absolute;
  z-index: 6;
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
}

/* Specular highlight (same idea as eyebrow) */
.price-label::before{
  content:"";
  position:absolute;
  left:-22%;
  top:-58%;
  width: 145%;
  height: 210%;
  border-radius: 999px;
  pointer-events:none;
  z-index: 0;
  background: radial-gradient(closest-side at 30% 35%,
    rgba(255,255,255,0.90) 0%,
    rgba(255,255,255,0.26) 48%,
    rgba(255,255,255,0) 74%);
  opacity: 0.70;
}

/* Inner tint ring: gives that iOS “material edge”, bluer than eyebrow */
.price-label::after{
  content:"";
  position:absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events:none;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(66, 203, 232, 0.16) 0%,
    rgba(20, 163, 199, 0.08) 40%,
    rgba(24, 63, 134, 0.06) 100%
  );
  opacity: 0.9;
  mix-blend-mode: multiply;
}
/* ============================================================
   LIQUID GLASS BUTTONS (cleaned – no visual/behavior change)
   ============================================================ */

:root{
  /* final primary gradient (more uniform steel-blue) */
  --glass-primary-grad: linear-gradient(
    135deg,
    rgba(108, 156, 196, 0.82) 0%,
    rgba(92, 140, 185, 0.84) 55%,
    rgba(58, 92, 138, 0.86) 100%
  );

  /* final edge + specular rings (used by primary & clone) */
  --glass-edge-stack:
    0 22px 54px rgba(16,35,51,0.15),
    0 14px 34px rgba(20,60,95,0.14),
    0 10px 22px rgba(16,35,51,0.11),
    0 0 0 1px rgba(170, 220, 255, 0.16),
    inset 0 0 0 1px rgba(255,255,255,0.10),
    inset 0 1px 0 rgba(255,255,255,0.22),
    inset 0 -1px 0 rgba(0,0,0,0.16);

  --glass-specular-ring:
    inset 0 1px 0 rgba(255,255,255,0.26),
    inset 0 0 0 1px rgba(255,255,255,0.10),
    inset 0 -1px 0 rgba(0,0,0,0.20);

  --glass-primary-overlay: radial-gradient(
    120% 140% at 22% 10%,
    rgba(255,255,255,0.14) 0%,
    rgba(255,255,255,0.06) 40%,
    rgba(255,255,255,0.00) 64%
  );

  --glass-vignette-mask: radial-gradient(
    140% 120% at 50% 20%,
    #000 62%,
    rgba(0,0,0,0.92) 78%,
    rgba(0,0,0,0.78) 100%
  );
}

/* Base */
.glass-button{
  --glass-text: rgba(7,17,30,0.92);
  --glass-tint: transparent;

  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 56px;
  padding: 0.95rem 1.55rem;

  border-radius: 999px;
  border: none;
  background: transparent;
  cursor: pointer;

  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);

  box-shadow:
    0 18px 44px rgba(16,35,51,0.12),
    inset 0 1px 0 rgba(255,255,255,0.70);

  transition:
    transform 160ms cubic-bezier(.22,1,.36,1),
    box-shadow 220ms ease;
}

.glass-button,
.glass-button .glass-filter,
.glass-button .glass-overlay,
.glass-button .glass-specular{
  border-radius: 999px;
}

/* Hover/active (general) */
@media (hover:hover) and (pointer:fine){
  .glass-button:hover{ transform: translateY(-1px); }
}
.glass-button:active{ transform: translateY(1px) scale(0.992); }

/* Focus */
.glass-button:focus-visible{
  outline: none;
  box-shadow:
    0 0 0 4px rgba(20,163,199,0.14),
    0 22px 54px rgba(16,35,51,0.14),
    inset 0 1px 0 rgba(255,255,255,0.75);
}

/* Layers */
.glass-button .glass-filter,
.glass-button .glass-overlay,
.glass-button .glass-specular{
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.glass-button .glass-filter{
  z-index: 1;
  backdrop-filter: blur(9px) saturate(130%);
  -webkit-backdrop-filter: blur(9px) saturate(130%);
}

@media (hover:hover) and (pointer:fine){
  .glass-button .glass-filter{
    filter: url(#glass-distortion) saturate(120%) brightness(1.05);
  }
}

.glass-button .glass-overlay{
  z-index: 2;
  background:
    radial-gradient(120% 180% at 20% 0%,
      rgba(255,255,255,0.70) 0%,
      rgba(255,255,255,0.36) 36%,
      rgba(255,255,255,0.22) 62%,
      rgba(255,255,255,0.26) 100%),
    linear-gradient(180deg,
      rgba(255,255,255,0.18) 0%,
      rgba(255,255,255,0.10) 100%),
    var(--glass-tint);
  opacity: 1;
}

.glass-button .glass-specular{
  z-index: 3;
  box-shadow: var(--glass-specular-ring);
  opacity: 1;
}

.glass-button .glass-content{
  position: relative;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;

  color: var(--glass-text);
  font-family: "Inter", sans-serif;
  font-weight: 760;
  letter-spacing: -0.015em;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
}

/* Reduce white hover highlight (keep mouse-follow effect, just softer) */
@media (hover:hover) and (pointer:fine){
  .glass-button:hover .glass-specular{ opacity: 0.45; }
}

/* Variants */
.glass-button.is-secondary{
  --glass-tint: linear-gradient(180deg,
    rgba(66,203,232,0.10) 0%,
    rgba(20,163,199,0.05) 40%,
    rgba(24,63,134,0.04) 100%);
  --glass-text: rgba(7,17,30,0.92);

  box-shadow:
    0 18px 44px rgba(16,35,51,0.10),
    0 0 0 1px rgba(120,150,170,0.18),
    inset 0 0 0 1px rgba(255,255,255,0.62),
    inset 0 1px 0 rgba(255,255,255,0.70),
    inset 0 -1px 0 rgba(16,35,51,0.05);
}

/* Primary base + clone state must be identical */
.glass-button.is-primary,
.glass-button.is-primary-clone{
  --glass-text: rgba(255,255,255,0.96);
  box-shadow: var(--glass-edge-stack) !important;
}

.glass-button.is-primary .glass-overlay,
.glass-button.is-primary-clone .glass-overlay{
  background: var(--glass-primary-overlay), var(--glass-primary-grad) !important;
  -webkit-mask-image: var(--glass-vignette-mask);
          mask-image: var(--glass-vignette-mask);
}

.glass-button.is-primary .glass-specular,
.glass-button.is-primary-clone .glass-specular{
  box-shadow: var(--glass-specular-ring) !important;
}

/* Primary hover: almost no change (keep only mouse-follow spot) */
@media (hover:hover) and (pointer:fine){
  .glass-button.is-primary:hover{
    transform: none !important;
    box-shadow: var(--glass-edge-stack) !important;
  }
}

/* Clone safety: when secondary is cloned, force primary visuals (prevents any secondary hover rules from winning) */
@media (hover:hover) and (pointer:fine){
  .glass-button.is-secondary.is-primary-clone{
    border: none !important;
    box-shadow: var(--glass-edge-stack) !important;
  }

  .glass-button.is-secondary.is-primary-clone .glass-filter{
    backdrop-filter: blur(9px) saturate(130%) !important;
    -webkit-backdrop-filter: blur(9px) saturate(130%) !important;
    filter: url(#glass-distortion) saturate(120%) brightness(1.05) !important;
  }

  .glass-button.is-secondary.is-primary-clone .glass-overlay{
    background: var(--glass-primary-overlay), var(--glass-primary-grad) !important;
    -webkit-mask-image: var(--glass-vignette-mask) !important;
            mask-image: var(--glass-vignette-mask) !important;
  }

  .glass-button.is-secondary.is-primary-clone .glass-specular{
    box-shadow: var(--glass-specular-ring) !important;
    opacity: 0.45 !important;
  }

  .glass-button.is-secondary.is-primary-clone .glass-content{
    color: rgba(255,255,255,0.96) !important;
  }

  .glass-button.is-secondary.is-primary-clone:hover{
    transform: none !important;
    box-shadow: var(--glass-edge-stack) !important;
  }
}

/* Text clarity (primary + clone only) */
.glass-button.is-primary .glass-content > span,
.glass-button.is-primary-clone .glass-content > span,
.glass-button.is-secondary.is-primary-clone .glass-content > span{
  -webkit-text-stroke: 0.45px rgba(0, 18, 32, 0.24);
  paint-order: stroke fill;
  text-shadow:
    0 1px 0 rgba(0, 10, 18, 0.14),
    0 2px 4px rgba(0, 10, 18, 0.10);
}

@supports not (-webkit-text-stroke: 1px black){
  .glass-button.is-primary .glass-content > span,
  .glass-button.is-primary-clone .glass-content > span,
  .glass-button.is-secondary.is-primary-clone .glass-content > span{
    text-shadow:
      0 0 0.6px rgba(0, 18, 32, 0.18),
      0 1px 0 rgba(0, 10, 18, 0.14),
      0 2px 4px rgba(0, 10, 18, 0.10);
  }
}

/* Disabled */
.glass-button:disabled,
.glass-button[aria-disabled="true"]{
  opacity: .55;
  cursor: not-allowed;
  transform: none;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .glass-button{ transition: none; }
  .glass-button:hover,
  .glass-button:active{ transform: none; }
}

/* ============================================================
   Premium edges (rings) – primary + secondary
   - Only affects outlines/edges, not fill/overlay
   ============================================================ */

/* Common premium edge tokens */
:root{
  /* same hue family as primary edge */
  --edge-outer: rgba(170, 220, 255, 0.18);
  --edge-outer-2: rgba(110, 170, 215, 0.10);

  /* inner hairlines */
  --edge-inner: rgba(255,255,255,0.62);
  --edge-inner-2: rgba(0,0,0,0.06);
}

/* PRIMARY: richer premium ring (keeps your existing stack, enhances ring layers) */
.glass-button.is-primary{
  box-shadow:
    /* depth (keep existing) */
    0 22px 54px rgba(16,35,51,0.15),
    0 14px 34px rgba(20,60,95,0.14),
    0 10px 22px rgba(16,35,51,0.11),

    /* premium outer double-ring */
    0 0 0 1px var(--edge-outer),
    0 0 0 2px var(--edge-outer-2),

    /* inner hairlines */
    inset 0 0 0 1px rgba(255,255,255,0.10),
    inset 0 1px 0 rgba(255,255,255,0.22),
    inset 0 -1px 0 rgba(0,0,0,0.16) !important;
}

/* SECONDARY: use SAME outer ring colors as primary in normal state */
.glass-button.is-secondary{
  box-shadow:
    /* depth */
    0 18px 44px rgba(16,35,51,0.10),

    /* same outer ring as primary */
    0 0 0 1px var(--edge-outer),
    0 0 0 2px var(--edge-outer-2),

    /* inner “ceramic” hairlines */
    inset 0 0 0 1px var(--edge-inner),
    inset 0 1px 0 rgba(255,255,255,0.70),
    inset 0 -1px 0 var(--edge-inner-2) !important;
}

/* Keep clone state intact (so it still becomes identical to primary) */
@media (hover:hover) and (pointer:fine){
  .glass-button.is-secondary.is-primary-clone{
    box-shadow: var(--glass-edge-stack) !important;
  }
}

/* ============================================================
   Button typography polish (no color/style changes to button surfaces)
   ============================================================ */

.glass-button .glass-content{
  /* Crisp typography */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;

  /* Slightly calmer than 760 */
  font-weight: 720;
  letter-spacing: -0.010em;
}

/* Keep span consistent */
.glass-button .glass-content > span{
  font-size: 1.02rem;     /* tiny bump helps readability */
  line-height: 1;
  font-weight: inherit;
  letter-spacing: inherit;

  /* Inter looks best with these */
  font-feature-settings: "kern" 1, "liga" 1;
  font-kerning: normal;
}

/* Primary text (white): subtle edge for clarity, less “outlined” */
.glass-button.is-primary .glass-content > span,
.glass-button.is-primary-clone .glass-content > span,
.glass-button.is-secondary.is-primary-clone .glass-content > span{
  -webkit-text-stroke: 0.35px rgba(0, 18, 32, 0.22);
  paint-order: stroke fill;
  text-shadow: 0 1px 0 rgba(0, 10, 18, 0.12); /* kevyempi kuin aiemmin */
}

/* Secondary text (dark): no shadow, slightly deeper ink */
.glass-button.is-secondary .glass-content{
  color: rgba(7,17,30,0.94);
}
.glass-button.is-secondary .glass-content > span{
  -webkit-text-stroke: 0;
  text-shadow: none;
}

/* Optional: make long labels fit nicer without looking cramped */
.price-card-actions .glass-button .glass-content > span{
  font-size: 0.98rem; /* esim. "Lähetä sähköpostia" / tms. pysyy siistinä */
}

/* Make clone styling apply on mobile too (not only hover devices) */
.glass-button.is-primary-clone{
  --glass-text: rgba(255,255,255,0.96);
}

.glass-button.is-secondary.is-primary-clone{
  box-shadow: var(--glass-edge-stack) !important;
}

/* Mobile included: when secondary is cloned, force white text */
.glass-button.is-secondary.is-primary-clone .glass-content{
  color: rgba(255,255,255,0.96) !important;
}

/* and keep the span clarity consistent */
.glass-button.is-secondary.is-primary-clone .glass-content > span{
  -webkit-text-stroke: 0.35px rgba(0, 18, 32, 0.22) !important;
  paint-order: stroke fill;
  text-shadow: 0 1px 0 rgba(0, 10, 18, 0.12) !important;
}

.rating-strip{
  padding: 14px 0;
  background: transparent;
}

.rating-strip .container{
  display: flex;
  justify-content: flex-start; /* vasemmalle */
}

.rating-strip__content{
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  white-space: nowrap;
}

/* Symmetrinen tähti SVG:llä */
.rating-strip__star{
  width: 32px;
  height: 32px;
  margin-right: -7px;
  flex: 0 0 auto;
  fill: #F5B301;
  transform: translateY(-1px); /* optinen kohdistus */
}

.rating-strip__score{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 850;
  font-size: 1.4rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #0f1e2e;
}

.rating-strip__text{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: rgba(15, 30, 46, 0.56);
}

/* Mobile polish */
@media (max-width: 760px){
  .rating-strip{
    padding: 12px 0;
  }

  .rating-strip__content{
    gap: 12px;
  }

  .rating-strip__star{
    width: 28px;
    height: 28px;
    margin-right: -7px;
    transform: translateY(-1px);
  }

  .rating-strip__score{
    font-size: 1.2rem;
    letter-spacing: -0.035em;
  }

  .rating-strip__text{
    font-size: 1.1rem;
    letter-spacing: -0.01em;
    color: rgba(15, 30, 46, 0.52);
  }
}
@media (min-width: 761px) {

  .hero {
    position: relative;
    overflow: hidden;
    padding-bottom: 1.125rem;
  }

  .hero-content {
    position: relative;
    z-index: 10;
    max-width: 650px;
    margin-left: 0rem;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
  }

  .hero::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0; /* ✅ leikkaa oikeaa reunaa */
    width: 78%;  /* ✅ aiempi vasemman puolen leikkaus säilyy */
    height: 100%;

    background-image: url("images/hero-window.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: calc(100% + 250px) center;

    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transform: translate3d(26px, 0, 0) scale(1.015);
    animation: heroImageIn 1200ms cubic-bezier(.16, 1, .3, 1) 430ms both;

    /* ✅ MASKI SAMAAN SIJAINTIIN KUIN KUVA */
    mask-image:
      linear-gradient(to right, transparent 0%, black 35%),
      linear-gradient(to left, transparent 0%, black 55%),
      linear-gradient(to top, transparent 0%, black 20%);
    mask-composite: intersect;

    mask-position:
      calc(100% + 250px) center,
      calc(100% + 250px) center,
      calc(100% + 250px) center;

    -webkit-mask-image:
      linear-gradient(to right, transparent 0%, black 35%),
      linear-gradient(to left, transparent 0%, black 55%),
      linear-gradient(to top, transparent 0%, black 20%);
    -webkit-mask-composite: source-in;

    -webkit-mask-position:
      calc(100% + 250px) center,
      calc(100% + 250px) center,
      calc(100% + 250px) center;
  }

}

@keyframes heroImageIn {
  0% {
    opacity: 0;
    transform: translate3d(26px, 0, 0) scale(1.015);
    filter: blur(10px);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::after {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
/* ============================================================
   DISCOUNT CODE – PREMIUM GLASS STYLE (VERSIO 2.0)
   ============================================================ */

/* Alennusviestin pehmeä animaatio (esiintulo) */
.field-success {
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f7a43;
  transition: all 0.25s ease;
}

.field-success.visible {
  margin-top: 0.5rem;
  max-height: 60px;
  opacity: 1;
}

/* Valid koodi - Syöttökentän Glass-efekti kun koodi on oikein */
#discountCode.valid-code {
  border-color: rgba(16, 185, 129, 0.55) !important;
  background-color: rgba(16, 185, 129, 0.05) !important;
  box-shadow:
    0 0 0 3px rgba(16, 185, 129, 0.12),
    0 4px 16px rgba(16, 185, 129, 0.10),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.96),
    inset 0 -1.5px 0 rgba(16, 185, 129, 0.15) !important;
}

/* Punaiset reunat jos koodi on väärin */
#discountCode.invalid-code {
  border-color: #ef4444 !important;
  background-color: rgba(239, 68, 68, 0.05) !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

/* Mobiilissa vähän maltillisempi glow suorituskyvyn takia */
@media (max-width: 760px){
  #discountCode.valid-code {
    box-shadow:
      0 0 0 2px rgba(16, 185, 129, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
  }
}
/* ============================================================
   ARVONTA BANNER – TÄYSMATSI KUVAN KANSSA
   ============================================================ */
.arvonta-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 28px;
  padding: 16px 20px;
  text-decoration: none;
  margin-top: 32px;
  max-width: 580px; /* Sopiva koko desktopissa */
  box-shadow: 
    0 12px 34px rgba(0, 40, 80, 0.08),
    inset 0 2px 0 rgba(255, 255, 255, 0.6);
  transition: all 0.3s cubic-bezier(0.2, 1, 0.3, 1);
  position: relative;
}

.arvonta-banner:hover {
  transform: translateY(-3px) scale(1.01);
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 16px 44px rgba(0, 40, 80, 0.12);
  border-color: rgba(20, 163, 199, 0.4);
}

.arvonta-banner__icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #14a3c7 0%, #0d7d99 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(20, 163, 199, 0.2);
}

.arvonta-banner__icon svg {
  width: 26px;
  height: 26px;
}

.arvonta-banner__text {
  flex-grow: 1;
  text-align: left;
}

.arvonta-banner__text h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: #14a3c7;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.arvonta-banner__text p {
  margin: 4px 0 0 0;
  font-size: 0.88rem;
  color: #5d7283;
  line-height: 1.4;
  font-weight: 600;
}

.arvonta-banner__arrow {
  color: #14a3c7;
  opacity: 0.5;
  transition: transform 0.3s ease;
  padding-right: 5px;
}

.arvonta-banner__arrow svg {
  width: 22px;
  height: 22px;
}

.arvonta-banner:hover .arvonta-banner__arrow {
  transform: translateX(4px);
  opacity: 1;
}

/* --- MOBIILIYSTÄVÄLLISYYS --- */
@media (max-width: 760px) {
  .arvonta-banner {
    width: 100%;
    margin-top: 16px;
    margin-bottom: 0;
    padding: 14px 16px;
    border-radius: 22px;
  }

  .arvonta-banner__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .arvonta-banner__text h3 {
    font-size: 1rem;
  }

  .arvonta-banner__text p {
    font-size: 0.82rem;
  }
}
.rating-strip__star {
  position: relative;
  overflow: visible;
}

/* shimmer layer */
.rating-strip__star::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(255, 255, 255, 0.0) 30%,
    rgba(255, 255, 255, 0.8) 48%,
    rgba(255, 255, 255, 0.0) 70%,
    transparent 100%
  );

  opacity: 0.0;
  transform: translateX(-120%) skewX(-18deg);

  animation: starShimmer 3.5s ease-in-out infinite;
  pointer-events: none;
}

/* animaatio */
@keyframes starShimmer {
  0% {
    transform: translateX(-120%) skewX(-18deg);
    opacity: 0;
  }

  10% {
    opacity: 0.6;
  }

  40% {
    transform: translateX(140%) skewX(-18deg);
    opacity: 0;
  }

  100% {
    transform: translateX(140%) skewX(-18deg);
    opacity: 0;
  }
}
.rating-strip__star-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.shimmer-star {
  position: relative;
  overflow: hidden;
}

/* shimmer overlay */
.shimmer-star::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(255,255,255,0.0) 35%,
    rgba(255,255,255,0.8) 50%,
    rgba(255,255,255,0.0) 65%,
    transparent 100%
  );

  transform: translateX(-120%) skewX(-18deg);
  opacity: 0;

  animation: starShimmer 4.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes starShimmer {
  0% {
    transform: translateX(-120%) skewX(-18deg);
    opacity: 0;
  }

  12% {
    opacity: 0.5;
  }

  45% {
    transform: translateX(140%) skewX(-18deg);
    opacity: 0;
  }

  100% {
    transform: translateX(140%) skewX(-18deg);
    opacity: 0;
  }
}

/* ───────── ULTRA PREMIUM GLASS STICKY (FIXED) ───────── */

.mobile-sticky-cta {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 22px 20px 28px;
  z-index: 9999;

  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;   /* ✅ estää klikkauksen footerin päällä */

  transition:
    transform 0.5s cubic-bezier(.22,.9,.28,1),
    opacity 0.35s ease;
}

.mobile-sticky-cta.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;   /* ✅ klikattava vain kun näkyvissä */
}

.mobile-sticky-cta.morph-out {
  transform: translateY(10px) scale(0.985);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 360ms cubic-bezier(.20, .86, .20, 1),
    opacity 220ms ease;
}

.mobile-sticky-cta.morph-out .mobile-sticky-glass {
  transform-origin: center center;
  transform: scale(0.985);
  filter: blur(1px);
  box-shadow:
    0 -8px 24px rgba(16,35,51,0.06),
    inset 0 1px 0 rgba(255,255,255,0.42);
}

/* Glass panel */
.mobile-sticky-glass {
  display: flex;
  gap: 14px;
  padding: 18px;
  border-radius: 34px;

  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.68),
    rgba(226,239,248,0.54)
  );

  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow:
    0 -18px 44px rgba(16,35,51,0.12),
    0 0 0 1px rgba(255,255,255,0.58),
    inset 0 1px 0 rgba(255,255,255,0.74);
  transition:
    transform 360ms cubic-bezier(.20, .86, .20, 1),
    filter 220ms ease,
    box-shadow 220ms ease;
}

/* Buttons */
.mobile-sticky-btn {
  flex: 1;
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 16px 0;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  color: rgba(255,255,255,0.96);
  border: none;
  background: var(--glass-primary-overlay), var(--glass-primary-grad);
  box-shadow: var(--glass-edge-stack);
  text-shadow: 0 1px 0 rgba(0, 10, 18, 0.12);

  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.15s ease,
    box-shadow 0.3s ease;
}

.mobile-sticky-btn span {
  position: relative;
  z-index: 1;
}

.mobile-sticky-btn.primary,
.mobile-sticky-btn.primary:hover,
.mobile-sticky-btn.primary:active {
  color: rgba(255,255,255,0.96);
  background: var(--glass-primary-overlay), var(--glass-primary-grad);
  border: none;
  box-shadow: var(--glass-edge-stack);
  text-shadow: 0 1px 0 rgba(0, 10, 18, 0.12);
}

.mobile-sticky-btn.secondary {
  color: rgba(7,17,30,0.94);
  border: 1px solid rgba(150,178,198,0.22);
  background:
    radial-gradient(120% 160% at 20% 0%,
      rgba(255,255,255,0.72) 0%,
      rgba(255,255,255,0.34) 38%,
      rgba(255,255,255,0.18) 100%),
    linear-gradient(145deg,
      rgba(247,252,255,0.92) 0%,
      rgba(226,240,248,0.82) 54%,
      rgba(205,224,236,0.74) 100%);
  box-shadow:
    0 18px 44px rgba(16,35,51,0.10),
    0 0 0 1px rgba(170,220,255,0.16),
    0 0 0 2px rgba(110,170,215,0.09),
    inset 0 0 0 1px rgba(255,255,255,0.62),
    inset 0 1px 0 rgba(255,255,255,0.74),
    inset 0 -1px 0 rgba(16,35,51,0.05);
  text-shadow: none;
}

.mobile-sticky-btn.secondary:active {
  color: rgba(255,255,255,0.96);
  background: var(--glass-primary-overlay), var(--glass-primary-grad);
  border: none;
  box-shadow: var(--glass-edge-stack);
  text-shadow: 0 1px 0 rgba(0, 10, 18, 0.12);
}

/* Active press */
.mobile-sticky-btn:active {
  transform: scale(0.95);
}

/* Subtle light sweep */
.mobile-sticky-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.0),
    rgba(255,255,255,0.35),
    rgba(255,255,255,0.0)
  );
  transform: skewX(-20deg);
}

.mobile-sticky-btn:hover::before,
.mobile-sticky-btn:active::before {
  animation: stickySweep 0.9s ease forwards;
}

@keyframes stickySweep {
  0% { left: -120%; }
  100% { left: 140%; }
}

/* Float bounce (vain ensimmäiselle ilmestymiselle) */
@keyframes stickyFloatBounce {
  0% { transform: translateY(120%); }
  70% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

.mobile-sticky-cta.float-bounce {
  animation: stickyFloatBounce 0.6s cubic-bezier(.22,.9,.28,1);
}

@media (prefers-reduced-motion: reduce) {
  .mobile-sticky-cta.morph-out,
  .mobile-sticky-cta.morph-out .mobile-sticky-glass {
    transition: none;
  }
}

/* Desktop hidden */
@media (min-width: 761px) {
  .mobile-sticky-cta {
    display: none;
  }
}

/* ───────── TRUST BAR (DESKTOP + MOBILE SLIDER) ───────── */

.trust-bar {
  padding: 8px 0 20px; /* pienemmät gapit */
  overflow: visible;   /* estää shadow clippingin */
}

.trust-glass {
  overflow: visible; /* shadow ei leikkaannu */
  padding-top: 6px;  /* antaa tilaa shadowille */
}

.trust-track {
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  overflow: visible;
}

/* Bubble */
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(150,178,198,0.18);

  background:
    radial-gradient(120% 170% at 18% 0%,
      rgba(255,255,255,0.72) 0%,
      rgba(255,255,255,0.30) 42%,
      rgba(255,255,255,0.16) 100%),
    linear-gradient(145deg,
      rgba(247,252,255,0.88) 0%,
      rgba(224,239,249,0.72) 52%,
      rgba(202,224,238,0.56) 100%);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.56),
    inset 0 1px 0 rgba(255,255,255,0.72),
    inset 0 -1px 0 rgba(16,35,51,0.05);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;

  overflow: visible;
  will-change: transform;
}

.trust-item:hover {
  transform: none;

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.58),
    inset 0 1px 0 rgba(255,255,255,0.74),
    inset 0 -1px 0 rgba(16,35,51,0.05);
}

/* Icon */
.trust-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;

  background: var(--glass-primary-grad);
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: 800;
  font-size: 15px;

  box-shadow:
    0 8px 18px rgba(16,35,51,0.16),
    inset 0 1px 0 rgba(255,255,255,0.22),
    inset 0 -1px 0 rgba(0,0,0,0.16);

  flex-shrink: 0;
}

/* Text */
.trust-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #0f2b46;
}

.trust-text span {
  font-size: 12px;
  opacity: 0.65;
}

/* ───────── MOBILE SLIDER ───────── */

@media (max-width: 900px) {

  .trust-glass {
    overflow-x: hidden;
    overflow-y: visible;
    touch-action: pan-y;

    padding: 8px 0 4px;

    scrollbar-width: none;
  }

  .trust-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    width: 100%;
    transform: translate3d(0, 0, 0);
    will-change: transform;
  }

  .trust-glass::-webkit-scrollbar {
    display: none;
  }

  .trust-item {
    flex: 0 0 100%;
    width: 100%;

    margin: 0;
  }

}

@media (max-width: 760px) {
  .trust-bar {
    padding: 14px 0 30px;
  }

  .trust-glass {
    padding: 0 0 10px;
  }

  .trust-item {
    min-height: 126px;
    gap: 16px;
    padding: 24px 22px 30px;
    border-radius: 28px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    contain: layout paint;
  }

  .trust-badge {
    width: 42px;
    height: 42px;
    font-size: 17px;
  }

  .trust-text strong {
    font-size: 15.5px;
    line-height: 1.18;
  }

  .trust-text span {
    display: block;
    margin-top: 3px;
    font-size: 13px;
    line-height: 1.25;
  }

}

/* ───────── DOT INDICATORS ───────── */

.trust-dots {
  display: none;
  justify-content: center;
  align-items: center;

  gap: 7px;
  margin-top: 10px;
}

.trust-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;

  background: rgba(15,43,70,0.18);

  transition:
    transform 0.25s ease,
    opacity 0.25s ease,
    background 0.25s ease;
}

.trust-dot.active {
  background: var(--glass-primary-grad);
  transform: scale(1.25);
}

@media (max-width: 900px) {

  .trust-dots {
    display: flex;
  }

}

@media (max-width: 760px) {
  .trust-dots {
    margin-top: 14px;
  }
}

/* ───────── COMPARISON CAPTION (COMPACT) ───────── */

.comparison-caption {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: block;
}

.comparison-caption-inner {
  width: 100%;
  padding: 22px 26px 24px;
  border-radius: 0 0 22px 22px;
  border: 1px solid rgba(150,178,198,0.16);
  border-top-color: rgba(255,255,255,0.34);
  font-family: "Inter", sans-serif;
  letter-spacing: -0.01em;

  background:
    radial-gradient(100% 160% at 18% 0%,
      rgba(255,255,255,0.62) 0%,
      rgba(255,255,255,0.26) 42%,
      rgba(255,255,255,0.12) 100%),
    linear-gradient(145deg,
      rgba(247,252,255,0.80) 0%,
      rgba(226,240,248,0.68) 54%,
      rgba(205,224,236,0.58) 100%);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow:
    0 18px 44px rgba(16,35,51,0.10),
    0 0 0 1px rgba(170,220,255,0.12),
    inset 0 1px 0 rgba(255,255,255,0.58),
    inset 0 -1px 0 rgba(16,35,51,0.04);
}

.comparison-header,
.comparison-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  margin-bottom: 8px;
}

.comparison-client {
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f2b46;
  letter-spacing: -0.015em;
}

.comparison-stars {
  color: #f4b400;
  font-size: 14px;
  letter-spacing: 1px;
}

.comparison-location {
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.6;
}

.comparison-quote {
  font-size: 0.98rem;
  line-height: 1.6;
  font-weight: 600;
  color: #0f2b46;
  margin: 0;
  letter-spacing: -0.01em;
}

@media (max-width: 760px) {
  .comparison-slider {
    border-radius: 20px 20px 0 0;
  }

  .comparison-caption-inner {
    padding: 18px 18px 20px;
    border-radius: 0 0 20px 20px;
  }

  .comparison-meta {
    gap: 7px;
    line-height: 1.35;
  }

  .comparison-quote {
    font-size: 0.94rem;
    line-height: 1.55;
  }
}
