/* ============================================
   SL SOLUCIONES — DESIGN SYSTEM
   Aesthetic: Warm editorial premium consulting
   Palette: cream paper · deep ink · terracotta accent
============================================ */

:root {
  /* Light (warm paper) */
  --bg: #F6F2EA;
  --bg-soft: #EFEADD;
  --surface: #FFFFFF;
  --surface-2: #FBF8F2;
  --ink: #0E1B2E;
  --ink-2: #1F2D44;
  --ink-soft: #475569;
  --muted: #6B7790;
  --line: #E3DCCB;
  --line-2: #D8CFBA;

  /* Accents */
  --accent: #C76B3B;        /* warm terracotta */
  --accent-soft: #E5A777;
  --accent-tint: #F5E4D2;
  --blue: #1F4FAF;
  --blue-soft: #5E84CC;
  --sage: #6B8470;

  /* Functional */
  --success: #2E7D5B;
  --warning: #B8853A;
  --danger: #B23B3B;

  /* Type */
  --display: "Cormorant Garamond", "Georgia", "Times New Roman", serif;
  --sans: "Outfit", -apple-system, "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  /* Spacing rhythm */
  --container: 1200px;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --section-y: clamp(4rem, 8vw, 7rem);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(14,27,46,0.04), 0 1px 0 rgba(14,27,46,0.03);
  --shadow-md: 0 10px 30px -12px rgba(14,27,46,0.12), 0 2px 6px -2px rgba(14,27,46,0.05);
  --shadow-lg: 0 30px 60px -20px rgba(14,27,46,0.20), 0 8px 20px -8px rgba(14,27,46,0.08);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
  --bg: #0B1424;
  --bg-soft: #0F1B30;
  --surface: #14223A;
  --surface-2: #1A2A45;
  --ink: #F2EBDC;
  --ink-2: #DCD3C0;
  --ink-soft: #B5BBC8;
  --muted: #8794AB;
  --line: #233453;
  --line-2: #2C3F61;
  --accent: #E08956;
  --accent-tint: #2A1E15;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  letter-spacing: 0.005em;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

::selection { background: var(--accent); color: #fff; }

/* CONTAINER */
.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); }

/* LOADER */
.page-loader {
  position: fixed; inset: 0; background: var(--bg); z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}
.page-loader.gone { opacity: 0; visibility: hidden; }
.loader-img { width: 90px; height: auto; animation: loadPulse 1.6s ease-in-out infinite; }
@keyframes loadPulse { 0%, 100% { opacity: 0.5; transform: scale(0.98); } 50% { opacity: 1; transform: scale(1); } }

/* SCROLL PROGRESS */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--blue));
  z-index: 1000; transition: width 0.1s linear;
}

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: clamp(1rem, 3vw, 2rem);
  padding: 1rem clamp(1rem, 4vw, 2.5rem);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { height: 54px; width: auto; display: block; }
.brand-logo.dark-only { display: none; }
[data-theme="dark"] .brand-logo.light-only { display: none; }
[data-theme="dark"] .brand-logo.dark-only { display: block; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink); background: var(--surface-2); border: 1px solid var(--line);
}
.brand-mark.light { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.15); color: var(--accent-soft); }
.brand-name { font-family: var(--display); font-size: 22px; line-height: 1; color: var(--ink); letter-spacing: -0.5px; }
.brand-sub { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.nav-links { display: flex; gap: clamp(1rem, 2vw, 1.8rem); margin-left: auto; }
.nav-links a {
  font-size: 13.5px; color: var(--ink-soft); font-weight: 500;
  position: relative; padding: 6px 0;
  transition: color 0.2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--accent); transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); color: var(--ink-soft);
  transition: all 0.2s;
}
.theme-toggle:hover { border-color: var(--ink-soft); color: var(--ink); }
.theme-toggle .ico-moon { display: none; }
[data-theme="dark"] .theme-toggle .ico-moon { display: block; }
[data-theme="dark"] .theme-toggle .ico-sun { display: none; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink-soft); font-size: 13px; font-weight: 400;
  letter-spacing: 0.2px;
  transition: all 0.2s;
}
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); background: var(--surface-2); }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px;
  background: var(--ink); color: var(--surface);
  font-size: 13.5px; font-weight: 500; letter-spacing: 0.1px;
  transition: all 0.25s var(--ease);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset, var(--shadow-sm);
}
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-primary .btn-arrow { transition: transform 0.25s var(--ease); }
.btn-primary:hover .btn-arrow { transform: translateX(4px); }
.btn-primary.lg { padding: 15px 28px; font-size: 14px; }
.btn-primary.xl { padding: 18px 34px; font-size: 15px; }
.btn-primary.full { width: 100%; justify-content: center; }

