/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #0A0B08;
  --bg-2:      #101208;
  --bg-3:      #171A0D;
  --olive:     #1E2411;   /* tinted mid-tone: gives surfaces depth between black and lime */
  --olive-2:   #2B3416;
  --ink:       #F4F6E9;
  --ink-soft:  rgba(244,246,233,0.78);
  --ink-mute:  rgba(244,246,233,0.6);   /* ≥ 6:1 on --bg (was 0.45 ≈ 4.2:1) */
  --nav-gray:  rgba(244,246,233,0.78);
  --danger:    #E2725B;
  --accent:    #C6FF3D;
  --accent-2:  #FFD23D;
  --accent-dim: rgba(198,255,61,0.14);
  --line:      rgba(244,246,233,0.14);
  --line-2:    rgba(244,246,233,0.08);

  /* System UI face for reading text (Apple's default); mono is kept for
     the brand voice: logo, kickers, numbers and the terminal. */
  --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --radius: 18px;
  --radius-sm: 12px;
  --gutter: 24px;

  /* material: light catching the top edge + soft deep shadow */
  --card-bg: linear-gradient(180deg, rgba(244,246,233,0.055), rgba(244,246,233,0.018));
  --card-edge: inset 0 1px 0 rgba(244,246,233,0.08);
  --card-shadow: 0 28px 48px -30px rgba(0,0,0,0.75);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
  -webkit-tap-highlight-color: transparent;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; touch-action: manipulation; }
a { color: inherit; text-decoration: none; touch-action: manipulation; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { font-family: var(--sans); text-wrap: balance; line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; }
::selection { background: var(--accent); color: var(--bg); }

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

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--accent); color: var(--bg);
  z-index: 9999; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }

.fine-note { font-size: .875rem; color: var(--ink-mute); margin-top: 28px; max-width: 70ch; }

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: var(--accent);
  z-index: 400;
}

/* =============================================================
   4. Typography
   ============================================================= */
.kicker {
  display: block;
  font-family: var(--mono);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.kicker::before { content: "// "; color: var(--accent); }

.section-title {
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--ink);
  max-width: 20ch;
  margin-bottom: 20px;
}
.section-lede { max-width: 60ch; color: var(--ink-soft); font-size: 1.0625rem; line-height: 1.6; margin-bottom: 40px; }

.accent-text { color: var(--accent); }

/* =============================================================
   5. Components
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-weight: 650; font-size: .9375rem; letter-spacing: -0.005em;
  padding: 14px 24px; border-radius: 999px;
  transition: transform .18s var(--ease-out), box-shadow .2s var(--ease-out), filter .2s ease, border-color .2s ease, color .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn svg { transition: transform .25s var(--ease-out); }
/* Feedback lives on the press and is immediate (pointer-down, not release) */
.btn:active { transform: scale(0.97); transition-duration: .08s; }
.btn-accent { background: var(--accent); color: var(--bg); box-shadow: 0 8px 24px rgba(198,255,61,0.2); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-large { padding: 17px 30px; font-size: 1rem; }
.btn-small { padding: 10px 18px; font-size: .875rem; }
.btn-block { width: 100%; justify-content: center; }
.btn[disabled] { opacity: .6; transform: none; }

@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn:hover:active { transform: scale(0.97); }
  .btn:hover svg { transform: translateX(3px); }
  .btn-accent:hover { filter: brightness(1.07); box-shadow: 0 12px 30px rgba(198,255,61,0.3); }
  .btn-outline:hover { border-color: var(--accent); color: var(--accent); }
}

/* =============================================================
   6. Header / nav
   ============================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 18px 0;
  transition: padding .3s var(--ease-out);
}
/* Translucent material that fades out at its lower edge — content scrolls
   under it instead of meeting a hard 1px divider. */
.site-header::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: -16px; z-index: -1;
  background: rgba(10,11,8,0.72);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-mask-image: linear-gradient(#000 calc(100% - 16px), transparent);
  mask-image: linear-gradient(#000 calc(100% - 16px), transparent);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.site-header.scrolled { padding: 12px 0; }
.site-header.scrolled::before { opacity: 1; }
.header-inner { display: flex; align-items: center; gap: 24px; }
.header-left { display: flex; align-items: center; gap: 48px; }
.logo { display: inline-flex; align-items: baseline; gap: 6px; font-family: var(--mono); font-weight: 800; font-size: 1.125rem; color: var(--ink); flex-shrink: 0; }
.logo-mark { color: var(--accent); font-weight: 700; }
.logo-sub { color: var(--accent); }

.main-nav { display: flex; gap: 32px; }
.nav-link { position: relative; font-size: .9375rem; font-weight: 500; white-space: nowrap; color: var(--nav-gray); transition: color .2s ease; padding: 10px 0; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 1.5px; background: var(--accent); transition: right .3s var(--ease-out); }
.nav-link[aria-current="true"] { color: var(--ink); }
.nav-link[aria-current="true"]::after { right: 0; }
@media (hover: hover) {
  .nav-link:hover { color: var(--ink); }
  .nav-link:hover::after { right: 0; }
}
.nav-link-cta-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 4px; margin-right: -4px; }
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--ink); transition: transform .3s var(--ease-out), opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-scrim { position: fixed; inset: 0; background: rgba(10,11,8,0.6); opacity: 0; pointer-events: none; transition: opacity .3s ease; z-index: 150; }
.nav-scrim.open { opacity: 1; pointer-events: auto; }

