/* =========================================================
   DESINTEGRA .AI — Hoja de estilos principal
   ========================================================= */
:root {
  --midnight: #0B1020;
  --midnight-2: #111833;
  --midnight-3: #1A2347;
  --blue: #2563EB;
  --blue-600: #1D4FD8;
  --cyan: #22D3EE;
  --violet: #8B5CF6;
  --soft: #F5F7FA;
  --white: #FFFFFF;
  --ink: #0B1020;
  --ink-2: #3B4563;
  --ink-3: #5A6482;
  --line: #E2E7F0;
  --on-dark: #E8ECF5;
  --on-dark-2: #A9B3CE;
  --line-dark: rgba(255,255,255,.1);

  --grad-brand: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 55%, var(--violet) 100%);
  --grad-glow: radial-gradient(60% 60% at 70% 30%, rgba(37,99,235,.35), transparent 70%), radial-gradient(50% 50% at 15% 85%, rgba(139,92,246,.25), transparent 70%);

  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 10px; --r: 16px; --r-lg: 24px;
  --shadow: 0 12px 40px -16px rgba(11,16,32,.25);
  --shadow-glow: 0 10px 40px -10px rgba(34,211,238,.45);
  --ease: cubic-bezier(.2,.7,.2,1);
  --header-h: 72px;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.65; color: var(--ink); background: var(--white); overflow-x: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 1.4rem + 3.2vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.5rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--cyan); color: var(--midnight); padding: .6rem 1rem; border-radius: var(--r-sm); font-weight: 600; }
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2rem); }
.narrow { max-width: 820px; }
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }
.icon-xs { width: 1em; height: 1em; }

/* ---------- Botones ---------- */
.btn { --bg: transparent; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .75rem 1.35rem; border-radius: 999px; font: 600 1rem/1.2 var(--font-body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s, color .25s; }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 6px 20px -8px rgba(37,99,235,.8); }
.btn-primary:hover { background: var(--blue-600); box-shadow: var(--shadow-glow); transform: translateY(-2px); }
.btn-ghost { color: var(--on-dark); border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.04); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--white); background: rgba(34,211,238,.08); transform: translateY(-2px); }
.btn-sm { min-height: 42px; padding: .5rem 1rem; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; color: var(--blue); font-weight: 600; text-decoration: none; margin-top: auto; padding: .35rem 0; }
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.section-dark .link-arrow { color: var(--cyan); }

/* ---------- Encabezado ---------- */
.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--line-dark); color: var(--on-dark); }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(11,16,32,.82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); transition: background-color .3s; }
.site-header.is-scrolled::before { background: rgba(11,16,32,.96); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }
.brand img { width: auto; height: 40px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-dark); color: var(--on-dark); width: 48px; height: 48px; border-radius: 12px; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.nav-list { display: flex; align-items: center; gap: .25rem; }
.nav-list > li > a, .sub-row > a { display: inline-flex; align-items: center; padding: .55rem .85rem; border-radius: 10px; text-decoration: none; font-weight: 500; font-size: .96rem; color: var(--on-dark-2); transition: color .2s, background-color .2s; }
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--white); }
.nav-list > li > a[aria-current="page"], .sub-row > a[aria-current="page"] { background: rgba(255,255,255,.06); }
.has-sub { position: relative; }
.sub-row { display: flex; align-items: center; }
.sub-toggle { background: none; border: 0; color: var(--on-dark-2); width: 32px; height: 40px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 8px; margin-left: -.5rem; }
.sub-toggle .icon { width: 1rem; transition: transform .25s var(--ease); }
.sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.sub-menu { position: absolute; top: calc(100% + 8px); left: -.5rem; width: 330px; padding: .5rem; background: var(--midnight-2); border: 1px solid var(--line-dark); border-radius: var(--r); box-shadow: 0 24px 60px -20px rgba(0,0,0,.7); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu, .has-sub.is-open .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { display: flex; align-items: center; gap: .75rem; padding: .65rem .75rem; border-radius: 10px; text-decoration: none; color: var(--on-dark); font-size: .94rem; }
.sub-menu a .icon { color: var(--cyan); }
.sub-menu a:hover, .sub-menu a[aria-current="page"] { background: rgba(34,211,238,.08); }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.lang-switch { display: inline-flex; align-items: center; gap: .15rem; font-size: .88rem; font-weight: 600; color: var(--on-dark-2); }
.lang-switch a { text-decoration: none; padding: .45rem .5rem; border-radius: 8px; min-width: 36px; text-align: center; }
.lang-switch a:hover { color: var(--white); }
.lang-switch a[aria-current="true"] { color: var(--midnight); background: var(--cyan); }

/* Modo Landing Page (Tráfico de pago Google Ads sin distracciones) */
body.is-landing .site-nav,
body.is-landing .nav-toggle { display: none !important; }
body.is-landing .landing-cta { display: inline-flex; align-items: center; margin-left: auto; }
body.is-landing .site-footer .footer-grid > div:nth-child(2),
body.is-landing .site-footer .footer-grid > div:nth-child(3) { display: none; }

/* ---------- Secciones ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.section-soft { background: var(--soft); }
.section-dark { position: relative; background: var(--midnight); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark::before { content: ""; position: absolute; inset: 0; background: var(--grad-glow); z-index: -1; pointer-events: none; }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.kicker, .eyebrow { display: inline-flex; align-items: center; gap: .45rem; font: 600 .82rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 1rem; }
.section-dark .kicker, .section-dark .eyebrow { color: var(--cyan); }
.eyebrow { padding: .5rem .85rem; border: 1px solid rgba(34,211,238,.3); border-radius: 999px; background: rgba(34,211,238,.06); letter-spacing: .06em; }
.lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); color: var(--on-dark-2); max-width: 620px; }
.lead-dark { font-size: 1.15rem; color: var(--ink-2); }
.muted { color: var(--ink-3); }
.muted-on-dark { color: var(--on-dark-2); }
.h-small { font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-family: var(--font-body); font-weight: 600; margin-bottom: 1.25rem; }
.h-small.spaced { margin-top: 3.5rem; }

/* ---------- Fondo de nodos ---------- */
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.node-canvas { width: 100%; height: 100%; opacity: .55; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%); }

/* ---------- Hero inicio ---------- */
.hero { padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(4rem, 9vw, 7rem); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { background: linear-gradient(180deg, #fff 30%, #C9D6F5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-visual { position: relative; min-height: 420px; }
.hv-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hv-path { fill: none; stroke: url(#hvg); stroke-width: 2; stroke-dasharray: 6 8; animation: dash 1.6s linear infinite; opacity: .8; }
@keyframes dash { to { stroke-dashoffset: -28; } }
.hv-card { position: absolute; display: flex; align-items: center; gap: .8rem; padding: .9rem 1.1rem; background: rgba(17,24,51,.85); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); box-shadow: 0 20px 50px -20px rgba(0,0,0,.8); backdrop-filter: blur(8px); }
.hv-card strong { display: block; color: var(--white); font-size: .95rem; }
.hv-card small { display: flex; align-items: center; gap: .3rem; color: var(--on-dark-2); font-size: .82rem; }
.hv-ic { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad-brand); color: var(--white); flex-shrink: 0; }
.hv-ad { top: 4%; left: 0; animation: float 6s ease-in-out infinite; }
.hv-chat { top: 32%; right: 0; flex-direction: column; align-items: stretch; width: min(320px, 82%); animation: float 7s ease-in-out infinite .6s; }
.hv-chat-head { display: flex; align-items: center; gap: .6rem; }
.hv-crm { bottom: 2%; left: 6%; animation: float 6.5s ease-in-out infinite 1.2s; }
.hv-crm small .icon { color: var(--cyan); }
.hv-pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(34,211,238,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(34,211,238,0); } 100% { box-shadow: 0 0 0 0 rgba(34,211,238,0); } }
@keyframes float { 50% { transform: translateY(-8px); } }
.bubble { margin: 0; padding: .6rem .85rem; border-radius: 14px; font-size: .9rem; line-height: 1.45; max-width: 88%; }
.bubble-bot { background: rgba(37,99,235,.22); color: var(--on-dark); border-bottom-left-radius: 4px; }
.bubble-user { align-self: flex-end; background: rgba(255,255,255,.92); color: var(--ink); border-bottom-right-radius: 4px; }
.bubble-system { align-self: center; display: inline-flex; align-items: center; gap: .45rem; background: rgba(34,211,238,.12); border: 1px solid rgba(34,211,238,.35); color: var(--cyan); font-size: .82rem; font-weight: 600; max-width: 100%; }

/* ---------- Pilares ---------- */
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2.5vw, 1.75rem); }
.pillar { position: relative; display: flex; flex-direction: column; padding: clamp(1.75rem, 3.5vw, 2.75rem); border-radius: var(--r-lg); background: var(--midnight); color: var(--on-dark); overflow: hidden; isolation: isolate; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.pillar::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 70% at 100% 0%, rgba(34,211,238,.28), transparent 60%); }
.pillar-violet::before { background: radial-gradient(80% 70% at 100% 0%, rgba(139,92,246,.35), transparent 60%); }
.pillar:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(37,99,235,.6); }
.pillar h3 { color: var(--white); font-size: clamp(1.4rem, 1.2rem + .8vw, 1.85rem); }
.pillar p { color: var(--on-dark-2); }
.pillar-ic { display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center; border-radius: 16px; background: var(--grad-brand); color: var(--white); margin-bottom: 1.5rem; }
.pillar-ic .icon { width: 28px; height: 28px; }
.pillar .link-arrow { color: var(--cyan); margin-top: 1.25rem; }
.check-list { display: grid; gap: .6rem; margin: .5rem 0 0; }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; }
.check-list .icon { color: var(--cyan); margin-top: .2em; width: 1.1em; height: 1.1em; }
.section-soft .check-list .icon, .section:not(.section-dark) .group .icon, .check-list-lg .icon { color: var(--blue); }
.pillar .check-list .icon { color: var(--cyan); }
.check-list-lg { gap: 1rem; font-size: 1.1rem; margin-top: 1.5rem; }

/* ---------- Flujo ---------- */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 3vw, 2rem); position: relative; counter-reset: flow; }
.flow-4 { grid-template-columns: repeat(4, 1fr); }
.flow::before { content: ""; position: absolute; top: 36px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--blue), var(--violet)); opacity: .5; }
.flow-step { position: relative; padding: 0 .25rem; }
.flow-num { position: absolute; top: -6px; left: 54px; font: 700 .75rem/1 var(--font-head); color: var(--cyan); }
.flow-ic { position: relative; display: inline-flex; width: 72px; height: 72px; align-items: center; justify-content: center; border-radius: 50%; background: var(--midnight-2); border: 1px solid rgba(34,211,238,.4); color: var(--cyan); margin-bottom: 1.25rem; box-shadow: 0 0 0 8px var(--midnight); }
.flow-ic .icon { width: 30px; height: 30px; }
.flow-step p { color: var(--on-dark-2); }

