:root {
  /* 60% — neutral surface (backgrounds) */
  --neutral-100: #ffffff;
  --neutral-200: #f8fafc;

  /* ink — typography + structure */
  --ink-900: #0f172a;
  --ink-600: #475569;
  --ink-300: #e2e8f0;

  /* 30% — primary brand (TuBotLocal) */
  --brand-blue: #0b53a8;
  --brand-green: #1e8238;

  /* 10% — accent (CTA fills ONLY) */
  --accent: #ff3d00;
  --accent-ink: #0f172a;
  --accent-dark: #d32f2f;

  /* structural tokens */
  --radius: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --shadow: 0 10px 30px rgb(15 23 42 / 0.08);
  --container: min(1100px, 92%);
  --container-narrow: min(760px, 92%);
  --line-height: 1.6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink-900);
  background: var(--neutral-100);
  line-height: var(--line-height);
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.container-narrow {
  width: var(--container-narrow);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--neutral-100);
  border-bottom: 1px solid var(--ink-300);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.9rem 0;
}

.logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
  text-decoration: none;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}

.logo img {
  display: block;
  height: 58px;
  width: auto;
}

.logo span {
  color: var(--brand-green);
}

.logo small {
  display: block;
  font-size: 0.58rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-600);
  line-height: 1;
}

.nav {
  display: flex;
  gap: 1.25rem;
  margin-left: auto;
}

.nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--ink-600);
}

.nav a:hover {
  color: var(--brand-blue);
}

.header-cta {
  padding: 0.5rem 1rem;
  font-size: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

/* Primary CTA — the ONLY place --accent appears */
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 1rem;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent-dark);
}

.btn-outline {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.btn-outline:hover {
  background: var(--brand-blue);
  color: var(--neutral-100);
}

.btn-lg {
  padding: 0.95rem 1.75rem;
  font-size: 1.02rem;
}

/* Hero */
.hero {
  padding: 4.5rem 0;
  background: linear-gradient(180deg, var(--neutral-200), var(--neutral-100));
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--brand-blue);
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  color: var(--ink-900);
}

.lead {
  font-size: 1.1rem;
  color: var(--ink-600);
}

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

/* Hero stats inline */
.hero-stats {
  display: flex;
  gap: 0;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ink-300);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0 1.5rem;
  border-right: 1px solid var(--ink-300);
  transition: transform 0.2s ease;
}

.hero-stat:first-child {
  padding-left: 0;
}

.hero-stat:last-child {
  border-right: none;
}

.hero-stat:hover {
  transform: translateY(-2px);
}

.hero-stat-num {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand-blue), #1e40af);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.82rem;
  color: var(--ink-600);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hero-microcopy {
  margin-top: 0.9rem;
  font-size: 0.88rem;
  color: var(--ink-600);
}

.trust-badges {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--ink-900);
}

.hero-panel {
  background: var(--neutral-100);
  border: 1px solid var(--ink-300);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem;
}

.chat {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.chat-bubble {
  max-width: 85%;
  margin: 0;
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}

.chat-bubble.in {
  align-self: flex-start;
  background: var(--neutral-200);
  color: var(--ink-900);
}

.chat-bubble.out {
  align-self: flex-end;
  background: var(--brand-blue);
  color: var(--neutral-100);
}

/* Sections */
.section {
  padding: 4rem 0;
}

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

.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--ink-900);
}

.section-lead {
  text-align: center;
  color: var(--ink-600);
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.step {
  background: var(--neutral-100);
  border: 1px solid var(--ink-300);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.card p,
.step p {
  color: var(--ink-600);
  margin: 0;
  font-size: 0.97rem;
}

/* Steps — CSS counter (no span needed) */
.grid.steps {
  counter-reset: step-counter;
}

.grid.steps .step {
  counter-increment: step-counter;
}

.grid.steps .step::before {
  content: counter(step-counter);
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--brand-blue);
  color: var(--neutral-100);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* Plans */
.plans {
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--neutral-100);
  border: 1px solid var(--ink-300);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.plan-highlight {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.plan-badge {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-blue);
  color: var(--neutral-100);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
}

.plan-tagline {
  color: var(--ink-600);
  font-size: 0.92rem;
  min-height: 2.8em;
}

.plan-price {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0.5rem 0 1rem;
  color: var(--ink-900);
}

.plan-price .currency {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-600);
  vertical-align: super;
}

.plan-price .period {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-600);
}

