/* ═══════════════════════════════════════════════════════════════
   Design system for plasmasite:
   DM Sans · #070707 / #211A24 blacks · #C109D9 / #BC6ECC purples
   ═══════════════════════════════════════════════════════════════ */

/* ── Fonts (self-hosted, no third-party requests / DSGVO) ── */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../fonts/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../fonts/dm-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --white: #fff;
  --black: #000;
  --vampire: #070707;
  --raisin: #211A24;
  --granite: #635766;
  --mulberry: #C109D9;
  --lilac: #BC6ECC;
  --brand-deep: #A90BC5;
  --brand-vivid: #C716DE;
  --brand-mid: #D157E4;
  --brand-bright: #E77BEC;
  --brand-soft: #F083F3;
  --brand-pale: #DCB5E6;
  --brand-dark: #6E2A9E;
  --danger: #FF8AA8;
  --paper: #F1F1F1;
  --spanish: #9E9E9E;
  --small-card-border: #2b2b2b;
  --surface-deep: #0D0A0F;
  --surface-base: #100D13;
  --surface-card-end: #110E13;
  --surface-panel: #151119;
  --surface-input: #16121A;
  --surface-raised: #1B151D;
  --surface-brand: #241326;
  --surface-hover: #29132E;

  /* RGB channel aliases for legacy-compatible alpha colors */
  --white-rgb: 255, 255, 255;
  --black-rgb: 0, 0, 0;
  --vampire-rgb: 7, 7, 7;
  --raisin-rgb: 33, 26, 36;
  --mulberry-rgb: 193, 9, 217;
  --brand-rgb: 193, 9, 217;
  --lilac-rgb: 188, 110, 204;
  --overlay-rgb: 8, 6, 10;
  --purple-rgb: 91, 48, 160;
  --purple-dark-rgb: 82, 49, 150;
  --violet-deep-rgb: 74, 34, 130;
  --violet-shadow-rgb: 56, 38, 115;
  --violet-rich-rgb: 94, 51, 166;
  --violet-mid-rgb: 140, 40, 190;
  --violet-alt-rgb: 120, 40, 190;
  --violet-soft-rgb: 120, 60, 200;
  --violet-light-rgb: 150, 60, 200;
  --indigo-rgb: 38, 22, 84;
  --brand-muted-rgb: 186, 85, 211;
  --danger-rgb: 255, 138, 168;
  --danger-soft-rgb: 255, 100, 140;
  --surface-deep-rgb: 14, 11, 16;
  --surface-base-rgb: 20, 16, 22;
  --surface-card-end-rgb: 17, 14, 19;
  --surface-panel-rgb: 22, 18, 25;
  --surface-raised-rgb: 30, 22, 34;

  --color-body: rgba(var(--white-rgb), .60);

  --grad-brand: linear-gradient(96deg, var(--brand-deep) 0%, var(--brand-vivid) 52%, var(--brand-bright) 100%);
  --grad-text: linear-gradient(96deg, var(--mulberry) 10%, var(--brand-mid) 55%, var(--lilac) 100%);

  --font: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --text-base: 1.0625rem;
  --text-sm: .875rem;
  --text-xs: .75rem;
  --leading-base: 1.6;
  --leading-sm: 1.55;
  --leading-xs: 1.5;

  --heading-1: clamp(3rem, 7.4vw, 8.375rem);
  --heading-2: clamp(2.125rem, 4.7vw, 4.75rem);
  --heading-3: clamp(1.75rem, 3.4vw, 3.25rem);
  --heading-4: clamp(1.375rem, 1.85vw, 1.875rem);
  --heading-5: 1.0625rem;
  --section-head-gap: clamp(28px, 4vw, 64px);

  --r-card: 24px;
  --r-panel: 40px;
  --container: 1560px;
  --panel-inset: clamp(16px, 3vw, 56px);
  --panel-padding-y: clamp(50px, 6vw, 100px);
  --gutter: clamp(20px, 4.2vw, 84px);
  --ease-out: cubic-bezier(.22, .8, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .44, 1);
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
html:focus-within { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-optical-sizing: auto;
  font-size: var(--text-base);
  background: var(--vampire);
  color: var(--color-body);
  line-height: var(--leading-base);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: normal; }
::selection { background: var(--mulberry); color: var(--white); }

h1, h2, h3, h4, h5,
.h1, .h2, .h3, .h4, .h5 {
  color: var(--white);
  font-weight: 300;
  letter-spacing: -0.02em;
}
h1, .h1 { font-size: var(--heading-1); line-height: 1; }
h2, .h2 { font-size: var(--heading-2); line-height: 1.1; }
h3, .h3 { font-size: var(--heading-3); line-height: 1.15; }
h4, .h4 { font-size: var(--heading-4); line-height: 1.2; }
h5, .h5 { font-size: var(--heading-5); line-height: 1.3; }

/* Shared section typography */
.section-title {
  margin: 0;
  line-height: 1.08;
}
.section-title.h3 {
  line-height: 1.28;
}
.section-title em,
.why-card em,
.stat-num {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-soft {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.section-intro {
  width: 100%;
  padding: 0 0 8px 22px;
  border-left: 1px solid rgba(var(--mulberry-rgb), .55);
  color: rgba(var(--white-rgb), .55);
  font-size: var(--text-base);
  line-height: 1.65;
}
.section-intro strong { color: rgba(var(--white-rgb), .9); font-weight: 425; }
.section-intro > :last-child { margin-bottom: 0; }
.section-kicker {
  margin-bottom: 12px;
  color: var(--mulberry);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Shared card texture */
.stat-card,
.why-card,
.svc-card,
.project-card {
  position: relative;
  overflow: hidden;
}
.stat-card::before,
.why-card::before,
.svc-card::before,
.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  opacity: 0.25;
  pointer-events: none;
  background-image: radial-gradient(rgba(var(--brand-rgb), 1) 1px, transparent 1px);
  background-size: 6px 6px;
  -webkit-mask-image: radial-gradient(ellipse at top right, var(--black), transparent 80%);
  mask-image: radial-gradient(ellipse at top right, var(--black), transparent 80%);
}
.stat-card > *,
.why-card > *,
.svc-card > *,
.project-card > * {
  position: relative;
  z-index: 2;
}

/* ── Info notes with marker ───────────────────────────── */
.info-note { display: flex; align-items: flex-start; gap: 7px; }
.info-note::before {
  content: "";
  width: 14px; height: 14px;
  flex: none;
  margin-top: .25em;
  background: var(--lilac);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13zM8 5v.01M8 7.6v3.4' fill='none' stroke='%23fff' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13zM8 5v.01M8 7.6v3.4' fill='none' stroke='%23fff' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.info-note--right { justify-content: flex-end; text-align: left; }

/* ── Ambient layers ───────────────────────────────────── */
#plankton {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 1; pointer-events: none;
}
#fluid {
  position: fixed; inset: 0;
  width: 100vw; height: 100vh;
  z-index: 2; pointer-events: none;
  mix-blend-mode: screen;
}
main { position: relative; z-index: 3; }

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  border-radius: 999px;
  font-size: var(--text-sm); font-weight: 400;
  padding: 11px 22px;
  position: relative;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease, filter 0.35s ease;
  will-change: transform;
}
.btn-gradient {
  background: var(--grad-brand);
  color: var(--white);
  box-shadow: 0 0 0 0 rgba(var(--mulberry-rgb), 0.4);
  overflow: hidden;
}
.btn-gradient::before {          /* shine sweep */
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(var(--white-rgb), 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
}
.btn-gradient:hover::before { transform: translateX(120%); }
.btn-gradient:hover { box-shadow: 0 6px 32px -4px rgba(var(--mulberry-rgb), 0.55); }
.btn-lg { padding: 8px 8px 8px 20px; font-size: var(--text-sm); }
.btn-arrow {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(var(--white-rgb), 0.92);
  color: var(--vampire);
  transition: transform 0.35s var(--ease-spring);
}
.btn-arrow svg { width: 15px; height: 15px; }
.btn:hover .btn-arrow { transform: translateX(3px); }
.btn-ghost {
  border: 1px solid rgba(var(--white-rgb), 0.25);
  color: var(--white);
  padding: 8px 8px 8px 22px;
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: rgba(var(--white-rgb), 0.55); }
.btn-arrow-grad { background: var(--grad-brand); color: var(--white); }

/* ── Header ───────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px clamp(16px, 2vw, 32px);
  transition: padding 0.4s ease;
}
.site-header.is-scrolled { padding-top: 10px; padding-bottom: 10px; }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  max-width: none;
  margin: 0;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
  color: var(--white);
}
.logo-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}
.logo-wordmark {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.logo-byline {
  margin-top: 3px;
  font-size: 10px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.015em;
  color: rgba(var(--white-rgb), 0.68);
}
.plasma-ring {
  --plasma-ring-size: 36px;
  --plasma-ring-line: 2.5px;
  --plasma-ring-orb: 5px;
  --plasma-ring-speed: 7s;
  --plasma-ring-radius: calc((var(--plasma-ring-size) - var(--plasma-ring-line)) / 2);
  position: relative;
  display: block;
  width: var(--plasma-ring-size);
  height: var(--plasma-ring-size);
  aspect-ratio: 1;
  flex: 0 0 var(--plasma-ring-size);
}
.plasma-ring-motion,
.plasma-ring-arc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}
.plasma-ring-motion {
  animation: plasma-ring-travel var(--plasma-ring-speed) linear infinite;
  will-change: transform;
}
.plasma-ring-arc {
  background: conic-gradient(
    from 0deg,
    #72eaff 0deg,
    #c270f3 120deg,
    #ff2777 240deg,
    #72eaff 360deg
  );
  -webkit-mask: radial-gradient(
    farthest-side,
    transparent calc(100% - var(--plasma-ring-line) - 0.25px),
    #000 calc(100% - var(--plasma-ring-line) + 0.25px)
  );
  mask: radial-gradient(
    farthest-side,
    transparent calc(100% - var(--plasma-ring-line) - 0.25px),
    #000 calc(100% - var(--plasma-ring-line) + 0.25px)
  );
}
.plasma-ring-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--plasma-ring-orb);
  height: var(--plasma-ring-orb);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 3px 1px rgba(255, 255, 255, 0.72);
  transform: translate(-50%, -50%) translateY(calc(-1 * var(--plasma-ring-radius)));
}
@keyframes plasma-ring-travel {
  to { transform: rotate(360deg); }
}

.nav-pill {
  display: flex; align-items: center; gap: 2px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(var(--vampire-rgb), 0.55);
  border: 1px solid rgba(var(--white-rgb), 0.09);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.nav-link {
  font-size: var(--text-sm);
  color: rgba(var(--white-rgb), 0.75);
  padding: 7px 16px;
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease;
}
.nav-link:hover { color: var(--white); }
.nav-link.is-active { background: var(--white); color: var(--vampire); }

.btn-contact { gap: 12px; padding: 6px 6px 6px 18px; font-size: var(--text-sm); }
.btn-contact .btn-arrow { width: 30px; height: 30px; }
.btn-mobile-cta { gap: 12px; padding: 8px 8px 8px 20px; }

.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-burger span {
  width: 22px; height: 1.6px; background: var(--white);
  transition: transform 0.35s var(--ease-out), opacity 0.25s ease;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column; gap: 4px;
  margin-top: 14px; padding: 18px;
  border-radius: 22px;
  background: rgba(var(--vampire-rgb), 0.92);
  border: 1px solid rgba(var(--white-rgb), 0.09);
  backdrop-filter: blur(20px);
}
.mobile-menu.is-open { display: flex; animation: menuIn 0.35s var(--ease-out) both; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-12px); } }
.mobile-link { padding: 11px 14px; font-size: var(--text-base); border-radius: 12px; color: rgba(var(--white-rgb), 0.85); }
.mobile-link:hover { background: rgba(var(--white-rgb), 0.06); color: var(--white); }
.mobile-menu .btn { justify-content: center; margin-top: 10px; }

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  padding: clamp(96px, 10vh, 148px) var(--gutter) 48px;
  overflow: hidden;
  display: flex;
  background:
    radial-gradient(44% 60% at 10% 6%, rgba(var(--violet-shadow-rgb), 0.5) 0%, transparent 72%),
    radial-gradient(36% 48% at 88% 12%, rgba(var(--brand-rgb), 0.4) 0%, transparent 70%),
    radial-gradient(60% 46% at 50% 108%, rgba(var(--indigo-rgb), 0.35) 0%, transparent 72%);
}
.hero-inner {
  position: relative;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  min-height: 640px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(320px, 20vw, 540px);
  gap: clamp(48px, 7vw, 112px);
  align-items: stretch;
}
.hero-primary { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }

/* floating jellyfish */
.hero-jelly-wrap {
  position: absolute;
  left: 50%; top: 6%;
  width: clamp(340px, 47vw, 820px);
  transform: translateX(-42%);
  z-index: 0;
  animation: jellyFloat 9s ease-in-out infinite;
  will-change: transform;
}
.hero-jelly {
  width: 100%;
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, var(--black) 7%, var(--black) 68%, transparent 98%), linear-gradient(90deg, transparent 0%, var(--black) 8%, var(--black) 92%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, transparent 0%, var(--black) 7%, var(--black) 68%, transparent 98%), linear-gradient(90deg, transparent 0%, var(--black) 8%, var(--black) 92%, transparent 100%);
  mask-composite: intersect;
  animation: jellyBreathe 9s ease-in-out infinite;
}
.hero-jelly-glow {
  position: absolute; inset: -22%;
  background: radial-gradient(ellipse 50% 42% at 50% 42%, rgba(var(--brand-rgb), 0.34) 0%, rgba(var(--violet-alt-rgb), 0.16) 45%, transparent 72%);
  animation: glowPulse 5.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes jellyFloat {
  0%, 100% { transform: translateX(-42%) translateY(0) rotate(0deg); }
  33%      { transform: translateX(-42%) translateY(-20px) rotate(-1.1deg); }
  66%      { transform: translateX(-42%) translateY(-6px) rotate(0.8deg); }
}
@keyframes jellyBreathe {
  0%, 100% { transform: scale(1, 1); }
  50%      { transform: scale(1.015, 0.985); }
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.07); }
}