/* =============================================================
   7. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  padding: 112px var(--gutter) 64px;
  overflow: hidden;
  text-align: center;
}
.hero-gradient {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 55% at 22% 24%, rgba(198,255,61,0.2) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 82% 78%, rgba(43,52,22,0.55) 0%, transparent 72%),
    var(--bg);
}
.hero-gradient-dim { opacity: .5; }
/* The only moving background: two soft blobs driven by transform
   (compositor-only) instead of repainting a blurred full-bleed gradient. */
.hero-blob {
  position: absolute; z-index: 0; border-radius: 50%; pointer-events: none;
  width: 620px; height: 620px;
  will-change: transform;
}
.hero-blob-a { top: -160px; left: -120px; background: radial-gradient(circle, rgba(198,255,61,0.22), transparent 65%); }
.hero-blob-b { bottom: -220px; right: -140px; background: radial-gradient(circle, rgba(198,255,61,0.1), transparent 65%); }
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(rgba(244,246,233,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(244,246,233,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 40%, black, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 40%, black, transparent 78%);
}
.hero-inner {
  position: relative; z-index: 1; width: 100%;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; align-items: center;
}
.hero-copy { max-width: 640px; margin: 0 auto; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 18px 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(244,246,233,0.04);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-family: var(--mono);
  font-size: .8125rem; font-weight: 700; letter-spacing: .02em;
  color: var(--ink-soft);
  margin-bottom: 26px;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent);
  box-shadow: 0 0 9px 1px rgba(198,255,61,0.7);
  animation: badgePulse 2.4s ease-in-out infinite;
}
@keyframes badgePulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

.hero-title {
  font-size: clamp(2.9rem, 9.5vw, 5.25rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.045em;
  margin: 4px 0 24px;
}
/* Line-by-line mask reveal: each line slides up out of its own clip */
.hero-title .line { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.hero-title .line > span { display: inline-block; transform: translateY(108%); animation: lineUp .95s var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 80ms + 80ms); }
@keyframes lineUp { to { transform: translateY(0); } }

.hero-sub { color: var(--ink-soft); font-size: 1.125rem; line-height: 1.55; max-width: 48ch; margin: 0 auto 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-ctas .btn { min-width: 0; }
.hero-proof {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px;
  font-size: .875rem; color: var(--ink-mute);
}
.hero-proof li { display: inline-flex; align-items: center; gap: 7px; }
.hero-proof svg { color: var(--accent); flex-shrink: 0; }

.hero-scroll-cue { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 1; }
.hero-scroll-cue span { display: block; width: 1px; height: 34px; background: linear-gradient(var(--accent), transparent); animation: scrollCue 2s var(--ease-soft) infinite; }
@keyframes scrollCue { 0% { transform: scaleY(0); transform-origin: top; opacity: 0; } 40% { transform: scaleY(1); transform-origin: top; opacity: 1; } 60% { opacity: 1; } 100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; } }

/* Terminal panel — the hero's "product object" */
.terminal-wrap { position: relative; width: 100%; max-width: 560px; margin: 0 auto; }
.terminal-wrap::before {
  content: ""; position: absolute; inset: 8% -6% -10%; z-index: -1;
  background: radial-gradient(ellipse at 50% 50%, rgba(198,255,61,0.16), transparent 70%);
  pointer-events: none;
}
.terminal-panel {
  position: relative;
  background: linear-gradient(180deg, rgba(30,36,17,0.92), rgba(16,18,8,0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--card-edge), 0 40px 80px -30px rgba(0,0,0,0.8);
  will-change: transform;
}
.terminal-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 16px;
  background: rgba(244,246,233,0.04);
  border-bottom: 1px solid var(--line-2);
}
.terminal-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(244,246,233,0.22); }
.terminal-title { margin-left: 8px; font-family: var(--mono); font-size: .8125rem; color: var(--ink-mute); }
.terminal-body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 11px; font-family: var(--mono); }
.terminal-body p { margin: 0; font-size: .9375rem; line-height: 1.5; }
.t-line { opacity: 0; animation: termLineIn .5s var(--ease-out) forwards; }
.t-line-1 { animation-delay: .35s; }
.t-line-2 { animation-delay: .8s; }
.t-line-3 { animation-delay: 1.25s; }
.t-line-4 { animation-delay: 1.7s; }
.t-line-5 { animation-delay: 2.25s; }
@keyframes termLineIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.t-prompt { color: var(--accent); font-weight: 700; margin-right: 6px; }
.t-out { color: var(--ink-mute); }
.t-ok { color: var(--accent); font-weight: 600; }
.t-cursor { display: inline-block; animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.terminal-caption { margin-top: 14px; font-size: .8125rem; color: var(--ink-mute); text-align: center; }

@media (min-width: 1024px) {
  .hero { text-align: left; }
  .hero-inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 64px; }
  .hero-copy { margin: 0; max-width: none; }
  .hero-sub { margin-left: 0; }
  .hero-ctas, .hero-proof { justify-content: flex-start; }
  .terminal-wrap { margin: 0 0 0 auto; }
}

/* =============================================================
   8. Sections
   ============================================================= */
.section { padding: 112px 0; position: relative; }
.section > .wrap { position: relative; z-index: 1; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg-3) 130%); }
.section-dark { background: var(--bg); overflow: hidden; }

