/* ==========================================================================
   Marketeándote — Hoja de estilos
   Estilo inspirado en plantillas SaaS modernas: fondo claro, tipografía
   grande y compacta, tarjetas redondeadas y acentos holográficos.
   ========================================================================== */

@font-face {
  font-family: "Jakarta";
  src: url("../fonts/plus-jakarta-sans.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f6f5fb;
  --bg-soft: #efedf8;
  --surface: #ffffff;
  --ink: #0f0c24;
  --ink-2: #3b3854;
  --muted: #6c6987;
  --line: #e4e1f0;
  --line-2: #d6d2ea;
  --violet: #6b4cf6;
  --violet-2: #8a6bff;
  --blue: #3d7bff;
  --pink: #c04cf0;
  --green: #17a673;
  --grad: linear-gradient(95deg, #6b4cf6 0%, #3d7bff 55%, #b04cf0 100%);
  --grad-soft: linear-gradient(135deg, #efe9ff 0%, #e6f0ff 100%);
  --radius: 24px;
  --radius-sm: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 12, 36, .05), 0 2px 8px rgba(15, 12, 36, .04);
  --shadow: 0 2px 4px rgba(15, 12, 36, .04), 0 12px 32px rgba(40, 20, 120, .08);
  --shadow-lg: 0 30px 80px -20px rgba(60, 30, 160, .28);
  --container: 1200px;
  --font: "Jakarta", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -0.035em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 8px; }
::selection { background: #d9ceff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container-narrow { max-width: 820px; }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 8px; }
.ic { flex: none; }

.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}

/* ---------- Botones ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15.5px; letter-spacing: -.01em; white-space: nowrap;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { --h: 42px; padding: 0 18px; font-size: 14.5px; }
.btn-lg { --h: 56px; padding: 0 28px; font-size: 16.5px; }
.btn-block { width: 100%; }
.btn-primary {
  color: #fff; background: var(--violet);
  background-image: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,0)), var(--grad);
  box-shadow: 0 10px 24px -8px rgba(107, 76, 246, .6), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn-primary:hover { box-shadow: 0 16px 34px -10px rgba(107, 76, 246, .7), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-dark { color: #fff; background: var(--ink); box-shadow: 0 8px 20px -10px rgba(15,12,36,.6); }
.btn-dark:hover { background: #231d4a; }
.btn-outline { background: var(--surface); border-color: var(--line-2); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-outline:hover { border-color: var(--violet); color: var(--violet); }
.btn-light { background: #fff; color: var(--ink); }
.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.08); }
.btn-ghost-light:hover { background: rgba(255,255,255,.16); }

.round-btn {
  width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line-2); cursor: pointer; color: var(--ink);
  transition: background .2s, color .2s, transform .2s, border-color .2s;
}
.round-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.flip { display: inline-flex; transform: scaleX(-1); }

/* ---------- Chips / eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; margin-bottom: 18px;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 600; color: var(--violet); box-shadow: var(--shadow-sm);
}
.eyebrow .ic { color: var(--violet); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; letter-spacing: 0; }
.chip-green { background: #e3f7ee; color: var(--green); }
.chip-violet { background: #eee9ff; color: var(--violet); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding: 14px 0; transition: padding .25s ease;
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: rgba(255,255,255,.72); border: 1px solid rgba(228,225,240,.9);
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
  border-radius: 999px; padding: 8px 8px 8px 22px; max-width: calc(var(--container) - 48px);
  box-shadow: 0 6px 24px -12px rgba(40,20,120,.15);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.04em; }
.brand-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: #fff; background: var(--grad); box-shadow: 0 6px 14px -6px rgba(107,76,246,.7); }
.nav ul { display: flex; gap: 4px; }
.nav a:not(.btn) { display: block; padding: 9px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: background .2s, color .2s; }
.nav a:not(.btn):hover { background: var(--bg-soft); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--bg-soft); font-weight: 600; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; cursor: pointer; place-items: center; }
.nav-toggle .i-close { display: none; }
.nav-cta-mobile { display: none; }

/* ---------- Secciones ---------- */
.section { padding: 110px 0; position: relative; }
.section-tight { padding: 70px 0 100px; }
.section-soft { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(34px, 4.6vw, 54px); }
.section-head p { margin-top: 18px; font-size: 18px; color: var(--muted); }
.section-head-row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; text-align: left; }
.lead { font-size: 18.5px; color: var(--muted); margin: 18px 0 28px; }

/* ---------- Fondo holográfico ---------- */
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(107,76,246,.07) 1px, transparent 1px), linear-gradient(to bottom, rgba(107,76,246,.07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.prism {
  position: absolute; width: 420px; aspect-ratio: 1;
  background: conic-gradient(from 200deg at 50% 60%, #a78bff, #6fb4ff, #ffd1f4, #9af0ff, #b99bff, #a78bff);
  clip-path: polygon(50% 0, 100% 88%, 0 88%);
  filter: blur(.5px) saturate(1.2); opacity: .85;
  animation: float 12s ease-in-out infinite;
}
.prism::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255,255,255,.75), transparent 55%); }
.prism-a { top: 60px; left: -150px; transform: rotate(-22deg); }
.prism-b { top: 10px; right: -170px; width: 380px; transform: rotate(28deg); animation-delay: -6s; opacity: .7; }
@keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -18px; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 70px 0 40px; text-align: center; }
.hero-inner { position: relative; z-index: 1; }
.pill {
  display: inline-flex; align-items: center; gap: 12px; padding: 6px 16px 6px 6px; margin-bottom: 28px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.avatars { display: flex; }
.avatars i, .av {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  font-style: normal; font-size: 11px; font-weight: 700; color: #fff; border: 2px solid #fff;
}
.avatars i:nth-child(1), .av-1 { background: linear-gradient(135deg, #6b4cf6, #9d7bff); }
.avatars i:nth-child(2), .av-2 { background: linear-gradient(135deg, #3d7bff, #6fb4ff); }
.avatars i:nth-child(3), .av-3 { background: linear-gradient(135deg, #c04cf0, #ff8ad8); }
.avatars i + i { margin-left: -9px; }
.hero h1 { font-size: clamp(40px, 7vw, 84px); letter-spacing: -.05em; line-height: 1.02; max-width: 1000px; margin-inline: auto; }
.hero-sub { max-width: 640px; margin: 24px auto 0; font-size: clamp(17px, 1.6vw, 19.5px); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 36px; }
.hero-actions-center { justify-content: center; }
.hero-note { margin-top: 12px; font-size: 12px; color: var(--muted); opacity: .7; }

/* Panel de la portada */
.hero-visual { position: relative; max-width: 980px; margin: 64px auto 0; perspective: 1400px; }
.dash {
  background: rgba(255,255,255,.8); border: 1px solid var(--line); border-radius: 28px; overflow: hidden;
  box-shadow: var(--shadow-lg); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transform: rotateX(8deg); transform-origin: top center; transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.hero-visual.in .dash { transform: rotateX(0); }
.dash-top { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #fbfaff; }
.dot { width: 11px; height: 11px; border-radius: 50%; background: #e3def4; }
.dash-url { margin-left: 14px; font-size: 12.5px; color: var(--muted); background: #fff; border: 1px solid var(--line); padding: 3px 14px; border-radius: 999px; }
.dash-body { display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: auto auto; gap: 16px; padding: 18px; text-align: left; }
.dash-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.dash-main { grid-row: span 2; display: flex; flex-direction: column; }
.dash-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.dash-value { font-size: 46px; font-weight: 800; letter-spacing: -.04em; margin: 6px 0 10px; }
.dash-chart { width: 100%; height: 150px; margin-top: auto; }
.kw { margin-top: 12px; display: grid; gap: 8px; }
.kw li { display: flex; justify-content: space-between; font-size: 14px; padding: 8px 12px; background: var(--bg); border-radius: 10px; }
.kw b { color: var(--violet); }
.bars { display: flex; align-items: end; gap: 8px; height: 84px; margin-top: 14px; }
.bars i { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #8a6bff, #c9bbff); }
.bars i:nth-child(1) { height: 30%; } .bars i:nth-child(2) { height: 45%; } .bars i:nth-child(3) { height: 38%; }
.bars i:nth-child(4) { height: 62%; } .bars i:nth-child(5) { height: 55%; } .bars i:nth-child(6) { height: 80%; }
.bars i:nth-child(7) { height: 100%; background: var(--grad); }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; text-align: left;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
  animation: float 7s ease-in-out infinite;
}
.float-card .ic { color: #fff; background: var(--grad); border-radius: 10px; padding: 8px; width: 36px; height: 36px; }
.float-card b { display: block; font-size: 15px; }
.float-card span { font-size: 13px; color: var(--muted); }
.fc-1 { left: -40px; bottom: 60px; }
.fc-2 { right: -30px; top: -26px; animation-delay: -3s; }
.fc-2 .ic { background: #25d366; }

/* ---------- Logos ---------- */
.logos { padding: 50px 0 20px; text-align: center; }
.logos-title { font-size: 14.5px; color: var(--muted); font-weight: 500; margin-bottom: 22px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track li { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 700; letter-spacing: -.03em; color: #a19db8; white-space: nowrap; }
.marquee-track .ic { color: #c9c2ea; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Bento de servicios ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bento-card {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden; isolation: isolate;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}
.bento-card::before {
  content: ""; position: absolute; inset: auto -30% -60% auto; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(138,107,255,.18), transparent 70%); z-index: -1; opacity: 0; transition: opacity .3s;
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d4c9ff; }
.bento-card:hover::before { opacity: 1; }
.bento-card h3 { font-size: 22px; letter-spacing: -.03em; }
.bento-card p { color: var(--muted); font-size: 15.5px; }
.bento-wide { grid-column: span 2; background: linear-gradient(135deg, #fff 40%, #f3efff); }
.bento-wide h3 { font-size: 28px; }
.bento-accent { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 22px; background: var(--ink); color: #fff; border-color: var(--ink); }
.bento-accent h3 { grid-column: 2; }
.bento-accent p { grid-column: 2; }
.bento-accent .ic-box { grid-row: 1 / 3; }
.bento-accent .card-link { grid-column: 3; grid-row: 1 / 3; margin: 0; padding: 12px 20px; border-radius: 999px; background: #fff; color: var(--ink) !important; }
.bento-accent p { color: #bdb8d8; }
.bento-accent .ic-box { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.15); }
.bento-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.ic-box {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; flex: none;
  color: var(--violet); background: var(--grad-soft); border: 1px solid #e3dcff;
}
.ic-box-lg { width: 68px; height: 68px; border-radius: 20px; }
.card-link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; color: var(--violet); }

/* ---------- Estadísticas ---------- */
.stats-band { background: var(--ink); color: #fff; padding: 64px 0; position: relative; overflow: hidden; }
.stats-band::before { content: ""; position: absolute; inset: -50% -10% auto auto; width: 600px; height: 600px; background: radial-gradient(circle, rgba(107,76,246,.45), transparent 65%); }
.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { padding-left: 22px; border-left: 1px solid rgba(255,255,255,.14); }
.stat b { display: block; font-size: clamp(34px, 4vw, 52px); font-weight: 800; letter-spacing: -.05em; line-height: 1.05; background: linear-gradient(90deg, #fff, #cbbcff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 8px; color: #b9b4d6; font-size: 15px; }

/* ---------- Proceso ---------- */
.steps { display: grid; gap: 24px; counter-reset: s; }
.step {
  position: sticky; top: 110px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  padding: 44px; background: var(--surface); border: 1px solid var(--line); border-radius: 32px; box-shadow: var(--shadow);
}
.step:nth-child(2) { top: 130px; }
.step:nth-child(3) { top: 150px; }
.step-num { display: inline-block; font-size: 15px; font-weight: 700; color: var(--violet); background: #eee9ff; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.step h3 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 14px; }
.step p { color: var(--muted); font-size: 17px; }
.step-ui { background: var(--grad-soft); border-radius: 24px; padding: 34px; min-height: 300px; display: grid; place-items: center; position: relative; overflow: hidden; }
.step-ui::before { content: ""; position: absolute; width: 180px; aspect-ratio: 1; right: -40px; top: -40px; background: conic-gradient(#a78bff, #6fb4ff, #ffd1f4, #a78bff); clip-path: polygon(50% 0, 100% 88%, 0 88%); opacity: .5; transform: rotate(20deg); }
.mock { position: relative; width: 100%; max-width: 360px; background: #fff; border-radius: 20px; padding: 20px; box-shadow: var(--shadow); display: grid; gap: 12px; }
.mock-head { display: flex; gap: 12px; align-items: center; }
.mock-head b, .mock-row b { font-size: 15px; }
.mock-head small, .member small, .ring small { display: block; font-size: 12.5px; color: var(--muted); }
.mock-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--grad); color: #fff; }
.mock-field { display: flex; justify-content: space-between; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; }
.mock-field span { color: var(--muted); }
.mock-field i { font-style: normal; font-weight: 600; }
.mock-btn { text-align: center; padding: 12px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; }
.mock-row { display: flex; justify-content: space-between; align-items: center; }
.team { display: grid; gap: 10px; }
.member { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--bg); border-radius: 14px; font-size: 14px; }
.member .av { width: 38px; height: 38px; font-size: 14px; }
.ring { display: flex; align-items: center; gap: 18px; }
.ring svg { width: 110px; height: 110px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: #eee9ff; stroke-width: 12; }
.ring .ring-val { stroke: url(#none); stroke: var(--violet); stroke-linecap: round; stroke-dasharray: 314; stroke-dashoffset: 314; transition: stroke-dashoffset 1.6s cubic-bezier(.2,.7,.2,1); }
.step.in .ring-val { stroke-dashoffset: 116; }
.ring b { font-size: 34px; letter-spacing: -.04em; }
.mock-list { display: grid; gap: 6px; font-size: 14px; }
.mock-list span { display: flex; align-items: center; gap: 8px; }
.mock-list .ic { color: var(--green); }

/* ---------- Split / por qué ---------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.split h2 { font-size: clamp(32px, 4.2vw, 50px); }
.why-list { display: grid; gap: 16px; }
.why-list li { display: flex; gap: 18px; padding: 22px; background: var(--bg); border: 1px solid var(--line); border-radius: 20px; }
.why-list h3 { font-size: 19px; margin-bottom: 6px; letter-spacing: -.02em; }
.why-list p { color: var(--muted); font-size: 15.5px; }

/* ---------- Testimonios ---------- */
.slider { max-width: 900px; margin: 0 auto; }
.slides { display: grid; }
.tcard {
  grid-area: 1 / 1; margin: 0; padding: 48px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 32px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px) scale(.98);
  transition: opacity .5s ease, transform .5s ease, visibility .5s;
}
.tcard.is-active, .slides:not(.ready) .tcard:first-child { opacity: 1; visibility: visible; transform: none; }
.tq { display: inline-flex; color: var(--violet); margin-bottom: 18px; }
.tcard blockquote { margin: 0; }
.tcard blockquote p { font-size: clamp(20px, 2.3vw, 27px); line-height: 1.4; letter-spacing: -.025em; font-weight: 500; }
.tcard figcaption { display: flex; align-items: center; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.tcard figcaption .av { width: 48px; height: 48px; font-size: 18px; }
.tcard figcaption b { display: block; font-size: 16px; }
.tcard figcaption small { color: var(--muted); font-size: 14px; }
.tcard figcaption .chip { margin-left: auto; }
.slider-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 28px; }
.dots { display: flex; gap: 8px; }
.dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; background: var(--line-2); cursor: pointer; padding: 0; transition: width .3s, background .3s; }
.dots button[aria-selected="true"] { width: 30px; background: var(--violet); }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-link { display: flex; flex-direction: column; height: 100%; }
.post-thumb { position: relative; aspect-ratio: 16/9; background: var(--grad-soft); overflow: hidden; }
.post-thumb::before { content: ""; position: absolute; width: 60%; aspect-ratio: 1; left: 20%; top: 12%; background: conic-gradient(from 200deg, #a78bff, #6fb4ff, #ffd1f4, #9af0ff, #a78bff); clip-path: polygon(50% 0, 100% 88%, 0 88%); opacity: .8; transition: transform .6s; }
.post-card:nth-child(2) .post-thumb::before { transform: rotate(35deg); }
.post-card:nth-child(3) .post-thumb::before { transform: rotate(-30deg); }
.post-card:hover .post-thumb::before { transform: rotate(12deg) scale(1.06); }
.post-thumb span { position: absolute; left: 16px; bottom: 16px; background: #fff; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--violet); }
.post-body { padding: 24px; display: grid; gap: 10px; }
.post-body time { font-size: 13px; color: var(--muted); }
.post-body h2, .post-body h3 { font-size: 20px; letter-spacing: -.025em; line-height: 1.25; }
.post-body p { color: var(--muted); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; }
.faq { display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: #d4c9ff; box-shadow: var(--shadow-sm); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; cursor: pointer; list-style: none; font-weight: 600; font-size: 18px; letter-spacing: -.02em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ic { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--bg-soft); color: var(--violet); transition: transform .3s, background .3s, color .3s; }
.faq-item[open] .faq-ic { transform: rotate(45deg); background: var(--violet); color: #fff; }
.faq-a { padding: 0 26px 24px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta-wrap { padding-top: 40px; }
.cta {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  padding: 90px 40px; border-radius: 40px; color: #fff;
  background: radial-gradient(ellipse at 50% 120%, #6b4cf6 0%, #2a1a78 45%, #0f0c24 80%);
}
.cta h2 { font-size: clamp(34px, 5vw, 64px); letter-spacing: -.045em; }
.cta h2 .grad-text { background: linear-gradient(90deg, #c7b6ff, #8fc2ff, #f3b6ff); -webkit-background-clip: text; background-clip: text; }
.cta p { max-width: 620px; margin: 22px auto 0; color: #c9c3e6; font-size: 18px; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.cta-spark { display: inline-flex; color: #c7b6ff; margin-bottom: 18px; }
.cta-shape { position: absolute; width: 340px; aspect-ratio: 1; z-index: -1; background: conic-gradient(from 180deg, #a78bff, #6fb4ff, #ffd1f4, #9af0ff, #a78bff); clip-path: polygon(50% 0, 100% 88%, 0 88%); opacity: .55; filter: blur(1px); }
.cta-shape-a { left: -110px; bottom: -90px; transform: rotate(-25deg); }
.cta-shape-b { right: -100px; top: -110px; transform: rotate(160deg); opacity: .4; }

/* ---------- Páginas internas ---------- */
.page-hero { position: relative; padding: 60px 0 60px; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(36px, 5.6vw, 66px); letter-spacing: -.045em; max-width: 900px; }
.page-hero .hero-sub { margin: 22px 0 0; }
.page-hero .hero-actions { justify-content: flex-start; }
.page-hero-split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.page-hero-article h1 { font-size: clamp(32px, 4.6vw, 52px); }
.crumbs { margin-bottom: 22px; font-size: 14px; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: .5; }
.crumbs a:hover { color: var(--violet); }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }

.deliver-card { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 34px; box-shadow: var(--shadow-lg); }
.deliver-card h2 { font-size: 24px; margin: 20px 0 16px; }
.checks { display: grid; gap: 12px; }
.checks li { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
.checks .ic { color: var(--green); margin-top: 3px; }
.checks-lg { margin: 30px 0; font-size: 16.5px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 12px; align-content: start; }
.feature-n { font-weight: 800; font-size: 14px; color: var(--violet); }
.feature h3 { font-size: 20px; letter-spacing: -.025em; }
.feature p { color: var(--muted); font-size: 15.5px; }

.plans { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 22px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.plan h3 { font-size: 21px; }
.plan-for { font-weight: 600; color: var(--violet); font-size: 14.5px; }
.plan p:not(.plan-for) { color: var(--muted); font-size: 15px; flex: 1; }
.plan-hot { background: #fff; border-color: var(--violet); box-shadow: 0 20px 40px -20px rgba(107,76,246,.45); }
.plan-hot .chip { position: absolute; top: -12px; left: 22px; background: var(--violet); color: #fff; }

.srv-list { display: grid; gap: 14px; }
.srv-row { display: grid; grid-template-columns: 56px 60px 1fr 48px; gap: 24px; align-items: center; padding: 28px 30px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .3s, border-color .3s; }
.srv-row:hover { box-shadow: var(--shadow); border-color: #d4c9ff; }
.srv-num { font-size: 28px; font-weight: 800; color: #cfc8ea; letter-spacing: -.04em; }
.srv-row h2 { font-size: 24px; letter-spacing: -.03em; margin-bottom: 6px; }
.srv-row h2 a:hover { color: var(--violet); }
.srv-body p { color: var(--muted); font-size: 15.5px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tags li { font-size: 13px; padding: 4px 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); }

.prose { font-size: 17.5px; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 30px; margin-top: 1.8em; color: var(--ink); }
.prose h3 { font-size: 22px; margin-top: 1.5em; color: var(--ink); }
.prose a { color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose strong { color: var(--ink); }
.article-meta { margin-top: 18px; color: var(--muted); font-size: 15px; }
.article-body { padding: 20px 0 50px; }
.article-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 32px; border-radius: var(--radius); background: var(--grad-soft); border: 1px solid #e3dcff; }
.article-cta h2 { font-size: 23px; }
.article-cta p { color: var(--muted); margin-top: 4px; }
.more-posts { padding: 50px 0 20px; }
.more-posts h2 { font-size: 24px; margin-bottom: 16px; }
.more-posts ul { display: grid; gap: 10px; }
.more-posts a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; font-weight: 600; }
.more-posts a:hover { border-color: var(--violet); color: var(--violet); }

.offices { display: grid; gap: 14px; }
.office { display: flex; gap: 18px; align-items: center; padding: 24px; background: var(--bg); border: 1px solid var(--line); border-radius: 20px; }
.office h3 { font-size: 20px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.office p { color: var(--muted); }

.page-404 { padding: 90px 0 110px; }
.big-404 { font-size: clamp(110px, 20vw, 220px); font-weight: 800; letter-spacing: -.07em; line-height: 1; }
.page-404 h1 { margin: 10px auto 0; }
.page-404 .hero-sub { margin-inline: auto; }

/* ---------- Contacto ---------- */
.page-hero-contact { padding-bottom: 110px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-card { display: flex; gap: 14px; align-items: center; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 18px; min-width: 0; }
.contact-card .ic-box { width: 44px; height: 44px; border-radius: 12px; }
.contact-card b { display: block; font-size: 15px; }
.contact-card span { display: block; font-size: 13.5px; color: var(--muted); overflow-wrap: anywhere; }
a.contact-card:hover { border-color: var(--violet); }
.mini-quote { margin: 28px 0 0; padding: 24px; border-left: 3px solid var(--violet); background: #fff; border-radius: 0 18px 18px 0; }
.mini-quote blockquote { margin: 0; font-weight: 500; }
.mini-quote figcaption { margin-top: 10px; color: var(--muted); font-size: 14px; }

.form-card { position: sticky; top: 100px; background: #fff; border: 1px solid var(--line); border-radius: 32px; padding: 40px; box-shadow: var(--shadow-lg); }
.form-title { font-size: 28px; }
.form-sub { color: var(--muted); margin: 6px 0 22px; }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: 14px; font-weight: 600; color: var(--ink-2); padding: 0; margin-bottom: 7px; }
.field abbr { text-decoration: none; color: var(--violet); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--bg);
  font-size: 16px; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--violet); background: #fff; box-shadow: 0 0 0 4px rgba(107,76,246,.14); }
.field [aria-invalid="true"] { border-color: #e0445b; background: #fff6f7; }
.field-error { color: #d1364d; font-size: 13.5px; font-weight: 500; }
.chips-select { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-opt { position: relative; cursor: pointer; }
.chip-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip-opt span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg); font-size: 14px; font-weight: 500; transition: all .2s; }
.chip-opt input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip-opt input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 2px; }
.check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: 14px !important; color: var(--muted) !important; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--violet); flex: none; }
.check a { color: var(--violet); text-decoration: underline; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { display: none; padding: 14px 16px; border-radius: 14px; font-size: 14.5px; font-weight: 500; margin-bottom: 16px; }
.form-alert.is-visible { display: block; }
.form-alert.is-error { background: #fff0f2; color: #b3263c; border: 1px solid #ffd0d7; }
.form-alert.is-ok { background: #e8f8f1; color: #0f7a54; border: 1px solid #bfeedb; }
.form-foot { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: var(--muted); }
.form-success { text-align: center; display: grid; gap: 14px; justify-items: center; padding: 30px 0; }
.form-success h2 { font-size: 28px; }
.form-success p { color: var(--muted); max-width: 380px; }
.form-success .ic-box { color: var(--green); background: #e3f7ee; border-color: #c4eedb; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; padding: 80px 0 0; background: var(--surface); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; }
.footer-brand p { margin: 18px 0 22px; color: var(--muted); font-size: 15px; max-width: 360px; }
.footer-title { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 18px; font-weight: 700; }
.site-footer nav ul { display: grid; gap: 10px; }
.site-footer nav a { font-size: 15px; color: var(--ink-2); }
.site-footer nav a:hover { color: var(--violet); }
.social { display: flex; gap: 8px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink-2); transition: all .2s; }
.social a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.contact-list { display: grid; gap: 12px; font-size: 15px; color: var(--ink-2); }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list .ic { color: var(--violet); margin-top: 3px; }
.contact-list a:hover { color: var(--violet); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding: 24px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer-word { font-size: clamp(56px, 12.6vw, 182px); font-weight: 800; letter-spacing: -.07em; line-height: .8; text-align: center; white-space: nowrap; color: transparent; background: linear-gradient(180deg, #e7e2fb, rgba(231,226,251,0)); -webkit-background-clip: text; background-clip: text; user-select: none; margin-bottom: -.12em; }
.site-footer .brand-mark, .site-footer .brand { flex: none; }


/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; display: grid; place-items: center;
  width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .7); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Animaciones de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .bento .reveal:nth-child(2), .js .stats .reveal:nth-child(2), .js .posts .reveal:nth-child(2), .js .feature-grid .reveal:nth-child(3n+2) { transition-delay: .08s; }
.js .bento .reveal:nth-child(3), .js .stats .reveal:nth-child(3), .js .posts .reveal:nth-child(3), .js .feature-grid .reveal:nth-child(3n) { transition-delay: .16s; }
.js .bento .reveal:nth-child(4), .js .stats .reveal:nth-child(4) { transition-delay: .24s; }
.js .bento .reveal:nth-child(5) { transition-delay: .08s; }
.js .bento .reveal:nth-child(6) { transition-delay: .16s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .plans { grid-template-columns: repeat(3, 1fr); }
  .fc-1 { left: -10px; } .fc-2 { right: -10px; }
}
@media (max-width: 960px) {
  body { font-size: 16px; }
  .nav-toggle { display: grid; }
  .nav-actions .btn { display: none; }
  .nav {
    position: fixed; inset: 84px 16px auto 16px; padding: 16px; border-radius: 24px;
    background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all .25s ease;
  }
  .nav ul { flex-direction: column; gap: 2px; }
  .nav a:not(.btn) { padding: 13px 16px; font-size: 17px; }
  .nav-cta-mobile { display: flex; width: 100%; margin-top: 10px; }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open .nav-toggle .i-open { display: none; }
  .nav-open .nav-toggle .i-close { display: block; }

  .section { padding: 80px 0; }
  .bento, .feature-grid, .posts { grid-template-columns: 1fr 1fr; }
  .bento-wide { grid-column: span 2; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .step { position: relative; top: auto !important; grid-template-columns: 1fr; padding: 30px; gap: 28px; }
  .split, .contact-grid, .page-hero-split { grid-template-columns: 1fr; gap: 40px; }
  .form-card { position: relative; top: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dash-body { grid-template-columns: 1fr 1fr; }
  .dash-main { grid-column: span 2; grid-row: auto; }
  .float-card { display: none; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .container { padding-inline: 16px; }
  .site-header { padding: 10px 0; }
  .nav-wrap { padding-left: 16px; }
  .nav { inset: 74px 12px auto 12px; }
  .brand { font-size: 17px; }
  .br-lg { display: none; }
  .hero { padding-top: 40px; }
  .pill { font-size: 12.5px; text-align: left; }
  .hero-actions .btn { width: 100%; }
  .bento, .feature-grid, .posts, .plans, .contact-cards, .form-row { grid-template-columns: 1fr; }
  .bento-wide { grid-column: auto; }
  .bento-accent { display: flex; align-items: flex-start; }
  .bento-accent .card-link { align-self: flex-start; }
  .bento-card, .feature { padding: 24px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .stat { padding-left: 14px; }
  .step { padding: 22px; border-radius: 24px; }
  .step-ui { padding: 20px; min-height: 0; }
  .tcard { padding: 28px; border-radius: 24px; }
  .tcard figcaption .chip { margin-left: 0; }
  .cta { padding: 64px 22px; border-radius: 28px; }
  .cta-actions .btn { width: 100%; }
  .srv-row { grid-template-columns: 1fr 48px; padding: 22px; gap: 14px; }
  .srv-num { display: none; }
  .srv-row .ic-box { grid-column: 1; }
  .srv-row .srv-body { grid-column: 1 / -1; }
  .srv-row .round-btn { grid-row: 1; grid-column: 2; }
  .form-card { padding: 24px; border-radius: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .article-cta { flex-direction: column; align-items: flex-start; }
  .dash-body { grid-template-columns: 1fr; padding: 12px; }
  .dash-main { grid-column: auto; }
  .dash-value { font-size: 36px; }
  .faq-item summary { padding: 18px 20px; font-size: 16.5px; }
  .faq-a { padding: 0 20px 20px; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .prism { width: 260px; }
  .prism-a { left: -140px; top: 20px; }
  .prism-b { right: -150px; width: 240px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
}