.hero-title {
  position: relative; z-index: 2;
  font-weight: 275;
  letter-spacing: -0.025em;
  max-width: 12ch;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; white-space: nowrap; }
.hero-title .word {
  display: inline-block;
}


.spark-sm { width: 12px; height: 12px; fill: var(--white); flex: none; margin-top: 3px; animation: twinkle 3.2s ease-in-out infinite; }
@keyframes twinkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  50%      { transform: scale(0.55) rotate(45deg); opacity: 0.55; }
}

.hero-cta {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 22px;
  margin-top: clamp(28px, 5vh, 64px);
}
.hero-cta-note { font-size: var(--text-xs); line-height: var(--leading-xs); color: rgba(var(--white-rgb), 0.55); }

.hero-stats {
  position: relative; z-index: 2;
  display: flex; gap: 14px;
  margin-top: clamp(30px, 6vh, 76px);
}
.stat-card {
  background: linear-gradient(155deg, var(--surface-raised) 0%, var(--surface-card-end) 72%);
  color: var(--white);
  border: 1px solid var(--small-card-border);
  border-radius: 22px;
  padding: 20px;
  width: clamp(180px, 14vw, 214px);
  min-height: 178px;
  transition: transform .45s var(--ease-spring), border-color .35s ease, background .35s ease, box-shadow .45s ease;
}
.stat-card:hover { transform: translateY(-6px); border-color: rgba(var(--brand-rgb), .62); background: radial-gradient(110% 100% at 100% 0%, rgba(var(--brand-rgb), .38), transparent 68%), linear-gradient(155deg, var(--surface-hover), var(--surface-base)); box-shadow: 0 18px 44px -14px rgba(var(--brand-rgb), .55); }
.stat-num { font-size: clamp(30px, 2.4vw, 38px); font-weight: 500; line-height: 1; }
.stat-label { font-size: var(--text-sm); color: rgba(var(--white-rgb), .9); margin-top: 12px; }
.stat-desc { font-size: var(--text-xs); line-height: var(--leading-xs); color: rgba(var(--white-rgb), .5); margin-top: 12px; }

.hero-showcase {
  position: relative;
  width: 100%;
  min-height: 100%;
}
.hero-project-carousel {
  position: absolute;
  inset: 0;
  height: auto;
  overflow: hidden;
  border: 1px solid var(--small-card-border);
  border-radius: var(--r-card);
  background: var(--surface-base);
  box-shadow: 0 24px 60px -34px rgba(var(--brand-rgb), .72);
  transition: border-color .35s ease, box-shadow .4s ease;
}
.hero-project-carousel:hover {
  border-color: rgba(var(--brand-rgb), .72);
  box-shadow: 0 26px 60px -26px rgba(var(--brand-rgb), .72);
}
.hero-project-slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.hero-project-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-project-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}
.hero-project-slide::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 22%, rgba(var(--overlay-rgb), .18) 46%, rgba(var(--overlay-rgb), .72) 72%, rgba(var(--overlay-rgb), .98) 100%); }
.hero-project-tier { position: absolute; z-index: 4; top: 16px; right: 16px; font-size: var(--text-sm); }
.hero-project-copy { position: absolute; left: 20px; right: 20px; bottom: 60px; z-index: 2; }
.hero-project-copy strong { display: block; font-size: clamp(24px, 2.2vw, 34px); font-weight: 400; line-height: 1.08; text-shadow: 0 2px 20px rgba(var(--black-rgb), .7); }
.hero-project-nav { position: absolute; z-index: 4; left: 18px; right: 18px; bottom: 16px; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 9px; }
.hero-project-count { font-size: var(--text-xs); color: rgba(var(--white-rgb), .62); }
.hero-project-progress { height: 2px; overflow: hidden; border-radius: 2px; background: rgba(var(--white-rgb), .16); }
.hero-project-progress span { display: block; width: 0; height: 100%; background: var(--grad-brand); animation: heroProjectProgress 5.2s linear forwards; }
.hero-project-carousel.is-paused .hero-project-progress span { animation-play-state: paused; }
.hero-project-nav button { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(var(--white-rgb), .2); border-radius: 50%; background: rgba(var(--vampire-rgb), .35); transition: border-color .25s ease, background .25s ease; }
.hero-project-nav button:hover { border-color: var(--mulberry); background: rgba(var(--brand-rgb), .18); }
.hero-project-carousel.is-distorting .hero-project-slide.is-active img { animation: heroProjectOut .18s ease both; }
.hero-project-carousel.is-revealing .hero-project-slide.is-active img { animation: heroProjectIn .32s var(--ease-out) both; }
@keyframes heroProjectOut { to { opacity: 0; transform: scale(1.07) skewX(-2deg); filter: blur(2px) saturate(1.8) hue-rotate(18deg); clip-path: polygon(0 8%,100% 0,96% 88%,4% 100%); } }
@keyframes heroProjectIn { from { opacity: 0; transform: scale(1.08) skewX(2deg); filter: blur(3px) saturate(1.6); clip-path: polygon(4% 0,96% 10%,100% 100%,0 90%); } }
@keyframes heroProjectProgress { to { width: 100%; } }

.hero-tagline {
  position: absolute;
  left: 0; bottom: 8px;
  display: flex; gap: 8px;
  font-size: var(--text-xs); line-height: var(--leading-xs);
  max-width: 64ch;
  color: var(--color-body);
  z-index: 2;
}

/* ── About ────────────────────────────────────────────── */
.about {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 11vw, 160px) var(--gutter) clamp(60px, 8vw, 110px);
  background: var(--black);
}
.about-inner {
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(280px, 4fr);
  column-gap: var(--section-head-gap);
  align-items: center;
}
.about-title {
  max-width: 22ch;
}
.about-note { width: 100%; }

.slider-arrows { display: flex; gap: 8px; }
.about-inner > .slider-arrows,
.projects-head > .slider-arrows {
  grid-column: 1 / -1;
  justify-self: end;
  margin-top: 24px;
}
.arrow-btn {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--small-card-border);
  border-radius: 50%;
  background: rgba(var(--white-rgb), .035);
  color: rgba(var(--white-rgb), .82);
  backdrop-filter: blur(10px);
  transition: transform .3s var(--ease-spring), background .3s ease, border-color .3s ease, color .3s ease, box-shadow .3s ease;
}
.arrow-btn svg { width: 15px; height: 15px; transition: transform .3s var(--ease-spring); }
.arrow-btn:hover { border-color: rgba(var(--mulberry-rgb), .72); background: rgba(var(--mulberry-rgb), .16); color: var(--white); box-shadow: 0 10px 30px -12px rgba(var(--mulberry-rgb), .8); }
.arrow-btn:first-child:hover svg { transform: translateX(-2px); }
.arrow-btn:last-child:hover svg { transform: translateX(2px); }
.arrow-btn:focus-visible { outline: 2px solid var(--mulberry); outline-offset: 3px; }
.arrow-btn:active { transform: scale(0.92); }

.why-slider {
  grid-column: 1 / -1;
  overflow: hidden;
  margin: clamp(30px, 4vw, 56px) calc(50% - 50vw) -40px 0;
  padding: 24px 0 40px;
  cursor: grab;
}
.why-slider.is-dragging { cursor: grabbing; }
.why-track {
  display: flex; gap: 16px;
  transition: transform 0.65s var(--ease-out);
  will-change: transform;
}
.why-card {
  flex: 0 0 clamp(280px, 25vw, 392px);
  min-height: 520px;
  border-radius: var(--r-card);
  background: linear-gradient(155deg, var(--surface-raised) 0%, var(--surface-card-end) 72%);
  border: 1px solid rgba(var(--white-rgb), 0.09);
  padding: clamp(24px, 2.2vw, 34px);
  display: flex; flex-direction: column;
  transition: transform 0.45s var(--ease-spring), border-color 0.35s ease, box-shadow .4s ease;
}
.why-card:hover {
  transform: translateY(-7px);
  border-color: rgba(var(--brand-rgb), 0.45);
  background: radial-gradient(110% 90% at 100% 0%, rgba(var(--brand-rgb), .42), transparent 66%), linear-gradient(155deg, var(--surface-hover), var(--surface-base));
  box-shadow: 0 22px 54px -18px rgba(var(--brand-rgb), .68);
}
.card-meta { display: flex; align-items: flex-start; justify-content: space-between; }
.card-index {
  font-size: clamp(30px, 2.3vw, 38px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.02em;
}
.why-meta { align-items: center; }
.why-time {
  border: 0;
  padding: 5px 18px 7px;
  box-shadow: 0 8px 20px -12px rgba(var(--brand-rgb), .9);
  text-transform: none;
}
.why-kicker {
  margin-top: clamp(42px, 4vw, 64px);
  color: var(--mulberry);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.why-card em { font-weight: 400; }
.why-text { max-width: 28ch; margin-top: 12px; line-height: 1.25; }
.why-sub { margin-top: 14px; color: rgba(var(--white-rgb), .5); font-size: var(--text-sm); line-height: var(--leading-sm); }
.why-list { display: grid; gap: 10px; margin-top: 26px; list-style: none; }
.why-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 8px;
  color: rgba(var(--white-rgb), .72);
  font-size: var(--text-sm);
  line-height: 1.45;
}
.why-list li span {
  align-self: start;
  padding: 3px 6px;
  border: 1px solid rgba(var(--brand-rgb), .35);
  border-radius: 999px;
  color: var(--mulberry);
  font-size: var(--text-xs);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .04em;
  text-align: center;
  text-transform: uppercase;
}
.why-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid rgba(var(--white-rgb), .08);
  color: rgba(var(--white-rgb), .36);
  font-size: var(--text-xs);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.why-result strong { color: rgba(var(--white-rgb), .8); font-size: var(--text-xs); text-align: right; }
/* ── Services ─────────────────────────────────────────── */
.services { padding: clamp(70px, 10vw, 150px) var(--gutter); }
.services-head {
  max-width: var(--container);
  margin: 0 auto clamp(44px, 5.5vw, 88px);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(280px, 4fr);
  align-items: center;
  gap: var(--section-head-gap);
}
.services-title, .projects-title {
  max-width: var(--container);
  margin: 0 auto clamp(44px, 5.5vw, 88px);
}
.services-title { margin: 0; }
.services-grid {
  max-width: var(--container); margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    "a b n c"
    "br br d e";
  gap: 16px;
}
.svc-card {
  --card-surface: linear-gradient(155deg, var(--surface-raised) 0%, var(--surface-card-end) 72%);
  --card-hover-surface: radial-gradient(110% 90% at 100% 0%, rgba(var(--brand-rgb), .48), transparent 66%), linear-gradient(155deg, var(--surface-hover), var(--surface-base));
  border-radius: var(--r-card);
  border: 1px solid var(--small-card-border);
  padding: clamp(24px, 2vw, 30px);
  min-height: clamp(360px, 27vw, 430px);
  display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start;
  text-align: left;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background: var(--card-surface);
  box-shadow: inset 0 1px 0 rgba(var(--white-rgb), .06);
  transition: transform 0.5s var(--ease-spring), border-color 0.35s ease, box-shadow 0.5s ease;
}
.svc-card:hover {
  transform: translateY(-8px);
  border-color: rgba(var(--brand-rgb), .72);
  box-shadow: inset 0 1px 0 rgba(var(--white-rgb), .22), 0 24px 58px -22px rgba(var(--brand-rgb), .62);
}
.svc-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  background: var(--card-hover-surface);
  transition: opacity .45s ease;
  pointer-events: none;
}
.svc-card:hover::after { opacity: 1; }
.svc-meta {
  min-height: 34px;
  color: rgba(var(--white-rgb), .58);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.card-top-label {
  color: var(--brand-mid);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.card-top-label--pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--white);
  background: var(--grad-brand);
  letter-spacing: .04em;
  line-height: 1;
}
.svc-name { margin-top: clamp(52px, 5vw, 72px); font-weight: 400; line-height: 1.14; position: relative; }
.svc-tag { font-size: var(--text-sm); margin-top: 12px; opacity: 0.88; position: relative; }
.svc-desc { font-size: var(--text-sm); line-height: var(--leading-sm); color: rgba(var(--white-rgb), .58); margin-top: 20px; position: relative; }
.svc-list { display: grid; gap: 8px; margin-top: auto; padding-top: 22px; list-style: none; }
.svc-list li { position: relative; padding-left: 17px; font-size: var(--text-sm); color: rgba(var(--white-rgb), .78); }
.svc-list li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-soft); font-weight: 700; }

