/* ============================================================
   elevennode — design system
   Palette: Warm Lime #CFFF74 · Olive Ink #2F3A1D · Butter #FFEFB3
   ============================================================ */

:root {
  --lime: #CFFF74;
  --lime-soft: rgba(207, 255, 116, 0.35);
  --olive: #2F3A1D;
  --olive-80: rgba(47, 58, 29, 0.8);
  --olive-60: rgba(47, 58, 29, 0.62);
  --olive-border: rgba(47, 58, 29, 0.12);
  --butter: #FFEFB3;
  --butter-soft: #FFF7D6;
  --cream: #FBFAF2;
  --surface: #FFFFFF;
  --ink: #232C15;
  --muted: #5A6349;
  --cream-on-dark: #F4F3E7;
  --muted-on-dark: rgba(244, 243, 231, 0.68);
  --border-on-dark: rgba(244, 243, 231, 0.14);

  --font-display: 'Space Grotesk', 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 2px 12px -4px rgba(47, 58, 29, 0.08);
  --shadow-md: 0 12px 40px -16px rgba(47, 58, 29, 0.16);
  --shadow-lg: 0 24px 80px -24px rgba(47, 58, 29, 0.24);
  --radius: 20px;
  --radius-lg: 28px;

  --z-header: 50;
  --z-menu: 60;
  --z-progress: 70;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.08;
  font-weight: 600;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--lime); color: var(--olive); }

:focus-visible {
  outline: 3px solid rgba(47, 58, 29, 0.55);
  outline-offset: 3px;
  border-radius: 6px;
}
.on-dark :focus-visible, .theme-dark :focus-visible { outline-color: var(--lime); }

.icon { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- layout ---------- */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 72px);
}

.section { padding: clamp(88px, 10vw, 140px) 0; }
.section--tight { padding: clamp(56px, 7vw, 88px) 0; }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4.2vw, 52px); }
.section-head .lead { margin-top: 18px; font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); }

.theme-dark { background: var(--olive); }
.theme-dark h1, .theme-dark h2, .theme-dark h3, .theme-dark h4 { color: var(--cream-on-dark); }
.theme-dark .lead, .theme-dark p { color: var(--muted-on-dark); }

.theme-butter { background: var(--butter); }

.card.theme-dark { background: var(--olive); border-color: transparent; }
.card.theme-dark h3 { color: var(--cream-on-dark); }

/* ---------- primitives ---------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--butter);
  color: var(--olive);
}
.badge--outline { background: var(--surface); border: 1px solid var(--olive-border); color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 500; }
.badge--lime { background: var(--lime); color: var(--olive); }
.theme-dark .badge { background: rgba(207, 255, 116, 0.14); color: var(--lime); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 30px;
  border: none;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn .icon { transition: transform 0.35s var(--ease-out); }
.btn:hover .icon { transform: translateX(4px); }
.btn--sm { height: 42px; padding: 0 22px; font-size: 14px; }

.btn--lime { background: var(--lime); color: var(--olive); box-shadow: 0 10px 30px -12px rgba(120, 160, 40, 0.55); }
.btn--lime:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -14px rgba(120, 160, 40, 0.65); }

.btn--olive { background: var(--olive); color: var(--cream-on-dark); box-shadow: 0 10px 30px -12px rgba(47, 58, 29, 0.5); }
.btn--olive:hover { transform: translateY(-2px); background: #3A4826; }

.btn--ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--olive-border); }
.btn--ghost:hover { transform: translateY(-2px); border-color: rgba(47, 58, 29, 0.35); }

.theme-dark .btn--ghost { background: transparent; color: var(--cream-on-dark); border-color: var(--border-on-dark); }
.theme-dark .btn--ghost:hover { border-color: var(--lime); color: var(--lime); }

.card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--olive-border);
  background: var(--surface);
  padding: clamp(24px, 2.6vw, 34px);
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.3s ease;
  height: 100%;
}
a.card { cursor: pointer; }
.card--hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(47, 58, 29, 0.2); }

.icon-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--butter);
  color: var(--olive);
}
.icon-tile .icon { width: 22px; height: 22px; }
.icon-tile--lime { background: var(--lime); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid var(--olive-border);
  background: var(--surface);
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--olive-80);
  white-space: nowrap;
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.35s var(--ease-out);
}
.chip:hover { border-color: var(--olive); transform: translateY(-2px); }
.chip small { font-size: 12px; color: var(--muted); font-weight: 400; }

.mark {
  background-image: linear-gradient(var(--lime), var(--lime));
  background-repeat: no-repeat;
  background-size: 0% 0.45em;
  background-position: 0 90%;
  transition: background-size 0.9s var(--ease-out) 0.45s;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.is-inview .mark, .mark.is-inview { background-size: 100% 0.45em; }

/* ---------- progress bar ---------- */

.progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  z-index: var(--z-progress);
  pointer-events: none;
}
.progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--lime), #A8E34D);
  transform: scaleX(0);
  transform-origin: left center;
}

/* ---------- header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-header);
  transition: background-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease, transform 0.45s var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(251, 250, 242, 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 var(--olive-border);
}
.site-header.is-hidden { transform: translateY(-100%); }

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.logo__dot {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--lime);
  border: 2px solid var(--olive);
  transform: rotate(45deg);
  transition: transform 0.5s var(--ease-out);
}
.logo:hover .logo__dot { transform: rotate(225deg); }

.nav-desktop { display: flex; align-items: center; gap: 34px; }
.nav-desktop a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--olive-80);
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s var(--ease-out);
}
.nav-desktop a:hover, .nav-desktop a[aria-current="page"] { color: var(--ink); }
.nav-desktop a:hover::after, .nav-desktop a[aria-current="page"]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 20px; }

.burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--olive-border);
  background: var(--surface);
  color: var(--ink);
}

.nav-mobile {
  position: absolute;
  top: calc(100% + 8px);
  right: clamp(20px, 5vw, 72px);
  z-index: var(--z-menu);
  min-width: 240px;
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  border-radius: 22px;
  border: 1px solid var(--olive-border);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.nav-mobile.is-open { display: flex; animation: menu-in 0.35s var(--ease-out); }
.nav-mobile a {
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.nav-mobile a:hover { background: var(--butter-soft); }
@keyframes menu-in {
  from { opacity: 0; transform: translateY(-8px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

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

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(150px, 16vw, 210px) 0 clamp(72px, 8vw, 110px);
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(47, 58, 29, 0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 65% 55% at 50% 0%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 65% 55% at 50% 0%, #000 55%, transparent 100%);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  will-change: transform;
}
.blob--lime { background: rgba(207, 255, 116, 0.5); }
.blob--butter { background: rgba(255, 239, 179, 0.75); }

.hero__content { position: relative; max-width: 860px; margin: 0 auto; text-align: center; }

.hero h1 {
  font-size: clamp(40px, 6.2vw, 76px);
  letter-spacing: -0.035em;
}

.hero .lead {
  margin: 26px auto 0;
  max-width: 620px;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--muted);
}

.hero__cta {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

/* word-by-word headline entrance */
.split-words .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.split-words .w > span {
  display: inline-block;
  transform: translateY(110%);
  animation: word-up 0.9s var(--ease-out) forwards;
  animation-delay: calc(var(--i) * 70ms + 150ms);
}
@keyframes word-up { to { transform: translateY(0); } }

