/* TRAFIKHUB — frontend claro: servicio agéntico de marketing con IA */
:root {
  --ink: #0c1222;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --paper: #ffffff;
  --mist: #f4f7fb;
  --mist-2: #eef3f8;
  --accent: #0d9488;
  --accent-deep: #0f766e;
  --accent-soft: #ccfbf1;
  --signal: #ea580c;
  --radius: 0.875rem;
  --font-display: "Fraunces", Georgia, serif;
  --font-sans: "Manrope", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(13, 148, 136, 0.09), transparent 55%),
    radial-gradient(900px 420px at 90% 0%, rgba(234, 88, 12, 0.06), transparent 50%),
    var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.75rem;
  z-index: 100;
  padding: 0.55rem 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: 0.5rem;
  font-weight: 600;
}
.skip-link:focus { left: 0.75rem; outline: 2px solid var(--accent); outline-offset: 2px; }

.site-wrap {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
@media (min-width: 640px) {
  .site-wrap { padding-left: 1.75rem; padding-right: 1.75rem; }
}

/* Brand */
.logo-wordmark {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  color: var(--ink);
}
.logo-wordmark .mark { color: var(--accent); }

/* Type */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.eyebrow::before {
  content: "";
  width: 1.25rem;
  height: 1px;
  background: var(--accent);
}

.headline-display {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 5.2vw, 3.65rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
.headline-display .accent { color: var(--accent-deep); font-style: italic; }

.headline-section {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}

.copy-lead {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}
.copy-body {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.35rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-primary {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}
.btn-primary:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  transform: translateY(-1px);
}
.btn-secondary {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}
.btn-primary:active,
.btn-secondary:active {
  transform: translateY(0);
}
.btn-primary:focus-visible,
.btn-secondary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}
.site-header__nav {
  display: none;
  align-items: center;
  gap: 0.15rem;
}
@media (min-width: 900px) {
  .site-header__nav { display: flex; }
}
.site-header__nav a {
  padding: 0.45rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: color 0.15s, background 0.15s;
}
.site-header__nav a:hover,
.site-header__nav a.is-active {
  color: var(--ink);
  background: var(--mist-2);
}
.site-header__nav a.is-active {
  box-shadow: inset 0 -2px 0 var(--accent);
}
.mobile-nav a.is-active {
  color: var(--accent-deep);
}
.site-header__actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
}
@media (min-width: 900px) {
  .site-header__actions { display: flex; }
}
.site-header__menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
@media (min-width: 900px) {
  .site-header__menu-btn { display: none; }
}
.menu-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 1.1rem;
}
.menu-icon i {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.site-header__menu-btn[aria-expanded="true"] .menu-icon i:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header__menu-btn[aria-expanded="true"] .menu-icon i:nth-child(2) {
  opacity: 0;
}
.site-header__menu-btn[aria-expanded="true"] .menu-icon i:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.mobile-nav {
  display: grid;
  grid-template-rows: 0fr;
  border-top: 1px solid transparent;
  background: #fff;
  transition: grid-template-rows 0.28s ease, border-color 0.2s ease;
}
.mobile-nav.is-open {
  grid-template-rows: 1fr;
  border-top-color: var(--line);
}
.mobile-nav__inner {
  overflow: hidden;
  min-height: 0;
}
.mobile-nav a {
  display: block;
  padding: 0.7rem 0.25rem;
  font-weight: 600;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--mist-2);
}
.mobile-nav .btn-primary { margin: 0.85rem 0 1rem; width: 100%; }
/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 3.75rem;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.98) 100%),
    radial-gradient(900px 380px at 85% 10%, rgba(13, 148, 136, 0.08), transparent 60%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(226, 232, 240, 0.45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226, 232, 240, 0.45) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 20%, transparent 75%);
  pointer-events: none;
}
.hero > .site-wrap { position: relative; z-index: 1; }
@media (min-width: 768px) {
  .hero { padding: 6rem 0 5rem; }
}
.hero__grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: end;
    gap: 3rem;
  }
}
.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 0 0 1.25rem;
  color: var(--ink);
}
.hero__brand span { color: var(--accent); }
.hero__caps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.hero__cap {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
}
.hero-panel {
  background: linear-gradient(160deg, #0c1222 0%, #152238 55%, #0f766e 140%);
  color: #e2e8f0;
  border-radius: 1.25rem;
  padding: 1.5rem 1.35rem;
  box-shadow: 0 24px 48px -28px rgba(12, 18, 34, 0.45);
}
.hero-panel__label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #99f6e4;
  margin: 0 0 1rem;
}
.hero-panel__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}
.hero-panel__row strong { color: #fff; font-weight: 700; }
.hero-panel__row span { color: #94a3b8; }
.hero-panel__status {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #99f6e4;
}
.hero-panel__status i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #2dd4bf;
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.2);
  animation: pulse-dot 1.8s ease-in-out infinite;
}