.btn-text {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--ink-soft); font-weight: 500;
  transition: color 0.2s;
}
.btn-text:hover { color: var(--ink); }
.btn-text.dark { color: var(--ink); }
.btn-text .play {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--ink); color: var(--surface); font-size: 9px;
  transition: transform 0.2s;
}
.btn-text:hover .play { transform: scale(1.1); }
.btn-text .btn-arrow { transition: transform 0.25s var(--ease); }
.btn-text:hover .btn-arrow { transform: translateX(4px); }

.btn-inline {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent); font-weight: 600; font-size: 14px; margin-top: 14px;
  transition: gap 0.2s;
}
.btn-inline:hover { gap: 10px; }

.nav-burger { display: none; }

/* ============================================
   HERO
============================================ */
.hero { position: relative; padding: clamp(2.5rem, 5vw, 5rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }

.hero-mesh { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.mesh-blob {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.55;
  animation: drift 18s ease-in-out infinite;
}
.mb-1 { width: 560px; height: 560px; background: var(--accent-tint); top: -200px; right: -100px; }
.mb-2 { width: 480px; height: 480px; background: #DCE5F4; bottom: -150px; left: -50px; animation-delay: -6s; }
.mb-3 { width: 380px; height: 380px; background: #E8E1D3; top: 30%; left: 35%; animation-delay: -12s; }
@keyframes drift {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(40px,-30px) scale(1.05); }
  66% { transform: translate(-30px,40px) scale(0.95); }
}
.grain {
  position: absolute; inset: 0; opacity: 0.4; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.05 0 0 0 0 0.1 0 0 0 0 0.2 0 0 0 0.4 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 600; margin-bottom: 1.5rem;
}
.eyebrow.on-dark { color: rgba(255,255,255,0.7); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); animation: pulse 2.5s ease-in-out infinite; }
.eyebrow .dot.warm { background: var(--accent); }
@keyframes pulse { 0%,100% { transform:scale(1); opacity:1 } 50% { transform:scale(1.4); opacity:0.5 } }

.display {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(40px, 5.5vw, 78px);
  line-height: 1.15; letter-spacing: -0.5px; color: var(--ink);
  text-wrap: balance; padding-bottom: 0.2em;
}
.display em { font-style: italic; color: var(--accent); font-weight: 500; }
.display .hl {
  position: relative; display: inline-block;
}
.display .hl::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: 8%; height: 26%;
  background: var(--accent-tint); z-index: -1; transform: skewX(-3deg);
}

.lede {
  font-size: clamp(15px, 1.4vw, 18px); line-height: 1.65;
  color: var(--ink-soft); max-width: 520px; margin: 3rem 0 2.5rem;
  text-wrap: pretty;
}

.hero-actions { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.hero-trust { display: flex; align-items: center; gap: 14px; }
.trust-avatars { display: flex; }
.av {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; color: #fff;
  border: 2px solid var(--bg); margin-left: -8px;
}
.av:first-child { margin-left: 0; }
.av-1 { background: var(--ink); }
.av-2 { background: var(--accent); }
.av-3 { background: var(--blue); font-size: 11px; }
.trust-copy { font-size: 13px; color: var(--ink-soft); line-height: 1.4; }
.trust-copy strong { color: var(--ink); font-weight: 600; }

/* DASHBOARD CARD */
.hero-right { position: relative; }
.dash-card {
  background: var(--surface); border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(0.5deg);
  animation: floatY 7s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0) rotate(0.5deg); }
  50% { transform: translateY(-10px) rotate(-0.3deg); }
}
.dash-head {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px; background: var(--surface-2); border-bottom: 1px solid var(--line);
}
.dash-dots { display: flex; gap: 6px; }
.dash-dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.dash-dots span:nth-child(1) { background: #F08D7B; }
.dash-dots span:nth-child(2) { background: #F4C25A; }
.dash-dots span:nth-child(3) { background: #88C998; }
.dash-title { font-size: 12px; color: var(--ink-soft); font-weight: 500; }
.dash-live {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--success); font-weight: 600;
}
.dash-live .pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--success);
  box-shadow: 0 0 0 0 currentColor; animation: pulseRing 1.8s infinite;
}
@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--success) 50%, transparent); }
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.dash-body { padding: 22px; }
.dash-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.dash-kpi {
  padding: 14px 16px; border-radius: var(--radius-sm); background: var(--surface-2);
  border: 1px solid var(--line);
}
.dash-kpi.alt { background: linear-gradient(135deg, var(--accent-tint), var(--surface-2)); border-color: var(--accent-soft); }
.kpi-label { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.kpi-value { font-family: var(--display); font-size: 32px; color: var(--ink); line-height: 1; }
.kpi-delta { font-size: 11px; font-weight: 500; margin-top: 6px; }
.kpi-delta.up { color: var(--success); }
.kpi-delta.down-good { color: var(--accent); }
.dash-chart { background: var(--surface-2); border-radius: var(--radius-sm); padding: 14px; border: 1px solid var(--line); }
.dash-foot { display: flex; gap: 8px; margin-top: 14px; }
.dash-tag {
  font-size: 10px; letter-spacing: 1px; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; background: var(--surface-2);
  border: 1px solid var(--line); color: var(--ink-soft); font-weight: 600;
}
.dash-tag.warm { background: var(--accent-tint); color: var(--accent); border-color: var(--accent-soft); }

/* FLOAT CARDS */
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; background: var(--surface); border-radius: 14px;
  border: 1px solid var(--line); box-shadow: var(--shadow-md);
  animation: floatY 6s ease-in-out infinite;
}
.fc-1 { left: -30px; top: 50px; animation-delay: -2s; }
.fc-2 { right: -20px; bottom: 30px; animation-delay: -4s; }
.fc-ico {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue); color: #fff;
}
.fc-ico.warm { background: var(--accent); }
.fc-title { font-size: 13px; font-weight: 600; color: var(--ink); }
.fc-sub { font-size: 11px; color: var(--muted); }