.rise { opacity: 0; animation: rise 0.9s var(--ease-out) forwards; }
.rise-1 { animation-delay: 0.05s; }
.rise-2 { animation-delay: 0.55s; }
.rise-3 { animation-delay: 0.7s; }
.rise-4 { animation-delay: 0.85s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

/* dashboard mockup */
.hero__panel-wrap {
  position: relative;
  max-width: 920px;
  margin: clamp(56px, 7vw, 88px) auto 0;
  perspective: 1200px;
}
.hero__panel {
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid var(--olive-border);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  transform-origin: center top;
  will-change: transform;
}
.hero__panel-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--olive-border);
  padding: 14px 22px;
}
.hero__panel-bar i { width: 10px; height: 10px; border-radius: 999px; }
.hero__panel-bar i:nth-child(1) { background: #F5A0A0; }
.hero__panel-bar i:nth-child(2) { background: var(--butter); }
.hero__panel-bar i:nth-child(3) { background: var(--lime); }
.hero__panel-bar span { margin-left: 12px; font-size: 12px; font-weight: 500; color: var(--muted); }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  padding: 24px;
}
.stat-card {
  border-radius: 22px;
  background: var(--butter-soft);
  padding: 22px;
}
.stat-card__top { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 500; color: var(--muted); }
.stat-card__top .icon { width: 15px; height: 15px; color: var(--olive); }
.stat-card__value { margin-top: 12px; font-family: var(--font-display); font-size: 32px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.stat-card__bar { margin-top: 14px; height: 6px; border-radius: 999px; background: rgba(47, 58, 29, 0.1); overflow: hidden; }
.stat-card__bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--olive);
  width: var(--w, 60%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.2s var(--ease-out) 0.5s;
}
.is-inview .stat-card__bar i { transform: scaleX(1); }

/* ---------- marquee ---------- */

.marquee {
  position: relative;
  overflow: hidden;
  padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee__track > .chip { margin-right: 14px; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- reveal-on-scroll system ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out), filter 0.9s var(--ease-out);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
[data-reveal="left"] { transform: translateX(-44px); }
[data-reveal="right"] { transform: translateX(44px); }
[data-reveal="scale"] { transform: scale(0.92); }
[data-reveal="blur"] { filter: blur(10px); transform: translateY(20px); }
.is-inview[data-reveal], [data-reveal].is-inview {
  opacity: 1;
  transform: none;
  filter: none;
}

[data-stagger] > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
[data-stagger].is-inview > * { opacity: 1; transform: none; }
[data-stagger].is-inview > *:nth-child(1) { transition-delay: 0.05s; }
[data-stagger].is-inview > *:nth-child(2) { transition-delay: 0.13s; }
[data-stagger].is-inview > *:nth-child(3) { transition-delay: 0.21s; }
[data-stagger].is-inview > *:nth-child(4) { transition-delay: 0.29s; }
[data-stagger].is-inview > *:nth-child(5) { transition-delay: 0.37s; }
[data-stagger].is-inview > *:nth-child(6) { transition-delay: 0.45s; }
[data-stagger].is-inview > *:nth-child(7) { transition-delay: 0.53s; }
[data-stagger].is-inview > *:nth-child(8) { transition-delay: 0.61s; }
[data-stagger].is-inview > *:nth-child(9) { transition-delay: 0.69s; }
[data-stagger].is-inview > *:nth-child(10) { transition-delay: 0.77s; }

/* scroll-driven statement: words light up progressively */
.statement {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.4vw, 54px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.statement .sw { color: rgba(47, 58, 29, 0.18); transition: color 0.35s ease; }
.statement .sw.is-lit { color: var(--olive); }
.theme-dark .statement .sw { color: rgba(244, 243, 231, 0.22); }
.theme-dark .statement .sw.is-lit { color: var(--cream-on-dark); }

/* ---------- sections ---------- */

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.problem-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border-radius: 18px;
  border: 1px solid var(--olive-border);
  background: var(--surface);
  padding: 18px 22px;
  font-size: 15px;
  color: var(--olive-80);
}
.problem-item .icon { margin-top: 3px; color: var(--olive); background: var(--lime); border-radius: 999px; padding: 2px; width: 20px; height: 20px; }

.service-card h3 { margin-top: 22px; font-size: 19px; }
.service-card > p { margin-top: 10px; font-size: 14.5px; color: var(--muted); }
.service-card ul {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--olive-border);
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.service-card li { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--olive-80); }
.service-card li .icon { width: 14px; height: 14px; color: var(--olive); }

