/* ============================================================
   Wemvy — Home clara (mockup 16)
   Port de landing_v4.css a paleta clara. Mismas piezas, mismo
   ritmo editorial; fondo #f5f5f7, paneles blancos, borde fino.
   ============================================================ */
:root {
    --cyan: #00c3d4;
    --cyan-text: #0a7f8c;
    --cyan-soft: #34d6e4;
    --magenta: #ff52c3;
    --magenta-text: #c9328f;
    --amber: #805300;
    --green: #247647;
    --ink: #1d1d1f;
    --muted: #50545c;
    --faint: #62656d;
    --bg: #f5f5f7;
    --bg-alt: #ffffff;
    --panel: #ffffff;
    --line: rgba(0, 0, 0, 0.08);
    --line-strong: rgba(0, 0, 0, 0.14);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(20, 20, 40, 0.06);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.04), 0 30px 80px rgba(20, 20, 40, 0.1);
    --mono: "Cascadia Code", "SF Mono", Consolas, "Liberation Mono", monospace;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.hc-container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.hc-mono { font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.02em; }

/* ---------- Live dot ---------- */
.hc-live-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px rgba(31, 157, 92, 0.7);
    animation: hc-blink 2.2s ease-in-out infinite;
    vertical-align: middle;
}
@keyframes hc-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ---------- Header ---------- */
.hc-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    padding: 14px 0;
    transition: background 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease;
}
.hc-header.is-scrolled {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(18px) saturate(160%);
    box-shadow: 0 1px 0 var(--line);
}
.hc-header__inner { display: flex; align-items: center; gap: 22px; }
.hc-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.hc-logo img { width: 98px; height: auto; }
.hc-nav { display: flex; gap: 18px; margin-left: auto; }
.hc-nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 650;
    transition: color 0.2s ease;
}
.hc-nav a:hover, .hc-nav a:focus-visible { color: var(--ink); }
.hc-header.is-scrolled .hc-nav a { color: var(--muted); }
.hc-header.is-scrolled .hc-nav a:hover,
.hc-header.is-scrolled .hc-nav a:focus-visible { color: var(--ink); }
.hc-header__actions { display: flex; align-items: center; }
.hc-contact {
    cursor: pointer;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    color: #fff;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #00c3d4, #ff52c3);
    font: 700 0.82rem/1 var(--font);
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(0, 195, 212, 0.28);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.hc-contact i { color: #fff; font-size: 1rem; }
.hc-contact:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(255, 82, 195, 0.32); }
.hc-nav-toggle {
    width: 42px; height: 42px;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: #fff;
    font-size: 1.25rem;
    cursor: pointer;
}
.hc-header.is-scrolled .hc-nav-toggle {
    color: var(--ink);
    background: #fff;
    border-color: var(--line);
}

/* ---------- Botones: pastilla de marca, sin relleno negro ---------- */
.wm-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    isolation: isolate;
    min-height: 48px;
    padding: 12px 22px;
    overflow: hidden;
    border: 1.5px solid transparent;
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 10px 26px rgba(20, 20, 40, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-position 0.4s ease;
}
.wm-btn i { position: relative; z-index: 1; font-size: 1.05em; }
.wm-btn--primary {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(90deg, #00c3d4, #ff52c3);
    box-shadow: 0 12px 28px rgba(0, 195, 212, 0.26);
}
.wm-btn--primary i { color: #fff; }
.wm-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(255, 82, 195, 0.32);
}
.wm-btn--secondary {
    color: var(--ink);
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(100deg, #00c3d4, #ff52c3) border-box;
    box-shadow: 0 8px 22px rgba(20, 20, 40, 0.06);
}
.wm-btn--secondary i { color: var(--cyan-text); }
.wm-btn--secondary:hover,
.wm-btn--secondary:focus-visible {
    color: var(--ink);
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0, 195, 212, 0.16);
}
.wm-btn::before,
.wm-btn::after,
.hc-contact::before,
.hc-contact::after { content: none; display: none; }

/* ---------- Aro partido ---------- */
.hc-ring {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px; height: 62px;
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--cyan-text);
    background: #fff;
    box-shadow: 0 6px 20px rgba(20, 20, 40, 0.08);
    isolation: isolate;
}
.hc-ring::before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    padding: 3px;
    background: conic-gradient(from 0deg, var(--cyan), transparent 35%, var(--magenta), transparent 82%, var(--cyan));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: hc-spin 5.6s linear infinite;
    z-index: -1;
}
.hc-ring--sm { width: 40px; height: 40px; font-size: 0.85rem; }
.hc-ring--md { width: 52px; height: 52px; font-size: 1.2rem; }
.hc-ring--lg { width: 86px; height: 86px; font-size: 2rem; }
.hc-ring--xl { width: 96px; height: 96px; font-size: 2.1rem; }
@keyframes hc-spin { to { transform: rotate(360deg); } }

/* ---------- Tipografía editorial ---------- */
.hc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 24px;
    color: var(--cyan-text);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.74rem;
    font-weight: 700;
}
.hc-kicker {
    margin: 0 0 26px;
    color: var(--cyan-text);
    text-transform: uppercase;
    letter-spacing: 0.26em;
    font-size: 0.76rem;
    font-weight: 700;
}
.hc-display {
    margin: 0 0 42px;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.hc-display--md { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.hc-grad {
    background: linear-gradient(100deg, #087684 0%, #386da1 40%, #b52b85 85%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: hc-grad-move 7s ease-in-out infinite alternate;
}
@keyframes hc-grad-move { from { background-position: 0% 0; } to { background-position: 100% 0; } }
.hc-lead {
    margin: 0 0 54px;
    max-width: 640px;
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.7;
}
.hc-lead--wide { max-width: 980px; }
.hc-center-head { text-align: center; }
.hc-center-head .hc-lead { margin-inline: auto; }
.hc-text-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--cyan-text);
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
}
button.hc-text-link {
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    font-size: 0.92rem;
}
.hc-text-link:hover { color: var(--ink); gap: 11px; }
.hc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Reveals ---------- */
.hc-reveal {
    opacity: 0;
    transform: translateY(38px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--reveal-delay, 0ms);
}
.hc-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Secciones ---------- */
.hc-section { padding: 130px 0; position: relative; overflow-x: clip; }
.hc-section--alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Hero ---------- */
.hc-hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 130px 0 110px;
    overflow: hidden;
    color: var(--ink);
    background: #fbfcfd;
}
.hc-hero__field {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}
.hc-hero__title { color: var(--ink); }
.hc-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 56px;
    align-items: center;
}
.hc-hero__title {
    margin: 0 0 30px;
    font-size: clamp(2.8rem, 5.3vw, 4.2rem);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.035em;
}
.hc-hero__subtitle {
    margin: 0 0 40px;
    max-width: 540px;
    font-size: 1.18rem;
    line-height: 1.65;
    color: var(--muted);
}
.hc-hero__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hc-hero__explore {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 2px;
    color: var(--ink);
    border-bottom: 1px solid rgba(29, 29, 31, 0.28);
    font-size: 0.94rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.hc-hero__explore i { color: var(--cyan-text); font-size: 1.08rem; transition: transform 0.2s ease; }
.hc-hero__explore:hover { border-color: var(--ink); }
.hc-hero__explore:hover i { transform: translateY(3px); }
.hc-hero__scrollcue {
    position: absolute;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    width: 24px; height: 40px;
    border: 1.5px solid rgba(10, 127, 140, 0.45);
    border-radius: 14px;
    z-index: 2;
}
.hc-hero__scrollcue span {
    position: absolute;
    left: 50%; top: 8px;
    width: 4px; height: 8px;
    margin-left: -2px;
    border-radius: 3px;
    background: var(--cyan);
    animation: hc-cue 1.8s ease-in-out infinite;
}
@keyframes hc-cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }

/* ---------- Simulación ---------- */
.hc-sim-wrap { position: relative; }
.hc-sim-wrap::before { content: none; }
.hc-sim {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 28px;
    overflow: hidden;
    backdrop-filter: blur(16px) saturate(140%);
    box-shadow: 0 18px 50px rgba(20, 20, 40, 0.08);
}
.hc-sim__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 14px 20px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    background: transparent;
}
#hc-sim-mode { color: var(--cyan-text); font-weight: 700; }
.hc-sim__badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--mono);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--green);
    letter-spacing: 0.14em;
}
.hc-sim__stage {
    position: relative;
    height: 300px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 46%, rgba(0, 195, 212, 0.14), transparent 36%),
        radial-gradient(circle at 82% 78%, rgba(255, 82, 195, 0.1), transparent 32%),
        linear-gradient(180deg, #ffffff, #f6f7f9);
}
.hc-sim__mesh {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(29, 29, 31, 0.18) 1px, transparent 1px);
    background-size: 18px 18px;
    -webkit-mask-image: radial-gradient(circle at 50% 48%, #000 8%, transparent 72%);
    mask-image: radial-gradient(circle at 50% 48%, #000 8%, transparent 72%);
    opacity: 0.4;
    pointer-events: none;
}
.hc-sim__scan {
    position: absolute;
    left: 0;
    right: 0;
    height: 38%;
    background: linear-gradient(180deg, transparent, rgba(126, 231, 242, 0.14), transparent);
    animation: hc-scan 4.6s linear infinite;
    z-index: 1;
    pointer-events: none;
}
@keyframes hc-scan { from { top: -40%; } to { top: 110%; } }
.hc-sim__stage::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 46%;
    width: 220px;
    height: 220px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(0, 195, 212, 0.42), transparent 68%);
    filter: blur(8px);
    animation: hc-core-breathe 3.4s ease-in-out infinite;
    pointer-events: none;
}
@keyframes hc-core-breathe {
    0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(0.82); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.16); }
}
.hc-sim__svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hc-sim__core {
    position: absolute;
    left: 50%; top: 46%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 3;
}
.hc-sim__core-label { color: var(--cyan-text); }
.hc-sim__orbit {
    position: absolute;
    top: 43px;
    left: 50%;
    width: 148px;
    height: 148px;
    border-radius: 50%;
    border: 1px dashed rgba(0, 195, 212, 0.55);
    transform: translate(-50%, -50%);
    animation: hc-spin 14s linear infinite;
    pointer-events: none;
}
.hc-sim__orbit::after {
    content: "";
    position: absolute;
    top: -5px;
    left: 50%;
    width: 9px;
    height: 9px;
    margin-left: -4px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 12px #00c3d4, 0 0 18px #ff52c3;
}
.hc-sim__core-halo {
    position: absolute;
    top: 43px; left: 50%;
    width: 120px; height: 120px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 195, 212, 0.55), rgba(255, 82, 195, 0.2) 46%, transparent 70%);
    filter: blur(8px);
    opacity: 0.75;
    animation: hc-core-breathe 3.4s ease-in-out infinite;
    z-index: -1;
}
.hc-sim__core.is-pulse .hc-sim__core-halo { opacity: 1; transform: translate(-50%, -50%) scale(1.45); }
.hc-sim__core.is-pulse .hc-ring { animation: hc-sim-beat 0.4s ease; }
@keyframes hc-sim-beat { 0% { transform: scale(1); } 35% { transform: scale(1.12); } 100% { transform: scale(1); } }
.hc-sim__chips {
    position: absolute;
    top: 0; bottom: 0;
    width: 190px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    z-index: 2;
    pointer-events: none;
}
.hc-sim__chips--in { left: 0; align-items: flex-start; }
.hc-sim__chips--out { right: 0; align-items: flex-end; }
.hc-sim-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-sm);
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
}
.hc-sim-chip i { color: var(--cyan-text); }
.hc-sim-chip.is-action { border-color: rgba(255, 82, 195, 0.45); }
.hc-sim-chip.is-action i { color: var(--magenta-text); }
.hc-sim__chips--in .hc-sim-chip { animation: hc-sim-chip-in 2.05s ease forwards; }
.hc-sim__chips--out .hc-sim-chip { animation: hc-sim-chip-out 2.05s ease forwards; }
@keyframes hc-sim-chip-in {
    0% { opacity: 0; transform: translateX(-26px); }
    16% { opacity: 1; transform: translateX(0); }
    62% { opacity: 1; transform: translateX(4px); }
    100% { opacity: 0; transform: translateX(30px) scale(0.86); }
}
@keyframes hc-sim-chip-out {
    0% { opacity: 0; transform: translateX(-30px) scale(0.86); }
    22% { opacity: 1; transform: translateX(0); }
    70% { opacity: 1; transform: translateX(-3px); }
    100% { opacity: 0; transform: translateX(26px); }
}
.hc-sim-packet { filter: drop-shadow(0 0 8px rgba(0, 195, 212, 0.95)); }
.hc-sim-packet--out { filter: drop-shadow(0 0 8px rgba(255, 82, 195, 0.95)); }
.hc-sim__feed {
    border-top: 1px solid var(--line);
    padding: 14px 20px;
    height: 118px;
    overflow: hidden;
    display: flex;
    flex-direction: column-reverse;
    gap: 7px;
    background: #f7f8fa;
}
.hc-feed-line {
    font-family: var(--mono);
    font-size: 0.73rem;
    color: var(--muted);
    display: flex;
    gap: 10px;
    animation: hc-feed-in 0.4s ease-out;
}
.hc-feed-line .hc-feed-time { color: var(--faint); }
.hc-feed-line .hc-feed-ok { color: var(--green); }
.hc-feed-line .hc-feed-ai { color: var(--magenta-text); }
@keyframes hc-feed-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Antes / después ---------- */
.hc-ba { display: grid; grid-template-columns: 1fr auto 1fr; gap: 26px; align-items: stretch; }
.hc-ba__card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 34px 30px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}
.hc-ba__card--system { border-color: rgba(0, 195, 212, 0.45); box-shadow: 0 2px 6px rgba(0,0,0,0.03), 0 24px 60px rgba(0, 195, 212, 0.12); }
.hc-ba__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    margin-bottom: 22px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}
.hc-ba__tag--manual { color: var(--muted); border: 1px solid var(--line); background: var(--bg); }
.hc-ba__tag--system { color: var(--cyan-text); border: 1px solid rgba(0, 195, 212, 0.45); background: rgba(0, 195, 212, 0.08); }
.hc-ba__card h3 { margin: 0 0 18px; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.01em; }
.hc-ba__card ul { margin: 0 0 22px; padding: 0 0 0 18px; list-style: disc; color: var(--muted); line-height: 1.9; flex: 1; }
.hc-ba__status { display: inline-flex; align-items: center; gap: 9px; margin: 0; font-size: 0.9rem; font-weight: 700; }
.hc-ba__status--manual { color: var(--amber); }
.hc-ba__status--system { color: var(--green); }
.hc-ba__bridge { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.hc-ba__bridge-line { width: 2px; flex: 1; max-height: 70px; background: linear-gradient(180deg, transparent, var(--line-strong)); }
.hc-ba__bridge .hc-ba__bridge-line:last-child { background: linear-gradient(180deg, var(--line-strong), transparent); }
.hc-ba__bridge-label { font-family: var(--mono); font-size: 0.72rem; color: var(--cyan-text); letter-spacing: 0.14em; text-transform: uppercase; }
.hc-ba__outcomes { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 44px; color: var(--muted); font-size: 0.92rem; font-weight: 600; }
.hc-ba__outcomes span { display: inline-flex; align-items: center; gap: 9px; }
.hc-ba__outcomes i { color: var(--green); }

/* ---------- Qué automatizamos ---------- */
.hc-pain-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin-top: 54px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--line);
    box-shadow: var(--shadow-sm);
}
.hc-pain {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: start;
    min-height: 210px;
    padding: 30px;
    background: #fff;
    transition: background 0.3s ease;
}
.hc-pain:hover { background: #fbfbfd; }
.hc-pain > div { min-width: 0; }
.hc-pain__num { font-size: 1rem; font-weight: 800; color: var(--magenta-text); }
.hc-pain h3 { margin: 0 0 8px; font-size: clamp(1.15rem, 1.7vw, 1.45rem); font-weight: 800; }
.hc-pain p { margin: 0 0 14px; color: var(--muted); line-height: 1.6; }
.hc-pain__meta { color: var(--faint); }
.hc-pain > i { font-size: 2rem; color: var(--cyan); opacity: 0.85; }
.hc-capability {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    margin-top: 38px;
    padding: 28px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.hc-capability strong { display: block; margin-bottom: 6px; font-size: 1.15rem; }
.hc-capability p { margin: 0; color: var(--muted); line-height: 1.6; }

/* ---------- Recorrido del sistema ---------- */
.hc-flow {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: stretch;
    max-width: 1080px;
    margin: 48px auto 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.hc-flow__step { padding: 26px 24px; }
.hc-flow__step span { display: block; margin-bottom: 10px; color: var(--cyan-text); font-size: 0.7rem; text-transform: uppercase; }
.hc-flow__step strong { display: block; margin-bottom: 8px; font-size: 1.15rem; }
.hc-flow__step p { margin: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.6; }
.hc-flow > i { align-self: center; color: var(--magenta-text); font-size: 1.25rem; }

/* ---------- Mapa ---------- */
.hc-map {
    position: relative;
    height: 540px;
    max-width: 920px;
    margin: 48px auto 0;
    border-radius: 24px;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, rgba(0, 195, 212, 0.08), transparent 60%), #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
}
.hc-map__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hc-map__center {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 3;
    pointer-events: none;
}
.hc-map__center strong { font-size: 1.1rem; letter-spacing: 0.03em; }
.hc-map__center small { max-width: 150px; color: var(--faint); font-size: 0.62rem; line-height: 1.4; text-align: center; }
.hc-map__node {
    position: absolute;
    z-index: 3;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    border: 1px solid var(--line);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--muted);
    transition: border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.hc-map__node i { font-size: 1.25rem; color: var(--cyan-text); }
.hc-map__node--output i { color: var(--magenta-text); }
.hc-map__node--human i { color: var(--green); }
.hc-map__node--human { border-color: rgba(31, 157, 92, 0.35); }
.hc-map__node.is-hit {
    border-color: rgba(0, 195, 212, 0.8);
    color: var(--ink);
    box-shadow: 0 0 34px rgba(0, 195, 212, 0.3);
    transform: translate(-50%, -50%) scale(1.06);
}

/* ---------- Autoridad ---------- */
.hc-authority { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.hc-credentials { display: flex; flex-direction: column; gap: 20px; }
.hc-credential {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 18px;
    row-gap: 6px;
    padding: 24px 26px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 20px;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    color: inherit;
    text-decoration: none;
}
.hc-credential:hover { border-color: rgba(0, 195, 212, 0.5); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.hc-credential i { grid-row: span 2; align-self: center; font-size: 1.7rem; color: var(--cyan-text); }
.hc-credential strong { font-size: 1.05rem; font-weight: 800; }
.hc-credential span { color: var(--muted); font-size: 0.92rem; line-height: 1.55; }

/* ---------- Productos ---------- */
.hc-products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.hc-product {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease;
    display: flex;
    flex-direction: column;
}
.hc-product:hover { transform: translateY(-8px); border-color: rgba(255, 82, 195, 0.45); box-shadow: 0 26px 70px rgba(255, 82, 195, 0.14); }
.hc-product__media { overflow: hidden; background: var(--bg); }
.hc-product__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; transition: transform 0.5s ease; }
.hc-product:hover .hc-product__media img { transform: scale(1.035); }
.hc-product--featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.hc-product--featured .hc-product__media { min-height: 330px; }
.hc-product--featured .hc-product__media img { height: 100%; aspect-ratio: auto; }
.hc-product--featured .hc-product__body { justify-content: center; }
.hc-product--mailing .hc-product__media { background: #fff; }
.hc-product--mailing .hc-product__media img { height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
.hc-product--mailing .hc-product__media { min-height: 0; }
.hc-product__body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.hc-product__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.hc-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--cyan-text);
    border: 1px solid rgba(0, 195, 212, 0.45);
    background: rgba(0, 195, 212, 0.08);
}
.hc-tag--rest { color: var(--magenta-text); border-color: rgba(255, 82, 195, 0.5); background: linear-gradient(110deg, rgba(0, 195, 212, 0.1), rgba(255, 82, 195, 0.12)); }
.hc-product__status { display: inline-flex; align-items: center; gap: 7px; color: var(--green); }
.hc-product__status--beta { color: var(--amber); }
.hc-product__status--new { color: var(--magenta-text); }
.hc-product h3 { margin: 0 0 10px; font-size: 1.4rem; font-weight: 800; letter-spacing: -0.01em; }
.hc-product p { margin: 0 0 18px; color: var(--muted); line-height: 1.6; font-size: 0.95rem; flex: 1; }
.hc-chip-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.hc-chip-row b { padding: 6px 13px; border-radius: 999px; font-size: 0.76rem; font-weight: 700; color: var(--cyan-text); border: 1px solid rgba(0, 195, 212, 0.35); background: rgba(0, 195, 212, 0.06); }

/* ---------- Novedades ---------- */
.hc-news__heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: end; margin-bottom: 52px; }
.hc-news__heading .hc-lead { margin-bottom: 0; }
.hc-news__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.hc-news-card {
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 16px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.hc-news-card:hover { transform: translateY(-6px); border-color: rgba(0, 195, 212, 0.5); box-shadow: 0 24px 60px rgba(0, 195, 212, 0.12); }
.hc-news-card__media { display: block; overflow: hidden; background: linear-gradient(135deg, rgba(0, 195, 212, 0.12), rgba(255, 82, 195, 0.1)); }
.hc-news-card__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hc-news-card__placeholder { width: 100%; aspect-ratio: 16 / 9; display: grid; place-items: center; }
.hc-news-card__placeholder i { font-size: 2rem; color: var(--cyan-text); }
.hc-news-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.hc-news-card__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-bottom: 14px; color: var(--cyan-text); font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; }
.hc-news-card__meta a { color: var(--cyan-text); text-decoration: none; }
.hc-news-card h3 { margin: 0 0 12px; font-size: 1.2rem; line-height: 1.28; }
.hc-news-card h3 a { color: var(--ink); text-decoration: none; }
.hc-news-card p { margin: 0 0 22px; color: var(--muted); line-height: 1.6; font-size: 0.92rem; flex: 1; }
.hc-news-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.hc-news-card__footer > span { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-family: var(--mono); font-size: 0.72rem; white-space: nowrap; }
.hc-news-card__footer > span i { color: var(--cyan-text); }

/* ---------- Rafael ---------- */
.hc-rafael__inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 70px; align-items: center; }
.hc-rafael__stage { position: relative; width: min(100%, 360px); margin: 0 auto; isolation: isolate; }
.hc-rafael__stage img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 28px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}
.hc-ring-frame {
    position: absolute;
    inset: -7px;
    border-radius: 35px;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
    display: grid;
    place-items: center;
}
.hc-ring-frame::before {
    content: "";
    width: 220%;
    aspect-ratio: 1;
    background: conic-gradient(from 0deg, var(--cyan), transparent 32%, var(--magenta), transparent 80%, var(--cyan));
    animation: hc-spin 7s linear infinite;
}
.hc-rafael__quote {
    margin: 0 0 34px;
    font-size: clamp(1.2rem, 2.4vw, 1.6rem);
    line-height: 1.5;
    font-weight: 500;
    color: var(--ink);
    font-style: italic;
    min-height: 3.2em;
    transition: opacity 0.4s ease;
}
.hc-rafael__quote.is-fading { opacity: 0; }
.hc-rafael__copy > .hc-lead { max-width: 760px; margin-bottom: 24px; }
.hc-rafael__copy .hc-actions { margin-top: 0; }

