/* =========================================
   Kuha Works – Brand CSS
   =========================================
   Colors
   –––––––––––––––––––––––––––––––––––––––––
   Blue Pine:   #324851  (primary bg / logo)
   Reflection:  #34675C  (primary bg / logo)
   New Grass:   #86AC41  (accent)
   Mist:        #7DA3A1  (emblem / secondary accent)
   White:       #FFFFFF
   ========================================= */

/* ── Code Pro – Local fonts ─────────────── */
@font-face {
  font-family: 'Code Pro';
  src: url('../assets/fonts/Code-Pro-Light.woff2') format('woff2'),
       url('../assets/fonts/Code-Pro-Light.woff') format('woff'),
       url('../assets/fonts/Code-Pro-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Code Pro';
  src: url('../assets/fonts/Code-Pro.woff2') format('woff2'),
       url('../assets/fonts/Code-Pro.woff') format('woff'),
       url('../assets/fonts/Code-Pro.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Code Pro';
  src: url('../assets/fonts/Code-Pro-Bold.woff2') format('woff2'),
       url('../assets/fonts/Code-Pro-Bold.woff') format('woff'),
       url('../assets/fonts/Code-Pro-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


/* ── Variables ──────────────────────────── */
:root {
  --color-blue-pine:  #324851;
  --color-reflection: #34675C;
  --color-new-grass:  #86AC41;
  --color-mist:       #7DA3A1;
  --color-white:      #ffffff;
  --color-black:      #000000;
  --color-bg-light:   #f4f7f6;
  --color-text-muted: #4a6370;

  --font-heading: 'Code Pro', sans-serif;
  --font-body:    'Calibri', 'Carlito', sans-serif;

  --spacing-xs:  0.5rem;
  --spacing-sm:  1rem;
  --spacing-md:  2rem;
  --spacing-lg:  4rem;
  --spacing-xl:  7rem;

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 20px;

  --max-width: 1140px;
  --shadow:    0 4px 24px rgba(50,72,81,0.10);
  --shadow-lg: 0 12px 48px rgba(50,72,81,0.15);
}

/* ── Reset ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--color-blue-pine);
  background: var(--color-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }

/* ── Typography ─────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
p  { font-family: var(--font-body); font-size: 1.05rem; max-width: 62ch; }

/* ── Layout ─────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--spacing-md);
}
.section { padding-block: var(--spacing-lg); }

.section-header {
  max-width: 640px;
  margin-bottom: var(--spacing-md);
}
.section-header h2 { margin-block: var(--spacing-xs) var(--spacing-sm); }
.section-header p  { color: var(--color-text-muted); }

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-reflection);
}

/* ── Buttons ────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  padding: 0.8rem 2rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
  white-space: nowrap;
}
.btn--primary  { background: var(--color-reflection); color: var(--color-white); }
.btn--primary:hover  { background: var(--color-blue-pine); }
.btn--accent   { background: var(--color-new-grass); color: var(--color-white); }
.btn--accent:hover   { background: #6f9033; }
.btn--outline  { background: transparent; color: var(--color-white); border-color: rgba(255,255,255,0.6); }
.btn--outline:hover  { background: var(--color-white); color: var(--color-blue-pine); border-color: var(--color-white); }
.btn:disabled  { opacity: 0.55; cursor: not-allowed; }

/* ── Navigation ─────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--color-blue-pine);
  padding-block: 0.85rem;
  transition: box-shadow 0.2s;
}
.nav.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.3); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
}
.nav__logo img { height: 44px; width: auto; object-fit: contain; flex-shrink: 0; }

.nav__links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  flex: 1;
  justify-content: center;
}
.nav__links a {
  color: rgba(255,255,255,0.8);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--color-mist); }

.nav__collapse {
  display: flex;
  align-items: center;
  flex: 1;
  gap: var(--spacing-md);
}

.nav__right {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  flex-shrink: 0;
}

/* Hamburger button — hidden on desktop */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
  flex-shrink: 0;
  margin-left: auto;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.9);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav--open .nav__hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav--open .nav__hamburger span:nth-child(2) { opacity: 0; }
.nav--open .nav__hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Language switcher */
.lang-switcher {
  display: flex;
  gap: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 3px;
}
.lang-btn {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.6);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.lang-btn:hover          { color: var(--color-white); }
.lang-btn--active        { background: var(--color-reflection); color: var(--color-white); }

/* Login link */
.nav__login {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255,255,255,0.75);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-sm);
  padding: 0.3rem 0.65rem;
}
.nav__login:hover { color: var(--color-white); border-color: rgba(255,255,255,0.7); }
.nav__login svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ── Hero ───────────────────────────────── */
.hero {
  background: var(--color-reflection);
  padding-top: calc(var(--spacing-xl) + 44px);
  padding-bottom: var(--spacing-xl);
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 660px;
}
.hero__label {
  display: inline-block;
  background: var(--color-new-grass);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: var(--spacing-sm);
}
.hero h1 {
  color: var(--color-white);
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}
.hero p {
  color: rgba(255,255,255,0.88);
  font-size: 1.15rem;
  margin-bottom: var(--spacing-md);
}
.hero__actions { display: flex; gap: var(--spacing-sm); flex-wrap: wrap; }

.hero__emblem {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  height: 90%;
  width: auto;
  opacity: 0.18;
  pointer-events: none;
  user-select: none;
}

/* ── USP Strip ──────────────────────────── */
.usp-strip {
  background: var(--color-blue-pine);
  padding-block: var(--spacing-md);
}
.usp-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-sm);
}
.usp-card {
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}
.usp-card--highlight {
  background: var(--color-reflection);
  border-color: transparent;
}
.usp-card__icon {
  width: 36px;
  height: 36px;
  margin-bottom: var(--spacing-sm);
}
.usp-card__icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--color-new-grass);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.usp-card--highlight .usp-card__icon svg { stroke: var(--color-white); }
.usp-card h3 { color: var(--color-white); margin-bottom: 0.4rem; font-size: 1.05rem; }
.usp-card p  { color: rgba(255,255,255,0.7); font-size: 0.9rem; max-width: none; }