.svc-white { grid-area: a; }
.svc-grad-a { grid-area: b; }
.svc-grad-legal { grid-area: n; }
.svc-grad-b { grid-area: c; }
.svc-grad-c { grid-area: d; }
.svc-grad-d { grid-area: e; }
.svc-brand {
  grid-area: br;
  align-self: end;
  padding: 20px 8px;
  max-width: 340px;
}
.svc-brand-title { line-height: 1.15; }
.svc-brand-text { font-size: var(--text-base); line-height: var(--leading-base); color: rgba(var(--white-rgb), .52); margin: 20px 0 24px; }
.svc-brand-text strong { color: rgba(var(--white-rgb), .9); font-weight: 425; }

/* ── Pricing panel ────────────────────────────────────── */
.fit { padding: clamp(70px, 9vw, 130px) var(--gutter); position: relative; }
.fit-glow {
  position: absolute;
  right: -6%; bottom: -10%;
  width: 55vw; height: 70%;
  background:
    radial-gradient(ellipse 42% 46% at 68% 46%, rgba(var(--lilac-rgb), 0.34) 0%, transparent 70%),
    radial-gradient(ellipse 30% 36% at 40% 76%, rgba(var(--indigo-rgb), 0.3) 0%, transparent 70%);
  filter: blur(10px);
  animation: glowPulse 7s ease-in-out infinite;
  pointer-events: none;
}
.fit-panel {
  position: relative;
  max-width: var(--container); margin: 0 auto;
  background:
    radial-gradient(70% 80% at 5% 105%, rgba(var(--violet-shadow-rgb), .28), transparent 68%),
    radial-gradient(58% 70% at 98% -8%, rgba(var(--lilac-rgb), .32), transparent 66%),
    radial-gradient(36% 54% at 96% 2%, rgba(var(--indigo-rgb), .24), transparent 72%),
    linear-gradient(145deg, var(--vampire) 0%, var(--vampire) 58%, var(--vampire) 100%);
  color: var(--white);
  border: 1px solid rgba(var(--white-rgb), .07);
  border-radius: var(--r-panel);
  padding: clamp(36px, 5vw, 76px);
  box-shadow: inset 0 1px 0 rgba(var(--white-rgb), .04), 0 40px 120px -40px rgba(var(--mulberry-rgb), .38);
  overflow: hidden;
}
.pricing-head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(280px, 4fr);
  column-gap: var(--section-head-gap);
  align-items: center;
  margin-bottom: clamp(42px, 5vw, 76px);
}
.fit-title {
  text-align: left;
  color: var(--white);
}
.pricing-toggle {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 32px;
  display: inline-flex;
  flex: none;
  padding: 5px;
  border: 1px solid rgba(var(--white-rgb), .1);
  border-radius: 999px;
  background: rgba(var(--white-rgb), .05);
}
.pricing-toggle-btn {
  min-width: 92px;
  padding: 10px 18px;
  border-radius: 999px;
  color: rgba(var(--white-rgb), .56);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: color .25s ease, background .25s ease, box-shadow .25s ease;
}
.pricing-toggle-btn.is-active {
  color: var(--white);
  background: var(--grad-brand);
  box-shadow: 0 8px 22px -10px rgba(var(--brand-rgb), 0.8);
}
.pricing-toggle-btn:focus-visible {
  outline: 2px solid var(--mulberry);
  outline-offset: 3px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(24px, 2.4vw, 36px);
  border: 1px solid rgba(var(--white-rgb), .09);
  border-radius: var(--r-card);
  background: var(--surface-panel);
  color: var(--white);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: transform .4s var(--ease-spring), border-color .3s ease, box-shadow .4s ease;
}
.pricing-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .13;
  background-image: radial-gradient(rgba(var(--brand-rgb), .8) 1px, transparent 1px);
  background-size: 6px 6px;
  -webkit-mask-image: radial-gradient(ellipse at top right, var(--black), transparent 76%);
  mask-image: radial-gradient(ellipse at top right, var(--black), transparent 76%);
}
.pricing-card > * { position: relative; z-index: 2; }
.pricing-card:hover {
  transform: translateY(-7px);
  border-color: rgba(var(--brand-rgb), .42);
  background: radial-gradient(110% 90% at 100% 0%, rgba(var(--brand-rgb), .38), transparent 66%), linear-gradient(155deg, var(--surface-hover), var(--surface-base));
  box-shadow: inset 0 1px 0 rgba(var(--white-rgb), .06), 0 24px 54px -30px rgba(var(--brand-rgb), .78);
}
.pricing-card-featured {
  color: var(--white);
  border-color: transparent;
  background: linear-gradient(155deg, var(--surface-brand) 0%, var(--surface-panel) 55%, var(--surface-deep) 100%);
  box-shadow: inset 0 1px 0 rgba(var(--white-rgb), .09);
}
.pricing-card-featured:hover {
  border-color: rgba(var(--brand-rgb), .42);
  box-shadow: inset 0 1px 0 rgba(var(--white-rgb), .09), 0 24px 54px -30px rgba(var(--brand-rgb), .78);
}
.pricing-badge {
  position: absolute;
  top: 18px;
  right: 18px;
}
.pricing-index { color: rgba(var(--white-rgb), .42); font-size: var(--text-xs); }
.pricing-eyebrow {
  margin-top: 42px;
  color: var(--mulberry);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pricing-card-featured .pricing-eyebrow { color: var(--brand-bright); }
.pricing-name { margin-top: 8px; line-height: 1; }
.pricing-copy { min-height: 4.6em; margin-top: 14px; color: rgba(var(--white-rgb), .56); font-size: var(--text-sm); line-height: var(--leading-sm); }
.pricing-card-featured .pricing-copy { color: rgba(var(--white-rgb), .64); }
.pricing-price { display: flex; align-items: flex-end; margin-top: 24px; line-height: 1; white-space: nowrap; }
.pricing-value { font-size: clamp(40px, 3.5vw, 56px); font-weight: 400; }
.pricing-currency { margin: 0 0 7px 4px; font-size: 20px; }
.pricing-period { margin: 0 0 8px 8px; color: var(--spanish); font-size: var(--text-xs); }
.pricing-cta {
  justify-content: space-between;
  width: 100%;
  margin-top: auto;
}
.pricing-features { display: grid; gap: 11px; margin: 28px 0 32px; list-style: none; }
.pricing-features li {
  position: relative;
  padding-left: 24px;
  color: rgba(var(--white-rgb), .72);
  font-size: var(--text-sm);
  line-height: 1.4;
}
.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--mulberry);
  font-weight: 700;
}
.pricing-card-featured .pricing-features li { color: rgba(var(--white-rgb), .82); }
.pricing-features .is-unavailable { color: rgba(var(--white-rgb), .24); text-decoration: line-through; text-decoration-thickness: 1px; }
.pricing-card-featured .pricing-features .is-unavailable { color: rgba(var(--white-rgb), .25); }
.pricing-features .is-unavailable::before { content: "–"; color: currentColor; }
.pricing-note { margin-top: 20px; color: var(--spanish); font-size: var(--text-sm); text-align: right; }
.pricing-note a {
  color: rgba(var(--white-rgb), .72);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .25s ease;
}
.pricing-note a:hover { color: var(--mulberry); }
.trust-note {
  position: absolute;
  z-index: 2;
  right: auto;
  bottom: clamp(18px, 1.8vw, 28px);
  left: 50%;
  justify-content: center;
  width: max-content;
  max-width: calc(100% - 40px);
  margin-top: 0;
  color: var(--spanish);
  font-size: var(--text-xs);
  text-align: center;
  transform: translateX(-50%);
}
.pricing-old {
  align-self: flex-end;
  margin: 0 10px 12px 0;
  font-size: var(--text-sm);
  color: rgba(var(--white-rgb), .35);
  text-decoration-thickness: 1px;
}
.pricing-old:empty { display: none; }
.pricing-value,
.pricing-period,
.pricing-note,
.pricing-old {
  transition: opacity .18s ease, transform .18s ease;
}
.fit-panel.is-switching .pricing-value,
.fit-panel.is-switching .pricing-period,
.fit-panel.is-switching .pricing-note,
.fit-panel.is-switching .pricing-old {
  opacity: 0;
  transform: translateY(4px);
}

/* ── Projects ─────────────────────────────────────────── */
.projects { padding: clamp(70px, 9vw, 130px) var(--gutter); }
.projects-head {
  max-width: var(--container); margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(280px, 4fr);
  column-gap: var(--section-head-gap);
  align-items: end;
}
.projects-title { margin: 0; }
.projects-note { width: 100%; color: rgba(var(--white-rgb), 0.55); text-align: left; }

.projects-slider { max-width: var(--container); margin: clamp(40px, 5vw, 76px) auto 0; }
.projects-track {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-bottom: clamp(40px, 6vw, 90px);
}
.project-card:nth-child(1) { --stack-i: 0; --stack-top: 92px; }
.project-card:nth-child(2) { --stack-i: 1; --stack-top: 210px; }
.project-card:nth-child(3) { --stack-i: 2; --stack-top: 328px; }
.project-card:nth-child(4) { --stack-i: 3; --stack-top: 446px; }
.project-card {
  position: sticky;
  top: var(--stack-top);
  z-index: calc(4 + var(--stack-i));
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr);
  height: clamp(430px, 38vw, 570px);
  margin-bottom: clamp(70px, 10vh, 120px);
  border: 1px solid var(--raisin);
  border-radius: var(--r-card);
  overflow: hidden;
  background: linear-gradient(155deg, var(--surface-raised) 0%, var(--surface-card-end) 72%);
  box-shadow: 0 30px 80px -46px rgba(var(--black-rgb), .9);
  transition: border-color .35s ease, box-shadow .45s ease;
  cursor: pointer;
  scroll-margin-top: var(--stack-top);
}
.project-card:hover {
  border-color: rgba(var(--brand-rgb), .78);
  background: radial-gradient(90% 120% at 100% 0%, rgba(var(--brand-rgb), .46), transparent 66%), linear-gradient(155deg, var(--surface-hover), var(--surface-base));
  box-shadow: 0 34px 90px -30px rgba(var(--brand-rgb), .68);
}
.project-media { position: relative; min-height: 100%; overflow: hidden; }
.project-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 68%, rgba(var(--surface-card-end-rgb), .76) 100%); pointer-events: none; }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out), filter .5s ease; }
.project-card:hover .project-media img { transform: scale(1.025); filter: saturate(1.08); }
.project-details {
  --project-list-gap: clamp(20px, 1.6vw, 26px);
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.2vw, 52px);
}
.project-meta { align-items: center; }
.project-name {
  margin-top: clamp(30px, 3.2vw, 46px);
  font-size: clamp(1.75rem, 2.8vw, 2.875rem);
  line-height: 1.08;
}
.project-copy { margin-top: 20px; color: rgba(var(--white-rgb), .52); font-size: var(--text-base); line-height: var(--leading-base); }
.project-copy strong { color: rgba(var(--white-rgb), .9); font-weight: 425; }
.project-services { margin-top: var(--project-list-gap); padding-top: 0; }
.project-link { align-self: flex-start; margin-top: var(--project-list-gap); }

