/* Sivux – layout & theme */
:root {
  --bg: #f4f1eb;
  --bg-alt: #e8e3d9;
  --surface: #ffffff;
  --text: #1a1814;
  --text-muted: #5c574d;
  --accent: #c45c26;
  --accent-soft: rgba(196, 92, 38, 0.12);
  --accent-glow: rgba(196, 92, 38, 0.22);
  --accent-hover: #a34a1c;
  --border: rgba(26, 24, 20, 0.1);
  --shadow: 0 24px 60px rgba(26, 24, 20, 0.08);
  --shadow-hover: 0 20px 50px rgba(26, 24, 20, 0.12);
  --radius: 14px;
  --radius-sm: 10px;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
  --header-h: 72px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ring: 0 0 0 3px rgba(196, 92, 38, 0.35);
  --ring-offset: 0 0 0 2px var(--bg);
}

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

html {
  scroll-behavior: smooth;
  background: #12100e;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.62;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(196, 92, 38, 0.07), transparent 50%),
    linear-gradient(180deg, #faf8f4 0%, var(--bg) 28%, var(--bg) 100%);
  position: relative;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
  background: rgba(196, 92, 38, 0.22);
  color: var(--text);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn:focus-visible,
.nav-toggle:focus-visible,
.to-top:focus-visible {
  outline-offset: 2px;
  box-shadow: var(--ring-offset), var(--ring);
  outline: 2px solid transparent;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.35rem);
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  margin: 0 0 0.5rem;
}

h3 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-hover);
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.narrow {
  width: min(720px, 92vw);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: var(--text);
  color: var(--bg);
  z-index: 1000;
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 241, 235, 0.78);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition:
    background 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(250, 248, 244, 0.94);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 40px rgba(26, 24, 20, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.55);
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.15rem;
  padding: 0.28rem 0.45rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text);
  text-decoration: none;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.lang-switch a:hover {
  background: rgba(196, 92, 38, 0.14);
  color: var(--accent-hover);
}

.lang-switch a.is-active,
.lang-switch a[aria-current="page"] {
  background: var(--text);
  color: #fff;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.logo:hover {
  color: var(--text);
}

.logo-dot {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

.site-nav .nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem 1.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  border-radius: 6px;
  padding: 0.2rem 0.15rem;
  margin: -0.2rem -0.15rem;
}

.site-nav .nav-link:hover {
  color: var(--accent);
}

.site-nav .nav-link[aria-current="page"] {
  color: var(--accent);
}

.site-nav .nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.15rem;
  right: 0.15rem;
  bottom: -0.15rem;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0.85;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.56rem 1.08rem;
  background: linear-gradient(135deg, #cf6a34 0%, #b14f20 100%);
  color: #fff !important;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 10px 26px rgba(177, 79, 32, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
  overflow: hidden;
  transform: translateY(0);
  transition:
    transform 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out),
    background 0.25s var(--ease-out),
    border-color 0.25s var(--ease-out);
}