/* ── Services Model Explainer ───────────── */
.services-model { background: var(--color-bg-light); }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}
.svc-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.svc-card--highlight {
  background: var(--color-reflection);
}
.svc-card--highlight .svc-card__icon { background: rgba(255,255,255,0.12); }
.svc-card--highlight .svc-card__icon svg { stroke: var(--color-new-grass); }

.svc-card__icon {
  width: 52px;
  height: 52px;
  background: var(--color-bg-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.svc-card__icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--color-reflection);
}
.svc-card h3 { color: var(--color-blue-pine); font-size: 1.1rem; }
.svc-card p  { color: var(--color-text-muted); font-size: 0.97rem; line-height: 1.7; }
.svc-card--highlight h3 { color: var(--color-white); }
.svc-card--highlight p  { color: var(--color-white); }

.svc-callout {
  margin-top: var(--spacing-md);
  background: var(--color-blue-pine);
  color: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--spacing-md) calc(var(--spacing-md) * 1.25);
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
}
.svc-callout svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-new-grass);
  flex-shrink: 0;
  margin-top: 2px;
}
.svc-callout p {
  color: rgba(255,255,255,0.88);
  font-size: 1.05rem;
  max-width: none;
}

@media (max-width: 900px) {
  .svc-grid { grid-template-columns: 1fr; }
}

/* ── How it works ───────────────────────── */
.how { background: var(--color-bg-light); }

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: var(--spacing-md);
  border-left: 2px solid var(--color-mist);
  padding-left: var(--spacing-md);
}
.step {
  display: flex;
  gap: var(--spacing-md);
  align-items: flex-start;
  padding-bottom: var(--spacing-lg);
  position: relative;
}
.step:last-child { padding-bottom: 0; }
.step__num {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 3rem;
  color: var(--color-mist);
  line-height: 1;
  min-width: 64px;
  position: relative;
}
.step__num::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--spacing-md) - 7px);
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-reflection);
  border: 2px solid var(--color-bg-light);
}
.step__body { padding-top: 0.4rem; }
.step__body h3 { color: var(--color-blue-pine); margin-bottom: 0.5rem; }
.step__body p  { color: var(--color-text-muted); }

/* ── FAQ ────────────────────────────────── */
.faq { background: var(--color-white); }

.faq__list {
  margin-top: var(--spacing-md);
  max-width: 780px;
}