.plan .btn {
  margin-top: auto;
  text-align: center;
  font-size: 1rem;
}

/* FAQ */
#faq details {
  background: var(--neutral-100);
  border: 1px solid var(--ink-300);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  margin-bottom: 0.75rem;
}

#faq summary {
  font-weight: 600;
  cursor: pointer;
  color: var(--ink-900);
}

#faq details p {
  margin: 0.6rem 0 0;
  color: var(--ink-600);
}

/* Final CTA */
.cta-final {
  background: var(--ink-900);
  color: var(--neutral-100);
  text-align: center;
}

.cta-final h2 {
  color: var(--neutral-100);
}

.cta-final .section-lead {
  color: var(--ink-300);
}

/* ===== COOKIE BAR ===== */
.cookie-bar {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(680px, 92%);
  background: var(--neutral-100);
  border: 1px solid var(--ink-300);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgb(15 23 42 / 0.18);
  padding: 0.9rem 1.25rem;
  font-size: 0.9rem;
  color: var(--ink-600);
}

.cookie-bar[hidden] {
  display: none;
}

.cookie-bar p {
  margin: 0;
  flex: 1;
}

.cookie-bar a {
  color: var(--brand-blue);
  font-weight: 600;
}

.cookie-accept {
  flex-shrink: 0;
}

/* ===== LEGAL PAGES ===== */
.legal-page {
  padding: 3.5rem 0 4.5rem;
}

.legal-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-blue);
  margin: 0 0 0.6rem;
}

.legal-page h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
  color: var(--ink-900);
  margin: 0 0 0.4rem;
}

.legal-updated {
  font-size: 0.88rem;
  color: var(--ink-600);
  margin: 0 0 2.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--ink-300);
}

.legal-page h2 {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--ink-900);
  margin: 2rem 0 0.6rem;
}

.legal-page p,
.legal-page li {
  font-size: 0.98rem;
  color: var(--ink-600);
}

.legal-page ul {
  padding-left: 1.25rem;
  display: grid;
  gap: 0.45rem;
}

.legal-page strong {
  color: var(--ink-900);
}

/* ===== SOLUCIONES PAGE ===== */
.sol-hero {
  padding: 5rem 0 4.5rem;
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgb(11 83 168 / 0.35), transparent 60%),
    radial-gradient(40rem 24rem at 5% 110%, rgb(30 130 56 / 0.22), transparent 65%),
    var(--ink-900);
  color: var(--neutral-100);
  position: relative;
  overflow: hidden;
}

.sol-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(48rem 24rem at 50% 40%, #000 30%, transparent 75%);
  pointer-events: none;
}

.sol-hero-inner {
  position: relative;
  z-index: 1;
}

.sol-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #93c5fd;
  margin: 0 0 1rem;
}

.sol-kicker::before {
  content: "";
  width: 2rem;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.sol-hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin: 0 0 1.1rem;
  color: var(--neutral-100);
}

.sol-lead {
  font-size: 1.12rem;
  color: #cbd5e1;
  max-width: 54ch;
  margin: 0;
}

.sol-stage {
  padding: 3.5rem 0 4.5rem;
  background: var(--neutral-200);
}

.dent-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
  background: var(--neutral-100);
  border: 1px solid var(--ink-300);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgb(15 23 42 / 0.12);
  padding: 3rem;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.dent-panel:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 70px rgb(15 23 42 / 0.18);
  border-color: var(--brand-blue);
}

.dent-panel:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 4px;
}

.dent-panel .dent-cta svg {
  transition: transform 0.2s ease;
}

.dent-panel:hover .dent-cta svg {
  transform: translateX(4px);
}

/* Home — card Soluciones (BOT_DENT) */
.home-solutions {
  margin-top: 2.5rem;
}

.home-solutions-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-blue);
  margin: 0 0 0.85rem;
}