/* Servicios */
.services-list { margin-top: 44px; border-top: 1px solid var(--line); }
.service-row { border-bottom: 1px solid var(--line); }
.service-head {
  width: 100%; display: flex; align-items: baseline; gap: 20px;
  padding: 26px 8px; text-align: left; border-radius: 10px;
  transition: background .2s ease;
}
.service-n { font-family: var(--mono); font-size: .875rem; font-weight: 700; color: var(--ink-mute); flex-shrink: 0; width: 2ch; transition: color .2s ease; }
.service-name {
  font-size: clamp(1.2rem, 2.6vw, 1.75rem); font-weight: 650; letter-spacing: -0.025em; flex: 1;
  transition: transform .3s var(--ease-out);
}
.service-toggle { color: var(--ink-mute); flex-shrink: 0; align-self: center; transition: transform .35s var(--ease-out), color .2s ease; }
.service-row.is-open .service-n { color: var(--accent); }
.service-row.is-open .service-toggle { transform: rotate(45deg); color: var(--accent); }
@media (hover: hover) {
  .service-head:hover { background: rgba(244,246,233,0.035); }
  .service-head:hover .service-name { transform: translateX(4px); }
}
.service-body { padding: 0 8px 28px calc(2ch + 28px); max-width: 72ch; }
.service-brief { color: var(--ink-soft); font-size: 1rem; }
/* Height animates through grid rows (0fr → 1fr): no fixed max-height, no
   clipped text, and it can be interrupted mid-flight like any transition. */
.service-detail { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .4s var(--ease-out), opacity .3s ease; }
.service-detail > p { overflow: hidden; min-height: 0; color: var(--ink-mute); font-size: .9375rem; }
.service-detail > p::before { content: ""; display: block; height: 10px; }  /* spacing as content, so the collapsed row is truly 0px */
.js .service-row:not(.is-open) .service-detail { grid-template-rows: 0fr; opacity: 0; }

/* Metodología — connected steps that draw in when the section arrives */
.method-flow { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.method-card {
  position: relative; padding-top: 58px;
  opacity: .35; transform: translateY(10px);
  transition: opacity .6s var(--ease-out) calc(var(--i, 0) * .4s), transform .6s var(--ease-out) calc(var(--i, 0) * .4s);
}
.method-dot {
  position: absolute; top: 0; left: 0; width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-2); border: 1.5px solid var(--line);
  font-family: var(--mono); font-size: .8125rem; font-weight: 700; color: var(--ink-mute); z-index: 1;
  transition: background .4s ease calc(var(--i, 0) * .4s), border-color .4s ease calc(var(--i, 0) * .4s), color .4s ease calc(var(--i, 0) * .4s), box-shadow .4s ease calc(var(--i, 0) * .4s);
}
.method-card::before, .method-card::after {
  content: ""; position: absolute; top: 15px; left: 40px; width: calc(100% - 16px); height: 1.5px;
}
.method-card::before { background: var(--line); }
.method-card::after { background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease-out) calc(var(--i, 0) * .4s + .3s); }
.method-card:last-child::before, .method-card:last-child::after { display: none; }
.method-flow.is-in .method-card { opacity: 1; transform: none; }
.method-flow.is-in .method-dot { background: var(--accent); border-color: var(--accent); color: var(--bg); box-shadow: 0 0 0 5px var(--accent-dim); }
.method-flow.is-in .method-card::after { transform: scaleX(1); }
.method-card h3 { font-size: 1.1875rem; margin-bottom: 8px; }
.method-card p { font-size: .9375rem; color: var(--ink-soft); }

/* Por qué BCAi */
.diff-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.diff-block {
  background: var(--card-bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  box-shadow: var(--card-edge), var(--card-shadow);
  padding: 34px;
  transition: border-color .25s ease, transform .35s var(--ease-out);
}
@media (hover: hover) { .diff-block:hover { border-color: var(--line); } }
.diff-n { display: block; font-family: var(--mono); font-size: .875rem; font-weight: 700; color: var(--accent); margin-bottom: 14px; }
.diff-block h3 { font-size: 1.1875rem; margin-bottom: 12px; }
.diff-block p { font-size: .9375rem; color: var(--ink-soft); }

/* Savings calculator */
.calc-panel {
  position: relative;
  margin-top: 44px;
  background: linear-gradient(180deg, rgba(43,52,22,0.55), rgba(30,36,17,0.35));
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--card-edge), var(--card-shadow);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.calc-inputs { display: flex; flex-direction: column; gap: 26px; }
.calc-field { display: flex; flex-direction: column; gap: 4px; }
.calc-field label { font-size: .9375rem; font-weight: 600; color: var(--ink-soft); }
.calc-field-value { font-family: var(--mono); font-size: .9375rem; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }

/* 44px touch target, 28px thumb, filled track that follows the value */
.calc-field input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 44px;
  margin: 0;
  background: transparent;
  outline: none;
  cursor: pointer;
  touch-action: pan-y;
}
.calc-field input[type="range"]::-webkit-slider-runnable-track {
  height: 44px;
  background: linear-gradient(to right, var(--accent) var(--p, 0%), var(--line) var(--p, 0%)) center / 100% 4px no-repeat;
  border-radius: 999px;
}
.calc-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px; height: 28px; margin-top: 8px;
  border-radius: 50%;
  background: var(--ink);
  border: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5), 0 0 0 1px rgba(10,11,8,0.4);
  transition: transform .15s var(--ease-out), box-shadow .2s ease;
}
.calc-field input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
.calc-field input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 2px 10px rgba(0,0,0,0.5), 0 0 0 3px var(--accent); }
.calc-field input[type="range"]::-moz-range-track { height: 4px; border-radius: 999px; background: var(--line); }
.calc-field input[type="range"]::-moz-range-progress { height: 4px; border-radius: 999px; background: var(--accent); }
.calc-field input[type="range"]::-moz-range-thumb {
  width: 28px; height: 28px; border-radius: 50%; border: 0;
  background: var(--ink);
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.calc-field input[type="range"]:focus-visible { outline: none; }
.calc-field input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px var(--accent); }