.steps { position: relative; }
.steps::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--lime), var(--olive-border));
}
.step { position: relative; }
.step__num {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 2px solid var(--olive);
  background: var(--lime);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--olive);
}
.step h3 { margin-top: 22px; font-size: 17px; }
.step p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }

.step__num--date { width: auto; min-width: 52px; padding: 0 18px; white-space: nowrap; }

/* verifactu banner (home) */
.verifactu-banner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px 26px;
  background: var(--butter-soft);
  border: 1px solid var(--olive-border);
  border-radius: var(--radius-lg);
  padding: 30px 34px;
  box-shadow: var(--shadow-sm);
}
.verifactu-banner .icon-tile { flex-shrink: 0; }
.verifactu-banner__text { flex: 1 1 320px; }
.verifactu-banner__text .badge { background: var(--lime); }
.verifactu-banner__text h3 { margin-top: 12px; font-size: 20px; }
.verifactu-banner__text p { margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.verifactu-banner .btn { flex-shrink: 0; }


/* ---------- service result microdata ---------- */
.service-card__result {
  margin-top: 18px;
  padding: 9px 12px;
  border-radius: 12px;
  background: var(--lime-soft);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--olive);
}
.service-card__result .icon { width: 15px; height: 15px; color: var(--olive); flex-shrink: 0; }

/* ---------- pricing ---------- */
.price-card { display: flex; flex-direction: column; }
.price-card h3 { font-size: 20px; }
.price-card__price {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
}
.price-card__price small { font-size: 14px; font-weight: 600; color: var(--muted); margin-right: 7px; }
.price-card__price span { display: block; font-family: var(--font-body); font-size: 13px; font-weight: 500; color: var(--muted); margin-top: 7px; }
.price-card > p { margin-top: 14px; font-size: 14.5px; color: var(--muted); }
.price-card ul {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--olive-border);
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price-card li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: var(--olive-80); line-height: 1.5; }
.price-card li .icon { width: 15px; height: 15px; color: var(--olive); flex-shrink: 0; margin-top: 2px; }
.price-card .btn { margin-top: 24px; justify-content: center; }
.price-card--featured { background: var(--olive); border-color: var(--olive); position: relative; }
.price-card--featured h3 { color: var(--cream-on-dark); }
.price-card--featured .price-card__price { color: var(--lime); }
.price-card--featured .price-card__price small,
.price-card--featured .price-card__price span,
.price-card--featured > p { color: var(--muted-on-dark); }
.price-card--featured ul { border-top-color: var(--border-on-dark); }
.price-card--featured li { color: var(--cream-on-dark); }
.price-card--featured li .icon { color: var(--lime); }
.price-card__tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--lime);
  color: var(--olive);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}