.nav-cta::before {
  content: "";
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

.nav-cta:hover {
  background: linear-gradient(135deg, #d57744 0%, #c45c26 100%);
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    0 14px 34px rgba(177, 79, 32, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.nav-cta[aria-current="page"] {
  background: linear-gradient(135deg, #d57744 0%, #c45c26 100%);
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow:
    0 14px 34px rgba(177, 79, 32, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .site-nav.is-open {
    max-height: 420px;
  }

  .site-nav .nav-list {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    gap: 0;
  }

  .site-nav .nav-list li {
    border-bottom: 1px solid var(--border);
  }

  .site-nav .nav-list a {
    display: block;
    padding: 0.85rem 0;
  }

  .lang-switch {
    order: 3;
    margin-left: auto;
  }

  .nav-cta {
    margin-top: 0.5rem;
    text-align: center;
    padding: 0.75rem 1rem !important;
  }
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(4rem, 10vw, 6rem);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -20% -10% auto;
  height: 70%;
  background:
    radial-gradient(ellipse 70% 55% at 75% 5%, var(--accent-glow), transparent 58%),
    radial-gradient(ellipse 80% 60% at 70% 0%, var(--accent-soft), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 20%, rgba(26, 24, 20, 0.06), transparent 50%);
  pointer-events: none;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    90deg,
    rgba(26, 24, 20, 0.04) 1px,
    transparent 1px
  );
  background-size: min(5.5rem, 12vw) 100%;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  pointer-events: none;
  opacity: 0.55;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.eyebrow-line {
  display: inline-block;
  width: 2rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(196, 92, 38, 0.25));
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 36ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.25s var(--ease-out),
    color 0.25s var(--ease-out),
    border-color 0.25s var(--ease-out),
    transform 0.2s var(--ease-out),
    box-shadow 0.25s var(--ease-out);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  box-shadow: 0 10px 28px rgba(196, 92, 38, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--text);
  color: var(--text);
}

.btn-on-dark {
  background: #fff;
  color: var(--text) !important;
}

.btn-on-dark:hover {
  background: var(--bg-alt);
  color: var(--text) !important;
}

.btn-outline-light {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
}

.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-stat {
  background: var(--surface);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out);
}

.hero-stat:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(196, 92, 38, 0.2);
}

.hero-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero-stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-card {
  background: var(--text);
  color: var(--bg);
  padding: 1.5rem;
  border-radius: var(--radius);
}

.hero-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0 0 0.35rem;
}

.hero-card-text {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.88;
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

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

.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.75rem;
}

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: left;
  max-width: none;
  margin-bottom: 2.75rem;
}

.section-head-row .section-sub {
  margin: 0.5rem 0 0;
}

@media (max-width: 720px) {
  .section-head-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

.section-sub {
  color: var(--text-muted);
  margin: 0;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--accent);
  white-space: nowrap;
  transition: color 0.2s var(--ease-out), gap 0.25s var(--ease-out);
}

.link-arrow::after {
  content: "→";
  font-size: 0.95em;
  transition: transform 0.25s var(--ease-out);
}

.link-arrow:hover {
  color: var(--accent-hover);
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

a.link-arrow[href^="mailto:"]::after {
  content: none;
}

a.link-arrow[href^="mailto:"] {
  gap: 0;
}

/* Cards */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.card {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 8px 30px rgba(26, 24, 20, 0.04);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), rgba(196, 92, 38, 0.15));
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(26, 24, 20, 0.12);
}

.card:hover::before {
  opacity: 1;
}

.card-accent {
  background: linear-gradient(145deg, var(--surface), var(--accent-soft));
  border-color: rgba(196, 92, 38, 0.25);
}

.card-icon {
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
  line-height: 1;
}

.card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.card-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.card-list li {
  margin-bottom: 0.35rem;
}

/* Portfolio */
.portfolio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

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

.portfolio-item {
  background: var(--surface);
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out);
}

.portfolio-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(196, 92, 38, 0.22);
}

.portfolio-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.portfolio-tag {
  font-weight: 600;
  color: var(--accent);
}

.portfolio-item p {
  flex: 1;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.portfolio-faux-link {
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.portfolio-item:hover .portfolio-faux-link {
  color: var(--accent);
}

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}

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

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

.step {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out);
}

.step:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(26, 24, 20, 0.08);
  border-color: rgba(196, 92, 38, 0.18);
}

@media (min-width: 901px) {
  .steps {
    position: relative;
  }

  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -0.625rem;
    width: 1.25rem;
    height: 2px;
    background: linear-gradient(90deg, rgba(196, 92, 38, 0.35), rgba(196, 92, 38, 0.08));
    transform: translateY(-50%);
    pointer-events: none;
    border-radius: 2px;
  }
}

.step-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 0.75rem;
}

.step p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* About */
.about {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 800px) {
  .about {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about .link-arrow {
    display: inline-block;
  }
}

.about-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 280px;
  margin-inline: auto;
}

.about-blob {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent), #e8a078);
  border-radius: 42% 58% 62% 38% / 38% 42% 58% 62%;
  opacity: 0.9;
}

@media (prefers-reduced-motion: no-preference) {
  .about-blob {
    animation: blob-morph 14s ease-in-out infinite;
  }
}

@keyframes blob-morph {
  0%,
  100% {
    border-radius: 42% 58% 62% 38% / 38% 42% 58% 62%;
    transform: rotate(0deg) scale(1);
  }
  33% {
    border-radius: 58% 42% 38% 62% / 52% 48% 42% 58%;
    transform: rotate(4deg) scale(1.02);
  }
  66% {
    border-radius: 48% 52% 58% 42% / 42% 58% 52% 48%;
    transform: rotate(-3deg) scale(0.98);
  }
}

.about-initials {
  position: relative;
  z-index: 1;
  margin: 0;
  height: 100%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
}

.about-copy .eyebrow {
  text-align: inherit;
}

.about-copy p {
  color: var(--text-muted);
  max-width: 52ch;
}