.faq__item {
  border-bottom: 1px solid var(--color-border);
}
.faq__item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq__question {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-sm);
  padding: 1.25rem 0;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-blue-pine);
  user-select: none;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334675C' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform 0.2s ease;
}
.faq__item[open] .faq__question::after {
  transform: rotate(180deg);
}
.faq__item[open] .faq__question {
  color: var(--color-reflection);
}

.faq__answer {
  color: var(--color-text-muted);
  font-size: 0.97rem;
  line-height: 1.75;
  padding-bottom: 1.25rem;
  max-width: 68ch;
}

/* ── Pricing ────────────────────────────── */
.pricing { background: var(--color-white); }

.pricing-card {
  max-width: 540px;
  background: var(--color-blue-pine);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-lg);
}
.pricing-card__price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.pricing-from {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-mist);
}
.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  color: var(--color-white);
}
.pricing-amount [data-i18n="pricing_price"] {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 4.5rem;
  line-height: 1;
}
.pricing-per {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: rgba(255,255,255,0.7);
}
.pricing-sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.25rem;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: var(--spacing-md);
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.97rem;
}
.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-new-grass);
  color: white;
  font-size: 0.7rem;
  font-weight: 900;
  flex-shrink: 0;
}
.pricing-note {
  margin-top: var(--spacing-sm);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  max-width: none;
}

/* ── Why Kuha Works ─────────────────────── */
.why { background: var(--color-bg-light); }

.why__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}
.why-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.why-card__icon {
  width: 44px;
  height: 44px;
  background: var(--color-reflection);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-sm);
}
.why-card__icon svg {
  width: 22px;
  height: 22px;
  stroke: white;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.why-card h3 { color: var(--color-blue-pine); margin-bottom: 0.5rem; }
.why-card p  { color: var(--color-text-muted); font-size: 0.95rem; }

/* ── Contact ────────────────────────────── */
.contact { background: var(--color-white); }

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--spacing-lg);
  align-items: start;
}
.contact__info .section-label { margin-bottom: var(--spacing-xs); }
.contact__info h2 { margin-block: var(--spacing-xs) var(--spacing-sm); }
.contact__info > p { color: var(--color-text-muted); margin-bottom: var(--spacing-md); }

.contact__detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-blue-pine);
}
.contact__detail svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-reflection);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* Form */
.form { display: flex; flex-direction: column; gap: 1rem; }

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form__field { display: flex; flex-direction: column; gap: 0.35rem; }
.form__field label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-blue-pine);
}
.form__field input,
.form__field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-blue-pine);
  background: var(--color-bg-light);
  border: 2px solid #d0dde0;
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
  resize: vertical;
}
.form__field input:focus,
.form__field textarea:focus {
  border-color: var(--color-reflection);
  background: var(--color-white);
}
.form__success {
  color: var(--color-reflection);
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 0.75rem 1rem;
  background: #e8f2ee;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
}

/* ── Footer ─────────────────────────────── */
.footer {
  background: var(--color-blue-pine);
  color: rgba(255,255,255,0.6);
  padding-block: var(--spacing-md);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}