.calc-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.calc-result-block {
  background: rgba(10,11,8,0.55);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  padding: 20px; display: flex; flex-direction: column; gap: 6px;
}
.calc-result-block-accent { grid-column: 1 / -1; background: var(--accent-dim); border-color: rgba(198,255,61,0.3); }
.calc-result-value { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.calc-result-block-accent .calc-result-value { color: var(--accent); }
.calc-result-label { font-size: .875rem; color: var(--ink-mute); line-height: 1.4; }
.calc-cta { grid-column: 1 / -1; justify-self: center; }

/* Team */
.team-grid { margin-top: 12px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.team-card { display: flex; flex-direction: column; gap: 6px; }
.team-photo {
  width: 100%; height: auto;
  margin-bottom: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  box-shadow: var(--card-shadow);
  filter: grayscale(1) contrast(1.05);
}
.team-name { font-size: 1.375rem; margin-bottom: 2px; }
.team-role { font-size: .9375rem; color: var(--ink-soft); font-weight: 600; margin-bottom: 12px; }
.team-bio { font-size: .9375rem; color: var(--ink-soft); }

/* Contact */
.contact-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 60px; align-items: start; position: relative; z-index: 1; }
.contact-title { max-width: 15ch; }
.contact-email { display: inline-block; margin-top: 8px; font-family: var(--mono); font-size: clamp(1.05rem, 2.2vw, 1.35rem); font-weight: 700; color: var(--ink); border-bottom: 1.5px solid var(--accent); padding-bottom: 2px; }
.audit-form {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--card-edge), 0 40px 70px -40px rgba(0,0,0,0.9);
  padding: 32px; display: flex; flex-direction: column; gap: 16px;
}
.form-row { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form-row label { font-size: .875rem; font-weight: 600; color: var(--ink-soft); }
.form-optional { font-weight: 400; color: var(--ink-mute); }
.form-row input, .form-row textarea, .form-row select {
  font-family: var(--sans); font-size: 1rem; padding: 13px 14px;   /* 16px: iOS Safari won't zoom the page on focus */
  border-radius: 10px; border: 1.5px solid var(--line); background: rgba(10,11,8,0.7);
  color: var(--ink); outline: none; transition: border-color .2s ease, box-shadow .2s ease; resize: vertical;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.form-row select {
  -webkit-appearance: none; appearance: none; cursor: pointer;
  width: 100%; min-width: 0; max-width: 100%; text-overflow: ellipsis;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23F4F6E9' stroke-opacity='.6' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 14px;
  color-scheme: dark;
}
.form-row select:invalid { color: var(--ink-mute); }       /* placeholder option reads as a placeholder */
.form-row select option { background: #11130a; color: var(--ink); }
.form-row.invalid input, .form-row.invalid select { border-color: #ff6b5e; }
.form-check { display: flex; align-items: flex-start; gap: 10px; font-size: .9375rem; line-height: 1.45; font-weight: 400; color: var(--ink-soft); cursor: pointer; }
.form-check input { all: revert; flex-shrink: 0; width: 15px; height: 15px; margin: 3px 0 0; accent-color: var(--accent); cursor: pointer; }
.form-check a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) { .form-check a:hover { color: var(--accent); } }
.form-row.invalid .form-check { color: #ff8a7e; }
.form-error { font-size: .8125rem; color: #ff8a7e; min-height: 16px; }
.form-success { display: flex; align-items: flex-start; gap: 10px; background: rgba(198,255,61,0.1); border-radius: 10px; padding: 14px; color: var(--accent); }
.form-success svg { flex-shrink: 0; margin-top: 3px; }
.form-success p { color: var(--ink); font-size: .9375rem; }

/* Footer */
.site-footer { padding: 56px 0 30px; border-top: 1px solid var(--line-2); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer-logo { font-size: 1rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-nav a { font-size: .875rem; color: var(--ink-mute); transition: color .2s ease; }
.footer-copy { width: 100%; font-size: .8125rem; color: var(--ink-mute); padding-top: 20px; border-top: 1px solid var(--line-2); margin-top: 8px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink-soft); transition: color .2s ease, border-color .2s ease, transform .15s var(--ease-out); }
.footer-social a:active { transform: scale(0.94); }
.footer-legal a { transition: color .2s ease; }
@media (hover: hover) {
  .footer-nav a:hover, .footer-legal a:hover { color: var(--accent); }
  .footer-social a:hover { color: var(--accent); border-color: var(--accent); }
}

/* Cookie consent banner */
.cookie-banner {
  position: fixed; left: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 250;
  max-width: 620px;
  display: flex; align-items: center; gap: 20px;
  padding: 18px 20px;
  background: rgba(18,20,8,0.9);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--card-edge), 0 24px 50px rgba(0,0,0,0.5);
}
.cookie-banner p { font-size: .875rem; line-height: 1.55; color: var(--ink-soft); }
.cookie-banner a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* Tecnologías con las que trabajamos — a quiet, static strip (no marquee:
   looping motion is avoided on purpose). Names are plain text, not logos. */
.brands { padding: 56px 0 8px; }
.brands-title { text-align: center; font-family: var(--mono); font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 22px; }
/* Moving strip: items drift left → right, slowly. It pauses on hover/focus and
   becomes a static, wrapped row when the visitor prefers reduced motion. */
.brands-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.brands-track { display: flex; width: max-content; animation: brandsDrift 42s linear infinite; }
.brands-marquee:hover .brands-track { animation-play-state: paused; }
@keyframes brandsDrift { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.brands-group { list-style: none; padding: 0; margin: 0; display: flex; align-items: center; flex-shrink: 0; }
.brand { display: flex; align-items: center; justify-content: center; height: 56px; padding: 0 28px; opacity: .8; }
.brand-text { font-size: 1.1875rem; font-weight: 650; letter-spacing: -0.02em; color: var(--ink-soft); white-space: nowrap; }
.brand-logo img { width: auto; display: block; }
.brand-n8n img { height: 30px; }
.brand-elevenlabs img { height: 20px; }
.brand-anthropic img { height: 17px; }
.brand-meta img { height: 24px; }
.brand-openai img { height: 52px; }   /* the blossom file carries built-in clear space */
@media (max-width: 719px) {
  .brand { padding: 0 20px; height: 48px; }
  .brand-n8n img { height: 26px; }
  .brand-elevenlabs img { height: 17px; }
  .brand-anthropic img { height: 15px; }
  .brand-meta img { height: 21px; }
  .brand-openai img { height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .brands-marquee { -webkit-mask-image: none; mask-image: none; }
  .brands-track { animation: none; width: auto; justify-content: center; }
  .brands-group { flex-wrap: wrap; justify-content: center; }
  .brands-group[aria-hidden="true"] { display: none; }
}
@media (max-width: 719px) {
  .brands { padding-top: 44px; }
}

/* =============================================================
   Demos — a swipeable row of small, self-playing simulations
   ============================================================= */
.demos { margin-top: 8px; }
.demos-viewport {
  --demo-pad: max(var(--gutter), calc((100% - 1100px) / 2));
  display: flex; gap: 20px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 8px var(--demo-pad) 28px;
  scroll-padding-inline: var(--demo-pad);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.demos-viewport::-webkit-scrollbar { display: none; }
.demos-viewport:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; border-radius: 18px; }

.demo {
  flex: 0 0 min(1100px, calc(100vw - 2 * var(--gutter) - 28px));
  scroll-snap-align: start;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 44px; align-items: center;
  padding: 36px;
  background: var(--card-bg);
  border: 1px solid var(--line-2);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--card-edge), var(--card-shadow);
}
.demo-tags { font-family: var(--mono); font-size: .8125rem; font-weight: 700; letter-spacing: .04em; color: var(--ink-mute); margin-bottom: 14px; }
.demo-name { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.035em; margin-bottom: 14px; }
.demo-desc { color: var(--ink-soft); font-size: 1.0625rem; margin-bottom: 20px; max-width: 46ch; }
.demo-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.demo-points li { position: relative; padding-left: 22px; font-size: .9375rem; color: var(--ink-soft); }
.demo-points li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 1.5px; background: var(--accent); }

.demo-stage { width: 100%; max-width: 440px; justify-self: end; }
.demo-frame {
  aspect-ratio: 1 / 1; width: 100%;
  display: flex; flex-direction: column; overflow: hidden;
  background: linear-gradient(180deg, rgba(30,36,17,0.95), rgba(14,16,8,0.98));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--card-edge), 0 36px 60px -34px rgba(0,0,0,0.9);
}
.demo-bar { display: flex; align-items: center; gap: 10px; padding: 11px 14px; background: rgba(244,246,233,0.04); border-bottom: 1px solid var(--line-2); flex-shrink: 0; }
.demo-dots { display: inline-flex; gap: 6px; }
.demo-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(244,246,233,0.2); }
.demo-bar-title { font-family: var(--mono); font-size: .75rem; color: var(--ink-mute); }
.demo-body { flex: 1; min-height: 0; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.demo-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: .8125rem; color: var(--ink-mute); }
.demo-replay { font-size: .8125rem; font-weight: 600; color: var(--ink-soft); padding: 8px 12px; margin: -8px -12px; border-radius: 999px; transition: color .2s ease; }
.demo-replay:active { transform: scale(0.96); }
@media (hover: hover) { .demo-replay:hover { color: var(--accent); } }

/* — Restionalo — real palette: stone neutrals, orange brand (#ea580c), floor-plan
   table colors and the WhatsApp simulator colors, as in the app itself. */
.demo-frame[data-demo="restionalo"] { background: #fafaf9; border-color: #e7e5e4; color: #1c1917; }
.demo-frame[data-demo="restionalo"] .demo-bar { background: #fff; border-bottom-color: #e7e5e4; }
.demo-frame[data-demo="restionalo"] .demo-dots i { background: #d6d3d1; }
.demo-frame[data-demo="restionalo"] .demo-bar-title { font-family: var(--sans); font-size: .8125rem; color: #78716c; }
.demo-frame[data-demo="restionalo"] .demo-bar-title b { color: #ea580c; font-weight: 700; }
.resto-floor {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; flex-shrink: 0;
  padding: 7px; border: 1px solid #e7e5e4; border-radius: 12px;
  background: #fff radial-gradient(circle, #e7e5e4 1px, transparent 1px) 0 0 / 14px 14px;
}
.tbl {
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 0;
  padding: 5px 1px; min-height: 46px;
  border: 2px solid #22c55e; background: #f0fdf4; border-radius: 8px;     /* libre: green-500 / green-50 */
  font-size: .75rem; color: #1c1917; box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  transition: background .4s ease, border-color .4s ease, transform .4s var(--ease-out), box-shadow .4s ease;
}
.tbl b { font-weight: 700; }
.tbl small { font-size: .5625rem; line-height: 1.15; color: #57534e; white-space: nowrap; }
.tbl.t-seated { border-color: #ef4444; background: #fee2e2; }          /* sentados: red-500 / red-100 */
.tbl.t-booked { border-color: #f59e0b; background: #fde68a; }          /* reservada ahora: amber-500 / amber-200 */
.tbl.t-next { border-color: #facc15; background: #fefce8; }            /* reserva más tarde: yellow-400 / yellow-50 */
.tbl.t-next small { color: #a16207; font-weight: 600; }                 /* yellow-700 */
.tbl.is-mine { border-color: #f59e0b; background: #fde68a; transform: scale(1.07); box-shadow: 0 0 0 3px #fdba74; }
.resto-chat { flex: 1; min-height: 0; display: flex; flex-direction: column; border-radius: 12px; background: #efeae2; overflow: hidden; border: 1px solid #e7e5e4; }
.chat-head { display: flex; align-items: center; gap: 7px; padding: 6px 10px; font-size: .6875rem; font-weight: 600; background: #075e54; color: #fff; flex-shrink: 0; }
.chat-avatar { width: 14px; height: 14px; border-radius: 50%; background: rgba(255,255,255,0.85); }
.chat-msgs { flex: 1; min-height: 0; padding: 6px 8px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; overflow: hidden; }
.bub { max-width: 84%; padding: 5px 9px; border-radius: 8px; font-size: .75rem; line-height: 1.3; color: #1c1917; box-shadow: 0 1px 1px rgba(0,0,0,0.1); animation: bubIn .35s var(--ease-out) both; }
.bub.me { align-self: flex-end; background: #d9fdd3; }     /* el cliente: verde WhatsApp */
.bub.bot { align-self: flex-start; background: #fff; }     /* el asistente: blanco */
.bub.typing { display: inline-flex; gap: 4px; padding: 9px 11px; }
.bub.typing i { width: 5px; height: 5px; border-radius: 50%; background: #a8a29e; animation: typingDot 1s ease-in-out infinite; }
.bub.typing i:nth-child(2) { animation-delay: .15s; }
.bub.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bubIn { from { opacity: 0; transform: translateY(6px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes typingDot { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-2px); } }

/* — CRM — */
.crm-top { display: flex; justify-content: space-between; align-items: center; font-size: .8125rem; font-weight: 600; color: var(--ink-soft); flex-shrink: 0; }
.crm-stat { font-weight: 500; color: var(--ink-mute); }
.crm-stat b { color: var(--ink); font-variant-numeric: tabular-nums; margin-left: 4px; display: inline-block; }
.crm-stat b.bump { animation: statBump .5s var(--ease-out); }
@keyframes statBump { 0% { transform: translateY(6px); opacity: 0; } 100% { transform: none; opacity: 1; } }
.crm-board { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; flex-shrink: 0; }
.crm-col { background: rgba(244,246,233,0.04); border-radius: 10px; padding: 7px; min-height: 100px; display: flex; flex-direction: column; gap: 6px; }
.crm-col h4 { font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 2px; }
.crm-ghost { display: block; height: 24px; border-radius: 8px; border: 1px dashed var(--line-2); }
.crm-card {
  position: absolute; top: 30px; left: 0;
  width: calc((100% - 16px) / 3);
  padding: 7px 8px; border-radius: 8px;
  background: var(--olive-2); border: 1px solid rgba(198,255,61,0.35);
  box-shadow: 0 10px 20px -10px rgba(0,0,0,0.7);
  transform: translateX(calc(var(--c, 0) * (100% + 8px)));
  transition: transform .7s var(--ease-out), opacity .4s ease;
  display: flex; flex-direction: column; gap: 1px;
}
.crm-card b { font-size: .75rem; }
.crm-card span { font-size: .6875rem; color: var(--ink-mute); line-height: 1.25; }
.crm-agenda {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px;
  padding: 8px 11px; border-radius: 10px;
  background: var(--accent-dim); border: 1px solid rgba(198,255,61,0.3);
  font-size: .75rem; opacity: 0; transform: translateY(8px);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
}
.crm-agenda.is-on { opacity: 1; transform: none; }
.crm-agenda-time { font-family: var(--mono); font-weight: 700; color: var(--accent); }
.crm-agenda-ok { margin-left: auto; font-size: .6875rem; color: var(--ink-soft); }

/* — FaderMind — real "Onda" dark theme: #100f16 background, #18161f / #221f2c
   surfaces, #2d2a39 borders, #9d85ff accent with #140b33 ink, #4fd1a0 success. */
.demo-frame[data-demo="fadermind"] { background: #100f16; border-color: #2d2a39; color: #eceaf4; box-shadow: 0 36px 60px -34px rgba(0,0,0,0.9), 0 0 60px -20px rgb(157 133 255 / 0.35); }
.demo-frame[data-demo="fadermind"] .demo-bar { background: #18161f; border-bottom-color: #2d2a39; }
.demo-frame[data-demo="fadermind"] .demo-dots i { background: #2d2a39; }
.demo-frame[data-demo="fadermind"] .demo-bar-title { font-family: var(--sans); font-size: .8125rem; color: #9c97ae; }
.demo-frame[data-demo="fadermind"] .demo-bar-title b { color: #eceaf4; font-weight: 700; }
.fm { gap: 10px; }
.fm-file { display: flex; align-items: center; gap: 10px; padding: 8px 11px; background: #18161f; border: 1px solid #2d2a39; border-radius: 12px; font-size: .8125rem; font-weight: 600; }
.fm-file-icon { width: 26px; height: 26px; border-radius: 8px; background: rgb(157 133 255 / 0.15); color: #9d85ff; display: grid; place-items: center; }
.fm-file em { margin-left: auto; font-style: normal; font-weight: 500; color: #9c97ae; font-size: .75rem; transition: color .3s ease; }
.fm-file em.is-done { color: #4fd1a0; }
.fm-progress { height: 5px; border-radius: 999px; background: #2d2a39; overflow: hidden; margin-top: -3px; }
.fm-progress i { display: block; height: 100%; width: 100%; background: #9d85ff; box-shadow: 0 0 12px rgb(157 133 255 / 0.6); transform: scaleX(0); transform-origin: left; }
.fm-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
.fm-stat { padding: 8px 6px; min-width: 0; border-radius: 12px; background: #18161f; border: 1px solid #2d2a39; opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease-out), transform .4s var(--ease-out); }
.fm-stat.is-on { opacity: 1; transform: none; }
.fm-stat span { display: block; font-size: .5625rem; line-height: 1.2; color: #9c97ae; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fm-stat b { display: block; margin-top: 3px; font-size: 1.125rem; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1.1; color: #eceaf4; }
.fm-stat.is-issue b { color: #9d85ff; }
.fm-logo { fill: #9d85ff; flex-shrink: 0; }
.fm-chat { margin-top: auto; display: flex; flex-direction: column; gap: 6px; }
.fm-bub { max-width: 88%; padding: 7px 11px; font-size: .75rem; line-height: 1.35; border-radius: 16px; opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease-out), transform .4s var(--ease-out); }
.fm-bub.is-on { opacity: 1; transform: none; }
.fm-me { align-self: flex-end; background: #9d85ff; color: #140b33; border-bottom-right-radius: 4px; }
.fm-agent { align-self: flex-start; background: #221f2c; color: #eceaf4; border-bottom-left-radius: 4px; }

/* — Controls — */
.demos-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 4px; }
.demos-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: border-color .2s ease, color .2s ease, opacity .2s ease, transform .15s var(--ease-out); }
.demos-arrow:active { transform: scale(0.94); }
.demos-arrow[disabled] { opacity: .35; pointer-events: none; }
@media (hover: hover) { .demos-arrow:hover { border-color: var(--accent); color: var(--accent); } }
.demos-dots { display: flex; gap: 2px; }
.demos-dot { width: 28px; height: 44px; display: grid; place-items: center; }
.demos-dot::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--line); transition: width .3s var(--ease-out), background .3s ease; }
.demos-dot[aria-current="true"]::before { width: 24px; background: var(--accent); }

@media (max-width: 859px) {
  .demo { flex-basis: calc(100vw - 2 * var(--gutter) + 8px); grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 18px; }
  .demo-stage { order: -1; justify-self: center; max-width: none; }   /* the demo first, then what it is */
  .demo-desc { max-width: none; }
  .demos-viewport { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .bub { animation: none; }
  .bub.typing i { animation: none; }
  .crm-card { transition: none; }
  .tbl, .fm-stat, .fm-bub, .crm-agenda { transition: none; }
}

/* ¿Te suena? — recognisable pains, in the first person, before any service */
.pains { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pain {
  background: var(--card-bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  box-shadow: var(--card-edge), var(--card-shadow);
  padding: 28px 28px 30px;
  transition: border-color .25s ease;
}
@media (hover: hover) { .pain:hover { border-color: var(--line); } }
.pain-n { display: block; font-family: var(--mono); font-size: .875rem; font-weight: 700; color: var(--accent); margin-bottom: 16px; }
.pain p { font-size: 1.125rem; font-weight: 600; line-height: 1.4; letter-spacing: -0.015em; color: var(--ink); text-wrap: balance; }
.pains-close { margin-top: 44px; }
.pains-close-text { font-size: 1.25rem; font-weight: 650; line-height: 1.35; letter-spacing: -0.02em; max-width: 40ch; }
@media (max-width: 959px) {
  .pains { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 719px) {
  .pains { grid-template-columns: 1fr; gap: 12px; margin-top: 32px; }
  .pain { padding: 22px 22px 24px; }
  .pains-close { margin-top: 32px; }
}

/* FAQ — objections of a non-technical owner, answered in plain words */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr); gap: 64px; align-items: start; }
.faq-intro { position: sticky; top: 110px; }
.faq-intro .section-lede { margin-bottom: 22px; }
.faq-more { display: inline-block; font-size: .9375rem; font-weight: 600; color: var(--accent); }
.faq-list { border-top: 1px solid var(--line); }
.faq-row { border-bottom: 1px solid var(--line); }
.faq-row h3 { font-size: inherit; letter-spacing: inherit; font-weight: inherit; line-height: inherit; }
.faq-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 6px; text-align: left; border-radius: 10px;
  font-size: 1.125rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.35;
  transition: background .2s ease;
}
.faq-icon { flex-shrink: 0; color: var(--ink-mute); transition: transform .35s var(--ease-out), color .2s ease; }
.faq-row.is-open .faq-icon { transform: rotate(45deg); color: var(--accent); }
@media (hover: hover) { .faq-head:hover { background: rgba(244,246,233,0.035); } }
/* Height animates through grid rows (0fr → 1fr), like the services list */
.faq-answer { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .4s var(--ease-out), opacity .3s ease; }
.faq-answer > p { overflow: hidden; min-height: 0; padding: 0 40px 0 6px; color: var(--ink-soft); font-size: 1rem; line-height: 1.65; }
.faq-answer > p::after { content: ""; display: block; height: 24px; }  /* spacing as content, so a closed row is truly 0px */
.faq-answer a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.js .faq-row:not(.is-open) .faq-answer { grid-template-rows: 0fr; opacity: 0; }
@media (max-width: 959px) {
  .faq-wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .faq-intro { position: static; }
}
@media (max-width: 719px) {
  .faq-head { font-size: 1.0625rem; padding: 20px 2px; }
  .faq-answer > p { padding-right: 8px; }
}

/* =============================================================
   9. Effects
   ============================================================= */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease-out) calc(var(--i, 0) * 70ms), transform .5s var(--ease-out) calc(var(--i, 0) * 70ms); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* =============================================================
   10. Responsive
   ============================================================= */
@media (max-width: 959px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-small { display: none; }
  .main-nav.open {
    display: flex; flex-direction: column; position: fixed; top: 68px; left: 0; right: 0;
    background: rgba(10,11,8,0.92);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
    padding: 20px var(--gutter) 24px; gap: 4px; z-index: 190;
    border-bottom: 1px solid var(--line);
  }
  .main-nav.open .nav-link { padding: 12px 0; font-size: 1.0625rem; }
  .main-nav.open .nav-link::after { display: none; }
  .main-nav.open .nav-link-cta-mobile { display: inline-flex; align-items: center; justify-content: center; background: var(--accent); color: var(--bg); font-weight: 650; padding: 14px 18px; border-radius: 999px; margin-top: 10px; }

  .diff-grid { grid-template-columns: 1fr; }
  .calc-panel { grid-template-columns: 1fr; gap: 28px; }
  .team-grid { grid-template-columns: 1fr; gap: 44px; }
  .contact-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }

  /* steps stack vertically with a connector running down the left */
  .method-flow { grid-template-columns: 1fr; gap: 28px; max-width: 560px; }
  .method-card { padding: 0 0 0 56px; min-height: 40px; }
  .method-card::before, .method-card::after { top: 40px; left: 15px; width: 1.5px; height: calc(100% - 20px); }
  .method-card::after { transform: scaleY(0); transform-origin: top; }
  .method-flow.is-in .method-card::after { transform: scaleY(1); }
}

@media (max-width: 719px) {
  .section { padding: 76px 0; }
  .cookie-banner { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); flex-direction: column; align-items: stretch; }
  .cookie-actions .btn { flex: 1; justify-content: center; }
  .calc-panel { padding: 24px; }
  .calc-results { grid-template-columns: 1fr; }
  .calc-result-block-accent { grid-column: auto; }
  .service-body { padding-left: 8px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
  .audit-form { padding: 24px; }
  .diff-block { padding: 26px; }
}

@media (min-width: 1280px) {
  .wrap { padding: 0 40px; }
}

/* =============================================================
   11. Accessibility preferences
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  /* A gentler equivalent, not nothing: position changes become fades */
  .hero-scroll-cue { display: none; }
  .hero-badge-dot { animation: none; }
  .hero-title .line > span { transform: none; opacity: 0; animation: fadeIn .5s ease forwards; animation-delay: calc(var(--i, 0) * 60ms); }
  @keyframes fadeIn { to { opacity: 1; } }
  .reveal { transform: none; transition: opacity .3s ease; }
  .t-line { animation: fadeIn .3s ease forwards; }
  .method-card { transform: none; transition: opacity .3s ease; }
  .method-card::after { transition: none; }
  .btn:hover, .btn:active { transform: none; }
  .service-name { transition: none; }
  .service-head:hover .service-name { transform: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header::before { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .cookie-banner, .terminal-panel, .main-nav.open, .hero-badge { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--bg-2); }
}

@media (prefers-contrast: more) {
  :root { --ink-soft: #F4F6E9; --ink-mute: rgba(244,246,233,0.88); --line: rgba(244,246,233,0.5); --line-2: rgba(244,246,233,0.35); }
  .btn-outline { border-color: var(--ink); }
}

.demo-link { margin-top: 22px; }