@media (min-width: 801px) {
  .about-copy p {
    margin-left: 0;
  }
}

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: stretch;
}

@media (max-width: 960px) {
  .pricing {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.price-card {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition:
    transform 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out),
    border-color 0.3s var(--ease-out);
}

.price-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(26, 24, 20, 0.08);
}

.price-featured:hover {
  box-shadow: 0 18px 48px rgba(196, 92, 38, 0.2);
}

.price-featured {
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(196, 92, 38, 0.15);
  position: relative;
}

.price-badge {
  position: absolute;
  top: -0.65rem;
  right: 1rem;
  margin: 0;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.price-vat {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.price-desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 2rem auto 0;
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 1rem;
  transition:
    border-color 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out);
}

.faq-item:hover {
  border-color: rgba(26, 24, 20, 0.14);
}

.faq-item[open] {
  border-color: rgba(196, 92, 38, 0.28);
  box-shadow: 0 12px 32px rgba(26, 24, 20, 0.06);
}

.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 1rem 0;
  list-style: none;
  border-radius: var(--radius-sm);
  margin: 0 -0.25rem;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  transition: color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}

.faq-item summary:hover {
  color: var(--accent);
  background: rgba(196, 92, 38, 0.05);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  font-weight: 400;
  color: var(--accent);
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0 0 1rem;
  padding-top: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* CTA */
.cta-band {
  position: relative;
  background:
    radial-gradient(ellipse 80% 120% at 85% 20%, rgba(196, 92, 38, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 80% at 10% 90%, rgba(255, 255, 255, 0.06), transparent 45%),
    linear-gradient(165deg, #161412 0%, #1f1c18 42%, #141210 100%);
  color: var(--bg);
  padding: clamp(3rem, 7vw, 4.5rem) 0;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.03) 50%,
    transparent 60%
  );
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-inner h2 {
  margin: 0 0 0.5rem;
  color: #fff;
}

.cta-inner p {
  margin: 0;
  max-width: 42ch;
  opacity: 0.85;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Footer */
.site-footer {
  background: #12100e;
  color: rgba(246, 244, 240, 0.75);
  padding: 3rem 0 0;
  font-size: 0.95rem;
}

.site-footer a {
  color: var(--bg);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-logo {
  color: #fff;
  margin: 0 0 0.5rem;
}

.footer-tagline {
  margin: 0;
  max-width: 28ch;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(246, 244, 240, 0.5);
  margin: 0 0 1rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  font-size: 0.85rem;
}

.footer-legal {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.25rem;
}

/* Takaisin ylös */
.to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
  box-shadow: 0 12px 36px rgba(26, 24, 20, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.35s var(--ease-out),
    transform 0.35s var(--ease-out),
    visibility 0.35s,
    background 0.2s var(--ease-out),
    color 0.2s var(--ease-out);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  background: var(--accent);
  color: #fff;
}

.to-top-icon {
  font-size: 1.15rem;
  line-height: 1;
  font-weight: 700;
}

@media (max-width: 860px) {
  .site-nav .nav-link[aria-current="page"]::after {
    bottom: 0.5rem;
  }
}

/* Chatbot */
.chatbot {
  position: fixed;
  right: 1.25rem;
  bottom: 5.15rem;
  z-index: 61;
  width: auto;
}

.chatbot-toggle {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 999px;
  padding: 0.68rem 1rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  background: linear-gradient(135deg, #d57744 0%, #c45c26 100%);
  color: #fff;
  box-shadow: 0 12px 30px rgba(177, 79, 32, 0.35);
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.chatbot-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(177, 79, 32, 0.42);
}

.chatbot-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.7rem);
  width: min(360px, calc(100vw - 2rem));
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 24px 52px rgba(26, 24, 20, 0.2);
  overflow: hidden;
}

/* Mobiilissa display:flex ohittaisi muuten [hidden]-attribuutin */
.chatbot-panel[hidden] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.chatbot-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26, 24, 20, 0.25);
  backdrop-filter: blur(2px);
  z-index: 59;
}

.chatbot-backdrop[hidden] {
  display: none !important;
  pointer-events: none !important;
}

.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: linear-gradient(180deg, #f8f5ee, #f2ede4);
  border-bottom: 1px solid var(--border);
}

.chatbot-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
}