.footer__logo img { height: 34px; width: auto; object-fit: contain; flex-shrink: 0; opacity: 0.8; }
.footer__copy { font-size: 0.85rem; }
.footer__links { display: flex; gap: var(--spacing-md); list-style: none; }
.footer__links a { font-size: 0.85rem; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer__links a:hover { color: var(--color-mist); }

/* ── Responsive ─────────────────────────── */
/* Step body links */
.step__body p a {
  color: var(--color-reflection);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.step__body p a:hover { color: var(--color-new-grass); }

@media (max-width: 900px) {
  /* Mobile nav */
  .nav__hamburger { display: flex; }
  .nav__collapse {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-blue-pine);
    flex-direction: column;
    align-items: stretch;
    padding: var(--spacing-sm) var(--spacing-md) var(--spacing-md);
    border-top: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 8px 32px rgba(0,0,0,0.35);
    gap: var(--spacing-sm);
  }
  .nav--open .nav__collapse { display: flex; }
  .nav__links {
    flex-direction: column;
    gap: 0;
    justify-content: flex-start;
    flex: none;
    width: 100%;
  }
  .nav__links li { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav__links a { display: block; padding: 0.85rem 0; font-size: 1rem; }
  .nav__right {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.5rem;
    padding-top: 0.5rem;
  }
  .nav__right .btn { text-align: center; justify-content: center; }
  .nav__login { justify-content: center; }

  .usp-strip__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .form__row { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__links { justify-content: center; }
  .step { flex-direction: column; gap: var(--spacing-sm); }
  .step__num { font-size: 2rem; }
  .hero__emblem { display: none; }
  .page-hero__emblem { display: none; }
}

/* ===========================================
   SUBPAGE SHARED STYLES
   =========================================== */

/* ── Subpage hero ───────────────────────── */
.page-hero {
  background: var(--color-reflection);
  padding-top: calc(var(--spacing-xl) + 44px);
  padding-bottom: var(--spacing-xl);
  min-height: 70svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.page-hero__content { position: relative; z-index: 1; max-width: 660px; }
.page-hero .hero__label { margin-bottom: var(--spacing-sm); }
.page-hero h1 { color: var(--color-white); font-weight: 700; margin-block: var(--spacing-xs) var(--spacing-sm); }
.page-hero p  { color: rgba(255,255,255,0.82); font-size: 1.1rem; }
.page-hero__emblem {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  height: 90%;
  width: auto;
  opacity: 0.18;
  pointer-events: none;
  user-select: none;
}

/* ===========================================
   OHJELMISTOMME PAGE
   =========================================== */

/* ── Pipeline animation ─────────────────── */
@keyframes pipelineFlow {
  0%   { left: -35%; }
  100% { left: 120%; }
}
@keyframes nodeGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52,103,92,0.5); }
  50%       { box-shadow: 0 0 0 8px rgba(52,103,92,0); }
}
@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(134,172,65,0.7); }
  50%       { box-shadow: 0 0 0 7px rgba(134,172,65,0); }
}
@keyframes gearSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes progressShimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.pipeline-section {
  background: var(--color-blue-pine);
  padding-block: var(--spacing-md);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.pipeline {
  position: relative;
  display: flex;
  align-items: center;
  padding: 1.5rem 0;
}
.pipeline__track {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 3px;
  background: rgba(255,255,255,0.12);
  transform: translateY(-50%);
  overflow: hidden;
  border-radius: 2px;
}
.pipeline__glow {
  position: absolute;
  top: 0;
  left: -35%;
  width: 35%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--color-new-grass), transparent);
  animation: pipelineFlow 2.8s cubic-bezier(0.4,0,0.6,1) infinite;
}
.pipeline__stages {
  display: flex;
  justify-content: space-between;
  width: 100%;
  position: relative;
  z-index: 1;
}
.pipeline__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.pipeline__stage-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.3);
  transition: background 0.2s;
}
.pipeline__stage--active .pipeline__stage-dot {
  background: var(--color-new-grass);
  border-color: var(--color-new-grass);
  animation: nodeGlow 2s ease-in-out infinite;
}
.pipeline__stage--done .pipeline__stage-dot {
  background: var(--color-mist);
  border-color: var(--color-mist);
}
.pipeline__stage span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.pipeline__stage--active span { color: var(--color-new-grass); }
.pipeline__stage--done span   { color: var(--color-mist); }

.pipeline__live-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  padding-left: var(--spacing-md);
  flex-shrink: 0;
}
.pipeline__live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-new-grass);
  animation: statusPulse 1.5s ease-in-out infinite;
}
.pipeline__live-badge span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-new-grass);
}

/* ── Apps grid ──────────────────────────── */
.apps { background: var(--color-bg-light); }

.apps__section { margin-bottom: var(--spacing-lg); }
.apps__section:last-child { margin-bottom: 0; }

.apps-section-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}
.apps-section-header h2 { margin: 0; }

.apps__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