/* ---------- Método ---------- */
.hc-timeline { position: relative; margin-top: 30px; }
.hc-timeline__bar { height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; margin-bottom: 44px; }
.hc-timeline__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--cyan), var(--magenta), var(--amber)); transition: width 0.4s ease; }
.hc-timeline__track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.hc-tstep {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 38px 34px;
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}
.hc-tstep.is-current { border-color: rgba(255, 82, 195, 0.45); box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.hc-tstep__num {
    display: block;
    margin-bottom: 18px;
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(120deg, var(--cyan), var(--magenta));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hc-tstep h3 { margin: 0 0 12px; font-size: 1.4rem; font-weight: 800; }
.hc-tstep p { margin: 0 0 16px; color: var(--muted); line-height: 1.65; }
.hc-tstep small { color: var(--faint); }

/* ---------- FAQ ---------- */
.hc-faq { max-width: 920px; }
.hc-faq__intro { max-width: 760px; margin: -18px 0 34px; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.hc-faq__item { border-top: 1px solid var(--line); }
.hc-faq__item:last-child { border-bottom: 1px solid var(--line); }
.hc-faq__q { padding: 24px 44px 24px 4px; cursor: pointer; list-style: none; font-size: 1.08rem; font-weight: 750; position: relative; transition: color 0.2s ease; }
.hc-faq__q::-webkit-details-marker { display: none; }
.hc-faq__q::after {
    content: "+";
    position: absolute;
    right: 8px; top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--cyan-text);
    transition: transform 0.25s ease;
}
.hc-faq__item[open] .hc-faq__q::after { transform: translateY(-50%) rotate(45deg); }
.hc-faq__q:hover { color: var(--cyan-text); }
.hc-faq__a { padding: 0 40px 26px 4px; }
.hc-faq__a p { margin: 0; color: var(--muted); line-height: 1.7; }

/* ---------- Cintas de las secciones (misma familia que la segunda ronda) ---------- */
.hc-ribbons {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.hc-lines {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    --streak-h: 62%;
}
.hc-lines .campo-streaks {
    mix-blend-mode: multiply;
    filter: saturate(1.6) contrast(1.35);
}

/* ---------- CTA ---------- */
.hc-cta { padding: 150px 0 170px; text-align: center; position: relative; overflow: hidden; background: var(--bg-alt); border-top: 1px solid var(--line); }
.hc-cta__inner { display: flex; flex-direction: column; align-items: center; }
.hc-cta .hc-ring { margin-bottom: 34px; }
.hc-cta .hc-display { margin-bottom: 34px; }
.hc-cta__actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 22px; }
.hc-cta__note { margin: 0; color: var(--muted); font-size: 1rem; max-width: 560px; }

/* ---------- Footer ---------- */
.hc-footer { border-top: 1px solid var(--line); padding: 80px 0 100px; background: var(--bg); }
.hc-footer__top { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 60px; align-items: start; margin-bottom: 54px; }
.hc-footer__brand img { width: 112px; height: auto; margin-bottom: 22px; }
.hc-footer__brand h2 { max-width: 620px; margin: 0 0 14px; font-size: 1.5rem; font-weight: 800; line-height: 1.25; }
.hc-footer__brand p { max-width: 480px; margin: 0 0 26px; color: var(--muted); line-height: 1.65; }
.hc-footer__links { display: flex; flex-direction: column; gap: 14px; }
.hc-footer__links a, .hc-footer__links button { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); text-decoration: none; font: inherit; font-size: 0.95rem; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; transition: color 0.2s ease; }
.hc-footer__links a:hover, .hc-footer__links button:hover { color: var(--ink); }

/* Chat en la home clara: pastilla de marca, panel claro */
.v3-chat-launcher {
    top: auto;
    bottom: 22px;
    right: 22px;
    transform: none;
    width: auto;
    z-index: 60;
}
.v3-chat-launcher.is-chat-mini,
.v3-chat-launcher .chat-container.is-minibubble,
.v3-chat-launcher .chat-container.avatar-chat-panel.is-collapsed.is-minibubble {
    width: auto !important;
    max-width: 280px;
    height: auto !important;
    min-height: 0;
    border: 1px solid rgba(0, 195, 212, 0.35);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 40px rgba(20, 20, 40, 0.16), 0 0 0 1px rgba(255, 82, 195, 0.12);
    backdrop-filter: blur(16px);
}
.v3-chat-launcher .chat-container.is-minibubble .chat-header,
.v3-chat-launcher .chat-container.is-collapsed.is-minibubble .chat-header {
    display: flex;
    align-items: center;
    padding: 8px 16px 8px 8px;
    background: transparent;
    border: 0;
}
.v3-chat-launcher .chat-container.is-minibubble .chat-header-main {
    display: flex;
    align-items: center;
    gap: 10px;
}
.v3-chat-launcher .chat-container.is-minibubble .chat-header-info,
.v3-chat-launcher .chat-container.is-collapsed.is-minibubble .chat-header-info {
    display: block;
}
.v3-chat-launcher .chat-container.is-minibubble .chat-header-info h4 {
    color: #1d1d1f;
    font-size: 0.92rem;
    max-width: 168px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.v3-chat-launcher .chat-container.is-minibubble .chat-status-line { display: flex; }
.v3-chat-launcher .chat-container.is-minibubble .chat-status-text { color: #0a7f8c; font-size: 0.75rem; }
.v3-chat-launcher .chat-container.is-minibubble .v3-chat-avatar-stage,
.v3-chat-launcher .chat-container.is-collapsed.is-minibubble .v3-chat-avatar-stage {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px #00c3d4;
}
.v3-chat-launcher .chat-container:not(.is-collapsed) {
    background: #fff;
    color: #1d1d1f;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 24px 64px rgba(20, 20, 40, 0.18);
}
.v3-chat-launcher .chat-container:not(.is-collapsed) .chat-header {
    background: linear-gradient(90deg, rgba(0, 195, 212, 0.14), rgba(255, 82, 195, 0.12));
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.v3-chat-launcher .chat-container:not(.is-collapsed) .chat-header-info h4,
.v3-chat-launcher .chat-bubble,
.v3-chat-launcher .chat-bubble.bot { color: #1d1d1f; }
.v3-chat-launcher .chat-bubble.bot { background: #f5f5f7; }
.v3-chat-launcher .chat-input input {
    background: #fff;
    color: #1d1d1f;
    border: 1px solid rgba(0, 0, 0, 0.12);
}
.v3-chat-launcher .chat-privacy-note,
.v3-chat-launcher .chat-privacy-note a { color: #6e6e73; }
body.v5-home .v3-chat-launcher .chat-container.avatar-chat-panel.is-collapsed.is-minibubble {
    width: auto !important;
    max-width: 280px !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    border-radius: 999px !important;
    overflow: visible !important;
}
body.v5-home .v3-chat-launcher .chat-container.is-collapsed.is-minibubble .chat-header {
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 8px 16px 8px 8px !important;
    border-radius: 999px !important;
}
body.v5-home .v3-chat-launcher .chat-container.is-minibubble .chat-header::before,
body.v5-home .v3-chat-launcher .chat-container.is-minibubble .chat-header::after {
    content: none;
}
/* Hover del mini: misma pastilla clara, con nombre y controles */
body.v5-home .v3-chat-launcher .chat-container.is-collapsed:not(.is-minibubble) {
    color: #1d1d1f;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(0, 195, 212, 0.35);
    box-shadow: 0 16px 40px rgba(20, 20, 40, 0.16), 0 0 0 1px rgba(255, 82, 195, 0.12);
}
body.v5-home .v3-chat-launcher .chat-container.is-collapsed:not(.is-minibubble) .chat-header {
    background: transparent;
}
body.v5-home .v3-chat-launcher .chat-container.is-collapsed:not(.is-minibubble) .chat-header-info h4 {
    color: #1d1d1f;
}
body.v5-home .v3-chat-launcher .chat-container.is-collapsed:not(.is-minibubble) .chat-status-text {
    color: #0a7f8c;
}
body.v5-home .v3-chat-launcher .chat-container.is-collapsed:not(.is-minibubble) .v3-chat-avatar-stage {
    width: 48px;
    height: 48px;
    background: #fff;
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px #00c3d4;
}
body.v5-home .v3-chat-launcher .avatar-chat-collapse-toggle,
body.v5-home .v3-chat-launcher .avatar-chat-voice-toggle {
    color: #1d1d1f;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(0, 0, 0, 0.08);
}
body.v5-home .v3-chat-launcher .avatar-chat-collapse-toggle:hover,
body.v5-home .v3-chat-launcher .avatar-chat-voice-toggle:hover {
    background: #fff;
    border-color: #00c3d4;
}
body.v5-home .v3-chat-launcher .avatar-chat-voice-toggle.is-muted,
body.v5-home .v3-chat-launcher .avatar-chat-voice-toggle.is-muted:hover {
    color: #6e6e73;
    background: #f5f5f7;
}
body.v5-home .v3-chat-launcher .chat-container:not(.is-collapsed) .chat-messages {
    background: #fff;
    scrollbar-color: rgba(29, 29, 31, 0.32) transparent;
}
body.v5-home .v3-chat-launcher .chat-messages::-webkit-scrollbar-thumb {
    background-color: rgba(29, 29, 31, 0.32);
}
body.v5-home .v3-chat-launcher .chat-messages::-webkit-scrollbar-thumb:hover {
    background-color: rgba(29, 29, 31, 0.5);
}
body.v5-home .v3-chat-launcher .chat-input {
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}
@media (max-width: 640px) {
    body.v5-home .v3-chat-launcher.is-chat-mini {
        width: 68px !important;
        max-width: 68px !important;
    }
    body.v5-home .v3-chat-launcher .chat-container.avatar-chat-panel.is-collapsed.is-minibubble {
        width: 68px !important;
        max-width: 68px !important;
        min-width: 68px !important;
        height: 68px !important;
        min-height: 68px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        overflow: hidden !important;
        background: #fff !important;
        border: 0 !important;
        box-shadow: 0 12px 28px rgba(20, 20, 40, 0.18), 0 0 0 2px #fff, 0 0 0 4px #00c3d4 !important;
    }
    body.v5-home .v3-chat-launcher .chat-container.is-collapsed.is-minibubble .chat-header,
    body.v5-home .v3-chat-launcher .chat-container.is-collapsed.is-minibubble .chat-header-main {
        width: 68px !important;
        height: 68px !important;
        min-height: 68px !important;
        padding: 0 !important;
        display: block !important;
        border-radius: 50% !important;
    }
    body.v5-home .v3-chat-launcher .chat-container.is-minibubble .v3-chat-avatar-stage,
    body.v5-home .v3-chat-launcher .chat-container.is-collapsed.is-minibubble .v3-chat-avatar-stage {
        width: 68px !important;
        height: 68px !important;
        background: #fff !important;
        border: 0 !important;
        box-shadow: none !important;
    }
    body.v5-home .v3-chat-launcher.is-chat-docked:not(.is-chat-mini):not(.is-chat-expanded) {
        width: auto !important;
        max-width: min(300px, calc(100vw - 24px)) !important;
    }
    body.v5-home .v3-chat-launcher .chat-container.is-collapsed:not(.is-minibubble) {
        width: auto !important;
        max-width: min(280px, calc(100vw - 24px)) !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
        background: rgba(255, 255, 255, 0.96) !important;
        border: 1px solid rgba(0, 195, 212, 0.35) !important;
        box-shadow: 0 16px 40px rgba(20, 20, 40, 0.16) !important;
    }
    body.v5-home .v3-chat-launcher .chat-container.is-collapsed:not(.is-minibubble) .chat-header,
    body.v5-home .v3-chat-launcher .chat-container.is-collapsed:not(.is-minibubble) .chat-header-main {
        width: auto !important;
        height: auto !important;
        min-height: 0 !important;
        display: flex !important;
        align-items: center;
        background: transparent !important;
        border-radius: 999px !important;
    }
    body.v5-home .v3-chat-launcher .chat-container.is-collapsed:not(.is-minibubble) .chat-header {
        gap: 8px;
        padding: 8px 10px 8px 8px !important;
    }
    body.v5-home .v3-chat-launcher .chat-container.is-collapsed:not(.is-minibubble) .chat-header-info,
    body.v5-home .v3-chat-launcher .chat-container.is-collapsed:not(.is-minibubble) .chat-status-line,
    body.v5-home .v3-chat-launcher .chat-container.is-collapsed:not(.is-minibubble) .chat-status-text {
        display: block !important;
    }
    body.v5-home .v3-chat-launcher .chat-container.is-collapsed:not(.is-minibubble) .chat-status-line {
        display: flex !important;
    }
    body.v5-home .v3-chat-launcher .chat-container.is-collapsed:not(.is-minibubble) .v3-chat-avatar-stage {
        width: 48px !important;
        height: 48px !important;
        background: #fff !important;
        border: 0 !important;
        box-shadow: 0 0 0 2px #fff, 0 0 0 3px #00c3d4 !important;
    }
    body.v5-home .v3-chat-launcher .chat-container.is-collapsed:not(.is-minibubble) .avatar-chat-controls {
        position: static !important;
        inset: auto !important;
        display: flex !important;
        align-items: center;
        gap: 4px;
        pointer-events: auto;
    }
    body.v5-home .v3-chat-launcher .chat-container.is-collapsed:not(.is-minibubble) .avatar-chat-collapse-toggle,
    body.v5-home .v3-chat-launcher .chat-container.is-collapsed:not(.is-minibubble) .avatar-chat-voice-toggle {
        position: static !important;
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        margin: 0 !important;
        color: #1d1d1f !important;
        background: #f5f5f7 !important;
        border: 1px solid rgba(0, 0, 0, 0.08) !important;
        box-shadow: none !important;
    }
    body.v5-home .v3-chat-launcher .chat-container.is-collapsed:not(.is-minibubble) .avatar-chat-voice-toggle.is-muted {
        color: #6e6e73 !important;
        background: #f5f5f7 !important;
    }
    body.v5-home .v3-chat-launcher.is-mobile-modal,
    body.v5-home .v3-chat-launcher.is-chat-expanded.is-mobile-modal {
        background: rgba(245, 245, 247, 0.78) !important;
    }
    body.v5-home .v3-chat-launcher.is-mobile-modal .chat-container:not(.is-collapsed),
    body.v5-home .v3-chat-launcher.is-chat-expanded .chat-container:not(.is-collapsed) {
        background: #fff !important;
        color: #1d1d1f !important;
        border: 1px solid rgba(0, 0, 0, 0.08) !important;
        box-shadow: 0 -16px 40px rgba(20, 20, 40, 0.14) !important;
    }
    body.v5-home .v3-chat-launcher.is-mobile-modal .chat-header,
    body.v5-home .v3-chat-launcher.is-chat-expanded .chat-container:not(.is-collapsed) .chat-header {
        background: linear-gradient(90deg, rgba(0, 195, 212, 0.14), rgba(255, 82, 195, 0.12)) !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    }
    body.v5-home .v3-chat-launcher.is-mobile-modal .chat-header-info h4,
    body.v5-home .v3-chat-launcher.is-chat-expanded .chat-container:not(.is-collapsed) .chat-header-info h4 {
        color: #1d1d1f !important;
    }
    body.v5-home .v3-chat-launcher.is-mobile-modal .chat-status-text,
    body.v5-home .v3-chat-launcher.is-chat-expanded .chat-container:not(.is-collapsed) .chat-status-text {
        color: #0a7f8c !important;
    }
    body.v5-home .v3-chat-launcher.is-mobile-modal .v3-chat-avatar-stage,
    body.v5-home .v3-chat-launcher.is-chat-expanded .chat-container:not(.is-collapsed) .v3-chat-avatar-stage {
        border-radius: 50% !important;
        background: #fff !important;
    }
    body.v5-home .v3-chat-launcher.is-mobile-modal .chat-input,
    body.v5-home .v3-chat-launcher.is-chat-expanded .chat-container:not(.is-collapsed) .chat-input {
        background: #fff !important;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
    }
    body.v5-home .v3-chat-launcher.is-mobile-modal .chat-input input,
    body.v5-home .v3-chat-launcher.is-chat-expanded .chat-container:not(.is-collapsed) .chat-input input {
        background: #f7f8fa !important;
        color: #1d1d1f !important;
        border: 1px solid rgba(0, 0, 0, 0.12) !important;
    }
    body.v5-home .v3-chat-launcher.is-mobile-modal .avatar-chat-collapse-toggle,
    body.v5-home .v3-chat-launcher.is-mobile-modal .avatar-chat-voice-toggle,
    body.v5-home .v3-chat-launcher.is-chat-expanded .chat-container:not(.is-collapsed) .avatar-chat-collapse-toggle,
    body.v5-home .v3-chat-launcher.is-chat-expanded .chat-container:not(.is-collapsed) .avatar-chat-voice-toggle {
        color: #1d1d1f !important;
        background: #fff !important;
        border: 1px solid rgba(0, 0, 0, 0.1) !important;
        box-shadow: none !important;
    }
    body.v5-home .v3-chat-launcher.is-mobile-modal .avatar-chat-voice-toggle.is-muted,
    body.v5-home .v3-chat-launcher.is-chat-expanded .chat-container:not(.is-collapsed) .avatar-chat-voice-toggle.is-muted {
        color: #6e6e73 !important;
    }
}
.hc-footer__links i { color: var(--cyan-text); }
.hc-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--faint); font-size: 0.85rem; }
.hc-footer__legal { display: inline-flex; flex-wrap: wrap; gap: 10px 16px; }
.hc-footer__legal a { color: inherit; text-decoration: none; }
.hc-footer__legal a:hover { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .hc-hero__inner { grid-template-columns: 1fr; gap: 40px; }
    .hc-hero__title { font-size: clamp(2.6rem, 8vw, 4rem); }
    .hc-authority { grid-template-columns: 1fr; gap: 40px; }
    .hc-rafael__inner { grid-template-columns: 1fr; gap: 44px; }
    .hc-rafael__stage { max-width: 300px; }
    .hc-timeline__track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hc-news__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .hc-nav {
        position: absolute;
        top: calc(100% + 10px);
        right: 24px; left: 24px;
        z-index: 110;
        display: none;
        flex-direction: column;
        gap: 4px;
        margin-left: 0;
        padding: 16px;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: #fff;
        box-shadow: var(--shadow-lg);
    }
    .hc-nav.is-open { display: flex; }
    .hc-nav a { padding: 10px 12px; color: var(--ink); border-bottom: 1px solid var(--line); }
    .hc-nav a:last-child { border-bottom: 0; }
    .hc-nav-toggle { display: inline-flex; }
    .hc-header__actions { margin-left: auto; }
    .hc-header__inner { position: relative; }
    .hc-pain-list { grid-template-columns: 1fr; }
    .hc-pain { grid-template-columns: auto 1fr; min-height: 0; }
    .hc-pain > i { display: none; }
    .hc-ba { grid-template-columns: 1fr; }
    .hc-ba__bridge { flex-direction: row; }
    .hc-ba__bridge-line { width: auto; height: 2px; flex: 1; max-height: none; max-width: 80px; }
    .hc-flow { grid-template-columns: 1fr; }
    .hc-flow > i { display: none; }
    .hc-flow__step { padding: 22px 18px; border-left: 2px solid rgba(0, 195, 212, 0.4); }
    .hc-flow__step + .hc-flow__step { border-top: 1px solid var(--line); }
    .hc-map { height: 460px; }
    .hc-products { grid-template-columns: 1fr; }
    .hc-product--featured { grid-template-columns: 1fr; }
    .hc-news__heading { grid-template-columns: 1fr; gap: 20px; align-items: start; }
    .hc-news__grid { grid-template-columns: 1fr; }
    .hc-footer__top { grid-template-columns: 1fr; gap: 40px; }
    .hc-timeline__track { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .hc-container { width: calc(100% - 32px); }
    .hc-section { padding: 88px 0; }
    .hc-hero { padding: 110px 0 80px; }
    .hc-hero__actions .wm-btn, .hc-cta__actions .wm-btn { width: 100%; }
    .hc-sim__chips { width: 130px; }
    .hc-sim__stage { height: 260px; }
    .hc-map { height: 400px; }
    .hc-map__node { padding: 8px 10px; font-size: 0.68rem; }
    .hc-contact { font-size: 0; width: 42px; height: 42px; min-height: 42px; padding: 0; gap: 0; justify-content: center; }
    .hc-contact i { font-size: 1.1rem; line-height: 1; }
    .hc-cta { padding: 100px 0 110px; }
}

/* Confirmación de modo voz, en la misma clave clara que el hero */
body.v5-home .v3-voice-confirm {
    background: rgba(245, 245, 247, 0.72);
}
body.v5-home .v3-voice-confirm__panel {
    color: #1d1d1f;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 24px 70px rgba(20, 20, 40, 0.14);
}
body.v5-home .v3-voice-confirm__panel::before { opacity: 0.85; }
body.v5-home .v3-voice-confirm__icon {
    color: #0a7f8c;
    background: linear-gradient(145deg, rgba(0, 195, 212, 0.16), rgba(255, 82, 195, 0.12));
    border-color: rgba(0, 195, 212, 0.28);
    box-shadow: none;
}
body.v5-home .v3-voice-confirm__eyebrow { color: #0a7f8c; }
body.v5-home .v3-voice-confirm__desc { color: #6e6e73; }
body.v5-home .v3-voice-confirm__desc a { color: #0a7f8c; }
body.v5-home .v3-voice-confirm__close {
    color: #1d1d1f;
    background: #f5f5f7;
    border-color: rgba(0, 0, 0, 0.08);
}
body.v5-home .v3-voice-confirm__close:hover {
    color: #1d1d1f;
    background: #fff;
}
body.v5-home .v3-voice-confirm__secondary {
    color: #1d1d1f;
    background: #fff;
    border: 1.5px solid rgba(0, 0, 0, 0.12);
}
body.v5-home .v3-voice-confirm__secondary:hover { background: #f7f8fa; }
body.v5-home .v3-voice-confirm__primary {
    color: #fff;
    background: linear-gradient(90deg, #00c3d4, #ff52c3);
}

/* Compact launcher: one action to open, no expanding panel on hover. */
body.v5-home .v3-chat-launcher.is-chat-mini {
    width: 56px !important;
    max-width: 56px !important;
    border: 0;
    background: transparent;
    box-shadow: none;
}
body.v5-home #wemvy-chat-hero.is-minibubble {
    width: 56px !important;
    min-width: 56px !important;
    max-width: 56px !important;
    height: 56px !important;
    min-height: 56px !important;
    padding: 0 !important;
    border: 1px solid #087684 !important;
    border-radius: 50% !important;
    overflow: visible !important;
    background: #fff !important;
    box-shadow: 0 4px 16px rgba(20, 20, 40, .16) !important;
}
body.v5-home #wemvy-chat-hero.is-minibubble .chat-header,
body.v5-home #wemvy-chat-hero.is-minibubble .chat-header-main {
    width: 54px !important;
    height: 54px !important;
    min-height: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
}
body.v5-home #wemvy-chat-hero.is-minibubble .v3-chat-avatar-stage {
    width: 50px !important;
    height: 50px !important;
    box-shadow: none !important;
}
body.v5-home #wemvy-chat-hero.is-minibubble .chat-header-info,
body.v5-home #wemvy-chat-hero.is-minibubble .avatar-chat-controls,
body.v5-home #wemvy-chat-hero.is-minibubble .v3-chat-avatar-expand {
    display: none !important;
}
body.v5-home #wemvy-chat-hero.is-minibubble::after {
    content: 'Asistente virtual de Wemvy';
    position: absolute;
    right: 66px;
    top: 50%;
    transform: translateY(-50%);
    width: max-content;
    max-width: calc(100vw - 110px);
    padding: 9px 12px;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    font: 600 13px/1.4 var(--font);
    box-shadow: var(--shadow-sm);
    opacity: 0;
    pointer-events: none;
}
body.v5-home #wemvy-chat-hero.is-minibubble:focus-visible::after { opacity: 1; }
@media (hover: hover) {
    body.v5-home #wemvy-chat-hero.is-minibubble:hover::after { opacity: 1; }
}
body.v5-home #wemvy-chat-hero:not(.is-collapsed) .chat-header-info h4 {
    white-space: normal;
    overflow: visible;
    font-size: 15px;
    line-height: 1.35;
}
body.v5-home #wemvy-chat-hero .chat-status-text,
body.v5-home #wemvy-chat-hero .chat-privacy-note { color: var(--muted); }
body.v5-home.wc-modal-open .v3-chat-launcher { visibility: hidden; pointer-events: none; }
@media (min-width: 641px) {
    body.v5-home .v3-chat-launcher.is-chat-expanded {
        width: min(420px, calc(100vw - 44px)) !important;
    }
    body.v5-home #wemvy-chat-hero:not(.is-collapsed) {
        width: 100%;
        height: min(560px, calc(100dvh - 44px));
    }
    body.v5-home #wemvy-chat-hero:not(.is-collapsed) .chat-header { padding: 16px; }
    body.v5-home #wemvy-chat-hero:not(.is-collapsed) .v3-chat-avatar-stage {
        width: 48px;
        height: 48px;
        border-radius: 50%;
    }
}
body.v5-home .hc-hero__subtitle { max-width: 560px; }
body.v5-home #productos { background: var(--bg); }
@media (max-width: 640px) {
    body.v5-home .v3-chat-launcher:not(.is-chat-expanded) {
        right: max(16px, env(safe-area-inset-right));
        bottom: max(16px, env(safe-area-inset-bottom));
    }
}

@media (prefers-reduced-motion: reduce) {
    .hc-reveal { opacity: 1; transform: none; transition: none; }
    .hc-grad, .hc-ring::before, .hc-ring-frame, .hc-ring-frame::before, .hc-live-dot,
    .hc-sim-wrap::before, .hc-sim__scan, .hc-sim__orbit, .hc-sim__core-halo,
    .hc-sim__stage::after { animation: none; }
}

/* Detalle de producto: mismo lenguaje que el resto de la home clara.
   La captura va a sangre, sin el marco, el filete y la franja de acento antiguos. */
body.v5-home .wm-product-modal[open] {
    width: min(1080px, calc(100vw - 40px));
    height: fit-content;
    max-height: min(88dvh, 840px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    background: #fff;
    color: #1d1d1f;
    box-shadow: 0 24px 70px rgba(20, 20, 40, 0.16);
}
body.v5-home .wm-product-modal::backdrop {
    background: rgba(29, 29, 31, 0.28);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
body.v5-home .wm-product-modal__shell,
body.v5-home .wm-product-modal__shell[data-wm-product] {
    flex: 0 1 auto;
    height: auto;
    max-height: min(88dvh, 840px);
    background: #fff;
}
body.v5-home .wm-product-modal__body {
    flex: 0 1 auto;
    max-height: min(88dvh, 840px);
    scrollbar-color: rgba(29, 29, 31, 0.32) transparent;
}
body.v5-home .wm-product-modal__body::-webkit-scrollbar-thumb {
    background-color: rgba(29, 29, 31, 0.32);
}
body.v5-home .wm-product-modal__body::-webkit-scrollbar-thumb:hover {
    background-color: rgba(29, 29, 31, 0.5);
}
body.v5-home .wm-product-modal__close {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 999px;
    color: #1d1d1f;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 20px rgba(20, 20, 40, 0.12);
}
body.v5-home .wm-product-modal__close:hover {
    background: #fff;
    border-color: #00c3d4;
}
body.v5-home .wm-product-modal__panel {
    padding: 0;
}
body.v5-home .wm-product-modal .wm-product-detail {
    --accent: #0a7f8c;
}
body.v5-home .wm-product-modal .wm-product-detail--reservify { --accent: #247647; }
body.v5-home .wm-product-modal .wm-product-detail--reservify-rest { --accent: #c9328f; }
body.v5-home .wm-product-modal .wm-product-detail--gest { --accent: #805300; }
body.v5-home .wm-product-modal .wm-product-detail--mailing { --accent: #c9328f; }
body.v5-home .wm-product-modal .wm-detail-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
    gap: 0;
    align-items: stretch;
    min-height: min(640px, 78dvh);
}
body.v5-home .wm-product-modal .wm-detail-copy {
    padding: 40px 36px 36px 40px;
}
body.v5-home .wm-product-modal .wm-detail-grid--flip .wm-detail-copy {
    padding: 56px 48px 36px 32px;
}
body.v5-home .wm-product-modal .wm-detail-copy .wm-kicker {
    margin-bottom: 12px;
    color: var(--accent);
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    font-weight: 700;
}
body.v5-home .wm-product-modal .wm-detail-copy h2 {
    color: #1d1d1f;
    font-size: clamp(1.55rem, 2.2vw, 2.05rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.12;
}
body.v5-home .wm-product-modal .wm-detail-copy > p {
    color: #50545c;
    font-size: 0.98rem;
}
body.v5-home .wm-product-modal .wm-feature-list {
    gap: 8px;
}
body.v5-home .wm-product-modal .wm-feature-list li {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    background: #f7f8fa;
}
body.v5-home .wm-product-modal .wm-feature-list span {
    color: #3a3a3c;
}
body.v5-home .wm-product-modal .wm-detail-media {
    min-height: 100%;
    margin: 0;
    padding: 28px 28px 28px 8px;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
body.v5-home .wm-product-modal .wm-detail-grid--flip .wm-detail-media {
    padding: 28px 8px 28px 28px;
}
body.v5-home .wm-product-modal .wm-detail-media::before {
    content: none;
}
body.v5-home .wm-product-modal .wm-detail-media img {
    position: static;
    width: 100%;
    height: auto;
    max-height: min(560px, 68dvh);
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
    border: 0;
    border-radius: 14px;
    background: transparent;
    box-shadow: 0 18px 44px rgba(20, 20, 40, 0.12);
}
body.v5-home .wm-product-modal .wm-product-detail--mailing .wm-detail-media,
body.v5-home .wm-product-modal .wm-product-detail--mailing .wm-detail-media img {
    background: #fff;
    box-shadow: none;
    border-radius: 0;
}
body.v5-home .wm-product-modal .wm-product-detail--reservify-rest .wm-detail-media {
    padding: 0;
    background: #07141c;
}
body.v5-home .wm-product-modal .wm-product-detail--reservify-rest .wm-detail-media img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
    box-shadow: none;
    background: #07141c;
}
body.v5-home:has(.wm-product-modal[open]) .v3-chat-launcher {
    visibility: hidden;
    pointer-events: none;
}
@media (max-width: 1120px) {
    body.v5-home .wm-product-modal .wm-detail-grid {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    body.v5-home .wm-product-modal .wm-detail-copy,
    body.v5-home .wm-product-modal .wm-detail-grid--flip .wm-detail-copy {
        padding: 22px 22px 8px;
    }
    body.v5-home .wm-product-modal .wm-detail-media,
    body.v5-home .wm-product-modal .wm-detail-grid--flip .wm-detail-media {
        order: -1;
        min-height: 0;
        aspect-ratio: auto;
        padding: 18px 18px 8px;
    }
    body.v5-home .wm-product-modal .wm-product-detail--reservify-rest .wm-detail-media {
        padding: 0;
        aspect-ratio: 16 / 10;
    }
    body.v5-home .wm-product-modal .wm-detail-media img {
        max-height: 280px;
    }
    body.v5-home .wm-product-modal .wm-actions {
        margin-bottom: 22px;
    }
}
@media (max-width: 640px) {
    body.v5-home .wm-product-modal[open] {
        width: calc(100vw - 16px);
        max-height: calc(100dvh - 16px);
        height: fit-content;
        margin: auto;
        border-radius: 20px;
    }
    body.v5-home .wm-product-modal__shell,
    body.v5-home .wm-product-modal__shell[data-wm-product],
    body.v5-home .wm-product-modal__body {
        max-height: calc(100dvh - 16px);
    }
    body.v5-home .wm-product-modal__panel {
        padding: 0;
    }
}