.maint-strip {
  margin-top: 28px;
  border: 1px solid var(--olive-border);
  border-radius: var(--radius-lg);
  background: var(--butter-soft);
  padding: 26px 30px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.maint-strip .icon-tile { flex-shrink: 0; }
.maint-strip__text { flex: 1; min-width: 260px; }
.maint-strip__text h3 { font-size: 18px; }
.maint-strip__text p { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.maint-strip__price { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.maint-strip__price small { font-size: 13px; font-weight: 600; color: var(--muted); margin-right: 7px; }
.pricing-note { margin-top: 22px; text-align: center; font-size: 13px; color: var(--muted); }

/* ---------- pagos / Stripe ---------- */
.pay-trust {
  width: fit-content;
  max-width: 100%;
  margin: 24px auto 0;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--olive-border);
  background: var(--surface);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  box-shadow: var(--shadow-sm);
}
.pay-trust .icon { width: 17px; height: 17px; color: var(--olive); }
.pay-trust strong { color: var(--ink); font-weight: 700; }

/* ---------- case quotes ---------- */
.case-quote { display: flex; flex-direction: column; }
.case-quote .quote-mark { line-height: 0.4; margin-bottom: 2px; }
.case-quote > p { font-family: var(--font-display); font-size: 17.5px; font-weight: 500; color: var(--ink); line-height: 1.5; }
.case-quote footer {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.case-quote__who { font-size: 14px; font-weight: 600; color: var(--olive-80); }
.case-quote__metric {
  background: var(--lime-soft);
  color: var(--olive);
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  white-space: nowrap;
}


.benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  border-radius: 24px;
  background: var(--surface);
  padding: 30px 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.benefit:hover { transform: translateY(-6px) scale(1.02); box-shadow: var(--shadow-md); }
.benefit span { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.benefit .icon-tile { border-radius: 999px; }

.usecase-card .badge { margin-bottom: 4px; }
.usecase-card h3 { margin-top: 16px; font-size: 19px; }
.usecase-card p { margin-top: 10px; font-size: 14.5px; color: var(--muted); }

/* FAQ */
.faq-item {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--olive-border);
  background: var(--surface);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-item.is-open { border-color: rgba(47, 58, 29, 0.3); box-shadow: var(--shadow-sm); }
.faq-item__q {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  border: none;
  background: transparent;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.faq-item__q .icon { color: var(--muted); transition: transform 0.4s var(--ease-out), color 0.3s ease; }
.faq-item.is-open .faq-item__q .icon { transform: rotate(180deg); color: var(--olive); }
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease-out);
}
.faq-item__a p { padding: 0 26px 22px; font-size: 14.5px; color: var(--muted); }

/* big CTA */
.cta-panel {
  position: relative;
  overflow: hidden;
  border-radius: clamp(28px, 4vw, 44px);
  background: var(--olive);
  padding: clamp(64px, 8vw, 110px) clamp(24px, 5vw, 80px);
  text-align: center;
}
.cta-panel::before, .cta-panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.cta-panel::before { width: 380px; height: 380px; left: -120px; top: -140px; background: rgba(207, 255, 116, 0.22); }
.cta-panel::after { width: 320px; height: 320px; right: -100px; bottom: -140px; background: rgba(255, 239, 179, 0.16); }
.cta-panel h2 { position: relative; font-size: clamp(30px, 4vw, 50px); color: var(--cream-on-dark); }
.cta-panel p { position: relative; margin: 18px auto 0; max-width: 540px; font-size: 18px; color: var(--muted-on-dark); }
.cta-panel .hero__cta { position: relative; }

/* ---------- stats band (dark) ---------- */

.stats-band { padding: clamp(56px, 7vw, 80px) 0; }
.stats-band .grid { gap: 40px; }
.stat-big p:first-child {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.4vw, 56px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--lime);
}
.stat-big p:last-child { margin-top: 6px; font-size: 14px; color: var(--muted-on-dark); }

/* ---------- forms ---------- */

.field label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--ink); }
.input {
  width: 100%;
  border: 1px solid var(--olive-border);
  background: var(--surface);
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--ink);
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}
.input::placeholder { color: rgba(90, 99, 73, 0.6); }
.input:focus { border-color: var(--olive); box-shadow: 0 0 0 3px var(--lime-soft); }
.theme-dark .input::placeholder { color: rgba(244, 243, 231, 0.5); }
.theme-dark .input:focus { border-color: var(--lime); }
textarea.input { resize: vertical; min-height: 130px; }

/* ---------- article ---------- */