/* ---------- Beneficios ---------- */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.benefit { padding: 2rem 1.5rem 1.5rem 0; border-right: 1px solid var(--line); }
.benefit + .benefit { padding-left: 1.5rem; }
.benefit:last-child { border-right: 0; }
.benefit > .icon { width: 32px; height: 32px; color: var(--blue); margin-bottom: 1rem; }
.benefit p { color: var(--ink-2); margin: 0; }

/* ---------- Filas de servicios ---------- */
.svc-rows { display: grid; gap: .75rem; }
.svc-row { display: flex; align-items: center; gap: 1.25rem; padding: 1.25rem 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; transition: border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.svc-row:hover { border-color: var(--blue); transform: translateX(4px); box-shadow: var(--shadow); }
.svc-row-ic { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 14px; background: var(--soft); color: var(--blue); flex-shrink: 0; transition: background .25s, color .25s; }
.svc-row:hover .svc-row-ic { background: var(--grad-brand); color: var(--white); }
.svc-row-ic .icon { width: 26px; height: 26px; }
.svc-row-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.svc-row-text strong { font-family: var(--font-head); font-size: 1.15rem; }
.svc-row-text span { color: var(--ink-3); font-size: .95rem; }
.svc-row-arrow { color: var(--blue); transition: transform .25s var(--ease); }
.svc-row:hover .svc-row-arrow { transform: translateX(4px); }
.section:not(.section-soft) .svc-row-ic { background: var(--soft); }

/* ---------- Teaser agencia ---------- */
.about-teaser { display: grid; grid-template-columns: 200px 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.about-mark { width: 200px; filter: drop-shadow(0 20px 40px rgba(37,99,235,.35)); }
.about-teaser p { color: var(--ink-2); max-width: 640px; }

/* ---------- Portafolio de proyectos ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.75rem); }
.project-card { position: relative; display: flex; flex-direction: column; padding: clamp(1.5rem, 3vw, 2rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.project-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px -15px rgba(37,99,235,.22); border-color: rgba(37,99,235,.4); }
.project-card-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.project-badge { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; padding: .35rem .75rem; border-radius: 999px; background: rgba(37,99,235,.08); color: var(--blue); border: 1px solid rgba(37,99,235,.18); }
.project-icon { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px; background: var(--soft); color: var(--blue); flex-shrink: 0; transition: background .25s, color .25s; }
.project-card:hover .project-icon { background: var(--grad-brand); color: var(--white); }
.project-card h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.project-card p { color: var(--ink-2); font-size: .95rem; line-height: 1.6; margin-bottom: 1.5rem; flex-grow: 1; }
.project-card-footer { margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.project-url { font-size: .88rem; font-family: monospace; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 58%; }
.project-link-btn { display: inline-flex; align-items: center; gap: .4rem; font-size: .92rem; font-weight: 600; color: var(--blue); text-decoration: none; transition: color .2s, transform .25s var(--ease); }
.project-link-btn:hover { color: var(--blue-600); }
.project-link-btn .icon { transition: transform .25s var(--ease); }
.project-card:hover .project-link-btn .icon { transform: translate(3px, -2px); }

/* ---------- CTA ---------- */
.cta-band { padding: clamp(3.5rem, 7vw, 5rem) 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-inner > div:first-child { max-width: 620px; }
.cta-inner p { color: var(--on-dark-2); margin: 0; }
.cta-inner .btn-row { margin-top: 0; }

/* ---------- Héroe interno ---------- */
.page-hero { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.page-hero-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 2rem; align-items: center; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .88rem; color: var(--on-dark-2); margin-bottom: 1.25rem; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb [aria-current] { color: var(--cyan); }
.page-hero-emblem { position: relative; width: 220px; height: 220px; margin-left: auto; display: flex; align-items: center; justify-content: center; }
.orbit { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(34,211,238,.35); animation: spin 30s linear infinite; }
.orbit-2 { inset: 30px; border-color: rgba(139,92,246,.4); animation-direction: reverse; animation-duration: 22s; }
.orbit::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.orbit-2::after { background: var(--violet); box-shadow: 0 0 12px var(--violet); }
@keyframes spin { to { transform: rotate(360deg); } }
.emblem-core { width: 104px; height: 104px; border-radius: 28px; background: var(--grad-brand); display: flex; align-items: center; justify-content: center; color: var(--white); box-shadow: var(--shadow-glow); }
.emblem-core .icon { width: 48px; height: 48px; }
.about-logo img { max-width: 340px; margin-left: auto; }

/* ---------- Oferta ---------- */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.offer { padding: 2rem 1.75rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color .25s; }
.offer:hover { background: var(--soft); }
.offer-thumb { margin-bottom: 1.25rem; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; background: var(--midnight-2); border: 1px solid var(--line); box-shadow: 0 4px 15px -4px rgba(11,16,32,.12); }
.offer-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.offer:hover .offer-thumb img { transform: scale(1.05); }
.offer-ic { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 14px; background: rgba(37,99,235,.08); color: var(--blue); margin-bottom: 1rem; }
.offer p { color: var(--ink-2); margin: 0; }
.groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.group { padding: 1.75rem; border: 1px solid var(--line); border-radius: var(--r); }
.group h3 { display: flex; align-items: center; gap: .6rem; }
.group h3 .icon { color: var(--blue); }

/* ---------- Demo de chat ---------- */
.demo-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.chat-demo { background: var(--midnight-2); border: 1px solid var(--line-dark); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); }
.chat-head { display: flex; align-items: center; gap: .7rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line-dark); color: var(--white); }
.chat-tag { margin-left: auto; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--violet); border: 1px solid rgba(139,92,246,.45); border-radius: 999px; padding: .25rem .6rem; }
.chat-body { display: flex; flex-direction: column; gap: .7rem; padding: 1.5rem 1.25rem; }
.chat-body .bubble-user { align-self: flex-end; }
.js .chat-demo:not(.is-played) .chat-body .bubble { opacity: 0; transform: translateY(8px); }
.chat-body .bubble { transition: opacity .4s var(--ease), transform .4s var(--ease); }

/* ---------- Problemas / beneficios ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.problem-list { display: grid; gap: .8rem; }
.problem-list li { position: relative; padding: 1rem 1.1rem 1rem 2.6rem; background: var(--white); border-radius: var(--r-sm); border: 1px solid var(--line); color: var(--ink-2); }
.problem-list li::before { content: ""; position: absolute; left: 1.1rem; top: 1.45rem; width: 10px; height: 2px; background: var(--violet); }
.benefit-stack { display: grid; gap: 1.25rem; }
.benefit-line { display: flex; gap: 1rem; align-items: flex-start; }
.benefit-line > .icon { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--blue); color: var(--white); margin-top: .1rem; }
.benefit-line h3 { margin-bottom: .2rem; font-size: 1.1rem; }
.benefit-line p { margin: 0; color: var(--ink-2); }

/* ---------- Nota ---------- */
.note { display: flex; gap: 1.25rem; padding: clamp(1.5rem, 3vw, 2rem); border-radius: var(--r); background: linear-gradient(135deg, rgba(34,211,238,.08), rgba(139,92,246,.08)); border: 1px solid rgba(37,99,235,.18); }
.note > .icon { width: 32px; height: 32px; color: var(--violet); }
.note h2 { font-size: 1.3rem; margin-bottom: .4rem; }
.note p { margin: 0; color: var(--ink-2); max-width: none; text-align: justify; text-justify: inter-word; hyphens: auto; -webkit-hyphens: auto; }
.note > div { flex: 1; min-width: 0; }
.section-note { padding-bottom: clamp(1rem, 2vw, 1.5rem); }
.section-note + .section { padding-top: clamp(1.5rem, 3vw, 2.5rem); }

/* ---------- Galería de servicio ---------- */
.gallery-head { max-width: 760px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.75rem); }
.shot { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--midnight); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.shot img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .6s var(--ease); }
.shot:hover img { transform: scale(1.03); }
.shot figcaption { padding: 1rem 1.25rem 1.25rem; color: var(--on-dark-2); font-size: .95rem; line-height: 1.5; }
.shot figcaption strong { display: block; color: var(--white); font-family: var(--font-head); font-size: 1.05rem; margin-bottom: .2rem; }