/* HERO STATS */
.hero-stats {
  margin-top: clamp(3rem, 5vw, 4rem);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  position: relative; z-index: 1;
}
.stat { padding: 1.8rem 1.4rem; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--display); font-size: clamp(36px, 4vw, 52px);
  line-height: 1; color: var(--ink); display: flex; align-items: baseline; gap: 6px;
}
.stat-num .suf { font-family: var(--sans); font-size: 14px; font-weight: 400; color: var(--ink-soft); letter-spacing: 0; }
.stat-lbl { font-size: 12px; letter-spacing: 0.5px; color: var(--ink-soft); margin-top: 10px; line-height: 1.4; }

/* ============================================
   MARQUEE
============================================ */
.marquee-sec { padding: 2rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface-2); }
.marquee-head { display: flex; gap: 8px; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 1rem; font-weight: 600; }
.marquee-head .muted { color: var(--muted); font-weight: 400; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track {
  display: flex; gap: 36px; align-items: center; white-space: nowrap;
  font-family: var(--display); font-size: clamp(28px, 4vw, 44px); color: var(--ink);
  animation: scrollMarq 50s linear infinite;
}
.marquee-track .sep { color: var(--accent); font-size: 16px; }
@keyframes scrollMarq {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   SECTIONS
============================================ */
.section { padding: var(--section-y) 0; position: relative; }
.section.soft { background: var(--bg-soft); }

.sec-head {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 4vw, 4rem);
  align-items: end; margin-bottom: clamp(2.5rem, 4vw, 4rem);
}
.sec-title {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(32px, 4vw, 56px); line-height: 1.08;
  letter-spacing: -0.3px; color: var(--ink);
  text-wrap: balance;
}
.sec-title em { font-style: italic; color: var(--accent); font-weight: 500; }
.sec-title.on-dark { color: var(--surface); }
.sec-lede {
  font-size: clamp(14px, 1.1vw, 16px); line-height: 1.6;
  color: var(--ink-soft); max-width: 520px; text-wrap: pretty;
}
.sec-lede.compact { margin-top: 1.2rem; }
.sec-lede.on-dark { color: rgba(255,255,255,0.7); }

/* ============================================
   PROBLEMA — Cards
============================================ */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.problem-card {
  background: var(--surface); border-radius: var(--radius);
  border: 1px solid var(--line); padding: 2rem 1.6rem;
  position: relative; overflow: hidden;
  transition: all 0.35s var(--ease);
}
.problem-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 100% 0%, var(--accent-tint), transparent 60%);
  opacity: 0; transition: opacity 0.35s;
  pointer-events: none;
}
.problem-card:hover { transform: translateY(-3px); border-color: var(--accent-soft); box-shadow: var(--shadow-md); }
.problem-card:hover::before { opacity: 1; }
.pc-num { font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: 1.5px; margin-bottom: 1.2rem; }
.pc-glyph { color: var(--ink); margin-bottom: 1.2rem; }
.problem-card h3 { font-family: var(--display); font-size: 24px; color: var(--ink); margin-bottom: 0.6rem; letter-spacing: -0.3px; }
.problem-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }
.pc-foot { margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }

.problem-card.highlight {
  background: var(--ink); color: var(--surface);
  border-color: var(--ink);
  display: flex; flex-direction: column; justify-content: center;
}
.problem-card.highlight::before { background: radial-gradient(circle at 100% 0%, rgba(199,107,59,0.25), transparent 60%); opacity: 1; }
.problem-card.highlight .pc-glyph { color: var(--accent-soft); }
.problem-card.highlight h3 { color: var(--surface); }
.problem-card.highlight p { color: rgba(255,255,255,0.75); }
.problem-card.highlight:hover { transform: translateY(-3px); }