.dent-card {
  display: flex;
  gap: 1.35rem;
  align-items: center;
  background: var(--neutral-100);
  border: 1px solid var(--ink-300);
  border-radius: 18px;
  padding: 1.75rem;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.dent-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-green) 60%, var(--accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.dent-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 48px rgb(15 23 42 / 0.16);
  border-color: var(--brand-blue);
}

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

.dent-card:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 3px;
}

.dent-card-icon {
  flex-shrink: 0;
  width: 124px;
  height: 124px;
  border-radius: 24px;
  background: rgb(11 83 168 / 0.1);
  display: grid;
  place-items: center;
}

.dent-card-icon img {
  display: block;
  width: 92px;
  height: auto;
}

.dent-card-tag {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  background: rgb(11 83 168 / 0.1);
  color: var(--brand-blue);
  border: 1px solid rgb(11 83 168 / 0.3);
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin: 0 0 0.5rem;
}

.dent-card-title {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  margin: 0 0 0.4rem;
}

.dent-card-desc {
  font-size: 0.97rem;
  color: var(--ink-600);
  line-height: 1.55;
  margin: 0 0 0.9rem;
}

.dent-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--brand-blue);
  transition: color 0.2s ease, gap 0.2s ease;
}

.dent-card:hover .dent-card-cta {
  color: var(--accent);
  gap: 0.65rem;
}

@media (max-width: 560px) {
  .dent-card {
    flex-direction: column;
    gap: 1rem;
    padding: 1.35rem;
  }
}

.dent-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-green) 55%, var(--accent));
}

.dent-tag {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: rgb(11 83 168 / 0.1);
  color: var(--brand-blue);
  border: 1px solid rgb(11 83 168 / 0.3);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 1rem;
}

.dent-copy h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: var(--ink-900);
}

.dent-promise {
  font-size: 1.08rem;
  color: var(--ink-600);
  margin: 0 0 1.4rem;
}

.dent-points {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.dent-points li {
  position: relative;
  padding-left: 2rem;
  font-size: 0.98rem;
  color: var(--ink-900);
}

.dent-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: rgb(30 130 56 / 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e8238' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 0.75rem no-repeat;
}

.dent-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.dent-meta span {
  padding: 0.4rem 0.85rem;
  background: var(--neutral-200);
  border: 1px solid var(--ink-300);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-600);
}

.dent-visual {
  position: relative;
  display: grid;
  gap: 1.25rem;
  justify-items: center;
}

.dent-pin {
  width: 96px;
  height: 96px;
  border-radius: 26px;
  background: var(--neutral-100);
  border: 1px solid var(--ink-300);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  animation: float 4s ease-in-out infinite;
}

.dent-chat {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: var(--neutral-200);
  border: 1px solid var(--ink-300);
  border-radius: 18px;
  padding: 1.25rem;
}

.dent-chat .chat-bubble {
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
}

.dent-chat .chat-bubble:nth-child(1) { animation-delay: 0.15s; }
.dent-chat .chat-bubble:nth-child(2) { animation-delay: 0.55s; }
.dent-chat .chat-bubble:nth-child(3) { animation-delay: 1.05s; }
.dent-chat .chat-bubble:nth-child(4) { animation-delay: 1.45s; }

/* Responsive */
@media (max-width: 900px) {
  .dent-panel {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    padding: 2rem;
  }

  .dent-visual {
    order: -1;
  }
}

@media (max-width: 560px) {
  .sol-hero {
    padding: 3.5rem 0 3rem;
  }

  .dent-panel {
    padding: 1.5rem;
    border-radius: 16px;
  }

  .dent-chat {
    max-width: 100%;
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--ink-300);
  padding: 1.5rem 0;
  font-size: 0.9rem;
  color: var(--ink-600);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.15rem;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink-900);
}

.footer-icon {
  height: 30px;
  width: auto;
  display: block;
}

.brand-accent {
  color: var(--brand-green);
}

.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-600);
}

.footer-inner nav {
  display: flex;
  gap: 1.25rem;
}

.footer-inner a {
  color: var(--ink-600);
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--brand-blue);
}