/* ── Trust + FAQ panel ────────────────────────────────── */
.trust-panel, .faq-panel {
  position: relative;
  max-width: var(--container);
  width: calc(100% - 2 * var(--gutter));
  margin: clamp(40px, 5vw, 80px) auto 0;
  padding: var(--panel-padding-y) var(--gutter);
  background: var(--vampire);
  border: 1px solid rgba(var(--white-rgb), 0.05);
  border-radius: var(--r-panel);
  overflow: hidden;
}
.trust-panel { padding-bottom: 0; }
.faq-panel {
  margin-top: clamp(20px, 2vw, 32px);
  background:
    radial-gradient(42% 34% at 12% 82%, rgba(var(--violet-shadow-rgb), 0.22), transparent 70%),
    radial-gradient(40% 34% at 88% 20%, rgba(var(--lilac-rgb), 0.2), transparent 72%),
    radial-gradient(28% 38% at 100% 0%, rgba(var(--indigo-rgb), 0.2), transparent 72%),
    radial-gradient(60% 50% at 50% 118%, rgba(var(--lilac-rgb), 0.14), transparent 70%),
    var(--vampire);
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  will-change: transform;
}
.blob-a { width: 380px; height: 300px; left: -6%; top: 3%;  background: radial-gradient(circle, rgba(var(--lilac-rgb), 0.34), transparent 65%); animation: blobDrift 16s ease-in-out infinite; }
.blob-b { width: 460px; height: 380px; right: -8%; top: 22%; background: radial-gradient(circle, rgba(var(--mulberry-rgb), 0.22), transparent 65%); animation: blobDrift 20s ease-in-out infinite reverse; }
.blob-c { width: 400px; height: 340px; left: -4%; bottom: 6%; background: radial-gradient(circle, rgba(var(--lilac-rgb), 0.25), transparent 65%); animation: blobDrift 18s ease-in-out infinite 4s; }
.blob-faq { width: 520px; height: 420px; right: 2%; bottom: 4%; background: radial-gradient(circle, rgba(var(--mulberry-rgb), 0.2), transparent 66%); animation: blobDrift 22s ease-in-out infinite reverse; }
@keyframes blobDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, -30px) scale(1.12); }
  66%      { transform: translate(-24px, 26px) scale(0.94); }
}

.trust { position: relative; max-width: 1520px; margin: 0 auto; }
.trust-head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(280px, 4fr);
  column-gap: var(--section-head-gap);
  align-items: center;
}
.trust-title {
  text-align: left;
}
.trust-stage {
  position: relative;
  min-height: clamp(580px, 50vw, 760px);
  margin-top: clamp(20px, 3vw, 50px);
  overflow: hidden;
  isolation: isolate;
}
.trust-stage::after {
  content: "";
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  height: clamp(52px, 6vw, 82px);
  background: linear-gradient(
    to top,
    var(--vampire) 0%,
    rgba(var(--vampire-rgb), 0.82) 28%,
    transparent 100%
  );
  pointer-events: none;
}
.plasma-ring--trust {
  --plasma-ring-size: clamp(900px, 88vw, 1320px);
  --plasma-ring-line: clamp(5px, 0.5vw, 8px);
  --plasma-ring-orb: clamp(30px, 2.4vw, 38px);
  --plasma-ring-speed: 14s;
  --plasma-ring-aura-speed: 15s;
  --plasma-ring-aura-bleed: 64px;
  --plasma-ring-aura-inset: -64px;
  --plasma-ring-tail-bleed: 48px;
  --plasma-ring-tail-inset: -48px;
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 0;
  transform: translate(-50%, 50%);
}
.plasma-ring--trust .plasma-ring-aura,
.plasma-ring--trust .plasma-ring-tail {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.plasma-ring--trust .plasma-ring-aura {
  inset: var(--plasma-ring-aura-inset);
  opacity: 0.9;
  filter: blur(clamp(12px, 1vw, 17px)) saturate(1.45);
  mix-blend-mode: screen;
  animation: plasma-ring-aura-travel var(--plasma-ring-aura-speed) linear infinite;
  will-change: transform;
}
.plasma-ring--trust .plasma-ring-aura-line,
.plasma-ring--trust .plasma-ring-tail-line {
  position: absolute;
  border-radius: 50%;
}
.plasma-ring--trust .plasma-ring-aura-line {
  inset: var(--plasma-ring-aura-bleed);
  background: conic-gradient(
    from 0deg,
    #72eaff 0deg,
    #c270f3 120deg,
    #ff2777 240deg,
    #72eaff 360deg
  );
  -webkit-mask: radial-gradient(
    farthest-side,
    transparent calc(100% - var(--plasma-ring-line) - 8px),
    #000 calc(100% - var(--plasma-ring-line) - 4px)
  );
  mask: radial-gradient(
    farthest-side,
    transparent calc(100% - var(--plasma-ring-line) - 8px),
    #000 calc(100% - var(--plasma-ring-line) - 4px)
  );
}
@keyframes plasma-ring-aura-travel {
  to { transform: rotate(360deg); }
}
.plasma-ring--trust .plasma-ring-tail {
  inset: var(--plasma-ring-tail-inset);
  filter:
    blur(clamp(7px, 0.7vw, 11px))
    drop-shadow(0 0 18px rgba(114, 234, 255, 0.72));
}
.plasma-ring--trust .plasma-ring-tail-line {
  inset: var(--plasma-ring-tail-bleed);
  background: conic-gradient(
    from 0deg,
    transparent 0deg 316deg,
    rgba(114, 234, 255, 0) 316deg,
    rgba(114, 234, 255, 0.12) 328deg,
    rgba(114, 234, 255, 0.36) 342deg,
    rgba(114, 234, 255, 0.8) 356deg,
    #72eaff 360deg
  );
  -webkit-mask: radial-gradient(
    farthest-side,
    transparent calc(100% - var(--plasma-ring-line) - 10px),
    #000 calc(100% - var(--plasma-ring-line) - 6px),
    transparent calc(100% - 2px)
  );
  mask: radial-gradient(
    farthest-side,
    transparent calc(100% - var(--plasma-ring-line) - 10px),
    #000 calc(100% - var(--plasma-ring-line) - 6px),
    transparent calc(100% - 2px)
  );
}
.plasma-ring--trust .plasma-ring-orb {
  background: #72eaff;
  box-shadow:
    0 0 12px 6px rgba(114, 234, 255, 0.96),
    0 0 32px 14px rgba(114, 234, 255, 0.58),
    0 0 64px 24px rgba(60, 184, 211, 0.32);
}

.bubble {
  position: absolute;
  width: clamp(220px, 18vw, 288px);
  background: rgba(var(--raisin-rgb), 0.72);
  border: 1px solid rgba(var(--white-rgb), 0.09);
  border-radius: 18px;
  padding: 16px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 2;
  transition: transform 0.45s var(--ease-spring), border-color 0.35s ease;
  animation: bubbleBob 7s ease-in-out infinite;
}
.bubble:hover { border-color: rgba(var(--mulberry-rgb), 0.55); z-index: 3; }
.bubble:nth-child(odd) { animation-duration: 8.5s; animation-delay: 1.2s; }
.bubble:nth-child(4n) { animation-delay: 2.4s; }
@keyframes bubbleBob {
  0%, 100% { margin-top: 0; }
  50%      { margin-top: -12px; }
}
.bubble-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.bubble-avatar {
  flex: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--mulberry), var(--mulberry));
  font-size: var(--text-sm); font-weight: 500; color: var(--white);
}
.bubble-avatar::after { content: attr(data-initial); }
.bubble-head strong { display: block; font-size: var(--text-sm); font-weight: 500; }
.bubble-head small { display: block; font-size: var(--text-xs); color: rgba(var(--white-rgb), 0.5); }
.bubble-rating {
  color: var(--mulberry);
  letter-spacing: .08em;
  white-space: nowrap;
}
.bubble blockquote { font-size: var(--text-xs); line-height: var(--leading-xs); color: rgba(var(--white-rgb), 0.72); }

.bubble-1 { left: 30%; top: 1%; }
.bubble-2 { left: 8%;  top: 14%; }
.bubble-3 { right: 4%; top: 15%; }
.bubble-4 { left: 0;   top: 48%; }
.bubble-5 { right: 0;  top: 63%; }
.bubble--verified {
  left: 50%;
  top: 8%;
  width: clamp(290px, 32vw, 440px);
  translate: -50% 0;
}

/* FAQ */
.faq { position: relative; max-width: 1520px; margin: 0 auto; }
.faq-head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(280px, 4fr);
  column-gap: var(--section-head-gap);
  align-items: center;
}
.faq-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 22px;
  margin-top: clamp(36px, 4.5vw, 64px);
}
.faq-col { display: flex; flex-direction: column; gap: 14px; }

.faq-item {
  background: rgba(var(--raisin-rgb), 0.55);
  border: 1px solid transparent;
  border-radius: 18px;
  overflow: hidden;
  color: var(--white);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}
.faq-item:hover {
  border-color: transparent;
  background: radial-gradient(100% 140% at 100% 0%, rgba(var(--mulberry-rgb), .28), transparent 70%), rgba(var(--raisin-rgb), .78);
}
.faq-item[open] {
  background: radial-gradient(100% 140% at 100% 0%, rgba(var(--mulberry-rgb), .28), transparent 70%), rgba(var(--raisin-rgb), .78);
  border-color: transparent;
  box-shadow: 0 18px 48px -18px rgba(var(--mulberry-rgb), 0.5);
}
.faq-item summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 17px 17px 17px 24px;
  font-size: var(--text-base);
  color: rgba(var(--white-rgb), 0.9);
  cursor: pointer;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chev {
  flex: none;
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(var(--white-rgb), 0.06);
  border: 1px solid rgba(var(--white-rgb), 0.14);
  color: var(--white);
  transition: transform 0.4s var(--ease-spring), background 0.3s ease, border-color 0.3s ease;
}
.faq-chev svg { width: 13px; height: 13px; }
.faq-item[open] .faq-chev { transform: rotate(180deg); background: var(--grad-brand); border-color: transparent; }
.faq-body { overflow: hidden; }
.faq-body p {
  padding: 0 24px 20px;
  font-size: var(--text-sm); line-height: var(--leading-sm);
  color: rgba(var(--white-rgb), 0.62);
}