/* ============================================
   PILARES — Tabs
============================================ */
.pillars { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.pillar-tabs {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.pt {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 1.2rem 1.4rem; text-align: left;
  border-right: 1px solid var(--line); position: relative;
  transition: background 0.2s;
}
.pt:last-child { border-right: none; }
.pt:hover { background: var(--bg-soft); }
.pt-num { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: 1.5px; }
.pt-name { font-size: 13px; font-weight: 600; color: var(--ink-soft); line-height: 1.3; }
.pt.active { background: var(--surface); }
.pt.active .pt-num { color: var(--accent); }
.pt.active .pt-name { color: var(--ink); }
.pt.active::after {
  content: ""; position: absolute; bottom: -1px; left: 0; right: 0;
  height: 2px; background: var(--accent);
}

.pillar-panels { padding: clamp(2rem, 4vw, 3rem); }
.pp { display: none; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.pp.active { display: grid; animation: fadeUp 0.5s var(--ease-out); }
@keyframes fadeUp { from { opacity:0; transform: translateY(12px) } to { opacity:1; transform:translateY(0) } }
.pp-tag { display: inline-block; font-family: var(--mono); font-size: 10px; color: var(--accent); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 1rem; }
.pp h3 { font-family: var(--display); font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.6px; color: var(--ink); margin-bottom: 1rem; }
.pp p { font-size: 15px; color: var(--ink-soft); line-height: 1.65; margin-bottom: 1.5rem; max-width: 460px; }
.pp-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 1.8rem; }
.pp-list li {
  position: relative; padding-left: 22px; font-size: 14px; color: var(--ink-2); line-height: 1.5;
}
.pp-list li::before {
  content: "→"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 600;
}

/* Pillar illustrations */
.pp-illus {
  background: var(--surface-2); border-radius: var(--radius);
  padding: 1.6rem; border: 1px solid var(--line); aspect-ratio: 4/3;
  display: flex; flex-direction: column;
}
.illus-label { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; font-weight: 600; }
.illus-cap { font-size: 11px; color: var(--muted); margin-top: 0.8rem; text-align: center; }

.bars { display: flex; align-items: flex-end; gap: 14px; flex: 1; padding: 1rem 0; }
.bar {
  flex: 1; background: var(--line); border-radius: 6px 6px 0 0;
  height: var(--h); position: relative; transition: all 0.3s; min-height: 30%;
}
.bar.accent { background: var(--accent); }
.bar span {
  position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%);
  font-size: 11px; color: var(--muted); font-family: var(--mono);
}

.donut { display: flex; align-items: center; justify-content: center; flex: 1; position: relative; }
.donut-center { position: absolute; text-align: center; }
.donut-num { font-family: var(--display); font-size: 36px; color: var(--accent); line-height: 1; }
.donut-cap { font-size: 11px; color: var(--muted); margin-top: 4px; letter-spacing: 0.5px; }

.checklist { gap: 8px; }
.check-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; background: var(--surface); border-radius: 8px;
  font-size: 13px; color: var(--ink-2); border: 1px solid var(--line);
}
.ck {
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.ck.ok { background: var(--success); }
.ck.warn { background: var(--warning); }

.mini-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; flex: 1; }
.mk {
  background: var(--surface); border-radius: 8px; padding: 12px;
  border: 1px solid var(--line);
}
.mk-l { font-size: 10px; letter-spacing: 1.2px; color: var(--muted); text-transform: uppercase; margin-bottom: 4px; }
.mk-v { font-family: var(--display); font-size: 22px; color: var(--ink); line-height: 1; }
.mk-d { font-size: 11px; margin-top: 4px; font-weight: 600; }
.mk-d.up { color: var(--success); }
.mk-d.down { color: var(--accent); }

.chat { gap: 10px; padding-top: 0.8rem; }
.msg { padding: 10px 14px; font-size: 13px; line-height: 1.4; border-radius: 14px; max-width: 85%; }
.msg.user { background: var(--ink); color: var(--surface); align-self: flex-end; margin-left: auto; border-bottom-right-radius: 4px; }
.msg.ai { background: var(--surface); color: var(--ink-2); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.ai-tag { font-family: var(--mono); font-size: 9px; letter-spacing: 1px; color: var(--accent); margin-right: 6px; padding: 2px 6px; border: 1px solid var(--accent-soft); border-radius: 4px; }
.dots-typing { display: inline-flex; gap: 4px; }
.dots-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: bounce 1.2s infinite; }
.dots-typing i:nth-child(2) { animation-delay: 0.15s; }
.dots-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes bounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4 } 30% { transform: translateY(-4px); opacity: 1 } }

/* ============================================
   METODOLOGÍA — Timeline
============================================ */
.timeline {
  position: relative; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; padding-top: 40px;
}
.timeline-line {
  position: absolute; top: 60px; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 10%, var(--line) 90%, transparent);
}
.phase { position: relative; }
.phase-dot {
  position: relative; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line);
  font-family: var(--display); font-size: 20px; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}