/* ---------- Campaña animada (marketing digital) ---------- */
.campaign { display: grid; gap: clamp(1.5rem, 3vw, 2.25rem); }
.camp-track { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; counter-reset: camp; }
.camp-track::before, .camp-track::after { content: ""; position: absolute; top: calc(1.35rem + 26px); left: 10%; right: 10%; height: 2px; border-radius: 2px; }
.camp-track::before { background: var(--line-dark); }
.camp-track::after { background: var(--grad-brand); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 12px rgba(34,211,238,.6); }
.campaign.is-played .camp-track::after { animation: campLine 15s linear infinite; }
.camp-stage { position: relative; z-index: 1; padding: 1.35rem 1rem 1.25rem; text-align: center; border-radius: var(--r); background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.camp-stage h3 { font-size: 1.05rem; margin: .85rem 0 .3rem; }
.camp-stage p { margin: 0; font-size: .9rem; color: var(--on-dark-2); }
.camp-ic { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 50%; background: var(--midnight); border: 1px solid var(--line-dark); color: var(--cyan); }
.camp-ic .icon { width: 24px; height: 24px; }
.camp-num { position: absolute; top: .7rem; right: .85rem; font: 700 .78rem/1 var(--font-head); color: var(--on-dark-2); opacity: .6; }
.js .campaign:not(.is-played) .camp-stage { opacity: 0; transform: translateY(16px); }
.campaign.is-played .camp-stage { animation: campStage 15s linear infinite; }
.campaign.is-played .camp-stage .camp-ic { animation: campIcon 15s linear infinite; }
.camp-s1, .camp-s1 .camp-ic { animation-delay: 0s !important; }
.camp-s2, .camp-s2 .camp-ic { animation-delay: 3s !important; }
.camp-s3, .camp-s3 .camp-ic { animation-delay: 6s !important; }
.camp-s4, .camp-s4 .camp-ic { animation-delay: 9s !important; }
.camp-s5, .camp-s5 .camp-ic { animation-delay: 12s !important; }
.camp-panels { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(1rem, 2.5vw, 1.75rem); }
.camp-panel { padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--r-lg); background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); }
.camp-panel h3 { font-size: 1rem; margin-bottom: 1.25rem; color: var(--on-dark); }
.camp-funnel { display: grid; gap: .6rem; }
.camp-bar-fill { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: .75rem; min-width: 10rem; padding: .75rem 1rem; border-radius: 12px; color: var(--white); font-size: .92rem; background: var(--grad-brand); clip-path: inset(0 0 0 0 round 12px); transition: clip-path 1.1s var(--ease); }
.camp-bar-fill strong { font-family: var(--font-head); }
.camp-bar-fill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%); transform: translateX(-100%); }
.campaign.is-played .camp-bar-fill::after { animation: campShine 4s ease-in-out infinite; }
.camp-f1 .camp-bar-fill { width: 100%; }
.camp-f2 .camp-bar-fill { width: 76%; filter: hue-rotate(-8deg); }
.camp-f3 .camp-bar-fill { width: 52%; filter: hue-rotate(-16deg); }
.camp-f4 .camp-bar-fill { width: 34%; filter: hue-rotate(-24deg); }
.js .campaign:not(.is-played) .camp-bar-fill { clip-path: inset(0 100% 0 0 round 12px); }
.camp-f2 .camp-bar-fill { transition-delay: .25s; } .camp-f3 .camp-bar-fill { transition-delay: .5s; } .camp-f4 .camp-bar-fill { transition-delay: .75s; }
.camp-chart { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; height: 190px; }
.camp-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: .4rem; }
.camp-col strong { font-family: var(--font-head); font-size: 1rem; color: var(--white); }
.camp-col small { color: var(--on-dark-2); font-size: .8rem; }
.camp-col-bar { width: 100%; max-width: 60px; border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, var(--cyan), var(--blue)); transform-origin: bottom; transition: transform 1s var(--ease); }
.camp-c1 .camp-col-bar { height: 34px; } .camp-c2 .camp-col-bar { height: 62px; } .camp-c3 .camp-col-bar { height: 98px; } .camp-c4 .camp-col-bar { height: 130px; background: linear-gradient(180deg, var(--violet), var(--blue)); }
.js .campaign:not(.is-played) .camp-col-bar { transform: scaleY(0); }
.camp-c2 .camp-col-bar { transition-delay: .2s; } .camp-c3 .camp-col-bar { transition-delay: .4s; } .camp-c4 .camp-col-bar { transition-delay: .6s; }
.js .campaign:not(.is-played) .camp-col strong { opacity: 0; }
.camp-col strong { transition: opacity .6s .9s; }
.campaign.is-played .camp-c4 .camp-col-bar { animation: campGlow 3s ease-in-out 1.6s infinite; }
.camp-note { margin: 0; text-align: center; font-size: .85rem; color: var(--on-dark-2); }
@keyframes campLine { 0% { transform: scaleX(0); opacity: 1; } 80% { transform: scaleX(1); opacity: 1; } 96% { transform: scaleX(1); opacity: 0; } 100% { transform: scaleX(0); opacity: 0; } }
@keyframes campStage { 0% { transform: translateY(-5px); border-color: var(--cyan); background: rgba(34,211,238,.1); box-shadow: 0 14px 34px -14px rgba(34,211,238,.55); } 18% { transform: translateY(-5px); border-color: var(--cyan); background: rgba(34,211,238,.1); box-shadow: 0 14px 34px -14px rgba(34,211,238,.55); } 24%, 100% { transform: none; border-color: var(--line-dark); background: rgba(255,255,255,.04); box-shadow: none; } }
@keyframes campIcon { 0%, 18% { background: var(--grad-brand); color: var(--white); border-color: transparent; box-shadow: 0 0 0 6px rgba(34,211,238,.14); } 24%, 100% { background: var(--midnight); color: var(--cyan); border-color: var(--line-dark); box-shadow: none; } }
@keyframes campShine { 0%, 55% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes campGlow { 0%, 100% { filter: none; } 50% { filter: brightness(1.35) drop-shadow(0 0 10px rgba(139,92,246,.7)); } }
@media (max-width: 900px) {
  .camp-track { grid-template-columns: 1fr; }
  .camp-track::before, .camp-track::after { display: none; }
  .camp-stage { display: grid; grid-template-columns: 52px 1fr; column-gap: 1rem; text-align: left; align-items: center; padding: 1rem 1.1rem; }
  .camp-stage .camp-ic { grid-row: span 2; }
  .camp-stage h3 { margin: 0; }
  .camp-panels { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .camp-track::after { transform: none; animation: none !important; }
  .camp-bar-fill::after { display: none; }
}

/* ---------- Automatización animada (n8n) ---------- */
.autoflow { display: grid; gap: clamp(1.75rem, 3.5vw, 2.75rem); }
.af-flow { position: relative; }
.af-rail { position: absolute; z-index: 2; top: calc(1.35rem + 26px); left: 10%; right: 10%; height: 2px; border-radius: 2px; background: #CBD3E1; pointer-events: none; }
.af-packet { position: absolute; top: 50%; left: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--grad-brand); box-shadow: 0 0 0 4px rgba(34,211,238,.22), 0 0 14px rgba(37,99,235,.55); opacity: 0; }
.autoflow.is-played .af-packet { animation: afPacket 6s linear infinite; }
.autoflow.is-played .af-p2 { animation-delay: 2s; }
.autoflow.is-played .af-p3 { animation-delay: 4s; }
.af-nodes { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.af-node { position: relative; padding: 1.35rem 1rem 1.25rem; text-align: center; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.af-node h3 { font-size: 1.05rem; margin: .85rem 0 .3rem; }
.af-node p { margin: 0; font-size: .9rem; color: var(--ink-2); }
.af-ic { position: relative; z-index: 3; display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 50%; background: var(--white); border: 1px solid #CBD3E1; color: var(--blue); }
.af-ic .icon { width: 24px; height: 24px; }
.js .autoflow:not(.is-played) .af-node { opacity: 0; transform: translateY(16px); }
.autoflow.is-played .af-ic { animation: afNode 2s ease-out infinite; }
.autoflow.is-played .af-n1 .af-ic, .autoflow.is-played .af-n5 .af-ic { animation-delay: 0s; }
.autoflow.is-played .af-n2 .af-ic { animation-delay: 1.5s; }
.autoflow.is-played .af-n3 .af-ic { animation-delay: 1s; }
.autoflow.is-played .af-n4 .af-ic { animation-delay: .5s; }
.af-compare { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 1.75rem); }
.af-col { padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); border-top: 4px solid #E07A5F; }
.af-auto { border-top-color: var(--blue); box-shadow: 0 18px 40px -26px rgba(37,99,235,.45); }
.af-col h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.1rem; margin-bottom: 1rem; }
.af-col h3 .icon { width: 24px; height: 24px; color: #E07A5F; }
.af-auto h3 .icon { color: var(--blue); }
.af-tasks { display: grid; }
.af-tasks li { --af-c: #E07A5F; display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 1rem; row-gap: .5rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.af-auto .af-tasks li { --af-c: var(--blue); }
.af-tasks li::after { content: ""; grid-column: 1 / -1; height: 5px; border-radius: 5px; background: linear-gradient(90deg, var(--af-c), var(--af-c)) no-repeat left / 0 100%, #E6EAF3; }
.autoflow.is-played .af-manual .af-tasks li::after { animation: afSlow 12s linear infinite; }
.autoflow.is-played .af-auto .af-tasks li::after { animation: afFast 6s ease-out infinite; }
.autoflow.is-played .af-manual li:nth-child(2)::after { animation-delay: 3s; }
.autoflow.is-played .af-manual li:nth-child(3)::after { animation-delay: 6s; }
.autoflow.is-played .af-manual li:nth-child(4)::after { animation-delay: 9s; }
.autoflow.is-played .af-auto li:nth-child(2)::after { animation-delay: .15s; }
.autoflow.is-played .af-auto li:nth-child(3)::after { animation-delay: .3s; }
.autoflow.is-played .af-auto li:nth-child(4)::after { animation-delay: .45s; }
.af-label { font-weight: 500; }
.af-time, .af-tag { display: inline-flex; align-items: center; gap: .35rem; font-size: .85rem; font-weight: 600; white-space: nowrap; }
.af-time { color: #B5472E; }
.af-tag { padding: .2rem .65rem; border-radius: 999px; background: rgba(37,99,235,.1); color: var(--blue); }
.af-foot { margin: 1rem 0 0; font-weight: 600; color: #B5472E; }
.af-auto .af-foot { color: var(--blue); }
.af-note { margin: 0; text-align: center; font-size: .85rem; color: var(--ink-3); }
@keyframes afPacket { 0% { left: 0; opacity: 0; } 6% { opacity: 1; } 94% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes afNode { 0%, 30% { background: var(--grad-brand); color: var(--white); border-color: transparent; box-shadow: 0 0 0 7px rgba(37,99,235,.16); } 60%, 100% { background: var(--white); color: var(--blue); border-color: #CBD3E1; box-shadow: none; } }
@keyframes afSlow { 0% { background-size: 0 100%, 100% 100%; } 22% { background-size: 100% 100%, 100% 100%; } 95% { background-size: 100% 100%, 100% 100%; } 100% { background-size: 0 100%, 100% 100%; } }
@keyframes afFast { 0% { background-size: 0 100%, 100% 100%; } 8% { background-size: 100% 100%, 100% 100%; } 90% { background-size: 100% 100%, 100% 100%; } 100% { background-size: 0 100%, 100% 100%; } }
@media (max-width: 900px) {
  .af-rail { display: none; }
  .af-nodes { grid-template-columns: 1fr; }
  .af-node { display: grid; grid-template-columns: 52px 1fr; column-gap: 1rem; text-align: left; align-items: center; padding: 1rem 1.1rem; }
  .af-node .af-ic { grid-row: span 2; }
  .af-node h3 { margin: 0; }
  .af-compare { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .af-packet { display: none; }
  .af-tasks li::after { animation: none !important; background-size: 100% 100%, 100% 100%; }
}

/* ---------- Simulación de Desarrollo de Marca y Logo ---------- */
.brand-sim-section { border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.brand-sim { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }

/* Stepper de navegación */
.sim-stepper { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.sim-step-btn { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; padding: 1.1rem 1.25rem; background: rgba(255,255,255,.03); border: 1px solid var(--line-dark); border-radius: var(--r); text-align: left; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.sim-step-btn:hover { background: rgba(255,255,255,.06); border-color: rgba(34,211,238,.3); }
.sim-step-btn.is-active { background: rgba(34,211,238,.07); border-color: var(--cyan); box-shadow: 0 0 24px -6px rgba(34,211,238,.3); }
.sim-step-num { font: 700 .85rem/1 var(--font-head); color: var(--cyan); letter-spacing: .06em; }
.sim-step-info small { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--on-dark-2); margin-bottom: .2rem; }
.sim-step-info strong { display: block; font-size: .95rem; color: var(--white); font-weight: 600; }
.sim-step-bar { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: transparent; border-radius: 0 0 var(--r) var(--r); overflow: hidden; }
.sim-step-btn.is-active .sim-step-bar { background: var(--grad-brand); }
.brand-sim.is-auto-playing .sim-step-btn.is-active .sim-step-bar::after { content: ""; position: absolute; inset: 0; background: #fff; animation: simBarProgress 5s linear forwards; }
@keyframes simBarProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Barra de herramientas */
.sim-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.sim-modes { display: inline-flex; background: rgba(255,255,255,.05); padding: .3rem; border-radius: 999px; border: 1px solid var(--line-dark); gap: .25rem; }
.sim-mode-btn { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .85rem; border: 0; border-radius: 999px; background: transparent; color: var(--on-dark-2); font-size: .84rem; font-weight: 500; cursor: pointer; transition: background .2s, color .2s; }
.sim-mode-btn .icon { width: 16px; height: 16px; }
.sim-mode-btn:hover { color: var(--white); }
.sim-mode-btn.is-active { background: var(--blue); color: var(--white); box-shadow: 0 2px 8px rgba(37,99,235,.4); }
.sim-play-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line-dark); background: rgba(255,255,255,.04); color: var(--on-dark-2); font-size: .84rem; cursor: pointer; transition: border-color .2s, color .2s; }
.sim-play-btn:hover { border-color: var(--cyan); color: var(--white); }

/* Workbench Layout */
.sim-workbench { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(1rem, 2.5vw, 1.75rem); align-items: stretch; }

/* El Artboard / Canvas */
.sim-artboard { position: relative; min-height: 440px; border-radius: var(--r-lg); border: 1px solid var(--line-dark); overflow: hidden; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 1.5rem; transition: background-color .35s var(--ease), border-color .35s; }
.sim-artboard.mode-dark { background: #070B14; }
.sim-artboard.mode-light { background: #F8FAFC; border-color: #CBD3E1; }
.sim-artboard.mode-light .sim-artboard-meta { color: #64748B; border-color: #E2E8F0; }
.sim-artboard.mode-light .sim-concept-core { background: #FFFFFF; border-color: #E2E8F0; box-shadow: 0 10px 25px -5px rgba(0,0,0,.08); }
.sim-artboard.mode-light .sim-concept-name { color: #0F172A; }
.sim-artboard.mode-light .sim-bubble { background: #FFFFFF; color: #1E293B; border-color: #CBD3E1; box-shadow: 0 4px 14px rgba(0,0,0,.06); }
.sim-artboard.mode-light .sim-lockup-text .sim-wordmark { color: #0F172A; }
.sim-artboard.mode-light .sim-tagline { color: #475569; }
.sim-artboard.mode-light .sim-tguide { border-color: rgba(37,99,235,.25); }
.sim-artboard.mode-light .sim-tguide span { background: #EEF2FF; color: #2563EB; }
.sim-artboard.mode-light .sim-card-face { background: #111827; }
.sim-artboard.mode-grid { background: radial-gradient(circle, rgba(34,211,238,.07) 1px, #070B14 1px) 0 0 / 20px 20px; }

/* Meta info del lienzo */
.sim-artboard-meta { position: absolute; top: 1rem; left: 1.25rem; right: 1.25rem; display: flex; justify-content: space-between; align-items: center; font: 600 .72rem/1 monospace; color: var(--cyan); opacity: .85; border-bottom: 1px dashed rgba(34,211,238,.2); padding-bottom: .6rem; pointer-events: none; }

/* Vistas de fase */
.sim-stage-view { width: 100%; height: 100%; display: none; align-items: center; justify-content: center; opacity: 0; transform: scale(.97); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.sim-stage-view.is-active { display: flex; opacity: 1; transform: scale(1); }

/* FASE 1: Concept Cluster */
.sim-concept-cluster { position: relative; width: 100%; max-width: 440px; height: 320px; display: flex; align-items: center; justify-content: center; }
.sim-concept-core { position: relative; z-index: 2; width: 130px; height: 130px; border-radius: 50%; background: var(--midnight); border: 2px solid var(--cyan); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .25rem; text-align: center; box-shadow: 0 0 35px -5px rgba(34,211,238,.45); }
.sim-concept-pulse { position: absolute; inset: -10px; border-radius: 50%; border: 1px dashed rgba(34,211,238,.5); animation: simPulse 4s linear infinite; }
@keyframes simPulse { to { transform: rotate(360deg); } }
.sim-concept-icon .icon { width: 28px; height: 28px; color: var(--cyan); }
.sim-concept-name { font: 800 .92rem/1 var(--font-head); color: var(--white); letter-spacing: .08em; }
.sim-concept-sub { font: 600 .68rem/1 monospace; color: var(--on-dark-2); }
.sim-concept-bubbles { position: absolute; inset: 0; pointer-events: none; }
.sim-bubble { position: absolute; display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .85rem; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); color: var(--on-dark); font-size: .84rem; font-weight: 500; backdrop-filter: blur(8px); animation: simFloat 5s ease-in-out infinite alternate; }
.sim-bubble .icon { width: 15px; height: 15px; color: var(--cyan); }
.sim-bubble.b1 { top: 12px; left: 10px; animation-delay: 0s; }
.sim-bubble.b2 { top: 20px; right: 10px; animation-delay: .7s; }
.sim-bubble.b3 { bottom: 25px; left: 15px; animation-delay: 1.4s; }
.sim-bubble.b4 { bottom: 20px; right: 15px; animation-delay: 2.1s; }
.sim-bubble.b5 { top: 135px; right: -8px; animation-delay: 2.8s; }
@keyframes simFloat { from { transform: translateY(0); } to { transform: translateY(-7px); } }

/* FASE 2: Retícula Vectorial SVG */
.sim-vector-scene { width: 100%; max-width: 520px; display: flex; align-items: center; justify-content: center; }
.sim-svg-grid { width: 100%; height: auto; max-height: 340px; }
.guide-circle { transform-origin: 300px 190px; }
.guide-circle.c1 { animation: spinSlow 30s linear infinite; }
.guide-circle.c2 { animation: spinSlowRev 22s linear infinite; }
.guide-circle.c3 { animation: spinSlow 15s linear infinite; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes spinSlowRev { to { transform: rotate(-360deg); } }
.sim-facet { transition: transform .3s var(--ease), opacity .3s; }
.sim-emblem-group:hover .sim-facet.f1 { transform: translateY(-3px); }
.sim-emblem-group:hover .sim-facet.f2 { transform: translateX(-3px); }
.sim-emblem-group:hover .sim-facet.f3 { transform: translateY(3px); }

/* FASE 3: Tipografía */
.sim-typo-scene { width: 100%; max-width: 520px; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.sim-typo-frame { position: relative; width: 100%; padding: 2.25rem 1.5rem 1.75rem; border: 1px dashed rgba(34,211,238,.25); border-radius: var(--r); background: rgba(255,255,255,.02); display: flex; justify-content: center; align-items: center; }
.sim-typo-guides { position: absolute; inset: 1.1rem 1rem 1.1rem; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.sim-tguide { display: flex; align-items: center; width: 100%; gap: .75rem; }
.sim-tguide-lbl { font: 600 .66rem/1 monospace; color: var(--cyan); background: rgba(7,11,20,.85); padding: 2px 6px; border-radius: 4px; white-space: nowrap; border: 1px solid rgba(34,211,238,.2); flex-shrink: 0; }
.sim-tguide-rule { flex: 1; height: 1px; border-bottom: 1px dashed rgba(139,92,246,.35); }
.sim-artboard.mode-light .sim-typo-frame { background: rgba(0,0,0,.02); border-color: rgba(37,99,235,.2); }
.sim-artboard.mode-light .sim-tguide-lbl { background: #FFFFFF; color: #2563EB; border-color: #CBD5E1; }
.sim-artboard.mode-light .sim-tguide-rule { border-bottom-color: rgba(37,99,235,.3); }

.sim-lockup-demo { display: flex; align-items: center; gap: 1.25rem; z-index: 2; }
.sim-emblem-mini { width: 56px; height: 56px; border-radius: 14px; background: var(--grad-brand); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px -4px rgba(37,99,235,.5); flex-shrink: 0; }
.sim-wordmark { font: 800 clamp(1.4rem, 2.5vw, 1.85rem)/1 var(--font-head); color: var(--white); letter-spacing: .1em; display: flex; align-items: baseline; }
.sim-letter { display: inline-block; position: relative; transition: color .2s, transform .2s; }
.sim-letter:hover { color: var(--cyan); transform: translateY(-2px); }
.sim-dot { color: var(--cyan); }
.sim-tagline { display: block; font: 600 .68rem/1 var(--font-body); letter-spacing: .22em; color: var(--on-dark-2); margin-top: .4rem; }

.sim-kerning-badges { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; width: 100%; z-index: 2; }
.k-badge { font: 600 .72rem/1 monospace; padding: .4rem .75rem; border-radius: 6px; background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); color: var(--cyan); display: inline-flex; align-items: center; gap: .35rem; }
.k-badge .icon { width: 13px; height: 13px; color: var(--cyan); }
.sim-artboard.mode-light .k-badge { background: #FFFFFF; border-color: #CBD5E1; color: #1E293B; }
.sim-artboard.mode-light .k-badge .icon { color: #2563EB; }

/* FASE 4: Mockups */
.sim-mockups-wrapper { width: 100%; max-width: 440px; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.sim-mockup-tabs { display: flex; gap: .4rem; background: rgba(255,255,255,.04); padding: .25rem; border-radius: 999px; border: 1px solid var(--line-dark); }
.sim-mtab { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .75rem; border-radius: 999px; border: 0; background: transparent; color: var(--on-dark-2); font-size: .8rem; font-weight: 500; cursor: pointer; transition: all .2s; }
.sim-mtab .icon { width: 15px; height: 15px; }
.sim-mtab.is-active { background: var(--blue); color: var(--white); box-shadow: 0 2px 8px rgba(37,99,235,.4); }
.sim-mockup-item { display: none; width: 100%; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.sim-mockup-item.is-active { display: block; opacity: 1; transform: translateY(0); }

/* Mockup Tarjeta */
.sim-card-face { aspect-ratio: 1.7 / 1; border-radius: 16px; background: linear-gradient(135deg, #182236 0%, #0A0F1D 100%); border: 1px solid rgba(255,255,255,.14); padding: 1.25rem 1.4rem; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 20px 40px -15px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.05); position: relative; overflow: hidden; }
.sim-card-face::before { content: ""; position: absolute; top: -50%; right: -30%; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(34,211,238,.18), transparent 70%); pointer-events: none; }
.sim-card-top { display: flex; justify-content: space-between; align-items: center; }
.sim-card-chip { width: 36px; height: 26px; border-radius: 6px; background: linear-gradient(135deg, #F59E0B, #D97706); display: inline-block; }
.sim-card-nfc .icon { width: 20px; height: 20px; color: var(--on-dark-2); opacity: .6; }
.sim-lockup-card { display: flex; align-items: center; gap: .75rem; }
.sim-emblem-foil { width: 38px; height: 38px; border-radius: 10px; background: var(--grad-brand); box-shadow: 0 0 16px rgba(34,211,238,.45); }
.sim-lockup-card strong { display: block; font: 800 1.05rem/1 var(--font-head); color: var(--white); letter-spacing: .08em; }
.sim-lockup-card small { display: block; font-size: .68rem; color: var(--cyan); letter-spacing: .1em; margin-top: .2rem; }
.sim-card-bottom { display: flex; justify-content: space-between; align-items: flex-end; }
.sim-card-name { margin: 0; font-size: .92rem; font-weight: 600; color: var(--white); }
.sim-card-role { margin: 0; font-size: .75rem; color: var(--on-dark-2); }
.sim-card-badge { font: 700 .68rem/1 monospace; padding: .2rem .45rem; border-radius: 4px; background: rgba(34,211,238,.12); color: var(--cyan); border: 1px solid rgba(34,211,238,.3); }
.sim-mockup-desc { margin: .5rem 0 0; text-align: center; font-size: .78rem; color: var(--on-dark-2); }

/* Mockup App Móvil */
.sim-phone-screen { width: 220px; height: 260px; margin: 0 auto; border-radius: 28px; background: #0E1626; border: 4px solid #1E293B; padding: .8rem; box-shadow: 0 20px 40px -10px rgba(0,0,0,.6); display: flex; flex-direction: column; gap: .75rem; position: relative; }
.sim-phone-notch { width: 64px; height: 12px; background: #1E293B; border-radius: 0 0 8px 8px; margin: -.8rem auto .4rem; }
.sim-phone-app-header { display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: var(--white); font-weight: 600; }
.sim-phone-logo { width: 22px; height: 22px; border-radius: 6px; background: var(--grad-brand); }
.sim-phone-dot { width: 6px; height: 6px; border-radius: 50%; background: #10B981; margin-left: auto; box-shadow: 0 0 6px #10B981; }
.sim-phone-widget { background: rgba(255,255,255,.05); border-radius: 14px; padding: .8rem; border: 1px solid var(--line-dark); }
.sim-phone-stat-lbl { margin: 0; font-size: .7rem; color: var(--on-dark-2); }
.sim-phone-stat-val { margin: .1rem 0 .5rem; font: 700 1.25rem/1 var(--font-head); color: var(--cyan); }
.sim-phone-sparkline { display: flex; align-items: flex-end; gap: 4px; height: 38px; }
.sim-phone-sparkline span { flex: 1; border-radius: 2px; background: var(--grad-brand); }
.sim-phone-sparkline span:nth-child(1) { height: 35%; }
.sim-phone-sparkline span:nth-child(2) { height: 50%; }
.sim-phone-sparkline span:nth-child(3) { height: 65%; }
.sim-phone-sparkline span:nth-child(4) { height: 45%; }
.sim-phone-sparkline span:nth-child(5) { height: 95%; background: var(--cyan); }

/* Mockup Membrete */
.sim-sheet { width: 250px; height: 260px; margin: 0 auto; background: #FFFFFF; color: #0F172A; border-radius: 6px; padding: 1rem; box-shadow: 0 16px 36px -12px rgba(0,0,0,.5); display: flex; flex-direction: column; justify-content: space-between; font-family: var(--font-body); }
.sim-sheet-head { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 2px solid #2563EB; padding-bottom: .6rem; }
.sim-lockup-sheet { display: flex; align-items: center; gap: .5rem; }
.sim-emblem-sheet { width: 24px; height: 24px; border-radius: 5px; background: var(--grad-brand); }
.sim-lockup-sheet strong { display: block; font: 800 .75rem/1 var(--font-head); color: #0F172A; }
.sim-lockup-sheet small { display: block; font-size: .55rem; color: #2563EB; }
.sim-sheet-meta { font: 600 .62rem/1 monospace; color: #64748B; }
.sim-sheet-body h4 { font-size: .75rem; margin: .6rem 0 .3rem; color: #1E293B; }
.sim-sheet-body p { font-size: .65rem; color: #475569; line-height: 1.4; margin: 0 0 .5rem; }
.sim-sheet-lines { display: flex; flex-direction: column; gap: 4px; }
.sline { height: 3px; background: #E2E8F0; border-radius: 2px; }
.sline.short { width: 60%; }
.sim-sheet-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #E2E8F0; padding-top: .5rem; }
.sim-stamp { display: inline-flex; align-items: center; gap: 3px; font: 700 .58rem/1 monospace; color: #2563EB; }
.sim-stamp .icon { width: 12px; height: 12px; }
.sim-sign { font-size: .55rem; color: #94A3B8; font-style: italic; }

/* Panel Lateral Explicativo */
.sim-info { display: flex; flex-direction: column; }
.sim-info-card { display: none; flex-direction: column; justify-content: center; gap: .9rem; height: 100%; padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--r-lg); background: rgba(255,255,255,.03); border: 1px solid var(--line-dark); animation: simFadeIn .3s var(--ease); }
.sim-info-card.is-active { display: flex; }
@keyframes simFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.sim-info-badge { display: inline-flex; align-self: flex-start; font: 700 .72rem/1 monospace; text-transform: uppercase; letter-spacing: .08em; padding: .35rem .75rem; border-radius: 999px; background: rgba(34,211,238,.1); color: var(--cyan); border: 1px solid rgba(34,211,238,.25); }
.sim-info-card h3 { font-size: 1.25rem; color: var(--white); margin: 0; line-height: 1.3; }
.sim-info-card p { font-size: .95rem; color: var(--on-dark-2); line-height: 1.6; margin: 0; }
.sim-info-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .2rem; }
.sim-tag { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .65rem; border-radius: 8px; background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); color: var(--on-dark); font-size: .8rem; }
.sim-tag .icon { width: 13px; height: 13px; color: var(--cyan); }
.sim-info-metric { display: flex; justify-content: space-between; align-items: center; padding: .85rem 1.1rem; border-radius: var(--r-sm); background: linear-gradient(135deg, rgba(37,99,235,.15), rgba(139,92,246,.15)); border: 1px solid rgba(37,99,235,.3); margin-top: .5rem; }
.sim-info-metric small { color: var(--on-dark-2); font-size: .8rem; }
.sim-info-metric strong { color: var(--white); font-size: .92rem; font-family: var(--font-head); }

.sim-footer { text-align: center; }
.sim-disclaimer { margin: 0; font-size: .84rem; color: var(--on-dark-2); opacity: .85; }

/* Responsivo para la simulación */
@media (max-width: 980px) {
  .sim-stepper { grid-template-columns: repeat(2, 1fr); }
  .sim-workbench { grid-template-columns: 1fr; }
  .sim-artboard { min-height: 380px; }
}
@media (max-width: 580px) {
  .sim-stepper { grid-template-columns: 1fr; }
  .sim-toolbar { flex-direction: column; align-items: stretch; }
  .sim-modes { justify-content: center; }
  .sim-play-btn { justify-content: center; }
  .sim-artboard { padding: 1rem; }
  .sim-artboard-meta { font-size: .62rem; }
  .sim-concept-cluster { max-width: 300px; height: 260px; }
  .sim-bubble { font-size: .75rem; padding: .4rem .65rem; }
  .sim-bubble.b5 { display: none; }
}

/* ---------- Tarjetas de Presentación Virtuales & Páginas Personales ---------- */
.digital-cards-section { border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.dc-lead { max-width: 760px; margin: 0 auto; }

/* Showcase (Lado Tarjeta NFC + Lado Móvil Web Profile) */
.dc-showcase { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.dc-col-badge { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; flex-wrap: wrap; }
.dc-pill { display: inline-flex; align-items: center; gap: .4rem; font: 700 .72rem/1 monospace; text-transform: uppercase; letter-spacing: .08em; padding: .35rem .75rem; border-radius: 999px; background: rgba(34,211,238,.1); color: var(--cyan); border: 1px solid rgba(34,211,238,.25); }
.dc-pill .icon { width: 14px; height: 14px; }
.dc-subtext { font-size: .78rem; color: var(--on-dark-2); }

/* Tarjeta Física NFC Inteligente */
.dc-physical-card { position: relative; aspect-ratio: 1.6 / 1; min-height: 250px; border-radius: 20px; background: linear-gradient(135deg, #141c2c 0%, #080d17 100%); border: 1px solid rgba(255,255,255,.14); padding: clamp(1.25rem, 2.5vw, 1.75rem); display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 24px 60px -15px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.05); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.dc-physical-card:hover { transform: translateY(-4px) rotate(.5deg); box-shadow: 0 30px 70px -15px rgba(34,211,238,.25), 0 0 0 1px rgba(34,211,238,.4); }
.dc-card-gloss { position: absolute; inset: -40%; background: radial-gradient(circle at 75% 25%, rgba(34,211,238,.16), transparent 55%), radial-gradient(circle at 20% 80%, rgba(139,92,246,.12), transparent 50%); pointer-events: none; }
.dc-card-header { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 2; }
.dc-card-brand { display: flex; align-items: center; gap: .6rem; }
.dc-brand-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--grad-brand); box-shadow: 0 0 12px var(--cyan); }
.dc-card-brand strong { font: 800 1.05rem/1 var(--font-head); letter-spacing: .08em; color: var(--white); }
.dc-nfc-wave { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); color: var(--cyan); }
.dc-nfc-wave .icon { width: 18px; height: 18px; }

.dc-card-chip-row { position: relative; z-index: 2; margin: .4rem 0; }
.dc-emv-chip { width: 40px; height: 30px; border-radius: 7px; background: linear-gradient(135deg, #FCD34D, #D97706); display: flex; flex-direction: column; justify-content: space-evenly; padding: 3px 5px; box-shadow: inset 0 1px 2px rgba(255,255,255,.5), 0 2px 6px rgba(0,0,0,.4); }
.dc-emv-chip span { height: 1px; background: rgba(0,0,0,.35); display: block; border-radius: 1px; }

.dc-card-holder-info { position: relative; z-index: 2; }
.dc-holder-name { margin: 0; font: 700 1.15rem/1.2 var(--font-head); color: var(--white); letter-spacing: .02em; }
.dc-holder-role { margin: .25rem 0 .15rem; font-size: .84rem; color: var(--cyan); font-weight: 500; }
.dc-holder-div { margin: 0; font-size: .72rem; color: var(--on-dark-2); }

.dc-card-footer { display: flex; justify-content: space-between; align-items: flex-end; position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.08); padding-top: .75rem; margin-top: .5rem; }
.dc-qr-box { display: flex; align-items: center; gap: .6rem; }
.dc-qr-svg { width: 44px; height: 44px; border-radius: 6px; border: 1px solid rgba(34,211,238,.3); box-shadow: 0 4px 12px rgba(0,0,0,.5); }
.dc-qr-box span { font: 700 .66rem/1 monospace; color: var(--cyan); letter-spacing: .08em; text-transform: uppercase; }
.dc-card-hints { display: flex; flex-direction: column; gap: .25rem; text-align: right; }
.dc-hint { display: inline-flex; align-items: center; justify-content: flex-end; gap: .35rem; font-size: .72rem; color: var(--on-dark-2); }
.dc-hint .icon { width: 13px; height: 13px; color: var(--cyan); }

/* Smartphone Preview (Micrositio / Página Personal) */
.dc-phone-mockup { width: 100%; max-width: 360px; margin: 0 auto; border-radius: 36px; background: #0A0F1D; border: 5px solid #1E293B; box-shadow: 0 25px 60px -15px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.08); position: relative; overflow: hidden; }
.dc-phone-notch { width: 80px; height: 14px; background: #1E293B; border-radius: 0 0 10px 10px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 8px; }
.dc-camera { width: 6px; height: 6px; border-radius: 50%; background: #080D17; border: 1px solid rgba(255,255,255,.2); }
.dc-speaker { width: 28px; height: 3px; border-radius: 2px; background: #080D17; }

.dc-phone-screen { padding: .85rem 1rem 1.1rem; display: flex; flex-direction: column; gap: .75rem; }
.dc-screen-bar { display: flex; justify-content: space-between; align-items: center; padding: .35rem .65rem; border-radius: 8px; background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); font-size: .68rem; color: var(--on-dark-2); }
.dc-brand-url { font-family: monospace; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
.dc-ssl-lock { display: inline-flex; align-items: center; gap: 3px; color: #10B981; font-weight: 600; font-size: .65rem; }
.dc-ssl-lock .icon { width: 11px; height: 11px; }

.dc-profile-header { text-align: center; }
.dc-avatar-wrap { position: relative; display: inline-block; margin: 0 auto .4rem; }
.dc-avatar-circle { width: 68px; height: 68px; border-radius: 50%; background: linear-gradient(135deg, #1E293B, #0F172A); border: 2px solid var(--cyan); display: flex; align-items: center; justify-content: center; color: var(--cyan); box-shadow: 0 0 18px rgba(34,211,238,.3); }
.dc-avatar-circle .icon { width: 34px; height: 34px; }
.dc-verified-dot { position: absolute; bottom: 0; right: 0; width: 20px; height: 20px; border-radius: 50%; background: #10B981; color: #fff; display: flex; align-items: center; justify-content: center; border: 2px solid #0A0F1D; box-shadow: 0 2px 6px rgba(0,0,0,.5); }
.dc-verified-dot .icon { width: 11px; height: 11px; stroke-width: 3; }
.dc-profile-name { font: 700 1.1rem/1.2 var(--font-head); color: var(--white); margin: 0 0 .2rem; }
.dc-profile-title { font-size: .8rem; color: var(--cyan); font-weight: 500; margin: 0 0 .2rem; }
.dc-profile-org { font-size: .7rem; color: var(--on-dark-2); margin: 0; }

.dc-profile-bio { font-size: .75rem; color: var(--on-dark-2); line-height: 1.45; text-align: center; margin: 0; background: rgba(255,255,255,.02); padding: .55rem .75rem; border-radius: 8px; border: 1px solid var(--line-dark); }

.dc-btn-block { width: 100%; justify-content: center; font-size: .82rem; padding: .6rem 1rem; border-radius: 9px; box-shadow: 0 4px 16px rgba(34,211,238,.35); text-decoration: none; }
.dc-btn-block .icon { width: 16px; height: 16px; }

.dc-comm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; }
.dc-comm-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .25rem; padding: .5rem .25rem; border-radius: 8px; background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); color: var(--on-dark); font-size: .65rem; font-weight: 500; text-decoration: none; transition: background .2s, border-color .2s, color .2s; }
.dc-comm-btn .icon { width: 17px; height: 17px; color: var(--cyan); }
.dc-comm-btn:hover { background: rgba(34,211,238,.1); border-color: var(--cyan); color: var(--white); }
.dc-comm-btn.dc-whatsapp .icon { color: #25D366; }
.dc-comm-btn.dc-whatsapp:hover { background: rgba(37,211,102,.12); border-color: #25D366; color: #25D366; }

.dc-profile-links { display: flex; flex-direction: column; gap: .45rem; }
.dc-link-item { display: flex; align-items: center; gap: .6rem; padding: .5rem .7rem; border-radius: 8px; background: rgba(255,255,255,.03); border: 1px solid var(--line-dark); text-decoration: none; }
.dc-link-icon { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 6px; background: rgba(34,211,238,.1); color: var(--cyan); flex-shrink: 0; }
.dc-link-icon .icon { width: 14px; height: 14px; }
.dc-link-info strong { display: block; font-size: .74rem; color: var(--white); font-weight: 600; }
.dc-link-info small { display: block; font-size: .64rem; color: var(--on-dark-2); }
.dc-link-arrow { margin-left: auto; color: var(--cyan); display: flex; align-items: center; }
.dc-link-arrow .icon { width: 13px; height: 13px; }

.dc-exchange-box { display: flex; align-items: center; gap: .65rem; padding: .55rem .75rem; border-radius: 8px; background: linear-gradient(135deg, rgba(37,99,235,.15), rgba(139,92,246,.15)); border: 1px solid rgba(37,99,235,.35); }
.dc-exchange-box .icon { width: 20px; height: 20px; color: var(--cyan); flex-shrink: 0; }
.dc-exchange-box strong { display: block; font-size: .74rem; color: var(--white); font-weight: 600; }
.dc-exchange-box small { display: block; font-size: .64rem; color: var(--on-dark-2); }

/* Timeline de Pasos (Cómo funciona) */
.dc-steps-wrapper { margin-top: clamp(3rem, 6vw, 4.5rem); }
.dc-steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 2rem; }
.dc-step-card { padding: 1.6rem; border-radius: var(--r); background: rgba(255,255,255,.03); border: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: .65rem; transition: border-color .2s, transform .2s; }
.dc-step-card:hover { border-color: rgba(34,211,238,.4); transform: translateY(-3px); }
.dc-step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .25rem; }
.dc-step-num { font: 800 1.6rem/1 var(--font-head); background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dc-step-line { height: 2px; flex: 1; margin-left: 1rem; background: linear-gradient(90deg, rgba(34,211,238,.4), transparent); }
.dc-step-card h4 { font-size: 1.05rem; color: var(--white); margin: 0; line-height: 1.35; }
.dc-step-card p { font-size: .88rem; color: var(--on-dark-2); line-height: 1.55; margin: 0; }

/* Grid de Características de la Página Personal */
.dc-features-wrapper { margin-top: clamp(3rem, 6vw, 4.5rem); }
.dc-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.dc-feat-card { display: flex; gap: 1.1rem; padding: 1.6rem; border-radius: var(--r); background: rgba(255,255,255,.03); border: 1px solid var(--line-dark); transition: border-color .2s, transform .2s; }
.dc-feat-card:hover { border-color: rgba(34,211,238,.4); transform: translateY(-2px); }
.dc-feat-icon { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; background: rgba(34,211,238,.1); border: 1px solid rgba(34,211,238,.25); color: var(--cyan); display: flex; align-items: center; justify-content: center; }
.dc-feat-icon .icon { width: 22px; height: 22px; }
.dc-feat-content h4 { font-size: 1.02rem; color: var(--white); margin: 0 0 .35rem; line-height: 1.35; }
.dc-feat-content p { font-size: .88rem; color: var(--on-dark-2); line-height: 1.55; margin: 0; }

/* Media Queries para Tarjetas Digitales */
@media (max-width: 980px) {
  .dc-showcase { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .dc-steps-grid { grid-template-columns: repeat(2, 1fr); }
  .dc-features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .dc-steps-grid, .dc-features-grid { grid-template-columns: 1fr; }
  .dc-physical-card { aspect-ratio: auto; min-height: 280px; }
}

/* ---------- Ejemplos ---------- */
.examples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.examples li { padding: 1.75rem; border-radius: var(--r); background: var(--soft); }
.ex-num { display: block; font: 700 1.6rem/1 var(--font-head); background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 1rem; }
.examples p { margin: 0; color: var(--ink-2); }

.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--white); text-decoration: none; font-size: .92rem; font-weight: 500; transition: border-color .2s, color .2s; }
.chip .icon { color: var(--blue); }
.chip:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Nosotros (Trayectoria, Misión, Visión, Valores) ---------- */
.about-quote { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem 1.5rem; background: linear-gradient(135deg, rgba(34,211,238,.07), rgba(139,92,246,.07)); border-left: 3px solid var(--blue); border-radius: 0 var(--r) var(--r) 0; margin-top: 1.75rem; }
.about-quote .icon { width: 28px; height: 28px; color: var(--blue); flex-shrink: 0; margin-top: .15rem; }
.about-quote p { margin: 0; font-size: 1.05rem; font-weight: 500; color: var(--ink); line-height: 1.6; }

.mv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.25rem, 3vw, 2rem); }
.mv-card { position: relative; padding: clamp(2rem, 4vw, 2.75rem); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 1rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.mv-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -15px rgba(37,99,235,.2); border-color: rgba(37,99,235,.35); }
.mv-head { display: flex; align-items: center; gap: 1rem; }
.mv-ic { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 16px; background: linear-gradient(135deg, rgba(34,211,238,.15), rgba(37,99,235,.15)); color: var(--blue); flex-shrink: 0; }
.mv-card-violet .mv-ic { background: linear-gradient(135deg, rgba(139,92,246,.15), rgba(34,211,238,.15)); color: var(--violet); }
.mv-card h3 { margin: 0; font-size: 1.4rem; }
.mv-card p { margin: 0; color: var(--ink-2); font-size: 1.02rem; line-height: 1.7; text-align: justify; text-justify: inter-word; }

.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.value-card { padding: 2rem 1.75rem; border-radius: var(--r); border: 1px solid var(--line); background: var(--white); transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; display: flex; flex-direction: column; }
.value-card:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: var(--shadow); }
.value-ic { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 14px; background: rgba(37,99,235,.08); color: var(--blue); margin-bottom: 1.25rem; }
.value-card h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.value-card p { margin: 0; color: var(--ink-2); font-size: .95rem; line-height: 1.6; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-channels ul { display: grid; gap: .75rem; }
.channel { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; transition: border-color .2s, transform .2s var(--ease); overflow-wrap: anywhere; }
.channel:hover { border-color: var(--blue); transform: translateX(3px); }
.channel > .icon { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--soft); color: var(--blue); }
.channel-wa > .icon { background: #E8FBEF; color: #128C4B; }
.channel small { display: block; color: var(--ink-3); font-size: .82rem; }
.channel strong { font-weight: 600; }
.form-card { padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--r-lg); background: var(--soft); border: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.field label { font-weight: 600; font-size: .94rem; }
.req { color: var(--blue); }
.opt { font-weight: 400; color: var(--ink-3); font-size: .85rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .75rem .9rem; border: 1px solid #CBD3E1; border-radius: var(--r-sm); background: var(--white); font: 400 1rem/1.4 var(--font-body); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37,99,235,.15); }
.field [aria-invalid="true"] { border-color: #C2283B; }
.field-error { margin: 0; color: #B01E30; font-size: .88rem; font-weight: 500; }
.form-note { font-size: .88rem; color: var(--ink-3); }
.pref-radios { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: .2rem; }
.pref-option { position: relative; cursor: pointer; }
.pref-option input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.pref-box { display: flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .65rem 1rem; border: 1px solid #CBD3E1; border-radius: var(--r-sm); background: var(--white); color: var(--ink-2); font-weight: 500; font-size: .95rem; transition: border-color .2s, background-color .2s, color .2s, box-shadow .2s; }
.pref-box .icon { width: 20px; height: 20px; color: var(--ink-3); transition: color .2s; }
.pref-option:hover .pref-box { border-color: var(--blue); color: var(--ink); }
.pref-option input[type="radio"]:checked + .pref-box { border-color: var(--blue); background: rgba(37,99,235,.07); color: var(--blue); font-weight: 600; box-shadow: 0 0 0 3px rgba(37,99,235,.15); }
.pref-option input[type="radio"]:checked + .pref-box .icon { color: var(--blue); }
.pref-option input[type="radio"]:focus-visible + .pref-box { outline: 3px solid var(--cyan); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: var(--r-sm); margin-bottom: 1.5rem; font-weight: 500; }
.alert p { margin: 0; }
.alert .icon { margin-top: .15rem; }
.alert-ok { background: #E7F8EE; color: #0F6B3A; border: 1px solid #A8E3C1; }
.alert-error { background: #FDECEE; color: #9B1C2C; border: 1px solid #F3B8C0; }
.contact-form button[disabled] { opacity: .7; cursor: progress; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: flex; align-items: center; }
.notfound-code { font: 700 clamp(5rem, 15vw, 9rem)/1 var(--font-head); background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: .5rem; }

/* ---------- Pie ---------- */
.site-footer { background: var(--midnight); color: var(--on-dark-2); padding: 4rem 0 6rem; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr .8fr 1.1fr; gap: 2rem; }
.footer-brand img { width: 220px; margin-bottom: 1rem; }
.footer-brand p { max-width: 320px; font-size: .94rem; }
.footer-title { font: 600 .82rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--white); margin-bottom: 1.1rem; }
.footer-links, .footer-contact { display: grid; gap: .25rem; }
.footer-links a, .footer-contact a { display: inline-flex; align-items: center; gap: .55rem; min-height: 36px; text-decoration: none; font-size: .94rem; transition: color .2s; overflow-wrap: anywhere; }
.footer-links a:hover, .footer-contact a:hover { color: var(--cyan); }
.footer-contact .icon { color: var(--cyan); }
.footer-social { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line-dark); }
.footer-social-title { margin-bottom: .6rem; }
.footer-social-links { display: flex; gap: .6rem; }
.social-btn { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); color: var(--on-dark); display: inline-flex; align-items: center; justify-content: center; text-decoration: none; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s; }
.social-btn .icon { width: 20px; height: 20px; }
.social-btn:hover { transform: translateY(-3px); }
.social-btn.social-fb:hover { background: #1877F2; border-color: #1877F2; color: #fff; }
.social-btn.social-ig:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); border-color: transparent; color: #fff; }
.social-btn.social-yt:hover { background: #FF0000; border-color: #FF0000; color: #fff; }
.contact-social-heading { margin-top: 2rem; margin-bottom: .8rem; }
.contact-social-list { display: grid; gap: .75rem; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); font-size: .85rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
.footer-bottom p { margin: 0; }
.footer-legal-link a { color: var(--on-dark-2); text-decoration: underline; text-underline-offset: 3px; transition: color .2s; }
.footer-legal-link a:hover { color: var(--cyan); }

/* ---------- Página de Aviso de Privacidad y Aspectos Legales ---------- */
.page-privacy { scroll-behavior: smooth; }
.legal-hero-content { max-width: 860px; }
.legal-badge-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-bottom: 1.25rem; }
.legal-badge { display: inline-flex; align-items: center; gap: .45rem; font: 600 .78rem/1 monospace; padding: .4rem .85rem; border-radius: 999px; background: rgba(34,211,238,.12); color: var(--cyan); border: 1px solid rgba(34,211,238,.32); box-shadow: 0 0 16px -4px rgba(34,211,238,.3); }
.legal-badge .icon { width: 14px; height: 14px; }
.legal-updated { display: inline-flex; align-items: center; gap: .35rem; font-size: .84rem; color: var(--on-dark-2); }
.legal-updated .icon { width: 14px; height: 14px; color: var(--cyan); }
.legal-hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.5rem; }

.legal-body-section { padding-top: clamp(2rem, 4vw, 3.5rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.legal-layout { display: grid; grid-template-columns: 280px 1fr; gap: clamp(1.5rem, 3.5vw, 3rem); align-items: start; }

/* Barra Lateral Sticky (TOC) */
.legal-sidebar { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.legal-toc-card { padding: 1.5rem 1.25rem; border-radius: var(--r-lg); background: var(--midnight); border: 1px solid var(--line-dark); box-shadow: var(--shadow); }
.legal-toc-title { display: flex; align-items: center; gap: .5rem; font: 700 .92rem/1 var(--font-head); color: var(--white); margin: 0 0 1rem; text-transform: uppercase; letter-spacing: .06em; }
.legal-toc-title .icon { width: 18px; height: 18px; color: var(--cyan); }
.legal-toc-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.legal-toc-nav a { display: flex; align-items: center; gap: .5rem; padding: .45rem .65rem; border-radius: 6px; font-size: .86rem; color: var(--on-dark-2); text-decoration: none; transition: all .2s; line-height: 1.35; }
.legal-toc-nav a:hover { color: var(--cyan); background: rgba(34,211,238,.08); transform: translateX(3px); }
.legal-toc-nav .toc-highlight a { color: var(--cyan); font-weight: 600; background: rgba(34,211,238,.1); border: 1px solid rgba(34,211,238,.25); }
.legal-toc-nav .toc-highlight a .icon { width: 15px; height: 15px; }

/* Contenido Principal */
.legal-content { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); min-width: 0; }
.legal-card { padding: clamp(1.5rem, 3.5vw, 2.75rem); border-radius: var(--r-lg); background: var(--midnight); border: 1px solid var(--line-dark); box-shadow: var(--shadow); scroll-margin-top: calc(var(--header-h) + 2rem); }
.legal-card p { color: var(--on-dark-2); line-height: 1.7; font-size: .98rem; }
.legal-card h2 { font-size: clamp(1.25rem, 2.5vw, 1.65rem); margin: 0; color: var(--white); }
.legal-card h3 { font-size: 1.15rem; color: var(--white); margin: 1.25rem 0 .5rem; }
.legal-card h4 { font-size: 1rem; color: var(--white); margin: 0; }
.legal-card-head { display: flex; align-items: baseline; gap: .85rem; margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line-dark); }
.legal-sec-num { font: 700 1.2rem/1 monospace; color: var(--cyan); opacity: .85; }

/* Datos Rápidos */
.legal-quick-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .85rem; margin-top: 1.25rem; padding: 1.1rem; border-radius: var(--r); background: rgba(255,255,255,.03); border: 1px solid var(--line-dark); font-size: .88rem; color: var(--on-dark-2); }
.legal-quick-info strong { color: var(--white); display: block; margin-bottom: .2rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }
.legal-quick-info a { color: var(--cyan); text-decoration: none; }
.legal-quick-info a:hover { text-decoration: underline; }

/* Cuadrícula de Datos Recabados */
.legal-data-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 1.5rem 0; }
.legal-data-item { padding: 1.25rem; border-radius: var(--r); background: rgba(255,255,255,.03); border: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: .5rem; transition: border-color .2s, transform .2s; }
.legal-data-item:hover { border-color: rgba(34,211,238,.35); transform: translateY(-2px); }
.legal-data-item-head { display: flex; align-items: center; gap: .65rem; }
.legal-data-item-head h3 { margin: 0; font-size: 1rem; color: var(--white); }
.legal-item-icon { width: 34px; height: 34px; border-radius: 8px; background: rgba(34,211,238,.12); color: var(--cyan); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.legal-item-icon .icon { width: 18px; height: 18px; }
.legal-data-item p { margin: 0; font-size: .9rem; color: var(--on-dark-2); line-height: 1.55; }

/* Callouts */
.legal-callout { display: flex; gap: 1rem; padding: 1.15rem 1.35rem; border-radius: var(--r); margin: 1.25rem 0; font-size: .92rem; line-height: 1.6; align-items: flex-start; }
.legal-callout .icon { width: 22px; height: 22px; flex-shrink: 0; margin-top: .15rem; }
.legal-callout p { margin: 0; color: inherit; font-size: inherit; }
.legal-callout-info { background: rgba(34,211,238,.08); border: 1px solid rgba(34,211,238,.25); color: #BEE3F8; }
.legal-callout-info .icon { color: var(--cyan); }
.legal-callout-neutral { background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); color: var(--on-dark-2); }
.legal-callout-neutral .icon { color: var(--violet); }
.legal-callout-authority { background: linear-gradient(135deg, rgba(37,99,235,.12), rgba(139,92,246,.12)); border: 1px solid rgba(37,99,235,.35); color: var(--on-dark); margin-top: 1.5rem; }
.legal-callout-authority h4 { color: var(--cyan); font-size: .98rem; margin-bottom: .35rem; }
.legal-callout-authority p { margin: 0; color: var(--on-dark-2); font-size: .88rem; }
.legal-callout-authority .legal-callout-icon { width: 36px; height: 36px; border-radius: 8px; background: var(--blue); color: var(--white); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.legal-callout-authority .legal-callout-icon .icon { width: 20px; height: 20px; margin: 0; }

/* Listas con Iconos */
.legal-subgroup { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line-dark); }
.legal-subgroup:first-of-type { border-top: 0; padding-top: 0; margin-top: 1rem; }
.legal-list { list-style: none; margin: 1rem 0; padding: 0; display: grid; gap: .65rem; }
.legal-list li { display: flex; align-items: flex-start; gap: .75rem; font-size: .94rem; color: var(--on-dark-2); line-height: 1.55; }
.legal-list li .icon { width: 18px; height: 18px; color: var(--cyan); flex-shrink: 0; margin-top: .2rem; }

/* Puntos de Tarjeta (Stack) */
.legal-points-stack { display: grid; gap: .85rem; margin: 1.25rem 0; }
.legal-point-card { padding: 1.2rem 1.4rem; border-radius: var(--r); background: rgba(255,255,255,.03); border: 1px solid var(--line-dark); }
.legal-point-card h4 { display: flex; align-items: center; gap: .55rem; color: var(--white); font-size: 1rem; margin-bottom: .35rem; }
.legal-point-card h4 .icon { width: 18px; height: 18px; color: var(--cyan); }
.legal-point-card p { margin: 0; font-size: .9rem; color: var(--on-dark-2); }
.legal-subhead { font-size: 1rem; color: var(--white); margin: 1.5rem 0 .75rem; }

/* Sección ARCO */
.legal-card-accent { border-color: rgba(34,211,238,.35); box-shadow: 0 0 30px -10px rgba(34,211,238,.15); }
.arco-letters-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .85rem; margin: 1.5rem 0 2rem; }
.arco-letter-card { padding: 1.2rem 1rem; border-radius: var(--r); background: rgba(255,255,255,.03); border: 1px solid var(--line-dark); text-align: center; display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.arco-badge { width: 44px; height: 44px; border-radius: 12px; background: var(--grad-brand); color: var(--white); font: 800 1.25rem/1 var(--font-head); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(37,99,235,.4); }
.arco-letter-card h4 { color: var(--white); font-size: 1rem; margin: 0; }
.arco-letter-card p { font-size: .82rem; color: var(--on-dark-2); line-height: 1.45; margin: 0; }

/* Tarjeta Destacada de Descarga ARCO */
.arco-download-card { position: relative; overflow: hidden; padding: clamp(1.75rem, 3.5vw, 2.5rem); border-radius: var(--r-lg); background: linear-gradient(135deg, #111A2E 0%, #0A0F1D 100%); border: 2px solid var(--cyan); box-shadow: 0 16px 40px -10px rgba(34,211,238,.3), 0 0 0 1px rgba(34,211,238,.2); margin: 2rem 0; }
.arco-download-glow { position: absolute; -webkit-pointer-events: none; pointer-events: none; top: -50%; right: -20%; width: 350px; height: 350px; border-radius: 50%; background: radial-gradient(circle, rgba(34,211,238,.2), transparent 70%); }
.arco-download-content { position: relative; z-index: 1; display: flex; flex-direction: column; gap: .9rem; }
.arco-download-badge { display: inline-flex; align-self: flex-start; align-items: center; gap: .45rem; font: 700 .76rem/1 monospace; text-transform: uppercase; letter-spacing: .08em; padding: .35rem .75rem; border-radius: 999px; background: rgba(34,211,238,.15); color: var(--cyan); border: 1px solid rgba(34,211,238,.35); }
.arco-download-badge .icon { width: 14px; height: 14px; }
.arco-download-title { font-size: clamp(1.2rem, 2.2vw, 1.5rem); color: var(--white); margin: 0; line-height: 1.3; }
.arco-download-desc { font-size: .95rem; color: var(--on-dark); line-height: 1.6; margin: 0; max-width: 760px; }
.arco-download-meta { display: inline-flex; align-items: center; gap: .45rem; font: 600 .82rem/1 monospace; color: var(--cyan); opacity: .9; }
.arco-download-meta .icon { width: 14px; height: 14px; }
.arco-download-action { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: .5rem; }
.arco-btn { box-shadow: 0 6px 20px rgba(34,211,238,.35); font-size: .96rem; }
.arco-btn .icon { width: 18px; height: 18px; }
.arco-btn-ghost { font-size: .96rem; }

/* Contacto Destacado dentro de ARCO */
.legal-contact-highlight { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .85rem; padding: 1.15rem; border-radius: var(--r); background: rgba(255,255,255,.03); border: 1px solid var(--line-dark); margin: 1rem 0 1.25rem; font-size: .88rem; }
.legal-contact-highlight strong { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--white); margin-bottom: .25rem; }
.legal-contact-highlight a { color: var(--cyan); text-decoration: none; }
.legal-contact-highlight a:hover { text-decoration: underline; }
.legal-contact-highlight code { font-family: monospace; font-size: .85rem; color: var(--cyan); background: rgba(34,211,238,.1); padding: 2px 6px; border-radius: 4px; display: inline-block; }
.legal-minor-head { font-size: 1rem; color: var(--white); margin: 1.25rem 0 .5rem; }

/* Enlaces Planos */
.legal-link-plain { color: var(--cyan); text-decoration: none; word-break: break-all; }
.legal-link-plain:hover { text-decoration: underline; }

/* Tarjetas de Contacto Legal (Sección 10) */
.legal-card-contact { background: linear-gradient(135deg, rgba(14,22,38,.9), rgba(11,16,32,.95)); }
.legal-contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.5rem; }
.legal-contact-box { padding: 1.2rem; border-radius: var(--r); background: rgba(255,255,255,.03); border: 1px solid var(--line-dark); display: flex; align-items: center; gap: 1rem; text-decoration: none; color: inherit; transition: all .2s; }
a.legal-contact-box:hover { border-color: var(--cyan); background: rgba(34,211,238,.06); transform: translateY(-2px); }
.legal-contact-box .icon { width: 28px; height: 28px; color: var(--cyan); flex-shrink: 0; }
.legal-contact-label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--on-dark-2); margin-bottom: .15rem; }
.legal-contact-val { display: block; font-size: .95rem; color: var(--white); }

/* Responsivo Legal */
@media (max-width: 960px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-sidebar { position: static; }
  .arco-letters-grid { grid-template-columns: repeat(2, 1fr); }
  .legal-data-grid { grid-template-columns: 1fr; }
  .legal-contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .arco-letters-grid { grid-template-columns: 1fr; }
  .arco-download-action { flex-direction: column; }
  .arco-download-action .btn { width: 100%; justify-content: center; }
  .legal-hero-actions { flex-direction: column; }
  .legal-hero-actions .btn { width: 100%; justify-content: center; }
}

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 90; width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #25D366; color: #fff; box-shadow: 0 10px 30px -8px rgba(37,211,102,.7); transition: transform .25s var(--ease), box-shadow .25s; }
.wa-float .icon { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); box-shadow: 0 14px 36px -8px rgba(37,211,102,.85); }

/* ---------- Animaciones de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; gap: 1.5rem; padding: 1.5rem clamp(1.1rem, 4vw, 2rem) 2rem; background: var(--midnight); overflow-y: auto; opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity .25s, transform .3s var(--ease), visibility .3s; }
  .site-nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: .25rem; }
  .nav-list > li > a, .sub-row > a { font-size: 1.1rem; padding: .85rem .75rem; min-height: 48px; color: var(--on-dark); flex: 1; }
  .sub-toggle { width: 48px; height: 48px; margin: 0; }
  .sub-menu { position: static; width: auto; opacity: 1; visibility: visible; transform: none; display: none; background: transparent; border: 0; box-shadow: none; padding: 0 0 .5rem .5rem; }
  .has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { display: none; }
  .has-sub.is-open .sub-menu { display: block; }
  .sub-menu a { min-height: 44px; }
  .nav-actions { flex-direction: column; align-items: stretch; padding-top: 1.25rem; border-top: 1px solid var(--line-dark); }
  .lang-switch { justify-content: center; font-size: 1rem; }
  .lang-switch a { padding: .6rem 1rem; }
  body.nav-open { overflow: hidden; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .benefit { padding: 1.75rem 1.25rem 1.75rem 0; border-bottom: 1px solid var(--line); }
  .benefit:nth-child(2n) { border-right: 0; padding-left: 1.25rem; }
  .benefit:nth-child(2n+1) { padding-left: 0; }
  .flow-4 { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .flow-4::before { display: none; }
}
@media (max-width: 860px) {
  .hero-grid, .page-hero-grid, .demo-grid, .split, .contact-grid, .mv-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 380px; max-width: 460px; width: 100%; margin: 0 auto; }
  .page-hero-emblem, .about-logo { display: none; }
  .pillars { grid-template-columns: 1fr; }
  .offer-grid, .examples, .projects-grid { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr; gap: 2rem; }
  .flow::before { top: 0; bottom: 0; left: 36px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--cyan), var(--blue), var(--violet)); }
  .flow-step { display: grid; grid-template-columns: 72px 1fr; column-gap: 1.25rem; }
  .flow-ic { grid-row: span 2; margin: 0; }
  .flow-step h3 { align-self: end; margin-bottom: .25rem; }
  .flow-num { left: 58px; }
  .flow-4 { grid-template-columns: 1fr; }
  .about-teaser { grid-template-columns: 1fr; }
  .about-mark { width: 120px; }
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem; margin: 0 calc(-1 * clamp(1.1rem, 4vw, 2rem)); padding: 0 clamp(1.1rem, 4vw, 2rem) 1rem; -webkit-overflow-scrolling: touch; }
  .shot { flex: 0 0 min(78%, 340px); scroll-snap-align: center; }
}
@media (max-width: 600px) {
  .brand img { height: 28px; }
  .offer-grid, .examples, .projects-grid, .form-row, .footer-grid, .benefits, .values-grid, .pref-radios { grid-template-columns: 1fr; }
  .benefit, .benefit + .benefit, .benefit:nth-child(2n) { padding: 1.5rem 0; border-right: 0; }
  .btn-row .btn { flex: 1 1 100%; }
  .svc-row { padding: 1rem; gap: 1rem; }
  .svc-row-arrow { display: none; }
  .hv-chat { width: 88%; }
  .note { flex-direction: column; }
  .cta-inner .btn-row { width: 100%; }
  .site-footer { padding-bottom: 6.5rem; }
}

@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; }
  .js .chat-demo:not(.is-played) .chat-body .bubble { opacity: 1; transform: none; }
  .node-canvas { display: none; }
}