/* ── Footer ───────────────────────────────────────────── */
.footer { padding: clamp(20px, 2vw, 32px) var(--gutter) clamp(24px, 3vw, 48px); }
.footer-card {
  max-width: var(--container); margin: 0 auto;
  background:
    radial-gradient(70% 140% at 100% -10%, rgba(var(--lilac-rgb), .3), transparent 62%),
    radial-gradient(55% 100% at -8% 110%, rgba(var(--violet-shadow-rgb), .28), transparent 68%),
    radial-gradient(38% 70% at 0% 100%, rgba(var(--indigo-rgb), .22), transparent 72%),
    radial-gradient(40% 75% at 48% 115%, rgba(var(--lilac-rgb), .12), transparent 72%),
    linear-gradient(145deg, var(--vampire), var(--vampire) 72%);
  color: var(--white);
  border: 1px solid rgba(var(--white-rgb), 0.08);
  border-radius: 32px;
  padding: var(--panel-padding-y) var(--gutter);
  box-shadow: inset 0 1px 0 rgba(var(--white-rgb), 0.05), 0 28px 70px -42px rgba(var(--mulberry-rgb), 0.55);
}
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: clamp(12px, 2vw, 24px); padding-bottom: clamp(18px, 2vw, 26px); border-bottom: 1px solid rgba(var(--white-rgb), .1); }
.footer-wordmark { display: inline-flex; }
.footer-cta { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; max-width: 360px; text-align: right; }
.footer-cta p { color: rgba(var(--white-rgb), .66); font-size: var(--text-sm); line-height: var(--leading-sm); }
.footer-cta .btn { padding: 8px 8px 8px 20px; font-size: var(--text-sm); }
.footer-content { display: grid; grid-template-columns: minmax(320px, 470px) minmax(0, 1fr); column-gap: clamp(28px, 4vw, 64px); row-gap: 0; padding: clamp(26px, 3.5vw, 46px) 0; }
.footer-contact { --contact-pad: 20px; position: relative; isolation: isolate; grid-row: 1 / 3; align-self: stretch; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; width: 100%; max-width: 470px; height: 100%; padding: var(--contact-pad); overflow: visible; border: 1px solid var(--raisin); border-radius: 20px; background: linear-gradient(155deg, var(--raisin) 0%, var(--vampire) 72%); color: rgba(var(--white-rgb), .62); font-size: var(--text-sm); font-style: normal; line-height: var(--leading-sm); transition: border-color .35s ease, box-shadow .45s ease, background .45s ease; }
.footer-contact::before { content: ""; position: absolute; inset: 0; z-index: 0; opacity: .2; pointer-events: none; background-image: radial-gradient(rgba(var(--mulberry-rgb), .9) 1px, transparent 1px); background-size: 6px 6px; -webkit-mask-image: radial-gradient(ellipse at top right, var(--black), transparent 76%); mask-image: radial-gradient(ellipse at top right, var(--black), transparent 76%); }
.footer-contact > * { position: relative; z-index: 1; }
.footer-contact:hover { border-color: rgba(var(--mulberry-rgb), .72); background: radial-gradient(100% 130% at 100% 0%, rgba(var(--mulberry-rgb), .4), transparent 68%), linear-gradient(155deg, var(--raisin), var(--vampire)); box-shadow: 0 24px 58px -28px rgba(var(--mulberry-rgb), .62); }
.footer-detail { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 10px; border: 1px solid rgba(var(--white-rgb), .09); border-radius: 14px; background: rgba(var(--white-rgb), .035); color: rgba(var(--white-rgb), .72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: color .25s ease, border-color .25s ease, background .25s ease; }
.footer-detail-icon { flex: 0 0 38px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: rgba(var(--mulberry-rgb), .13); color: var(--lilac); }
.footer-detail-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.footer-detail-copy { min-width: 0; display: flex; flex-direction: column; gap: 2px; font-style: normal; }
.footer-detail-copy small { color: rgba(var(--white-rgb), .42); font-size: var(--text-sm); font-style: normal; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.footer-detail-copy strong { overflow-wrap: anywhere; color: rgba(var(--white-rgb), .88); font-size: var(--text-sm); font-style: normal; font-weight: 450; line-height: 1.35; }
.footer-detail:hover { color: var(--white); border-color: rgba(var(--mulberry-rgb), .55); background: rgba(var(--mulberry-rgb), .1); }
.footer-detail:hover .footer-detail-icon { color: var(--white); background: rgba(var(--mulberry-rgb), .28); }
.footer-contact-actions { position: absolute; top: 20px; right: 20px; display: grid; grid-template-columns: 1fr; gap: 8px; width: 142px; }
.footer-contact-actions a, .footer-contact-actions button { display: grid; place-items: center; width: 100%; padding: 9px 10px; border: 1px solid rgba(var(--white-rgb), .16); border-radius: 999px; color: rgba(var(--white-rgb), .74); background: rgba(var(--white-rgb), .035); font-size: var(--text-sm); white-space: nowrap; transition: color .25s ease, border-color .25s ease, background .25s ease; }
.footer-contact-actions a:hover, .footer-contact-actions button:hover { color: var(--white); border-color: rgba(var(--mulberry-rgb), .65); background: rgba(var(--mulberry-rgb), .12); }
.footer-links-area { justify-self: end; width: min(100%, 540px); display: grid; grid-template-columns: 1fr 1fr; column-gap: 34px; }
.footer-nav, .footer-legal { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; font-size: var(--text-base); }
.footer-nav span, .footer-legal span { margin-bottom: 6px; color: var(--lilac); font-weight: 600; text-transform: uppercase; }
.footer-nav a, .footer-legal a { color: rgba(var(--white-rgb), .62); transition: color .25s ease, transform .25s ease; }
.footer-nav a:hover, .footer-legal a:hover { color: var(--white); }
.footer-social-row { grid-column: 2; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 4px; padding: 24px 0; border-top: 1px solid rgba(var(--white-rgb), .1); border-bottom: 1px solid rgba(var(--white-rgb), .1); }
.footer-social-row > p { color: rgba(var(--white-rgb), .72); font-size: var(--text-sm); font-weight: 500; }
.footer-social-row nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.footer-social-row a { display: inline-flex; align-items: center; gap: 9px; min-height: 38px; padding: 8px 13px; border: 1px solid rgba(var(--white-rgb), .12); border-radius: 12px; background: rgba(var(--white-rgb), .045); color: var(--white); font-size: var(--text-sm); font-weight: 600; transition: border-color .25s ease, background .25s ease, box-shadow .3s ease; }
.footer-social-row svg { width: 18px; height: 18px; fill: currentColor; }
.footer-social-row a[aria-label="CodePen"] svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.footer-social-row a:hover { border-color: rgba(var(--mulberry-rgb), .65); background: rgba(var(--mulberry-rgb), .16); box-shadow: 0 10px 26px -16px rgba(var(--mulberry-rgb), .8); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; color: rgba(var(--white-rgb), .38); font-size: var(--text-sm); }

/* ── Footer proposal: screenshot-inspired layout ─────── */
.footer--proposal .footer-card {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 28px 24px;
  background:
    radial-gradient(55% 120% at 100% 0%, rgba(var(--lilac-rgb), .26), transparent 68%),
    radial-gradient(30% 70% at 100% 0%, rgba(var(--indigo-rgb), .22), transparent 72%),
    radial-gradient(42% 90% at 0% 100%, rgba(var(--violet-shadow-rgb), .25), transparent 72%),
    radial-gradient(34% 78% at 0% 100%, rgba(var(--lilac-rgb), .16), transparent 76%),
    linear-gradient(145deg, var(--vampire), var(--vampire) 74%);
}
.footer--proposal .footer-top,
.footer--proposal .footer-content,
.footer--proposal .footer-links-area { display: contents; }
.footer--proposal .footer-wordmark { grid-column: 1 / 5; grid-row: 1; align-self: start; }
.footer-v2-intro { grid-column: 1 / 5; grid-row: 2; max-width: 40ch; color: rgba(var(--white-rgb), .58); font-size: var(--text-sm); line-height: var(--leading-sm); }
.footer--proposal .footer-cta { grid-column: 1 / 5; grid-row: 3; align-self: end; align-items: flex-start; max-width: none; padding: 24px; border: 1px solid rgba(var(--white-rgb), .09); border-radius: 20px; background: rgba(var(--white-rgb), .055); text-align: left; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.footer--proposal .footer-cta h3 { font-weight: 400; }
.footer--proposal .footer-cta .btn { width: 100%; justify-content: space-between; }
.footer--proposal .footer-nav { grid-column: 6 / 8; grid-row: 1 / 3; justify-self: start; width: 100%; }
.footer--proposal .footer-legal { grid-column: 8 / 10; grid-row: 1 / 3; justify-self: start; width: 100%; }
.footer--proposal .footer-nav span,
.footer--proposal .footer-legal span { color: var(--lilac); }
.footer--proposal .footer-nav > span,
.footer--proposal .footer-legal > span,
.footer--proposal .footer-contact-title { margin: 0 0 12px; color: var(--lilac); font-weight: 500; letter-spacing: -.01em; line-height: 1.2; text-transform: none; }
.footer--proposal .footer-nav a::before,
.footer--proposal .footer-legal a::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 10px; border-radius: 50%; background: var(--mulberry); vertical-align: middle; }
.footer--proposal .footer-contact { grid-column: 10 / 13; grid-row: 1 / 3; max-width: none; height: auto; padding: 0; border: 0; background: none; box-shadow: none; }
.footer--proposal .footer-contact::before { content: none; }
.footer--proposal .footer-detail { min-height: 54px; }
.footer--proposal .footer-contact-actions { position: static; width: 100%; margin-top: auto; }
.footer--proposal .footer-social-row { grid-column: 6 / 13; grid-row: 3; align-self: end; margin: 0; }
.footer--proposal .footer-bottom { grid-column: 1 / 13; grid-row: 5; }
.footer--proposal .footer-bottom nav { display: flex; gap: 24px; }
.footer--proposal .footer-bottom a { color: rgba(var(--white-rgb), .52); transition: color .25s ease; }
.footer--proposal .footer-bottom a:hover { color: var(--white); }

/* Compact two-column refinement */
.footer--proposal .footer-card {
  grid-template-columns: minmax(300px, 4fr) minmax(0, 8fr);
  grid-template-rows: auto auto;
  gap: 30px clamp(50px, 6vw, 100px);
  padding: clamp(34px, 4vw, 62px) var(--gutter);
}
.footer--proposal .footer-top {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  border: 0;
}
.footer--proposal .footer-wordmark,
.footer--proposal .footer-v2-intro,
.footer--proposal .footer-cta { grid-column: auto; grid-row: auto; }
.footer--proposal .footer-cta { width: 100%; margin-top: auto; }
.footer--proposal .footer-content {
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.6vw, 22px);
  padding: 0;
}
.footer--proposal .footer-columns {
  display: grid;
  grid-template-columns: .75fr .9fr 1.35fr;
  gap: 30px;
}
.footer--proposal .footer-links-area { display: contents; }
.footer--proposal .footer-nav { grid-column: 1; grid-row: 1; }
.footer--proposal .footer-legal { grid-column: 2; grid-row: 1; }
.footer--proposal .footer-contact { grid-column: 3; grid-row: 1; }
.footer--proposal .footer-social-row { grid-column: auto; grid-row: auto; align-self: stretch; width: 100%; margin-top: auto; }
.footer--proposal .footer-bottom { grid-column: 1 / -1; grid-row: 2; }

@media (max-width: 1024px) {
  .footer--proposal .footer-card { display: block; }
  .footer--proposal .footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
  .footer--proposal .footer-wordmark, .footer-v2-intro, .footer--proposal .footer-cta { grid-column: auto; grid-row: auto; }
  .footer--proposal .footer-wordmark { grid-column: 1; }
  .footer-v2-intro { grid-column: 1; }
  .footer--proposal .footer-cta { grid-column: 2; grid-row: 1 / 3; }
  .footer--proposal .footer-content { display: flex; gap: 28px; margin-top: 38px; padding: 0; }
  .footer--proposal .footer-columns { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer--proposal .footer-links-area { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer--proposal .footer-contact { grid-column: 1; grid-row: auto; }
  .footer--proposal .footer-links-area { grid-column: 2; }
  .footer--proposal .footer-social-row { grid-column: 1 / -1; grid-row: auto; }
  .footer--proposal .footer-bottom { margin-top: 28px; }
}

@media (max-width: 700px) {
  .footer--proposal .footer-top, .footer--proposal .footer-columns { grid-template-columns: 1fr; }
  .footer--proposal .footer-cta, .footer--proposal .footer-contact, .footer--proposal .footer-links-area { grid-column: 1; grid-row: auto; }
  .footer--proposal .footer-links-area { margin-top: 8px; }
}

/* ── Reveal system ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  filter: blur(7px);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out),
    filter 0.9s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.reveal.is-in { opacity: 1; transform: none; filter: none; }
[data-delay="1"] { --d: 1; } [data-delay="2"] { --d: 2; }
[data-delay="3"] { --d: 3; } [data-delay="4"] { --d: 4; }
[data-delay="5"] { --d: 5; } [data-delay="6"] { --d: 6; }
[data-delay="7"] { --d: 7; }

.split-reveal,
.hero-title {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  filter: blur(8px);
  transition: opacity .72s var(--ease-out), transform .82s var(--ease-out), filter .72s var(--ease-out);
  will-change: opacity, transform, filter;
}
.split-reveal.is-in,
.hero-title.is-in { opacity: 1; transform: translate3d(0, 0, 0); filter: blur(0); }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1200px) {
  .hero-content { grid-template-columns: minmax(0, 1fr) clamp(250px, 22vw, 310px); gap: clamp(36px, 5vw, 70px); }
}

@media (max-width: 1024px) {
  .about-inner, .services-head, .projects-head, .pricing-head, .trust-head, .faq-head { grid-template-columns: 1fr; align-items: start; }
  .about-inner > .section-intro,
  .services-head > .section-intro,
  .projects-head > .section-intro,
  .pricing-head > .section-intro,
  .trust-head > .section-intro,
  .faq-head > .section-intro { margin-top: 28px; }
  .about-inner > .slider-arrows, .projects-head > .slider-arrows { grid-column: 1; }
  .services-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "a b"
      "n c"
      "d e"
      "br br";
  }
  .svc-brand { max-width: none; text-align: center; margin: 10px auto 0; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-toggle { grid-column: 1; justify-self: start; margin-top: 24px; }
  .pricing-copy { min-height: 0; max-width: 52ch; }
}

@media (max-width: 900px) {
  .nav-pill, .btn-contact { display: none; }
  .nav-burger { display: flex; }

  .stat-card::before { content: none; }

  .hero { padding-top: 96px; }
  .hero-inner { min-height: 0; display: flex; flex-direction: column; justify-content: flex-start; padding-bottom: 0; }
  .hero-content, .hero-primary { display: contents; }
  .hero-jelly-wrap {
    position: relative;
    left: auto; top: auto;
    width: min(86vw, 460px);
    margin: -10px auto 8px;
    transform: none;
    order: 2;
    animation-name: jellyFloatM;
  }
  .hero-title { order: 0; max-width: none; }
  .hero-kicker { position: static; margin-top: 14px; order: 1; }
  .hero-cta { order: 3; flex-wrap: wrap; }
  .hero-stats { order: 4; flex-wrap: wrap; }
  .stat-card { flex: 1 1 150px; }
  .hero-showcase { position: static; width: 100%; margin-top: 30px; order: 6; }
  .hero-project-carousel { position: relative; inset: auto; height: 390px; }
  .hero-tagline { position: static; margin-top: 30px; order: 8; }

  .about-title { margin: 0; max-width: none; }
  .why-slider { margin-top: 30px; }

  .projects-track {
    display: block;
    padding-bottom: 0;
  }
  .project-card { position: relative; top: auto; grid-template-columns: 1fr; width: 100%; height: auto; min-height: 0; margin-bottom: 20px; cursor: default; }
  .project-media { min-height: 0; aspect-ratio: 16 / 10; }
  .project-media::after { background: linear-gradient(180deg, transparent 70%, rgba(var(--vampire-rgb), .72) 100%); }
  .project-details { min-height: 400px; }
  .project-name { margin-top: 34px; }

  .trust-title { text-align: left; }
  .trust-stage { min-height: 420px; margin-top: 30px; }
  .plasma-ring--trust {
    --plasma-ring-size: min(170vw, 720px);
    --plasma-ring-line: 4px;
    --plasma-ring-orb: 26px;
  }
  .bubble {
    position: static;
    width: 100%;
    margin-bottom: 12px;
    animation: none;
  }
  .bubble--verified {
    width: min(100%, 440px);
    margin-inline: auto;
    translate: none;
  }
  .faq-cols { grid-template-columns: 1fr; gap: 12px; }
  .faq-col { gap: 12px; }

  .footer-top { align-items: flex-start; flex-direction: column; }
  .footer-cta { align-items: flex-start; text-align: left; }
  .footer-content { grid-template-columns: 1fr; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-contact { grid-row: auto; height: auto; }
  .footer-links-area { justify-self: start; width: 100%; }
  .footer-social-row { grid-column: 1; }
  .footer-bottom { flex-direction: column; }
  .footer-social-row { align-items: flex-start; flex-direction: column; }
  .footer-social-row nav { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .footer-content { grid-template-columns: 1fr; }
  .footer-contact { grid-column: auto; }
  .footer-links-area { grid-template-columns: 1fr; row-gap: 28px; }
  .footer-contact-actions { position: static; width: 100%; margin-top: 6px; }
  .why-card { flex-basis: 82%; }
  .fit-title { text-align: left; }
  .pricing-head { align-items: stretch; margin-bottom: 32px; }
  .pricing-toggle { align-self: flex-start; }
  .pricing-toggle-btn { min-width: 82px; padding-inline: 14px; }
  .pricing-card { padding: 24px 20px; }
  .pricing-badge { top: 16px; right: 16px; }
  .pricing-note { text-align: left; }
  .services-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "a" "b" "n" "c" "d" "e" "br";
  }
  .svc-card { min-height: 390px; }
  .hero-cta-note br { display: none; }
}

/* ── Motion preferences ───────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal, .split-reveal, .hero-title { opacity: 1; transform: none; filter: none; }
  #plankton, #fluid { display: none; }
  .plasma-ring-motion,
  .plasma-ring-aura { animation: none !important; }
}

/* ═══════════════════════════════════════════════════════
   ANFRAGE — guided request wizard (anfrage.html)
   ═══════════════════════════════════════════════════════ */
.anfrage [hidden] { display: none !important; }
.anfrage {
  position: relative;
  padding: clamp(120px, 15vh, 180px) var(--gutter) clamp(50px, 6vw, 90px);
  background:
    radial-gradient(44% 60% at 8% 0%, rgba(var(--mulberry-rgb), 0.45) 0%, transparent 72%),
    radial-gradient(36% 48% at 90% 8%, rgba(var(--mulberry-rgb), 0.3) 0%, transparent 70%);
}
.af-glow {
  position: absolute;
  left: -8%; top: 4%;
  width: 50vw; height: 60%;
  background:
    radial-gradient(ellipse 42% 46% at 40% 40%, rgba(var(--mulberry-rgb), 0.22) 0%, transparent 70%),
    radial-gradient(ellipse 30% 36% at 66% 70%, rgba(var(--mulberry-rgb), 0.18) 0%, transparent 70%);
  filter: blur(12px);
  animation: glowPulse 7s ease-in-out infinite;
  pointer-events: none;
}
.af-head {
  position: relative;
  max-width: var(--container);
  margin: 0 auto clamp(38px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(280px, 4fr);
  column-gap: var(--section-head-gap);
  align-items: center;
}
.af-badges {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 18px;
  list-style: none;
}
.af-badges li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px;
  border: 1px solid rgba(var(--white-rgb), .13);
  border-radius: 999px;
  font-size: var(--text-xs);
  color: rgba(var(--white-rgb), .72);
  background: rgba(var(--white-rgb), .03);
}
.af-badges li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--grad-brand);
  box-shadow: 0 0 8px rgba(var(--mulberry-rgb), .8);
}

/* panel */
.af-panel {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  background:
    radial-gradient(70% 80% at 5% 105%, rgba(var(--mulberry-rgb), .18), transparent 68%),
    radial-gradient(58% 70% at 98% -8%, rgba(var(--mulberry-rgb), .24), transparent 66%),
    linear-gradient(145deg, var(--vampire) 0%, var(--vampire) 58%, var(--vampire) 100%);
  border: 1px solid rgba(var(--white-rgb), .07);
  border-radius: var(--r-panel);
  padding: clamp(24px, 4vw, 64px);
  box-shadow: inset 0 1px 0 rgba(var(--white-rgb), .04), 0 40px 120px -40px rgba(var(--mulberry-rgb), .32);
}
.af-body {
  display: grid;
  grid-template-columns: clamp(200px, 16vw, 260px) minmax(0, 1fr) clamp(260px, 20vw, 320px);
  gap: clamp(28px, 3.4vw, 62px);
  align-items: start;
}
.af-footnote {
  max-width: var(--container);
  margin: 18px auto 0;
  font-size: var(--text-xs);
  color: rgba(var(--white-rgb), .45);
}

/* ── step rail ── */
.af-rail {
  position: sticky;
  top: 110px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 38px;
  padding: 4px;
}
.af-rail::before, .af-rail::after {
  content: "";
  position: absolute;
  left: 24px; top: 26px; bottom: 26px;
  width: 1px;
  background: rgba(var(--white-rgb), .1);
}
.af-rail::after {
  bottom: auto;
  height: calc((100% - 52px) * var(--p, 0) / 100);
  background: var(--grad-brand);
  box-shadow: 0 0 12px rgba(var(--mulberry-rgb), .65);
  transition: height .5s var(--ease-out);
}
.af-rail-item { position: relative; z-index: 2; }
.af-rail-btn {
  display: flex; align-items: center; gap: 16px;
  text-align: left;
  cursor: pointer;
}
.af-rail-btn:disabled { cursor: default; }
.af-rail-num {
  display: grid; place-items: center;
  width: 41px; height: 41px; flex: none;
  border: 1px solid rgba(var(--white-rgb), .18);
  border-radius: 50%;
  background: var(--vampire);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(var(--white-rgb), .5);
  transition: background .3s ease, border-color .3s ease, color .3s ease, box-shadow .3s ease;
}
.af-rail-index,
.af-rail-check {
  grid-area: 1 / 1;
}
.af-rail-check {
  display: none;
  width: 17px;
  height: 17px;
}
.af-rail-text { display: flex; flex-direction: column; gap: 2px; }
.af-rail-label {
  font-size: var(--text-base);
  color: rgba(var(--white-rgb), .5);
  transition: color .3s ease;
}
.af-rail-sub { font-size: var(--text-xs); color: rgba(var(--white-rgb), .3); }
.af-rail-item.is-active .af-rail-num,
.af-rail-item.is-done .af-rail-num {
  background: var(--grad-brand);
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 0 0 4px rgba(var(--mulberry-rgb), .18), 0 8px 22px -8px rgba(var(--mulberry-rgb), .9);
}
.af-rail-item.is-active .af-rail-label,
.af-rail-item.is-done .af-rail-label { color: var(--white); }
.af-rail-item.is-done .af-rail-index { display: none; }
.af-rail-item.is-done .af-rail-check { display: block; }
.af-rail-btn:focus-visible .af-rail-num {
  outline: 2px solid var(--mulberry);
  outline-offset: 3px;
}
.af-mprog { display: none; }

/* ── steps ── */
.af-step[hidden] { display: none; }
.af-step.is-active { animation: afStepIn .5s var(--ease-out) both; }
@keyframes afStepIn {
  from { opacity: 0; transform: translateY(18px); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: none; }
}
.af-step-kicker {
  color: var(--mulberry);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.af-step-title {
  margin-top: 10px;
  line-height: 1.15;
  outline: none;
}
.af-step-sub {
  margin-top: 12px;
  max-width: 62ch;
  font-size: var(--text-sm);
  line-height: 1.6;
  color: rgba(var(--white-rgb), .52);
}
.af-block { margin-top: clamp(26px, 3vw, 38px); }
.af-block > .af-label { display: block; margin-bottom: 12px; }
.af-note {
  margin-top: 20px;
  font-size: var(--text-xs);
  color: rgba(var(--white-rgb), .45);
}
.af-note strong { color: rgba(var(--white-rgb), .85); font-weight: 500; }

/* ── model toggle ── */
.af-toggle {
  display: inline-flex;
  margin-top: 22px;
  padding: 5px;
  border: 1px solid rgba(var(--white-rgb), .1);
  border-radius: 999px;
  background: rgba(var(--white-rgb), .03);
}
.af-toggle-btn {
  min-width: 92px;
  padding: 10px 18px;
  border-radius: 999px;
  color: rgba(var(--white-rgb), .56);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: color .25s ease, background .25s ease, box-shadow .25s ease;
}
.af-toggle-btn.is-active {
  color: var(--white);
  background: var(--grad-brand);
  box-shadow: 0 8px 22px -10px rgba(var(--mulberry-rgb), .8);
}
.af-toggle-btn:focus-visible { outline: 2px solid var(--mulberry); outline-offset: 3px; }

/* ── package cards ── */
.af-pkgs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}
.af-pkg { position: relative; cursor: pointer; }
.af-pkg input { position: absolute; opacity: 0; pointer-events: none; }
.af-pkg-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  height: 100%;
  padding: 20px;
  border: 1px solid rgba(var(--white-rgb), .1);
  border-radius: 20px;
  background: var(--vampire);
  transition: border-color .3s ease, background .3s ease, box-shadow .35s ease, transform .35s var(--ease-spring);
}
.af-pkg:hover .af-pkg-card { border-color: rgba(var(--white-rgb), .24); transform: translateY(-3px); }
.af-pkg input:checked ~ .af-pkg-card {
  border-color: rgba(var(--mulberry-rgb), .75);
  background: radial-gradient(120% 100% at 100% 0%, rgba(var(--mulberry-rgb), .3), transparent 62%), linear-gradient(155deg, var(--raisin), var(--vampire));
  box-shadow: 0 22px 50px -26px rgba(var(--mulberry-rgb), .7);
}
.af-pkg input:focus-visible ~ .af-pkg-card { outline: 2px solid var(--mulberry); outline-offset: 3px; }
.af-pkg-check {
  position: absolute;
  top: 14px; right: 14px;
  display: grid; place-items: center;
  width: 22px; height: 22px;
  border: 1px solid rgba(var(--white-rgb), .25);
  border-radius: 50%;
  color: transparent;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.af-pkg-check svg { width: 11px; height: 11px; }
.af-pkg input:checked ~ .af-pkg-card .af-pkg-check {
  background: var(--grad-brand);
  border-color: transparent;
  color: var(--white);
}
.af-pkg-name { font-size: clamp(21px, 1.7vw, 26px); font-weight: 400; }
.af-pkg-price { margin-top: 8px; font-size: clamp(21px, 1.8vw, 26px); font-weight: 400; white-space: nowrap; color: var(--white); }
.af-pkg-price small { display: block; margin: 5px 0 0; font-size: var(--text-xs); color: var(--spanish); letter-spacing: 0; white-space: normal; }
.af-pkg-old { margin-right: 8px; font-size: var(--text-sm); color: rgba(var(--white-rgb), .38); text-decoration-thickness: 1px; }
.af-pkg-old:empty { display: none; }
.af-pkg-meta { margin-top: 8px; font-size: var(--text-xs); line-height: var(--leading-xs); color: rgba(var(--white-rgb), .48); }

/* ── fields ── */
.af-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 16px;
  margin-top: 26px;
}
.af-field { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.af-field-full { grid-column: 1 / -1; }
.af-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(var(--white-rgb), .55);
}
.af-label small { font-weight: 500; color: rgba(var(--white-rgb), .35); text-transform: none; letter-spacing: .02em; }
.af-input, .af-select, .af-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid rgba(var(--white-rgb), .13);
  border-radius: 14px;
  background: rgba(var(--white-rgb), .035);
  color: var(--white);
  font: inherit;
  font-size: var(--text-sm);
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.af-input::placeholder, .af-textarea::placeholder { color: rgba(var(--white-rgb), .3); }
.af-input:focus, .af-select:focus, .af-textarea:focus {
  outline: none;
  border-color: rgba(var(--mulberry-rgb), .8);
  background: rgba(var(--mulberry-rgb), .05);
  box-shadow: 0 0 0 3px rgba(var(--mulberry-rgb), .16);
}
.af-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 6 8 10.5 12.5 6' fill='none' stroke='%23BC6ECC' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
  cursor: pointer;
}
.af-select option { background: var(--vampire); color: var(--white); }
.af-textarea { resize: vertical; min-height: 110px; }
.af-msg { display: none; font-size: var(--text-xs); color: var(--danger); }
.af-field.is-invalid .af-msg { display: block; }
.af-field.is-invalid .af-input,
.af-field.is-invalid .af-select,
.af-field.is-invalid .af-textarea { border-color: rgba(var(--danger-rgb), .7); }