.phase:hover .phase-dot { background: var(--accent); color: #fff; border-color: var(--accent); transform: scale(1.08); }
.phase-card {
  background: var(--surface); border-radius: var(--radius); padding: 1.8rem;
  border: 1px solid var(--line); transition: all 0.3s;
}
.phase:hover .phase-card { border-color: var(--accent-soft); box-shadow: var(--shadow-md); }
.phase-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.ph-tag { font-family: var(--mono); font-size: 10px; color: var(--accent); letter-spacing: 1.5px; text-transform: uppercase; }
.ph-dur { font-size: 11px; color: var(--muted); }
.phase-card h3 { font-family: var(--display); font-size: 24px; color: var(--ink); margin-bottom: 0.8rem; letter-spacing: -0.3px; }
.phase-card blockquote {
  font-family: var(--display); font-style: italic; font-size: 15px;
  color: var(--ink-soft); padding-left: 14px; border-left: 2px solid var(--accent);
  margin-bottom: 1.4rem; line-height: 1.5;
}
.phase-card ul { display: flex; flex-direction: column; gap: 8px; margin-bottom: 1.4rem; }
.phase-card li {
  font-size: 13px; color: var(--ink-2); padding-left: 18px; position: relative; line-height: 1.5;
}
.phase-card li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.phase-deliver {
  background: var(--surface-2); border-radius: 8px; padding: 12px 14px;
  font-size: 12px; color: var(--ink-soft); line-height: 1.5;
}
.deliver-label { font-family: var(--mono); display: block; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }

/* ============================================
   CALCULADORA ROI
============================================ */
.calc-sec { background: var(--bg-soft); }
.calc {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 4vw, 3rem);
  background: var(--surface); border-radius: var(--radius-lg);
  border: 1px solid var(--line); padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: var(--shadow-md);
}
.calc-field { margin-bottom: 2rem; }
.cf-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.cf-head label { font-size: 13px; color: var(--ink-soft); font-weight: 600; }
.cf-head output { font-family: var(--display); font-size: 28px; color: var(--ink); letter-spacing: -0.5px; }

.slider {
  -webkit-appearance: none; appearance: none; width: 100%; height: 4px;
  background: var(--line); border-radius: 999px; outline: none;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 50% 100%; background-repeat: no-repeat;
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--ink); border: 4px solid var(--accent);
  cursor: pointer; transition: transform 0.15s;
  box-shadow: 0 2px 8px rgba(14,27,46,0.2);
}
.slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.slider::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--ink); border: 4px solid var(--accent);
  cursor: pointer;
}
.cf-marks { display: flex; justify-content: space-between; margin-top: 10px; font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: 0.5px; }

.calc-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.cp {
  padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface-2);
  font-size: 13px; color: var(--ink-soft); font-weight: 500;
  transition: all 0.2s;
}
.cp:hover { border-color: var(--ink-soft); }
.cp.active { background: var(--ink); border-color: var(--ink); color: var(--surface); }

.calc-disclaim { font-size: 11px; color: var(--muted); line-height: 1.5; margin-top: 1.5rem; }