.article { max-width: 720px; margin: 0 auto; }
.article h2 { margin-top: 48px; font-size: 25px; }
.article > h2:first-child { margin-top: 0; }
.article h3 { margin-top: 28px; font-size: 18px; }
.article p { margin-top: 16px; font-size: 16.5px; line-height: 1.75; color: var(--muted); }
.article ul, .article ol { margin-top: 16px; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.article li { font-size: 16.5px; line-height: 1.7; color: var(--muted); }
.article li::marker { color: var(--olive); font-weight: 600; }
.article strong { color: var(--ink); font-weight: 600; }
.article .callout {
  margin-top: 28px;
  border-radius: 20px;
  border: 1px solid var(--olive-border);
  background: var(--butter-soft);
  padding: 22px 26px;
}
.article .callout h3 { margin-top: 0; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.article .callout h3 .icon { width: 17px; height: 17px; color: var(--olive); }
.article .callout p { margin-top: 8px; font-size: 14.5px; color: var(--olive-80); }
.article .table-wrap { margin-top: 26px; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 16px; border: 1px solid rgba(47, 58, 29, 0.28); }
.article table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 14.5px; }
.article thead th { background: var(--butter-soft); text-align: left; font-family: var(--font-display); font-weight: 600; color: var(--ink); padding: 13px 16px; border-bottom: 2px solid rgba(47, 58, 29, 0.32); }
.article th + th, .article td + td { border-left: 1px solid rgba(47, 58, 29, 0.16); }
.article tbody td { padding: 13px 16px; color: var(--muted); line-height: 1.6; vertical-align: top; border-top: 1px solid rgba(47, 58, 29, 0.16); }
.article tbody tr:nth-child(even) { background: rgba(47, 58, 29, 0.035); }
.article tbody td:first-child { color: var(--ink); font-weight: 600; }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}
.related-posts { max-width: 720px; margin: 0 auto; }
.related-posts h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 20px; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--olive);
  color: var(--muted-on-dark);
  border-top: 4px solid var(--lime);
}
.site-footer__inner { padding: clamp(56px, 7vw, 80px) 0 32px; }
.site-footer .logo { color: var(--cream-on-dark); }
.site-footer h4 { font-size: 14px; color: var(--cream-on-dark); margin-bottom: 14px; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { font-size: 14px; color: var(--muted-on-dark); transition: color 0.2s ease; }
.site-footer a:hover { color: var(--lime); }
.footer-cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 44px; }
.footer-cols__brand { max-width: 380px; }
.footer-cols__brand p { margin-top: 16px; font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 40px 44px; }
.footer-links > div { min-width: 140px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--border-on-dark);
  color: var(--cream-on-dark);
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.35s var(--ease-out);
}
.footer-social a:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-3px); }
.footer-bottom {
  margin-top: 52px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--border-on-dark);
  padding-top: 26px;
  font-size: 12.5px;
}

/* ---------- blog ---------- */

.filter-btn {
  border-radius: 999px;
  border: 1px solid var(--olive-border);
  background: var(--surface);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--olive-80);
  transition: all 0.25s ease;
}
.filter-btn:hover { border-color: var(--olive); }
.filter-btn.is-active { background: var(--olive); border-color: var(--olive); color: var(--lime); }

.post-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.post-card__media {
  position: relative;
  height: 170px;
  background: linear-gradient(145deg, var(--butter-soft), var(--butter));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.post-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(47, 58, 29, 0.07) 1px, transparent 1px);
  background-size: 20px 20px;
}
.post-card__media .icon-tile {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  transition: transform 0.5s var(--ease-out);
}
.post-card:hover .icon-tile { transform: scale(1.12) rotate(-4deg); }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.post-card__meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.post-card h3 { margin-top: 14px; font-size: 18px; line-height: 1.3; }
.post-card__body > p { margin-top: 10px; flex: 1; font-size: 14px; color: var(--muted); }
.post-card__more { margin-top: 18px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--olive); }
.post-card__more .icon { width: 15px; height: 15px; transition: transform 0.35s var(--ease-out); }
.post-card:hover .post-card__more .icon { transform: translateX(4px); }