/* website row: toggle + domain field side by side */
.af-web-row { display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.af-web-row .af-seg { flex: none; }
.af-web-row .af-field { flex: 1; min-width: 230px; }

/* segmented control */
.af-seg {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px;
  border: 1px solid rgba(var(--white-rgb), .1);
  border-radius: 999px;
  background: rgba(var(--white-rgb), .03);
}
.af-seg-opt { position: relative; }
.af-seg-opt input { position: absolute; opacity: 0; pointer-events: none; }
.af-seg-opt span {
  display: block;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(var(--white-rgb), .56);
  cursor: pointer;
  transition: color .25s ease, background .25s ease, box-shadow .25s ease;
  white-space: nowrap;
}
.af-seg-opt input:checked + span {
  color: var(--white);
  background: var(--grad-brand);
  box-shadow: 0 8px 22px -10px rgba(var(--mulberry-rgb), .8);
}
.af-seg-opt input:focus-visible + span { outline: 2px solid var(--mulberry); outline-offset: 3px; }

/* chips */
.af-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.af-chip { position: relative; }
.af-chip input { position: absolute; opacity: 0; pointer-events: none; }
.af-chip span {
  display: block;
  padding: 10px 17px;
  border: 1px solid rgba(var(--white-rgb), .16);
  border-radius: 999px;
  font-size: var(--text-sm);
  color: rgba(var(--white-rgb), .65);
  cursor: pointer;
  transition: color .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.af-chip:hover span { border-color: rgba(var(--white-rgb), .38); color: var(--white); }
.af-chip input:checked + span {
  color: var(--white);
  border-color: transparent;
  background: var(--grad-brand);
  box-shadow: 0 8px 22px -10px rgba(var(--mulberry-rgb), .8);
}
.af-chip input:focus-visible + span { outline: 2px solid var(--mulberry); outline-offset: 3px; }

/* ── upload ── */
.af-logo-upload { margin-top: 18px; }
.af-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: clamp(26px, 3vw, 40px) 20px;
  border: 1.5px dashed rgba(var(--white-rgb), .22);
  border-radius: 20px;
  background: rgba(var(--white-rgb), .02);
  text-align: center;
  cursor: pointer;
  transition: border-color .25s ease, background .25s ease, transform .25s var(--ease-spring);
}
.af-drop:hover, .af-drop:focus-visible { border-color: rgba(var(--mulberry-rgb), .7); background: rgba(var(--mulberry-rgb), .05); outline: none; }
.af-drop.is-drag { border-color: var(--mulberry); background: rgba(var(--mulberry-rgb), .09); transform: scale(1.01); }
.af-drop-icon {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: var(--white);
  box-shadow: 0 10px 28px -8px rgba(var(--mulberry-rgb), .7);
}
.af-drop-icon svg { width: 20px; height: 20px; }
.af-drop-title { font-size: var(--text-sm); }
.af-drop-title strong {
  font-weight: 600;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.af-drop-hint { font-size: var(--text-xs); color: rgba(var(--white-rgb), .42); }
.af-files { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.af-file {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 12px;
  border: 1px solid rgba(var(--white-rgb), .1);
  border-radius: 14px;
  background: var(--vampire);
  animation: afStepIn .35s var(--ease-out);
}
.af-file-thumb {
  width: 42px; height: 42px; flex: none;
  border: 1px solid rgba(var(--white-rgb), .08);
  border-radius: 10px;
  background-color: var(--vampire);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.af-file-info { min-width: 0; }
.af-file-name { font-size: var(--text-sm); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.af-file-size { font-size: var(--text-xs); color: rgba(var(--white-rgb), .4); }
.af-file-remove {
  margin-left: auto;
  display: grid; place-items: center;
  width: 28px; height: 28px; flex: none;
  border: 1px solid rgba(var(--white-rgb), .15);
  border-radius: 50%;
  color: rgba(var(--white-rgb), .6);
  font-size: var(--text-base);
  line-height: 1;
  transition: border-color .25s ease, background .25s ease, color .25s ease;
}
.af-file-remove:hover { border-color: var(--mulberry); background: rgba(var(--mulberry-rgb), .15); color: var(--white); }
.af-file-error { display: none; margin-top: 10px; font-size: var(--text-xs); color: var(--danger); }
.af-file-error.is-visible { display: block; }
.af-hint {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(var(--mulberry-rgb), .32);
  border-radius: 14px;
  background: rgba(var(--mulberry-rgb), .07);
  font-size: var(--text-sm);
  line-height: 1.55;
  color: rgba(var(--white-rgb), .75);
}
.af-hint svg { flex: none; margin-top: 2px; color: var(--lilac); }
.af-hint strong { color: var(--white); font-weight: 500; }

/* ── pages slider ── */
.af-range-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.af-range-value {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -.02em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.af-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  margin: 20px 0 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mulberry) 0%, var(--mulberry) var(--fill, 0%), rgba(var(--white-rgb), .13) var(--fill, 0%));
  outline: none;
  cursor: pointer;
}
.af-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 5px rgba(var(--mulberry-rgb), .28), 0 4px 16px rgba(var(--mulberry-rgb), .55);
  cursor: grab;
  transition: box-shadow .25s ease;
}
.af-range::-webkit-slider-thumb:active { cursor: grabbing; box-shadow: 0 0 0 8px rgba(var(--mulberry-rgb), .32), 0 4px 18px rgba(var(--mulberry-rgb), .6); }
.af-range::-moz-range-thumb {
  width: 22px; height: 22px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 5px rgba(var(--mulberry-rgb), .28), 0 4px 16px rgba(var(--mulberry-rgb), .55);
  cursor: grab;
}
.af-range:focus-visible { outline: 2px solid var(--mulberry); outline-offset: 6px; }
.af-range-scale { display: flex; justify-content: space-between; padding: 0 4px; font-size: var(--text-xs); color: rgba(var(--white-rgb), .32); }
.af-range-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-size: var(--text-xs); color: rgba(var(--white-rgb), .52); }
.af-range-meta strong { color: var(--white); font-weight: 500; }

/* ── addons ── */
.af-addons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 26px;
}
.af-addon { position: relative; cursor: pointer; }
.af-addon input { position: absolute; opacity: 0; pointer-events: none; }
.af-addon-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  height: 100%;
  padding: 17px 18px;
  border: 1px solid rgba(var(--white-rgb), .1);
  border-radius: 18px;
  background: var(--vampire);
  transition: border-color .3s ease, background .3s ease, box-shadow .35s ease;
}
.af-addon:hover .af-addon-card { border-color: rgba(var(--white-rgb), .26); }
.af-addon input:checked ~ .af-addon-card {
  border-color: rgba(var(--mulberry-rgb), .72);
  background: radial-gradient(120% 110% at 100% 0%, rgba(var(--mulberry-rgb), .24), transparent 60%), linear-gradient(155deg, var(--raisin), var(--vampire));
  box-shadow: 0 18px 44px -24px rgba(var(--mulberry-rgb), .65);
}
.af-addon input:focus-visible ~ .af-addon-card { outline: 2px solid var(--mulberry); outline-offset: 3px; }
.af-addon-head { display: flex; align-items: center; gap: 10px; }
.af-addon-tick {
  display: grid; place-items: center;
  width: 20px; height: 20px; flex: none;
  border: 1px solid rgba(var(--white-rgb), .28);
  border-radius: 7px;
  color: var(--white);
  transition: background .25s ease, border-color .25s ease;
}
.af-addon-tick svg { width: 11px; height: 11px; opacity: 0; transform: scale(.4); transition: opacity .2s ease, transform .25s var(--ease-spring); }
.af-addon input:checked ~ .af-addon-card .af-addon-tick { background: var(--grad-brand); border-color: transparent; }
.af-addon input:checked ~ .af-addon-card .af-addon-tick svg { opacity: 1; transform: scale(1); }
.af-addon-title { font-size: var(--text-sm); font-weight: 500; }
.af-addon-price {
  margin-left: auto;
  padding: 5px 10px;
  border: 1px solid rgba(var(--mulberry-rgb), .5);
  border-radius: 999px;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--lilac);
  white-space: nowrap;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.af-addon input:checked ~ .af-addon-card .af-addon-price {
  background: var(--grad-brand);
  border-color: transparent;
  color: var(--white);
}
.af-addon-desc { font-size: var(--text-xs); line-height: var(--leading-xs); color: rgba(var(--white-rgb), .5); padding-left: 30px; }
.af-addon.is-included { pointer-events: none; }
.af-addon.is-included .af-addon-card {
  border-style: dashed;
  border-color: rgba(var(--lilac-rgb), .45);
  opacity: .92;
}
.af-addon.is-included .af-addon-tick { background: var(--grad-brand); border-color: transparent; }
.af-addon.is-included .af-addon-tick svg { opacity: 1; transform: scale(1); }
.af-addon.is-included .af-addon-price {
  background: rgba(var(--lilac-rgb), .16);
  border-color: transparent;
  color: var(--lilac);
}