.result-card {
  background: var(--ink); color: var(--surface); border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.4rem); position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.result-card::before {
  content: ""; position: absolute; top: -100px; right: -100px; width: 300px; height: 300px;
  background: radial-gradient(circle, var(--accent), transparent 70%); opacity: 0.4;
}
.rc-label { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 10px; position: relative; }
.rc-value { font-family: var(--display); font-size: clamp(36px, 4vw, 56px); line-height: 1; letter-spacing: -1.2px; position: relative; }
.rc-range { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 8px; margin-bottom: 1.8rem; position: relative; }
.rc-range span { color: var(--accent-soft); font-weight: 600; }
.rc-bars { display: flex; flex-direction: column; gap: 14px; margin-bottom: 2rem; position: relative; }
.rc-bar-row { display: grid; grid-template-columns: 1fr 2fr auto; align-items: center; gap: 12px; font-size: 12px; color: rgba(255,255,255,0.75); }
.rc-bar { height: 6px; background: rgba(255,255,255,0.1); border-radius: 999px; overflow: hidden; }
.rc-bar-fill { height: 100%; background: var(--accent); border-radius: 999px; transition: width 0.5s var(--ease); }
.rc-bar-fill.alt { background: var(--blue-soft); }
.rc-val { font-family: var(--mono); font-size: 12px; color: #fff; font-weight: 600; text-align: right; min-width: 50px; }

.result-card .btn-primary { background: var(--accent); position: relative; }
.result-card .btn-primary:hover { background: var(--surface); color: var(--ink); }

/* ============================================
   RESULTADOS
============================================ */
.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.result-tile {
  background: var(--surface); border-radius: var(--radius);
  border: 1px solid var(--line); padding: 2.4rem 2rem;
  transition: all 0.3s var(--ease);
  position: relative; overflow: hidden;
}
.result-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent-soft); }
.rt-icon { color: var(--accent); margin-bottom: 1.4rem; }
.result-tile h3 { font-family: var(--display); font-size: 28px; color: var(--ink); margin-bottom: 0.8rem; letter-spacing: -0.4px; }
.result-tile p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 1.8rem; }
.rt-metric { padding-top: 1.4rem; border-top: 1px solid var(--line); }
.rt-metric span { font-family: var(--display); font-style: italic; font-size: 26px; color: var(--accent); line-height: 1.1; display: block; margin-bottom: 4px; letter-spacing: -0.3px; }
.rt-metric em { font-size: 12px; color: var(--muted); font-style: normal; letter-spacing: 0.3px; }
.result-tile.featured { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.result-tile.featured h3, .result-tile.featured .rt-icon { color: var(--surface); }
.result-tile.featured p { color: rgba(255,255,255,0.75); }
.result-tile.featured .rt-metric { border-top-color: rgba(255,255,255,0.15); }
.result-tile.featured .rt-metric span { color: var(--accent-soft); }
.result-tile.featured .rt-metric em { color: rgba(255,255,255,0.6); }

/* ============================================
   NOSOTROS
============================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.about-text p { font-size: 15px; color: var(--ink-soft); line-height: 1.75; margin-bottom: 1rem; max-width: 460px; }
.values { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.value { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; padding: 1rem 0; border-top: 1px solid var(--line); }
.value-num { font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: 1px; margin-top: 4px; }
.value strong { display: block; font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.value span { font-size: 13px; color: var(--ink-soft); }

.about-team { display: flex; flex-direction: column; gap: 14px; }
.member-card { display: grid; grid-template-columns: 160px 1fr; gap: 1.6rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; align-items: start; }
.member-photo {
  width: 160px; height: 160px; border-radius: 12px;
  background: linear-gradient(135deg, var(--ink), var(--ink-2));
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.photo-placeholder { font-family: var(--display); font-size: 56px; color: rgba(255,255,255,0.85); letter-spacing: -2px; }
.photo-tag { position: absolute; bottom: 6px; left: 6px; right: 6px; font-family: var(--mono); font-size: 9px; letter-spacing: 1px; color: rgba(255,255,255,0.55); padding: 4px; text-align: center; border: 1px dashed rgba(255,255,255,0.25); border-radius: 4px; }
.member-card h3 { font-family: var(--display); font-size: 24px; color: var(--ink); letter-spacing: -0.3px; }
.member-role { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); margin: 6px 0 1rem; font-weight: 600; }
.member-card p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 1rem; }
.member-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.member-tags span { font-size: 11px; letter-spacing: 0.5px; color: var(--ink-soft); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); }

.member-card.ghost {
  grid-template-columns: 1fr; border-style: dashed; background: transparent;
  padding: 1.4rem;
}
.ghost-content { display: flex; gap: 14px; align-items: center; }
.ghost-icon { width: 38px; height: 38px; border-radius: 50%; background: var(--bg-soft); color: var(--muted); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.member-card.ghost strong { display: block; font-size: 14px; color: var(--ink); margin-bottom: 2px; }
.member-card.ghost span { font-size: 12px; color: var(--muted); }

/* ============================================
   PLANES — dark section
============================================ */
.dark-sec { background: var(--ink); position: relative; overflow: hidden; }
.dark-sec .eyebrow { color: rgba(255,255,255,0.7); }
.dark-mesh { position: absolute; inset: 0; pointer-events: none; }
.dmesh-1, .dmesh-2 { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.3; }
.dmesh-1 { width: 500px; height: 500px; background: var(--accent); top: -200px; right: -100px; }
.dmesh-2 { width: 400px; height: 400px; background: var(--blue); bottom: -150px; left: -100px; }
.dark-sec .container { position: relative; z-index: 1; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; }
.plan {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius); padding: 2rem 1.6rem; color: var(--surface);
  display: flex; flex-direction: column;
  transition: all 0.3s var(--ease);
}
.plan:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.2); transform: translateY(-3px); }
.plan-tag { display: inline-block; font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.15); padding: 4px 10px; border-radius: 999px; margin-bottom: 1.4rem; align-self: flex-start; }
.plan h3 { font-family: var(--display); font-size: 28px; color: var(--surface); margin-bottom: 0.6rem; letter-spacing: -0.4px; }
.plan p { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.55; margin-bottom: 1.4rem; }
.plan ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 1.8rem; flex: 1; }
.plan li { font-size: 13.5px; color: rgba(255,255,255,0.85); padding-left: 22px; position: relative; line-height: 1.4; }
.plan li::before { content: "→"; position: absolute; left: 0; color: var(--accent-soft); }
.btn-plan {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 18px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2); color: var(--surface);
  font-size: 13px; font-weight: 500; align-self: flex-start;
  transition: all 0.2s;
}
.btn-plan:hover { background: var(--surface); color: var(--ink); border-color: var(--surface); gap: 10px; }
.btn-plan.featured { background: var(--accent); border-color: var(--accent); }
.btn-plan.featured:hover { background: var(--surface); color: var(--ink); border-color: var(--surface); }