/* ---------- quote ---------- */

.quote-mark {
  font-family: var(--font-display);
  font-size: 84px;
  line-height: 0.5;
  color: var(--lime);
  -webkit-text-stroke: 2px var(--olive);
}

blockquote.big-quote {
  margin-top: 28px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--ink);
}
.avatar {
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--butter);
  border: 2px solid var(--olive);
  font-size: 14px;
  font-weight: 700;
  color: var(--olive);
}

/* ---------- timeline ---------- */

.tl-item { display: flex; gap: 24px; }
.tl-item__dot {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 5px;
  border-radius: 999px;
  background: var(--lime);
  border: 3px solid var(--olive);
}
.tl-item h3 { margin-top: 6px; font-size: 18px; }
.tl-item p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.tl-item .year { font-size: 13px; font-weight: 700; color: var(--olive); background: var(--lime); border-radius: 999px; padding: 2px 12px; }

/* ---------- misc ---------- */

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}
.back-link:hover { color: var(--olive); }
.back-link .icon { width: 15px; height: 15px; }

/* ---------- motion layer v2 — micro-interacciones ---------- */

/* blobs del hero: deriva orgánica lenta (usa translate/scale para no
   pisar el transform del parallax) */
@keyframes blob-drift {
  0%, 100% { translate: 0 0; scale: 1; border-radius: 50%; }
  33% { translate: 30px -24px; scale: 1.07; border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%; }
  66% { translate: -22px 18px; scale: 0.95; border-radius: 54% 46% 47% 53% / 48% 54% 46% 52%; }
}
.blob { animation: blob-drift 22s ease-in-out infinite; }
.blob--butter { animation-duration: 28s; animation-delay: -9s; }

/* halos del panel CTA oscuro: respiración lenta */
@keyframes glow-drift {
  0%, 100% { translate: 0 0; scale: 1; }
  50% { translate: 42px 26px; scale: 1.18; }
}
.cta-panel::before { animation: glow-drift 14s ease-in-out infinite; }
.cta-panel::after { animation: glow-drift 18s ease-in-out infinite reverse; }

/* botones: barrido de luz al hover + feedback táctil al pulsar */
.btn { position: relative; overflow: hidden; }
.btn > * { position: relative; }
.btn::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -80%;
  width: 55%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}
@keyframes btn-sheen { from { left: -80%; } to { left: 135%; } }
.btn:hover::before { animation: btn-sheen 0.7s var(--ease-out); }
.btn:active { transform: translateY(0) scale(0.97); transition-duration: 0.1s; }

/* tarjetas: foco de luz lima que sigue al cursor (solo ratón) */
@media (hover: hover) and (pointer: fine) {
  .card--hover { position: relative; }
  .card--hover::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(207, 255, 116, 0.22), transparent 65%);
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
  }
  .card--hover:hover::after { opacity: 1; }
}

/* iconos: reaccionan cuando entras en su tarjeta */
.icon-tile { transition: transform 0.5s var(--ease-out), background-color 0.3s ease; }
.card--hover:hover .icon-tile,
.service-card:hover .icon-tile,
a.card:hover .post-card__media .icon-tile {
  transform: rotate(-7deg) scale(1.1);
}
.service-card:hover .icon-tile { background: var(--lime); }

/* tablas del blog: la fila se ilumina al pasar el ratón */
.article tbody tr { transition: background-color 0.25s ease; }
.article tbody tr:hover { background: rgba(207, 255, 116, 0.16); }

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  [data-reveal], [data-stagger] > *, .split-words .w > span, .rise { opacity: 1 !important; transform: none !important; filter: none !important; }
  .marquee__track { animation: none; }
  .statement .sw { color: inherit; }
  .mark { background-size: 100% 0.45em; }
}