/* ── recap chips (step 5) ── */
.af-recap { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 4px; }
.af-recap span {
  padding: 7px 13px;
  border: 1px solid rgba(var(--white-rgb), .14);
  border-radius: 999px;
  font-size: var(--text-xs);
  color: rgba(var(--white-rgb), .7);
  background: rgba(var(--white-rgb), .03);
}
.af-recap span strong { color: var(--white); font-weight: 500; }
.af-recap .af-recap-total {
  border-color: rgba(var(--mulberry-rgb), .6);
  background: rgba(var(--mulberry-rgb), .1);
  color: var(--white);
}

/* consent + honeypot */
.af-consent {
  position: relative;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
  cursor: pointer;
}
.af-consent input { position: absolute; opacity: 0; pointer-events: none; }
.af-consent-box {
  display: grid; place-items: center;
  width: 20px; height: 20px; flex: none;
  margin-top: 2px;
  border: 1px solid rgba(var(--white-rgb), .3);
  border-radius: 7px;
  color: var(--white);
  transition: background .25s ease, border-color .25s ease;
}
.af-consent-box svg { width: 11px; height: 11px; opacity: 0; transform: scale(.4); transition: opacity .2s ease, transform .25s var(--ease-spring); }
.af-consent input:checked ~ .af-consent-box { background: var(--grad-brand); border-color: transparent; }
.af-consent input:checked ~ .af-consent-box svg { opacity: 1; transform: scale(1); }
.af-consent input:focus-visible ~ .af-consent-box { outline: 2px solid var(--mulberry); outline-offset: 3px; }
.af-consent-text { font-size: var(--text-sm); line-height: var(--leading-sm); color: rgba(var(--white-rgb), .55); }
.af-consent.is-invalid .af-consent-box { border-color: var(--danger); }
.af-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ── wizard nav ── */
.af-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(28px, 3vw, 44px);
  padding-top: 22px;
  border-top: 1px solid rgba(var(--white-rgb), .08);
}
.af-back {
  flex: none;
  padding: 8px 20px 8px 8px;
}
.btn-arrow-back { background: rgba(var(--white-rgb), .1); color: var(--white); }
.af-nav-est {
  margin-left: auto;
  font-size: var(--text-sm);
  color: rgba(var(--white-rgb), .5);
  display: none;
  white-space: nowrap;
}
.af-nav-est strong { color: var(--white); font-weight: 500; }
.af-next, .af-submit { margin-left: auto; }