.plan.featured {
  background: linear-gradient(180deg, rgba(199,107,59,0.18), rgba(255,255,255,0.04));
  border-color: var(--accent); position: relative;
  box-shadow: 0 20px 60px -20px rgba(199,107,59,0.4);
}
.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 10px; letter-spacing: 1.5px;
  text-transform: uppercase; font-weight: 700; padding: 5px 14px; border-radius: 999px;
  white-space: nowrap;
}

.plans-extras { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.extra { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); padding: 1.6rem; color: var(--surface); }
.extra-meta { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 1rem; }
.extra h4 { font-family: var(--display); font-size: 22px; color: var(--surface); margin-bottom: 0.5rem; letter-spacing: -0.3px; }
.extra p { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.55; margin-bottom: 1rem; }
.extra-points { display: flex; gap: 6px; flex-wrap: wrap; }
.extra-points span { font-size: 11px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85); }

/* ============================================
   FAQ
============================================ */
.faq { max-width: 880px; margin: 0 auto; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.4rem 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: clamp(16px, 1.5vw, 19px); font-weight: 500; color: var(--ink);
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-ico {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-size: 18px; color: var(--ink-soft); transition: all 0.3s var(--ease);
}
.faq-item[open] .faq-ico { transform: rotate(45deg); background: var(--accent); color: #fff; border-color: var(--accent); }
.faq-body { padding: 0 0 1.6rem; font-size: 15px; color: var(--ink-soft); line-height: 1.7; max-width: 700px; }

/* ============================================
   CTA BAND
============================================ */
.cta-band {
  background: var(--ink); color: var(--surface); padding: clamp(3rem, 6vw, 5rem) 0;
  position: relative; overflow: hidden;
}
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.4;
}
.cta-band::before { width: 500px; height: 500px; background: var(--accent); top: -200px; left: -100px; }
.cta-band::after { width: 400px; height: 400px; background: var(--blue); bottom: -200px; right: -100px; }
.cta-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; position: relative; }
.cta-inner h2 { font-family: var(--display); font-size: clamp(32px, 4vw, 56px); line-height: 1.05; letter-spacing: -0.8px; color: var(--surface); margin-bottom: 1rem; text-wrap: balance; }
.cta-inner h2 em { font-style: italic; color: var(--accent-soft); }
.cta-inner p { font-size: 16px; color: rgba(255,255,255,0.7); max-width: 540px; }
.cta-inner .btn-primary { background: var(--accent); justify-self: end; white-space: nowrap; }
.cta-inner .btn-primary:hover { background: var(--surface); color: var(--ink); }