/* Pain points */
.card-pain {
  border-left: 4px solid var(--brand-blue);
}

.card-pain h3 {
  font-size: 1.02rem;
}

/* Solution list */
.solution-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.solution-list li {
  background: var(--neutral-100);
  border: 1px solid var(--ink-300);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  color: var(--ink-600);
  font-size: 0.98rem;
}

.solution-list strong {
  color: var(--ink-900);
  display: block;
  margin-bottom: 0.2rem;
}

/* Plan card — detail sections */
.plan-promise {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--brand-green);
  margin-bottom: 0.5rem;
}

.plan-result {
  background: var(--neutral-200);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.8rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-green);
}

.plan-facts {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  display: grid;
  gap: 0.3rem;
  font-size: 0.88rem;
  color: var(--ink-900);
}

.plan-details {
  margin-top: 1rem;
  border-top: 1px solid var(--ink-300);
  padding-top: 0.75rem;
}

.plan-details > summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--brand-blue);
  list-style: none;
}

.plan-details > summary::before {
  content: "＋ ";
}

.plan-details[open] > summary::before {
  content: "－ ";
}

.plan-block {
  margin-top: 0.9rem;
}

.plan-block-title {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--ink-900);
}

.plan-block-intro,
.plan-block-note {
  font-size: 0.82rem;
  color: var(--ink-600);
  margin-bottom: 0.35rem;
}

.plan-block-note {
  font-style: italic;
}

.plan-group-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin: 0.6rem 0 0.25rem;
}

.plan-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.3rem;
  font-size: 0.84rem;
  color: var(--ink-600);
}

.plan-block ul li {
  padding-left: 1.1rem;
  position: relative;
}

.plan-block ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--brand-blue);
  font-weight: 700;
}

/* Final CTA contact lines */
.contact-lines {
  margin-top: 1.75rem;
  font-size: 0.97rem;
  color: var(--ink-300);
  line-height: 2;
}

.contact-lines a {
  color: var(--neutral-100);
  font-weight: 600;
}

/* Layout with verticales sidebar */
.layout-with-aside {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  align-items: start;
}

.verticales-aside {
  position: sticky;
  top: 5rem;
  padding: 1.25rem;
  background: var(--neutral-100);
  border: 1px solid var(--ink-300);
  border-radius: var(--radius);
}

.verticales-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-600);
  margin: 0 0 0.75rem;
}

.vertical-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid var(--ink-300);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.vertical-card:hover {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow);
}

.vertical-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-bottom: 0.35rem;
}

.vertical-dot-blue {
  background: var(--brand-blue);
}

.vertical-name {
  font-weight: 800;
  font-size: 1rem;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}

.vertical-desc {
  font-size: 0.82rem;
  color: var(--ink-600);
}

/* ===== ANIMATIONS ===== */

/* Keyframes */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink {
  50% { border-color: transparent; }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 5px rgba(255, 61, 0, 0.3); }
  50% { box-shadow: 0 0 20px rgba(255, 61, 0, 0.6); }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Scroll-reveal base state */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays */
.reveal:nth-child(1) { transition-delay: 0ms; }
.reveal:nth-child(2) { transition-delay: 100ms; }
.reveal:nth-child(3) { transition-delay: 200ms; }
.reveal:nth-child(4) { transition-delay: 300ms; }
.reveal:nth-child(5) { transition-delay: 400ms; }
.reveal:nth-child(6) { transition-delay: 500ms; }

/* ===== ENHANCED COMPONENTS ===== */

/* Header — glassmorphism */
.site-header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

/* Nav links — animated underline */
.nav a {
  position: relative;
  padding: 0.25rem 0;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-blue);
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

/* Buttons — enhanced hover */
.btn {
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  animation: glow 2s ease-in-out infinite;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(255, 61, 0, 0.4);
}

.btn-outline:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(11, 83, 168, 0.3);
}