/* Hero dashboard (panel ops) */
.hero-dashboard {
  background: linear-gradient(165deg, #0c1222 0%, #121b2e 48%, #0f4f4a 130%);
  color: #e2e8f0;
  border-radius: 1.25rem;
  padding: 1.15rem 1.25rem 1.15rem;
  box-shadow: 0 28px 56px -32px rgba(12, 18, 34, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}
.hero-dashboard::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 12rem;
  height: 12rem;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.18), transparent 65%);
  pointer-events: none;
}
.hero-dashboard__chrome {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}
.hero-dashboard__chrome span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.hero-dashboard__chrome span:nth-child(1) { background: #f87171; }
.hero-dashboard__chrome span:nth-child(2) { background: #fbbf24; }
.hero-dashboard__chrome span:nth-child(3) { background: #34d399; }
.hero-dashboard__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.hero-dashboard__label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #99f6e4;
  margin: 0;
}
.hero-dashboard__live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5eead4;
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.25);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}
.hero-dashboard__live i {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: #2dd4bf;
  animation: pulse-dot 1.8s ease-in-out infinite;
}
.hero-dashboard__agents {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
}
.hero-dashboard__agent {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #64748b;
  background: rgba(255, 255, 255, 0.04);
}
.hero-dashboard__agent.is-active {
  color: #ccfbf1;
  border-color: rgba(153, 246, 228, 0.35);
  background: rgba(13, 148, 136, 0.22);
}
.hero-dashboard__agent.is-pulse {
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.2);
}
.hero-dashboard__block-title {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
  margin: 0 0 0.55rem;
}
.hero-dashboard__queue {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}
.hero-dashboard__queue li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.82rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.hero-dashboard__queue span { color: #cbd5e1; }
.hero-dashboard__queue strong {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
.hero-dashboard__queue li[data-status="pending"] strong { color: #fde68a; }
.hero-dashboard__queue li[data-status="review"] strong { color: #fdba74; }
.hero-dashboard__queue li[data-status="ok"] strong { color: #99f6e4; }
.hero-dashboard__queue li.is-flash {
  animation: queue-flash 0.55s ease;
}
@keyframes queue-flash {
  0% { background: rgba(45, 212, 191, 0.18); }
  100% { background: rgba(255, 255, 255, 0.05); }
}
.hero-dashboard__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-dashboard__metrics div {
  text-align: center;
  padding: 0.45rem 0.25rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
}
.hero-dashboard__metrics span {
  display: block;
  font-size: 0.68rem;
  color: #94a3b8;
  margin-bottom: 0.15rem;
}
.hero-dashboard__metrics strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #fff;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

/* Sections */
.section {
  padding: 4.25rem 0;
}
@media (min-width: 768px) {
  .section { padding: 5.5rem 0; }
}
.section--mist { background: var(--mist); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { max-width: 40rem; margin-bottom: 2.25rem; }
.section__head .headline-section { margin-top: 0.75rem; }
.section__head .copy-body { margin-top: 0.85rem; }
.eyebrow--flush { margin-bottom: 0.5rem; }
.headline-footer { font-size: 1.65rem; }

/* Variedad visual en cards de agentes */
.card--agent:nth-child(3n+1)::before {
  background: linear-gradient(135deg, var(--accent-soft), #fff);
  border-color: #99f6e4;
}
.card--agent:nth-child(3n+2)::before {
  background: linear-gradient(135deg, #ffedd5, #fff);
  border-color: #fdba74;
}
.card--agent:nth-child(3n)::before {
  background: linear-gradient(135deg, #e0e7ff, #fff);
  border-color: #a5b4fc;
}

/* Page hero accent */
.page-hero__accent {
  display: block;
  width: 6rem;
  height: 3px;
  margin-top: 1.5rem;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 2px;
}
.copy-lead--hero { margin-top: 1.25rem; max-width: 34rem; }
.btn-group--flush { margin-top: 0; }
.amount-muted { font-size: 0.95rem; font-weight: 500; color: #94a3b8; }

.week--compact { margin-top: 2rem; }
.week__day--mini {
  min-height: auto;
  padding: 0.85rem 0.75rem;
  text-align: center;
}
.week__day--mini strong { font-size: 0.95rem; }

.not-found__title { font-size: clamp(1.75rem, 4vw, 2.35rem); }
.not-found__msg { max-width: 28rem; margin: 0.85rem auto 0; }
.not-found__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.not-found__links a { color: var(--accent-deep); }
.not-found__links a:hover { text-decoration: underline; }

.card-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 700px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.card:hover {
  border-color: #99f6e4;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -24px rgba(12, 18, 34, 0.25);
}
.card__index {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 0.65rem;
}
.card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}
.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}

.split {
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.check-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.95rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  font-size: 0.95rem;
  color: var(--ink);
}
.check-list li::before {
  content: "→";
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.steps {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.step__n {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-deep);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.4rem;
}
.step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.pricing {
  display: grid;
  gap: 1rem;
}
@media (min-width: 900px) {
  .pricing { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
}
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
.price-card--featured {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.price-card--featured p,
.price-card--featured li { color: #cbd5e1; }
.price-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.25rem;
}
.price-card .amount {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 650;
  margin: 1rem 0;
}
.price-card ul {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  flex: 1;
  display: grid;
  gap: 0.55rem;
  font-size: 0.92rem;
}
.price-card--featured .btn-primary {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.cta-band {
  background: linear-gradient(135deg, var(--mist) 0%, #fff 45%, var(--accent-soft) 100%);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  text-align: center;
}
@media (min-width: 768px) {
  .cta-band { padding: 2.75rem; }
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 1rem 1.15rem;
  margin-bottom: 0.65rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary { margin-bottom: 0.65rem; }
.faq details p {
  margin: 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--mist-2);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Forms */
.input-field {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
}
.input-field:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}
.input-field.is-invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}
.form-error {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #b91c1c;
}
.form-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}
.form-counter {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
}
.btn-primary.is-loading,
.btn-primary:disabled {
  opacity: 0.72;
  cursor: wait;
  pointer-events: none;
}

.pwd-meter {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.45rem;
}
.pwd-meter__bar {
  display: block;
  height: 4px;
  border-radius: 999px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.pwd-meter__bar::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--lvl, 0) * 25%);
  background: var(--accent);
  border-radius: inherit;
  transition: width 0.2s ease, background 0.2s ease;
}
.pwd-meter__bar[data-level="0"] { --lvl: 0; }
.pwd-meter__bar[data-level="1"] { --lvl: 1; }
.pwd-meter__bar[data-level="1"]::after { background: #dc2626; }
.pwd-meter__bar[data-level="2"] { --lvl: 2; }
.pwd-meter__bar[data-level="2"]::after { background: #ea580c; }
.pwd-meter__bar[data-level="3"] { --lvl: 3; }
.pwd-meter__bar[data-level="3"]::after { background: #0d9488; }
.pwd-meter__bar[data-level="4"] { --lvl: 4; }
.pwd-meter__bar[data-level="4"]::after { background: #059669; }
.pwd-meter__label {
  font-size: 0.75rem;
  color: var(--muted);
}

.article-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.article-share__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 0.25rem;
}
.article-share__btn {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.article-share__btn:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
  background: var(--accent-soft);
}

body.nav-open {
  overflow: hidden;
}

.cookie-banner.is-hiding {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}
.btn-secondary.is-active {
  border-color: var(--accent);
  color: var(--accent-deep);
  background: var(--accent-soft);
}

.blog-featured__excerpt {
  margin: 0.85rem 0 1.25rem;
  max-width: 36rem;
  color: #cbd5e1;
  line-height: 1.6;
}
.blog-featured__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.blog-featured__date {
  font-size: 0.85rem;
  color: #94a3b8;
}
.blog-featured__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: var(--mist);
  padding: 3.5rem 0 2rem;
}
.site-footer__grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 800px) {
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.site-footer h4 {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.85rem;
  font-family: var(--font-mono);
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.site-footer a { color: var(--ink-soft); font-size: 0.92rem; }
.site-footer a:hover { color: var(--accent-deep); }
.site-footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .reveal-delay-1 { animation-delay: 0.08s; }
  .reveal-delay-2 { animation-delay: 0.16s; }
  .reveal-delay-3 { animation-delay: 0.24s; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* Compat parcial con partials antiguos */
.hub-ambient,
.scroll-progress,
.public-page-hero-mesh,
.hub-grain { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Breadcrumb */
.breadcrumb { margin-bottom: 1.25rem; }
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.breadcrumb__item { display: inline-flex; align-items: center; gap: 0.5rem; }
.breadcrumb__item:not(:last-child)::after {
  content: "/";
  color: #cbd5e1;
}
.breadcrumb__link { color: var(--muted); font-weight: 600; }
.breadcrumb__link:hover { color: var(--accent-deep); }
.breadcrumb__current { color: var(--ink-soft); font-weight: 600; }

/* Scroll reveal */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: none;
}

/* Stats / trust */
.stats-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
}
.stats-band__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
}
@media (min-width: 768px) {
  .stats-band__grid { grid-template-columns: repeat(4, 1fr); }
}
.stats-band__item {
  background: #fff;
  padding: 1.15rem 1rem;
  text-align: center;
}
.stats-band__value {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 650;
  color: var(--accent-deep);
  margin: 0;
  line-height: 1;
}
.stats-band__label {
  margin: 0.35rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Flow (3 pasos) */
.flow {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .flow { grid-template-columns: repeat(3, 1fr); }
}
.flow__step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
}
.flow__step::after {
  content: "→";
  display: none;
  position: absolute;
  right: -0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-weight: 700;
  z-index: 1;
}
@media (min-width: 800px) {
  .flow__step:not(:last-child)::after { display: block; }
}
.flow__n {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.flow__step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.45rem;
}
.flow__step p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* Timeline metodología */
.steps--timeline {
  position: relative;
}
@media (min-width: 800px) {
  .steps--timeline::before {
    content: "";
    position: absolute;
    left: 1.1rem;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-soft), var(--line));
  }
  .steps--timeline .step {
    margin-left: 2.5rem;
    position: relative;
  }
  .steps--timeline .step::before {
    content: "";
    position: absolute;
    left: -1.65rem;
    top: 1.35rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
  }
}

/* Blog */
.blog-featured {
  position: relative;
  border-radius: 1.1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 2rem;
  min-height: 18rem;
  display: flex;
  align-items: flex-end;
}
.blog-featured__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-featured__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12, 18, 34, 0.88) 0%, rgba(12, 18, 34, 0.35) 55%, rgba(12, 18, 34, 0.15) 100%);
}
.blog-featured__content {
  position: relative;
  z-index: 1;
  padding: 2rem 1.5rem;
  color: #fff;
}
.blog-featured__content .eyebrow { color: #99f6e4; }
.blog-featured__content .headline-section { color: #fff; }
.blog-featured__content .headline-section a { color: inherit; }
.blog-featured__content .headline-section a:hover { color: #99f6e4; }
.blog-featured__tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #99f6e4;
  margin-bottom: 0.65rem;
  display: inline-block;
}
.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
  height: 100%;
}
.blog-card:hover {
  border-color: #99f6e4;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -24px rgba(12, 18, 34, 0.22);
}
.blog-card__img {
  width: 100%;
  height: 11rem;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}
.blog-card__body { padding: 1.15rem 1.1rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.blog-card__cat {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 0.5rem;
}
.blog-card h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}
.blog-card h2 a:hover { color: var(--accent-deep); }
.blog-card__excerpt {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  flex: 1;
  line-height: 1.55;
}
.blog-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--mist-2);
  font-size: 0.82rem;
  color: var(--muted);
}
.blog-card__foot a { color: var(--accent-deep); font-weight: 700; }

/* Prose (blog + legal) */
.prose-light {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.75;
}
.prose-light h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--ink);
  margin: 2rem 0 0.75rem;
}
.prose-light h3 {
  font-size: 1.15rem;
  color: var(--ink);
  margin: 1.5rem 0 0.5rem;
}
.prose-light p { margin: 0 0 1rem; }
.prose-light ul, .prose-light ol { margin: 0 0 1rem; padding-left: 1.35rem; }
.prose-light li { margin-bottom: 0.35rem; }
.prose-light a { color: var(--accent-deep); font-weight: 600; }
.prose-light a:hover { text-decoration: underline; }

.article-excerpt {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--ink-soft);
  border-left: 3px solid var(--accent);
  padding-left: 1.15rem;
  margin: 0 0 2rem;
}
.article-cta {
  margin: 2rem 0;
  background: linear-gradient(135deg, var(--mist) 0%, #fff 50%, var(--accent-soft) 100%);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.35rem 1.25rem;
}
.article-cta__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.article-cta__grid h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0.35rem 0 0.25rem;
  color: var(--ink);
}
.article-cta__grid p { margin: 0; font-size: 0.92rem; color: var(--ink-soft); }

/* Legal */
.legal-nav { margin-bottom: 1.5rem; }
.legal-nav__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.legal-nav__tab {
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: #fff;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.legal-nav__tab:hover { border-color: var(--accent); color: var(--accent-deep); }
.legal-nav__tab.is-active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-deep);
}
.legal-footer-links {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-size: 0.9rem;
}
.legal-footer-links a { color: var(--accent-deep); font-weight: 600; }
.section--legal { padding-top: 2rem; }
.legal-updated,
.legal-cross {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.legal-updated { margin-top: 2rem; }
.legal-prose h2 { scroll-margin-top: 5.5rem; }

/* Auth */
.auth-page { padding: 3rem 0 4rem; }
.auth-page__grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 960px) {
  .auth-page__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
.auth-aside {
  display: none;
  background: linear-gradient(160deg, #0c1222 0%, #152238 55%, #0f766e 140%);
  color: #e2e8f0;
  border-radius: 1.15rem;
  padding: 2rem 1.75rem;
  min-height: 100%;
}
@media (min-width: 960px) {
  .auth-aside { display: flex; flex-direction: column; }
}
.auth-aside .logo-wordmark { color: #fff; margin-bottom: 1.5rem; }
.auth-aside .logo-wordmark .mark { color: #2dd4bf; }
.auth-aside .eyebrow { color: #99f6e4; }
.auth-aside h1 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  color: #fff;
}
.auth-aside p { color: #94a3b8; font-size: 0.92rem; margin-top: 0.85rem; }
.auth-aside__list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  font-size: 0.9rem;
}
.auth-aside__list li { display: flex; gap: 0.55rem; }
.auth-aside__list li::before { content: "→"; color: #2dd4bf; font-weight: 700; }
.auth-aside__panel {
  margin-top: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}
.auth-aside__panel-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}
.auth-aside__panel-row:first-child { border-top: 0; }
.auth-aside__panel-row span { color: #94a3b8; }
.auth-aside__panel-row strong { color: #fff; font-weight: 700; }
.auth-aside__cta {
  margin-top: auto;
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: #64748b;
}
.auth-aside__cta a {
  color: #99f6e4;
  font-weight: 700;
}
.auth-page__form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 20px 40px -32px rgba(12, 18, 34, 0.2);
}
.auth-page__mobile-logo { display: block; margin-bottom: 1.25rem; }
@media (min-width: 960px) {
  .auth-page__mobile-logo { display: none; }
}
.auth-page__form h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin: 0 0 0.35rem;
}
.auth-page__form-lead {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.auth-page__alert {
  margin-bottom: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.65rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-size: 0.88rem;
  font-weight: 600;
}
.auth-page__fields { display: grid; gap: 1rem; }
.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.auth-page__form-foot {
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
}
.auth-page__form-foot a { color: var(--accent-deep); font-weight: 700; }
.form-note { margin: 0.35rem 0 0; font-size: 0.78rem; color: var(--muted); }
.form-captcha {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1rem;
}

/* 404 */
.not-found {
  padding: 5rem 0 6rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.not-found__code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 6rem);
  font-weight: 650;
  color: var(--accent-soft);
  line-height: 1;
  margin: 0 0 0.5rem;
  -webkit-text-stroke: 1px var(--accent);
  color: transparent;
}
.not-found__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1.75rem;
}

/* Trust row (blog footer) */
.trust-row { padding: 2.5rem 0; background: var(--mist); border-top: 1px solid var(--line); }
.trust-row__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .trust-row__grid { grid-template-columns: repeat(4, 1fr); }
}
.trust-row__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 0.85rem;
  text-align: center;
}
.trust-row__value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 650;
  color: var(--accent-deep);
  margin: 0;
}
.trust-row__label {
  margin: 0.25rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.text-link { color: var(--accent-deep); font-weight: 700; }
.text-link:hover { text-decoration: underline; }

/* Utilities */
::selection { background: var(--accent-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.btn-sm {
  min-height: 2.4rem !important;
  padding: 0.45rem 1rem !important;
  font-size: 0.85rem !important;
}

.page-hero {
  padding: 3.25rem 0 2.75rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(800px 320px at 0% 0%, rgba(13, 148, 136, 0.07), transparent 55%),
    #fff;
}
.page-hero__title { margin-top: 0.85rem; max-width: var(--hero-title-max, 18ch); }
.page-hero__lead { margin-top: 1rem; max-width: 36rem; }

.site-header.is-scrolled {
  box-shadow: 0 8px 24px -18px rgba(12, 18, 34, 0.35);
  background: rgba(255, 255, 255, 0.96);
}

.flash {
  padding: 0.9rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 1rem;
}
.flash--ok { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.flash--error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}
.chip {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #fff;
}

.form-grid-2 {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}
.contact-form { display: grid; gap: 1rem; }
.contact-form textarea.input-field { min-height: 7.5rem; resize: vertical; }
select.input-field {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.25rem;
}

.price-card { position: relative; }
.price-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent-soft);
  color: var(--accent-deep);
  border: 1px solid #99f6e4;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-weight: 600;
}
.price-card--featured .price-card__badge {
  background: rgba(255, 255, 255, 0.15);
  color: #99f6e4;
  border-color: rgba(153, 246, 228, 0.35);
}

.card--agent::before {
  content: "";
  display: block;
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  background: linear-gradient(135deg, var(--accent-soft), #fff);
  border: 1px solid #99f6e4;
  margin-bottom: 0.85rem;
}

.compare {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .compare { grid-template-columns: 1fr 1fr; }
}
.compare__col {
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  border: 1px solid var(--line);
}
.compare__col--muted { background: var(--mist); }
.compare__col--accent {
  background: #fff;
  border-color: #99f6e4;
  box-shadow: 0 20px 40px -32px rgba(13, 148, 136, 0.25);
}
.compare__col h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.85rem;
}
.compare__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.compare__list li { display: flex; gap: 0.55rem; }
.compare__col--muted .compare__list li::before { content: "×"; color: #94a3b8; font-weight: 700; }
.compare__col--accent .compare__list li::before { content: "→"; color: var(--accent); font-weight: 700; }

.integrations {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--mist);
  padding: 0.85rem 0;
}
.integrations__track {
  display: flex;
  gap: 0.65rem;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.integrations__item {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  .integrations__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .integrations { overflow: visible; }
  .integrations .site-wrap { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.faq-layout {
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .faq-layout { grid-template-columns: 0.85fr 1.15fr; align-items: start; }
}
.faq-aside {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
}
.faq-aside h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0.5rem 0 0.75rem;
}
.faq-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.faq-nav a {
  display: block;
  padding: 0.55rem 0.65rem;
  border-radius: 0.55rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.faq-nav a:hover { background: #fff; color: var(--accent-deep); }

.faq summary span:last-child {
  transition: transform 0.2s ease;
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}
.faq details[open] summary span:last-child { transform: rotate(45deg); }

.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 45;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px -16px rgba(12, 18, 34, 0.25);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.faq-search { margin-bottom: 1rem; }
.faq-search__empty { margin: 0.65rem 0 0; font-size: 0.85rem; }
.sticky-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  max-width: 72rem;
  margin: 0 auto;
}
.sticky-cta__text {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}
.sticky-cta__text span {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
}
@media (max-width: 899px) {
  body.has-sticky-cta { padding-bottom: 4.5rem; }
  .sticky-cta { display: block; }
}
.sticky-cta.is-dimmed {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 2.5rem;
}

.text-muted { color: var(--muted); font-size: 0.875rem; }
.text-center { text-align: center; }
.mt-lg { margin-top: 1.5rem; }
.mt-xl { margin-top: 2rem; }
.max-w-narrow { max-width: 40rem; margin-left: auto; margin-right: auto; }
.max-w-medium { max-width: 48rem; margin-left: auto; margin-right: auto; }
.max-w-wide { max-width: 56rem; margin-left: auto; margin-right: auto; }

/* Outcomes */
.outcomes {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .outcomes { grid-template-columns: repeat(3, 1fr); }
}
.outcome {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.2rem;
  text-align: center;
}
.outcome__value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.65rem);
  font-weight: 650;
  color: var(--accent-deep);
  line-height: 1;
  margin: 0;
}
.outcome__title {
  margin: 0.55rem 0 0.35rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}
.outcome p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* Footer CTA */
.footer-cta {
  margin-bottom: 2.5rem;
  text-align: left;
}
.footer-cta__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
}
.footer-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.footer-brand__copy {
  margin-top: 0.9rem;
  max-width: 26rem;
  font-size: 0.92rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 110;
  padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
  transition: opacity 0.22s ease, transform 0.22s ease;
}
body.has-sticky-cta .cookie-banner {
  bottom: 4.1rem;
}
.cookie-banner__card {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 16px 40px -24px rgba(12, 18, 34, 0.35);
}
.cookie-banner__text { flex: 1; min-width: 16rem; }
.cookie-banner__title { margin: 0 0 0.25rem; font-weight: 700; }
.cookie-banner__desc { margin: 0; font-size: 0.875rem; color: var(--ink-soft); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* Article read progress */
.article-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 60;
  background: var(--mist);
}
.article-progress__bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
  transition: width 0.12s linear;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.article-cover {
  margin: 0 0 2rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
}
.article-cover img {
  width: 100%;
  max-height: 26rem;
  object-fit: cover;
}
.article-related {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.article-footer-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.btn-group--center { justify-content: center; }

.section__head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section__head--center .eyebrow { justify-content: center; }
.section__head--center .copy-body { margin-left: auto; margin-right: auto; }

/* Week rhythm */
.week {
  display: grid;
  gap: 0.65rem;
}
@media (min-width: 700px) {
  .week { grid-template-columns: repeat(5, 1fr); gap: 0.75rem; }
}
.week__day {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 1rem 0.9rem;
  min-height: 8.5rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s, transform 0.15s;
}
.week__day:hover {
  border-color: #99f6e4;
  transform: translateY(-2px);
}
.week__day-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.55rem;
}
.week__day strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  color: var(--ink);
}
.week__day p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.45;
  flex: 1;
}
.week__day--focus {
  background: linear-gradient(160deg, #0c1222, #0f766e);
  border-color: transparent;
  color: #fff;
}
.week__day--focus .week__day-label { color: #99f6e4; }
.week__day--focus strong { color: #fff; }
.week__day--focus p { color: #cbd5e1; }

/* Quote band */
.quote-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  padding: 3rem 0;
}
.quote-band blockquote {
  margin: 0 auto;
  max-width: 40rem;
  text-align: center;
}
.quote-band p {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.35;
  color: var(--ink);
  margin: 0;
}
.quote-band footer {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Scroll top */
.scroll-top {
  position: fixed;
  right: 1rem;
  bottom: 1.25rem;
  z-index: 40;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px -16px rgba(12, 18, 34, 0.4);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.15s;
}
.scroll-top.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.scroll-top:hover { background: var(--mist); border-color: var(--accent); color: var(--accent-deep); }
@media (max-width: 899px) {
  body.has-sticky-cta .scroll-top { bottom: 5.25rem; }
}
body:has(#cookie-banner) .scroll-top { bottom: 7.5rem; }

.price-card .amount--sm { font-size: 1.65rem; }
.price-card .amount--sm span { font-size: 0.95rem; font-weight: 500; }

.headline-section--sm {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Method page */
.method-split {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 1000px) {
  .method-split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
  .method-split__aside { position: sticky; top: 5.5rem; }
}
.method-loop {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.method-loop__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 0.75rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.method-loop__item span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--accent-deep);
}
.step__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.step__top .step__n { margin-bottom: 0; }
.step__tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: var(--accent-soft);
  border: 1px solid #99f6e4;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-weight: 600;
}

/* Capacity filters */
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.5rem;
  position: sticky;
  top: 4.5rem;
  z-index: 20;
  padding: 0.65rem 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.92));
  backdrop-filter: blur(8px);
}
.filter-chip {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.filter-chip:hover { border-color: var(--accent); color: var(--accent-deep); }
.filter-chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.cap-group.is-hidden { display: none; }

/* Compare table */
.compare-table-wrap { margin-top: 2.5rem; }
.compare-table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 36rem;
  font-size: 0.9rem;
}
.compare-table th,
.compare-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--mist-2);
}
.compare-table thead th {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--mist);
  font-weight: 600;
}
.compare-table tbody th {
  font-weight: 700;
  color: var(--ink);
  width: 32%;
}
.compare-table tbody td {
  color: var(--ink-soft);
  font-weight: 600;
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody tr:hover td,
.compare-table tbody tr:hover th { background: rgba(204, 251, 241, 0.25); }

.split--top { align-items: start; }
.card--padded { padding: 1.75rem; }

/* Audience */
.audience {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .audience { grid-template-columns: repeat(3, 1fr); }
}
.audience__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.2rem;
  transition: border-color 0.15s, transform 0.15s;
}
.audience__card:hover {
  border-color: #99f6e4;
  transform: translateY(-2px);
}
.audience__card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.45rem;
}
.audience__card p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Journey (14 días) */
.journey {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  counter-reset: journey;
}
@media (min-width: 800px) {
  .journey { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
}
.journey__item {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.1rem;
  counter-increment: journey;
}
.journey__item::before {
  content: counter(journey, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  display: block;
  margin-bottom: 0.45rem;
}
.journey__when {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.4rem;
}
.journey__item h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 0.4rem;
}
.journey__item p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* Print */
@media print {
  .site-header,
  .site-footer,
  .sticky-cta,
  .cookie-banner,
  .scroll-top,
  .skip-link { display: none !important; }
  body { background: #fff; }
  a { text-decoration: underline; }
  .hero-dashboard,
  .integrations { display: none !important; }
}

/* Contact aside note */
.contact-aside-note {
  padding: 1rem 1.1rem;
  border-radius: 0.85rem;
  border: 1px solid var(--line);
  background: var(--mist);
}

.btn-block { width: 100%; }
.form-label-hint { font-weight: 400; color: var(--muted); }
.form-captcha__q {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.input-with-action {
  position: relative;
  display: grid;
}
.input-with-action .input-field { padding-right: 3.5rem; }
.input-action {
  position: absolute;
  right: 0.45rem;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: var(--mist);
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.6rem;
  border-radius: 0.45rem;
  cursor: pointer;
}
.input-action:hover { color: var(--accent-deep); background: var(--accent-soft); }

/* Sectors */
.sectors {
  display: grid;
  gap: 1rem;
}
@media (min-width: 700px) {
  .sectors { grid-template-columns: repeat(2, 1fr); }
}
.sectors__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.sectors__card:hover {
  border-color: #99f6e4;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -24px rgba(12, 18, 34, 0.22);
}
.sectors__card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.4rem;
}
.sectors__focus {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 0.55rem;
}
.sectors__card p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Auth page denser on mobile */
@media (max-width: 959px) {
  .auth-page { padding: 1.75rem 0 3rem; }
  .auth-page__form { padding: 1.35rem 1.15rem; }
}