/* ============================================
   CONTACTO
============================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact-channels { display: flex; flex-direction: column; gap: 12px; margin-top: 2rem; }
.channel {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.channel:not(.static):hover { border-color: var(--accent-soft); transform: translateX(3px); }
.ch-ico {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg-soft); color: var(--ink-2);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ch-ico.whatsapp { background: #25D366; color: #fff; }
.ch-label { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.ch-val { font-size: 14px; color: var(--ink); font-weight: 500; }

.schedule { margin-top: 2rem; padding: 1.4rem; background: var(--bg-soft); border-radius: var(--radius); border: 1px solid var(--line); }
.schedule-head { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--ink); margin-bottom: 1rem; letter-spacing: 0.3px; }
.pulse.green { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 var(--success); animation: pulseRing 1.8s infinite; }
.schedule-slots { display: flex; gap: 8px; flex-wrap: wrap; }
.slot {
  font-family: var(--mono); font-size: 11px;
  padding: 6px 12px; border-radius: 6px; background: var(--surface);
  border: 1px solid var(--line); color: var(--ink-soft);
  transition: all 0.2s; cursor: pointer;
}
.slot:hover { border-color: var(--accent); color: var(--accent); }

.contact-form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow-md);
}
.form-head { margin-bottom: 1.6rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.form-head h3 { font-family: var(--display); font-size: 24px; color: var(--ink); letter-spacing: -0.3px; margin-bottom: 4px; }
.form-head p { font-size: 13px; color: var(--muted); }

.field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label { display: block; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; font-weight: 600; }
.field label span { color: var(--accent); }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 8px;
  background: var(--surface-2); border: 1px solid var(--line);
  font-family: var(--sans); font-size: 14px; color: var(--ink);
  transition: all 0.2s; outline: none;
}
.field input:focus, .field textarea:focus { border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 3px var(--accent-tint); }
.field textarea { resize: vertical; min-height: 100px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.chk-label { display: flex !important; align-items: flex-start; gap: 10px; text-transform: none !important; letter-spacing: 0 !important; color: var(--ink-soft) !important; font-size: 12px !important; font-weight: 400 !important; line-height: 1.5; }
.chk-label input { width: auto; margin-top: 2px; accent-color: var(--accent); }
.form-foot { font-size: 11px; color: var(--muted); margin-top: 1rem; text-align: center; }

/* ============================================
   FOOTER
============================================ */
footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: clamp(3rem, 5vw, 4rem) 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; padding-bottom: 3rem; }
.foot-brand .brand-name { color: var(--surface); }
.foot-brand .brand-sub { color: rgba(255,255,255,0.5); }
.foot-logo { display: flex; align-items: center; gap: 14px; }
.foot-mark { width: 48px; height: 48px; flex-shrink: 0; }
.foot-tagline { font-size: 13px; line-height: 1.65; margin-top: 1.4rem; max-width: 340px; color: rgba(255,255,255,0.55); }
.foot-dashboard {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 1.4rem; padding: 10px 16px;
  border: 1px solid rgba(255,255,255,0.2); border-radius: 999px;
  font-size: 12.5px; color: rgba(255,255,255,0.85); letter-spacing: 0.3px;
  transition: all 0.2s;
}
.foot-dashboard:hover { background: var(--surface); color: var(--ink); border-color: var(--surface); gap: 10px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-h { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.5); font-weight: 600; margin-bottom: 6px; }
.foot-col a, .foot-col span { font-size: 13px; color: rgba(255,255,255,0.75); transition: color 0.2s; }
.foot-col a:hover { color: var(--accent-soft); }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.4rem 0; border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px; color: rgba(255,255,255,0.5); flex-wrap: wrap; gap: 1rem;
}

/* ============================================
   WHATSAPP FLOAT
============================================ */
.wa-float {
  position: fixed; bottom: 20px; right: 20px; z-index: 90;
  display: flex; align-items: center; gap: 0;
  width: 56px; height: 56px; background: #25D366; border-radius: 999px;
  color: #fff; padding: 0 16px;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  transition: all 0.3s var(--ease); overflow: hidden;
}
.wa-float svg { flex-shrink: 0; margin-left: -4px; }
.wa-label {
  font-size: 13px; font-weight: 600; max-width: 0; opacity: 0;
  white-space: nowrap; overflow: hidden;
  transition: all 0.3s var(--ease);
}
.wa-float:hover { width: auto; padding-right: 22px; }
.wa-float:hover .wa-label { max-width: 100px; opacity: 1; margin-left: 10px; }
.wa-pulse {
  position: absolute; inset: 0; border-radius: 999px;
  background: #25D366; opacity: 0.45; animation: waPulse 2s infinite;
}
@keyframes waPulse { 0% { transform: scale(1); opacity: 0.45 } 100% { transform: scale(1.5); opacity: 0 } }

/* REVEAL ANIMATIONS — only hide once JS has set them up */
html.js-ready .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
html.js-ready .reveal.in { opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { margin-top: 1rem; }
  .float-card { display: none; }
  .sec-head { grid-template-columns: 1fr; gap: 1.2rem; align-items: start; }
  .pp { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; gap: 1.6rem; }
  .cta-inner .btn-primary { justify-self: start; }
}

@media (max-width: 1100px) {
  .nav-links { display: none; }
}

@media (max-width: 760px) {
  .btn-ghost { display: none; }
}

@media (max-width: 860px) {
  /* Hide ROI calculator on mobile — too dense for small screens */
  #calculadora { display: none; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .problem-grid { grid-template-columns: 1fr 1fr; }
  .pillar-tabs { grid-template-columns: repeat(2, 1fr); }
  .pt { border-bottom: 1px solid var(--line); }
  .pt:nth-child(2n) { border-right: none; }
  .pt:nth-last-child(-n+1) { border-bottom: none; }
  .timeline { grid-template-columns: 1fr; gap: 16px; }
  .timeline-line { display: none; }
  .results-grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .plans-extras { grid-template-columns: 1fr; }
  .member-card { grid-template-columns: 1fr; }
  .member-photo { width: 120px; height: 120px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .brand-logo { height: 40px; }
  .problem-grid { grid-template-columns: 1fr; }
  .pillar-tabs { grid-template-columns: 1fr; }
  .pt { border-right: none; }
  .hero-stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: none; }
  .field-row { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr; }
  .nav-cta .btn-primary { padding: 9px 14px; font-size: 12px; }
  .nav-cta .btn-primary span:not(.btn-arrow) { display: none; }
  .display .hl::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html.js-ready .reveal { opacity: 1; transform: none; }
}