.chatbot-subtitle {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.chatbot-close {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  border-radius: 10px;
  width: 2rem;
  height: 2rem;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.chatbot-messages {
  max-height: 300px;
  overflow: auto;
  padding: 0.9rem 0.9rem 0.5rem;
  background: #fff;
}

.chatbot-message {
  margin: 0 0 0.6rem;
  max-width: 92%;
  padding: 0.62rem 0.72rem;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.45;
  white-space: pre-line;
}

.chatbot-message.user {
  margin-left: auto;
  background: #1f1d1a;
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chatbot-message.bot {
  background: #f4efe6;
  color: var(--text);
  border: 1px solid rgba(26, 24, 20, 0.08);
  border-bottom-left-radius: 4px;
}

.chatbot-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.7rem 0.9rem;
  border-top: 1px solid var(--border);
  background: #fff;
}

.chatbot-quick button {
  border: 1px solid rgba(196, 92, 38, 0.28);
  background: rgba(196, 92, 38, 0.08);
  color: var(--accent-hover);
  border-radius: 999px;
  padding: 0.36rem 0.62rem;
  font-size: 0.78rem;
  cursor: pointer;
}

.chatbot-form {
  padding: 0.75rem 0.9rem 0.9rem;
  border-top: 1px solid var(--border);
  background: #fff;
}

.chatbot-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.chatbot-input-row {
  display: flex;
  gap: 0.45rem;
}

.chatbot-input-row input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.62rem 0.7rem;
  font-size: 0.88rem;
}

.chatbot-input-row button {
  border: 0;
  border-radius: 10px;
  padding: 0.62rem 0.8rem;
  font-size: 0.86rem;
  font-weight: 600;
  background: var(--text);
  color: #fff;
  cursor: pointer;
}

@media (max-width: 700px) {
  .chatbot {
    right: 0.7rem;
    bottom: calc(0.7rem + env(safe-area-inset-bottom));
    width: auto;
  }

  .chatbot-toggle {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    padding: 0;
    justify-content: center;
    font-size: 0;
    box-shadow: 0 14px 30px rgba(177, 79, 32, 0.45);
  }

  .chatbot-toggle span {
    font-size: 1.2rem;
    line-height: 1;
  }

  .chatbot-panel {
    position: fixed;
    left: 0.7rem;
    right: 0.7rem;
    bottom: calc(0.7rem + env(safe-area-inset-bottom) + 3.65rem);
    width: auto;
    max-height: min(66vh, 520px);
    display: flex;
    flex-direction: column;
    border-radius: 14px;
  }

  .chatbot-messages {
    flex: 1;
    max-height: none;
    min-height: 0;
  }

  body.chat-open {
    overflow: hidden;
  }

  body.chat-open .to-top {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

/* Scroll reveal (requires html.js-reveal from inline script) */
html.js-reveal [data-reveal] {
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}

html.js-reveal [data-reveal]:not(.is-revealed) {
  opacity: 0;
  transform: translate3d(0, 1.5rem, 0);
}

html.js-reveal [data-reveal].is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

html.js-reveal [data-reveal-group] > * {
  transition:
    opacity 0.62s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js-reveal [data-reveal-group]:not(.is-revealed) > * {
  opacity: 0;
  transform: translate3d(0, 1.25rem, 0);
}

html.js-reveal [data-reveal-group].is-revealed > * {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

html.js-reveal [data-reveal-group].is-revealed > *:nth-child(1) {
  transition-delay: 0s;
}
html.js-reveal [data-reveal-group].is-revealed > *:nth-child(2) {
  transition-delay: 0.06s;
}
html.js-reveal [data-reveal-group].is-revealed > *:nth-child(3) {
  transition-delay: 0.12s;
}
html.js-reveal [data-reveal-group].is-revealed > *:nth-child(4) {
  transition-delay: 0.18s;
}
html.js-reveal [data-reveal-group].is-revealed > *:nth-child(5) {
  transition-delay: 0.24s;
}
html.js-reveal [data-reveal-group].is-revealed > *:nth-child(6) {
  transition-delay: 0.3s;
}
html.js-reveal [data-reveal-group].is-revealed > *:nth-child(7) {
  transition-delay: 0.36s;
}
html.js-reveal [data-reveal-group].is-revealed > *:nth-child(8) {
  transition-delay: 0.42s;
}
html.js-reveal [data-reveal-group].is-revealed > *:nth-child(n + 9) {
  transition-delay: 0.48s;
}

@media (prefers-reduced-motion: reduce) {
  html.js-reveal [data-reveal]:not(.is-revealed),
  html.js-reveal [data-reveal-group]:not(.is-revealed) > * {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html.js-reveal [data-reveal-group].is-revealed > * {
    transition-delay: 0s !important;
  }
}