/* ── summary aside ── */
.af-summary {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid rgba(var(--white-rgb), .1);
  border-radius: 20px;
  background: linear-gradient(155deg, var(--raisin) 0%, var(--vampire) 72%);
  box-shadow: inset 0 1px 0 rgba(var(--white-rgb), .05);
}
.af-summary-toggle {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(var(--white-rgb), .1);
}
.af-summary-toggle .af-toggle {
  display: flex;
  width: 100%;
  margin-top: 10px;
}
.af-summary-toggle .af-toggle-btn { flex: 1; min-width: 0; }
.af-summary-kicker {
  color: var(--mulberry);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.af-summary-list { display: flex; flex-direction: column; gap: 13px; margin: 18px 0 26px; }
.af-summary-list dt {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(var(--white-rgb), .38);
}
.af-summary-list dd { margin-top: 3px; font-size: var(--text-sm); line-height: var(--leading-sm); color: var(--white); }
.af-summary-total { margin-top: 18px; }
.af-total-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(var(--white-rgb), .45);
}
.af-total-value {
  margin-top: 6px;
  font-size: clamp(28px, 2.4vw, 36px);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1;
}
.af-total-value > span:first-child {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.af-total-value.is-bump > span:first-child { animation: afBump .4s var(--ease-spring); }
@keyframes afBump { 40% { filter: brightness(1.6); } }
.af-total-per { font-size: var(--text-xs); color: var(--spanish); letter-spacing: 0; }
.af-total-care { margin-top: 8px; font-size: var(--text-xs); color: rgba(var(--white-rgb), .55); }
.af-summary-note { margin-top: 14px; font-size: var(--text-xs); line-height: var(--leading-xs); color: rgba(var(--white-rgb), .38); }

/* ── success ── */
.af-success { display: none; text-align: center; padding: clamp(26px, 4vw, 50px) 0 clamp(10px, 2vw, 24px); }
.af-panel.is-done form { display: none; }
.af-panel.is-done .af-success { display: block; animation: afStepIn .6s var(--ease-out) both; }
.af-success-check { width: 86px; height: 86px; margin: 0 auto 26px; }
.af-success-check circle {
  stroke: var(--mulberry);
  stroke-dasharray: 264;
  stroke-dashoffset: 264;
  animation: afDash .9s var(--ease-out) .15s forwards;
  filter: drop-shadow(0 0 12px rgba(var(--mulberry-rgb), .6));
}
.af-success-check path {
  stroke: var(--white);
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: afDash .5s var(--ease-out) .85s forwards;
}
@keyframes afDash { to { stroke-dashoffset: 0; } }
.af-success h2 span {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.af-success-sub {
  max-width: 52ch;
  margin: 14px auto 0;
  font-size: var(--text-base);
  line-height: 1.65;
  color: rgba(var(--white-rgb), .58);
}
.af-success-sub strong { color: var(--white); font-weight: 500; }
.af-success-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 860px;
  margin: 38px auto 0;
  text-align: left;
}
.af-success-step {
  padding: 20px;
  border: 1px solid var(--raisin);
  border-radius: 18px;
  background: linear-gradient(155deg, var(--raisin) 0%, var(--vampire) 72%);
}
.af-success-step .card-index { font-size: var(--text-xs); color: var(--granite); font-weight: 600; letter-spacing: .05em; }
.af-success-step h3 { margin-top: 26px; font-weight: 500; }
.af-success-step p:last-child { margin-top: 8px; font-size: var(--text-xs); line-height: var(--leading-xs); color: rgba(var(--white-rgb), .5); }
.af-success-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }

/* ── responsive ── */
@media (min-width: 1241px) {
  .af-toggle-step { display: none; }
}
@media (max-width: 1240px) {
  .af-body { grid-template-columns: clamp(170px, 20vw, 220px) minmax(0, 1fr); }
  .af-summary { display: none; }
  .af-nav-est { display: block; }
  .af-next, .af-submit { margin-left: 0; }
}
@media (max-width: 1024px) {
  .af-head { grid-template-columns: 1fr; row-gap: 26px; align-items: start; }
}
@media (max-width: 900px) {
  .anfrage { padding-top: 110px; }
  .af-body { display: block; }
  .af-rail {
    position: relative;
    top: auto;
    flex-direction: row;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 8px;
  }
  .af-rail::before, .af-rail::after {
    left: 24px; right: 24px; top: 24px;
    bottom: auto;
    width: auto;
    height: 1px;
  }
  .af-rail::after { width: calc((100% - 48px) * var(--p, 0) / 100); height: 1px; transition: width .5s var(--ease-out); }
  .af-rail-text { display: none; }
  .af-mprog { display: block; margin-bottom: 24px; font-size: var(--text-sm); color: rgba(var(--white-rgb), .55); }
  .af-mprog b { color: var(--white); font-weight: 600; }
  .af-pkgs { grid-template-columns: 1fr; }
  .af-grid2 { grid-template-columns: 1fr; }
  .af-addons { grid-template-columns: 1fr; }
  .af-addon-desc { padding-left: 0; }
  .af-success-steps { grid-template-columns: 1fr; }
  .af-nav { flex-wrap: wrap; }
  .af-nav-est { flex-basis: 100%; order: -1; margin-left: 0; text-align: left; }
  .af-next, .af-submit { margin-left: auto; }
  .af-range-scale span:nth-child(even) { visibility: hidden; }
}
@media (max-width: 560px) {
  .af-panel { padding: 22px 16px 26px; border-radius: 26px; }
  .af-nav .btn-lg { flex: 1; justify-content: space-between; }
}

/* ═══════════════════════════════════════════════════════
   LEGAL PAGES — Datenschutz / Impressum / AGB
   ═══════════════════════════════════════════════════════ */
.legal {
  position: relative;
  padding: clamp(120px, 15vh, 180px) var(--gutter) clamp(60px, 8vw, 110px);
  background:
    radial-gradient(44% 60% at 8% 0%, rgba(var(--mulberry-rgb), 0.45) 0%, transparent 72%),
    radial-gradient(36% 48% at 90% 8%, rgba(var(--mulberry-rgb), 0.3) 0%, transparent 70%);
}
.legal-head {
  position: relative;
  max-width: var(--container);
  margin: 0 auto clamp(44px, 6vw, 80px);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(280px, 4fr);
  column-gap: var(--section-head-gap);
  align-items: center;
}
.legal-body {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: clamp(230px, 20vw, 300px) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 72px);
  align-items: start;
}

/* TOC */
.legal-toc {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px;
  border: 1px solid rgba(var(--white-rgb), .09);
  border-radius: 20px;
  background: linear-gradient(155deg, var(--vampire) 0%, var(--vampire) 72%);
}
.legal-toc-title {
  margin-bottom: 10px;
  color: var(--mulberry);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.legal-toc a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  color: rgba(var(--white-rgb), .55);
  font-size: var(--text-sm);
  line-height: 1.35;
  transition: color .25s ease, background .25s ease;
}
.legal-toc a span {
  flex: none;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--granite);
  letter-spacing: .04em;
  transition: color .25s ease;
}
.legal-toc a:hover { color: var(--white); background: rgba(var(--white-rgb), .05); }
.legal-toc a.is-active { color: var(--white); background: rgba(var(--mulberry-rgb), .13); }
.legal-toc a.is-active span { color: var(--lilac); }

/* content — each section is its own card so ambient effects never sit behind text */
.legal-content { display: flex; flex-direction: column; gap: clamp(14px, 1.6vw, 20px); min-width: 0; }
.legal-section {
  scroll-margin-top: 110px;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid rgba(var(--white-rgb), .09);
  border-radius: 20px;
  background: linear-gradient(155deg, var(--vampire) 0%, var(--vampire) 72%);
  box-shadow: inset 0 1px 0 rgba(var(--white-rgb), .04);
  transition: border-color .35s ease;
}
.legal-section:hover { border-color: rgba(var(--mulberry-rgb), .35); }
.legal-section p, .legal-section ul { max-width: 76ch; }
.legal-num {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .05em;
}
.legal-section h2 {
  margin: 8px 0 16px;
  font-size: var(--heading-4);
  font-weight: 400;
  color: var(--white);
}
.legal-section p { margin-bottom: 14px; color: rgba(var(--white-rgb), .6); font-size: var(--text-base); line-height: var(--leading-base); }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section strong { color: rgba(var(--white-rgb), .92); font-weight: 500; }
.legal-section ul {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-section ul li {
  position: relative;
  padding-left: 20px;
  color: rgba(var(--white-rgb), .6);
  line-height: var(--leading-sm);
}
.legal-section ul li::before {
  content: "";
  position: absolute;
  left: 2px; top: .58em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--grad-brand);
}
.legal-link { color: rgba(var(--white-rgb), .85); border-bottom: 1px solid rgba(var(--mulberry-rgb), .55); transition: color .25s ease, border-color .25s ease; }
.legal-link:hover { color: var(--mulberry); border-color: var(--mulberry); }

/* responsible-party card */
.legal-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 6px;
  padding: 22px 24px;
  border: 1px solid rgba(var(--white-rgb), .1);
  border-radius: 18px;
  background: linear-gradient(155deg, var(--raisin) 0%, var(--vampire) 72%);
}
.legal-card p { margin: 0; color: rgba(var(--white-rgb), .68); }
.legal-card-name { font-size: var(--text-base); color: var(--white) !important; font-weight: 500; }
.legal-card-name small {
  display: block;
  margin-top: 2px;
  color: var(--lilac);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.legal-card a { color: rgba(var(--white-rgb), .85); transition: color .25s ease; }
.legal-card a:hover { color: var(--mulberry); }

/* rights grid */
.legal-rights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0;
}
.legal-right {
  padding: 16px 18px;
  border: 1px solid rgba(var(--white-rgb), .09);
  border-radius: 16px;
  background: rgba(var(--white-rgb), .028);
  transition: border-color .3s ease, background .3s ease;
}
.legal-right:hover { border-color: rgba(var(--mulberry-rgb), .5); background: rgba(var(--mulberry-rgb), .06); }
.legal-right small {
  display: block;
  color: var(--lilac);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.legal-right strong { display: block; margin: 4px 0 6px; color: var(--white); font-weight: 500; }
.legal-right p { margin: 0; font-size: var(--text-sm); line-height: var(--leading-sm); color: rgba(var(--white-rgb), .52); }

@media (max-width: 1024px) {
  .legal-head { grid-template-columns: 1fr; row-gap: 26px; }
  .legal-body { grid-template-columns: 1fr; }
  .legal-toc { position: relative; top: auto; flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .legal-toc-title { flex-basis: 100%; }
  .legal-toc a { padding: 7px 12px; border: 1px solid rgba(var(--white-rgb), .1); border-radius: 999px; }
  .legal-toc a span { display: none; }
}
@media (max-width: 640px) {
  .legal-rights { grid-template-columns: 1fr; }
}