/* ── App card ───────────────────────────── */
.app-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.app-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.app-card__header {
  padding: var(--spacing-md) var(--spacing-md) 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.app-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--color-blue-pine);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: white;
  flex-shrink: 0;
}
.app-card--progress .app-card__icon { background: var(--color-reflection); position: relative; }
.app-card__gear {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  color: var(--color-new-grass);
  animation: gearSpin 4s linear infinite;
}
.app-card__body {
  padding: var(--spacing-sm) var(--spacing-md) var(--spacing-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.app-card__body h3 { color: var(--color-blue-pine); margin-bottom: 0.4rem; font-size: 1.25rem; }
.app-card__body p  { color: var(--color-text-muted); font-size: 0.93rem; flex: 1; margin-bottom: var(--spacing-sm); }
.app-card__footer {
  padding: 0 var(--spacing-md) var(--spacing-md);
}

/* Progress bar on in-progress cards */
.app-card__progress-bar {
  height: 3px;
  background: rgba(50,72,81,0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: var(--spacing-sm);
}
.app-card__progress-fill {
  height: 100%;
  width: 60%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-reflection), var(--color-new-grass), var(--color-reflection));
  background-size: 200% auto;
  animation: progressShimmer 2.5s linear infinite;
}

/* ── Status badge ───────────────────────── */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
}
.status-badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-badge--ready {
  background: rgba(134,172,65,0.12);
  color: #4a7a0e;
}
.status-badge--ready .status-badge__dot { background: var(--color-new-grass); }
.status-badge--progress {
  background: rgba(52,103,92,0.1);
  color: var(--color-reflection);
}
.status-badge--progress .status-badge__dot {
  background: var(--color-reflection);
  animation: statusPulse 1.6s ease-in-out infinite;
}
.status-badge--early {
  background: rgba(125,163,161,0.15);
  color: #3d7070;
}
.status-badge--early .status-badge__dot { background: var(--color-mist); }

/* ===========================================
   TILAA PAGE
   =========================================== */

.booking-section { background: var(--color-white); }
.booking-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: start;
}

/* Option cards at top of page */
.booking-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}
.booking-option {
  background: var(--color-white);
  border: 2px solid #d0dde0;
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  text-align: left;
}
.booking-option:hover,
.booking-option--active {
  border-color: var(--color-reflection);
  box-shadow: var(--shadow);
}
.booking-option__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--color-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-sm);
}
.booking-option--active .booking-option__icon { background: var(--color-reflection); }
.booking-option__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-reflection);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.booking-option--active .booking-option__icon svg { stroke: white; }
.booking-option h3 {
  font-size: 1rem;
  color: var(--color-blue-pine);
  margin-bottom: 0.3rem;
}
.booking-option p { font-size: 0.88rem; color: var(--color-text-muted); max-width: none; }
.booking-option__price {
  display: inline-block;
  margin-top: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-new-grass);
}

/* Time slots */
.time-slots {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}
.time-slot {
  background: var(--color-bg-light);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  padding: 0.5rem 1rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-blue-pine);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.time-slot:hover    { border-color: var(--color-reflection); }
.time-slot.selected { border-color: var(--color-reflection); background: rgba(52,103,92,0.08); }

/* Coming soon box */
.coming-soon-box {
  background: var(--color-bg-light);
  border: 2px dashed #b0c8c4;
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg) var(--spacing-md);
  text-align: center;
}
.coming-soon-box__icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-sm);
  box-shadow: var(--shadow);
}
.coming-soon-box__icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-reflection);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.coming-soon-box h3 { color: var(--color-blue-pine); margin-bottom: 0.5rem; }
.coming-soon-box p  { color: var(--color-text-muted); font-size: 0.95rem; margin-inline: auto; }
.coming-soon-box .section-label { margin-bottom: var(--spacing-sm); }
.coming-soon-pct {
  display: inline-block;
  margin-top: var(--spacing-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--color-mist);
}

/* Info box */
.info-box {
  background: var(--color-bg-light);
  border-left: 4px solid var(--color-new-grass);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}
.info-box h3 { color: var(--color-blue-pine); margin-bottom: 0.4rem; font-size: 1rem; }
.info-box p  { color: var(--color-text-muted); font-size: 0.92rem; max-width: none; }
.info-box__price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--color-reflection);
  margin-top: 0.5rem;
}

@media (max-width: 900px) {
  .booking-section__inner { grid-template-columns: 1fr; }
  .booking-options { grid-template-columns: 1fr; }
  .apps__grid { grid-template-columns: 1fr; }
  .pipeline__stages { gap: var(--spacing-sm); }
}
@media (max-width: 600px) {
  .pipeline__live-badge { display: none; }
}