/* Hero — animated gradient background */
.hero {
  background: linear-gradient(135deg, #f8fafc, #e0f2fe, #f8fafc, #e0f2fe);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

/* Hero copy — staggered entrance */
.hero-copy > * {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.hero-copy > *:nth-child(1) { animation-delay: 0ms; }
.hero-copy > *:nth-child(2) { animation-delay: 100ms; }
.hero-copy > *:nth-child(3) { animation-delay: 200ms; }
.hero-copy > *:nth-child(4) { animation-delay: 300ms; }
.hero-copy > *:nth-child(5) { animation-delay: 400ms; }
.hero-copy > *:nth-child(6) { animation-delay: 500ms; }

/* Hero panel — float animation */
.hero-panel {
  animation: float 4s ease-in-out infinite;
}

/* Chat bubbles — typing indicator */
.chat-bubble {
  animation: fadeInUp 0.4s ease forwards;
  opacity: 0;
}

.chat-bubble:nth-child(1) { animation-delay: 600ms; }
.chat-bubble:nth-child(2) { animation-delay: 800ms; }
.chat-bubble:nth-child(3) { animation-delay: 1000ms; }
.chat-bubble:nth-child(4) { animation-delay: 1200ms; }

/* Cards — hover lift */
.card, .step {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover, .step:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
  border-color: var(--brand-blue);
}

/* Pain cards — red left border pulse on hover */
.card-pain:hover {
  border-left-color: var(--accent);
}

/* Solution list items */
.solution-list li {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.solution-list li:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 15px rgba(11, 83, 168, 0.1);
}

/* Plan cards — enhanced hover */
.plan {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.plan:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.plan-highlight:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(11, 83, 168, 0.2);
}

/* FAQ — smooth open/close */
#faq details {
  transition: box-shadow 0.2s ease;
}

#faq details:hover {
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.06);
}

#faq details[open] {
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

#faq summary {
  transition: color 0.2s ease;
}

#faq summary:hover {
  color: var(--brand-blue);
}

/* Final CTA — animated background */
.cta-final {
  background: linear-gradient(135deg, #0f172a, #1e293b, #0f172a, #1e293b);
  background-size: 400% 400%;
  animation: gradientShift 10s ease infinite;
}

/* Footer links */
.footer-inner a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-inner a:hover {
  color: var(--brand-blue);
  transform: translateY(-1px);
}

/* Logo — subtle hover */
.logo {
  transition: transform 0.2s ease;
}

.logo:hover {
  transform: scale(1.02);
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

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

  html {
    scroll-behavior: auto;
  }
}

/* Section eyebrow */
.section-eyebrow {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-blue);
  margin-bottom: 0.75rem;
}

/* Testimonials */
.testimonials {
  padding: 4rem 0;
  background: var(--neutral-200);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.testimonial-card {
  background: var(--neutral-100);
  border: 1px solid var(--ink-300);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 0.1em;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--ink-600);
  line-height: 1.6;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: var(--neutral-100);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink-900);
}

.testimonial-role {
  font-size: 0.78rem;
  color: var(--ink-600);
}

/* Integrations / methods */
.integrations {
  padding: 4rem 0;
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.integration-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.integration-card {
  text-align: center;
  padding: 1.75rem 1.5rem;
  background: var(--neutral-100);
  border: 1px solid var(--ink-300);
  border-radius: var(--radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.integration-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.08);
}

.integration-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}

.integration-icon.blue { background: rgba(11, 83, 168, 0.1); }
.integration-icon.green { background: rgba(30, 130, 56, 0.1); }
.integration-icon.orange { background: rgba(255, 61, 0, 0.1); }

.integration-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink-900);
  margin-bottom: 0.35rem;
}

.integration-desc {
  font-size: 0.85rem;
  color: var(--ink-600);
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .plan-highlight {
    transform: none;
  }

  .nav {
    display: none;
  }

  .layout-with-aside {
    grid-template-columns: 1fr;
  }

  .verticales-aside {
    position: static;
    order: -1;
  }

  .layout-with-aside {
    grid-template-columns: 1fr;
  }

  .verticales-aside {
    position: static;
    order: -1;
  }

  .header-cta {
    margin-left: auto;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .btn,
  .plan .btn,
  .cta-final .btn {
    width: 100%;
    text-align: center;
  }
}