/* ===========================================
   APP LIST & FILTERS
   =========================================== */

.btn--sm { font-size: 0.82rem; padding: 0.55rem 1.2rem; }

/* ── Filters ── */
.app-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-md);
  border-bottom: 2px solid #eef2f3;
}
.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: transparent;
  border: 2px solid #d0dde0;
  border-radius: 20px;
  padding: 0.4rem 1rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.filter-btn:hover          { border-color: var(--color-reflection); color: var(--color-reflection); }
.filter-btn--active        { background: var(--color-reflection); border-color: var(--color-reflection); color: white; }
.filter-dot                { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.filter-dot--ready         { background: var(--color-new-grass); }
.filter-dot--progress      { background: var(--color-reflection); }
.filter-btn--active .filter-dot { background: rgba(255,255,255,0.8); }

/* ── App list ── */
.app-list {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--color-white);
}
.app-row {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: var(--spacing-sm) var(--spacing-md);
  align-items: center;
  padding: 1.25rem var(--spacing-md);
  background: var(--color-white);
  border-bottom: 1px solid #eef2f3;
  border-left: 4px solid transparent;
  transition: background 0.15s;
}
.app-row:last-child            { border-bottom: none; }
.app-row:hover                 { background: #f7fafa; }
.app-row--ready                { border-left-color: var(--color-new-grass); }
.app-row--progress             { border-left-color: var(--color-reflection); }

/* Icon */
.app-row__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--color-blue-pine);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: white;
  flex-shrink: 0;
  position: relative;
}
.app-row--progress .app-row__icon     { background: var(--color-reflection); }
.app-row__icon--progress::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: calc(var(--radius-md) + 3px);
  border: 2.5px solid transparent;
  border-top-color: var(--color-new-grass);
  border-right-color: var(--color-new-grass);
  animation: gearSpin 2s linear infinite;
}

/* Info */
.app-row__info          { min-width: 0; }
.app-row__name-line     { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 0.3rem; }
.app-row__name          { font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; color: var(--color-blue-pine); }
.app-row__desc          { color: var(--color-text-muted); font-size: 0.92rem; max-width: none; margin-bottom: 0.45rem; }
.app-row__sector {
  display: inline-block;
  background: var(--color-bg-light);
  color: var(--color-text-muted);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border-radius: 12px;
}
.app-row__progress      { height: 3px; background: rgba(50,72,81,0.07); border-radius: 2px; overflow: hidden; margin-top: 0.6rem; }
.app-row__progress-fill {
  height: 100%;
  width: 55%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-reflection), var(--color-new-grass), var(--color-reflection));
  background-size: 200% auto;
  animation: progressShimmer 2.5s linear infinite;
}

/* Action */
.app-row__action          { display: flex; justify-content: flex-end; flex-shrink: 0; }
.app-row__interest-btn    { border: 2px solid var(--color-reflection); color: var(--color-reflection); background: transparent; }
.app-row__interest-btn:hover { background: var(--color-reflection); color: white; border-color: var(--color-reflection); }

@media (max-width: 768px) {
  .app-row                    { grid-template-columns: 48px 1fr; }
  .app-row__action            { grid-column: 1 / -1; justify-content: flex-start; padding-top: 0.25rem; }
}

/* =========================================
   MOBILE UX & PERFORMANCE
   ========================================= */

/* Remove 300ms tap delay on all interactive elements */
a, button, .booking-option, .time-slot, .filter-btn, [role="button"] {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* Minimum 44×44px touch targets (Apple HIG / Google) */
.lang-btn {
  min-height: 44px;
  min-width: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn--sm { min-height: 44px; }
.nav__login {
  min-height: 44px;
  padding-block: 0;
}
.nav__hamburger {
  padding: 10px 8px;
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
}

/* Very small screens (≤480px) */
@media (max-width: 480px) {
  .section { padding-block: var(--spacing-md); }
  .pricing-card { padding: var(--spacing-md); }
  .pricing-amount [data-i18n="pricing_price"] { font-size: 3.2rem; }
  .footer__links { flex-direction: column; align-items: center; gap: 0.5rem; }
  .why__grid { grid-template-columns: 1fr; }
  h1 { font-size: clamp(1.75rem, 7vw, 2.5rem); }
}
