/* ========================================================================
   MOBILELINK — Home stylesheet (2026 redesign)
   Aesthetic: editorial minimalism, serif display + sans body,
   deep navy + surgical orange accents, PropAI-aligned.
   Scope: used ONLY by /index.html. styles.css is kept intact for cruzcoke.
   ======================================================================== */

:root {
    --primary: #1e3a8a;
    --primary-light: #3b82f6;
    --primary-dark: #0f1e4d;
    --accent: #f97316;
    --accent-soft: #fff7ed;

    --ink: #0b1020;
    --ink-2: #1f2940;
    --muted: #5b667d;
    --muted-2: #8c96ac;
    --line: #e6e8ef;
    --line-2: #eef0f6;
    --bg: #ffffff;
    --bg-soft: #f7f8fb;
    --bg-cream: #fbf8f3;
    --bg-dark: #07091a;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;

    --shadow-sm: 0 1px 2px rgba(11,16,32,.06), 0 2px 8px rgba(11,16,32,.04);
    --shadow-md: 0 4px 14px rgba(11,16,32,.08), 0 12px 32px rgba(11,16,32,.06);
    --shadow-lg: 0 10px 40px rgba(11,16,32,.12), 0 30px 60px rgba(11,16,32,.08);

    --ease: cubic-bezier(.2,.7,.2,1);
    --dur: .5s;

    --display: 'Fraunces', 'Times New Roman', Georgia, serif;
    --sans: 'Inter Tight', 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* , *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* Section wrapper */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.section { padding: 120px 0; position: relative; }
.section--tight { padding: 80px 0; }

/* Typography */
.eyebrow {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.eyebrow::before {
    content: "";
    width: 24px; height: 1px;
    background: var(--accent);
}
h1, h2, h3 { font-family: var(--display); font-weight: 500; color: var(--ink); letter-spacing: -.02em; }
h1 { font-size: clamp(44px, 6.5vw, 86px); line-height: 1; font-weight: 400; }
h2 { font-size: clamp(34px, 4.2vw, 58px); line-height: 1.05; font-weight: 400; }
h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; font-weight: 500; }
.italic { font-style: italic; color: var(--primary-light); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 999px;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -.01em;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
    white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
    background: var(--ink);
    color: #fff;
    box-shadow: 0 10px 24px -10px var(--ink);
}
.btn-primary:hover { background: var(--primary); transform: translateY(-2px); }
.btn-accent {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 10px 24px -8px rgba(249,115,22,.55);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(249,115,22,.7); }
.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--bg-soft); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ------------------------------------------------------------------ */
/*  NAV                                                                */
/* ------------------------------------------------------------------ */
.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    padding: 18px 0;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    background: rgba(255,255,255,.72);
    border-bottom: 1px solid transparent;
    transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--line); background: rgba(255,255,255,.92); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.nav__logo img { height: 58px; width: auto; }
.nav__links { display: flex; gap: 36px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
    position: relative;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-2);
    padding: 4px 0;
}
.nav__links a::after {
    content: "";
    position: absolute;
    left: 0; right: 100%;
    bottom: -4px;
    height: 1px;
    background: var(--accent);
    transition: right .3s var(--ease);
}
.nav__links a:hover::after { right: 0; }
.nav__cta { display: flex; gap: 12px; align-items: center; }
.nav__burger { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.nav__burger span { display: block; width: 100%; height: 2px; background: var(--ink); margin: 3px 0; border-radius: 2px; }

/* ------------------------------------------------------------------ */
/*  HERO                                                               */
/* ------------------------------------------------------------------ */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 160px 0 80px;
    overflow: hidden;
    background:
        radial-gradient(1200px 600px at 85% -10%, rgba(59,130,246,.14), transparent 60%),
        radial-gradient(900px 500px at -10% 100%, rgba(249,115,22,.1), transparent 60%),
        linear-gradient(180deg, #fbfcff 0%, #f4f6fb 100%);
}
.hero::before {
    /* subtle grid texture */
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(15,30,77,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15,30,77,.05) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at center, #000 40%, transparent 75%);
    pointer-events: none;
}
.hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero__eyebrow { margin-bottom: 28px; }
.hero__title { margin-bottom: 28px; }
.hero__title .mark {
    display: inline-block;
    position: relative;
    color: var(--primary);
}
.hero__title .mark::after {
    content: "";
    position: absolute;
    left: -4px; right: -4px; bottom: .08em;
    height: .22em;
    background: var(--accent);
    opacity: .22;
    border-radius: 2px;
    z-index: -1;
}
.hero__text { font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 540px; margin-bottom: 40px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.hero__meta { display: flex; gap: 40px; flex-wrap: wrap; }
.hero__meta > div { border-left: 1px solid var(--line); padding-left: 18px; }
.hero__meta strong { display: block; font-family: var(--display); font-size: 32px; font-weight: 500; color: var(--ink); line-height: 1; }
.hero__meta span { font-size: 13px; color: var(--muted); letter-spacing: .02em; }

/* Hero visual: stacked mockups */
.hero__visual {
    position: relative;
    aspect-ratio: 5/6;
    min-height: 520px;
}
.hero__photo {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: #0f1e4d url("https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?auto=format&fit=crop&w=900&q=80") center/cover;
    box-shadow: var(--shadow-lg);
    filter: saturate(.85) contrast(1.05);
}
.hero__photo::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(160deg, rgba(30,58,138,.35) 0%, rgba(15,30,77,.75) 100%);
    mix-blend-mode: multiply;
}
.hero__card {
    position: absolute;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 260px;
}
.hero__card--voice {
    top: 32px; left: -28px;
    animation: float 6s var(--ease) infinite;
}
.hero__card--wa {
    bottom: 40px; right: -24px;
    animation: float 6s var(--ease) infinite;
    animation-delay: -3s;
}
.hero__card .dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16,185,129,.6);
    animation: pulse 2s infinite;
}
.hero__card .icon {
    width: 42px; height: 42px;
    border-radius: 12px;
    display: grid; place-items: center;
    color: #fff;
    flex-shrink: 0;
}
.hero__card--voice .icon { background: linear-gradient(135deg, #1e3a8a, #3b82f6); }
.hero__card--wa .icon { background: linear-gradient(135deg, #16a34a, #22c55e); }
.hero__card strong { display: block; font-size: 13px; color: var(--ink); }
.hero__card span { font-size: 12px; color: var(--muted); }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16,185,129,.6); }
    70% { box-shadow: 0 0 0 12px rgba(16,185,129,0); }
    100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

/* ------------------------------------------------------------------ */
/*  LOGO BAR                                                           */
/* ------------------------------------------------------------------ */
.logobar {
    padding: 36px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff;
}
.logobar__inner {
    display: flex; flex-wrap: wrap;
    align-items: center; justify-content: space-between;
    gap: 28px 40px;
}
.logobar__label {
    font-size: 12px; text-transform: uppercase; letter-spacing: .2em;
    color: var(--muted-2); font-weight: 600;
}
.logobar__items {
    display: flex; flex-wrap: wrap; gap: 36px;
    font-family: var(--display);
    font-size: 20px; font-style: italic; color: var(--muted);
}

/* ------------------------------------------------------------------ */
/*  SECTION HEADER                                                     */
/* ------------------------------------------------------------------ */
.sechead { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 72px; align-items: end; }
.sechead__title { max-width: 640px; }
.sechead__side { max-width: 480px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.sechead--center { grid-template-columns: 1fr; text-align: center; }
.sechead--center .sechead__side { margin: 0 auto; }

/* ------------------------------------------------------------------ */
/*  GESTORES VIRTUALES (star section)                                  */
/* ------------------------------------------------------------------ */
.gestores {
    background: var(--bg-cream);
    border-top: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}
.gestores::before {
    content: "";
    position: absolute; inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(15,30,77,.06) 1px, transparent 0);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse at center, transparent 0%, #000 70%);
    pointer-events: none;
}
.gestores__grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 80px;
    position: relative;
}
.cap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.cap-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.cap-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.cap-card__icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: grid; place-items: center;
    background: var(--accent-soft); color: var(--accent);
    margin-bottom: 16px;
}
.cap-card__icon svg { width: 22px; height: 22px; }
.cap-card h4 { font-family: var(--display); font-size: 20px; font-weight: 500; margin: 0 0 6px; color: var(--ink); }
.cap-card p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.55; }

/* Chat mock */
.chatmock {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
    position: relative;
}
.chatmock::before {
    content: "";
    position: absolute;
    inset: -60px -40px auto auto;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(59,130,246,.2), transparent 70%);
    z-index: -1;
}
.chatmock__head { display: flex; gap: 12px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.chatmock__avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    display: grid; place-items: center;
    color: #fff; font-weight: 600; font-size: 14px;
    flex-shrink: 0;
}
.chatmock__name { font-weight: 600; font-size: 14px; color: var(--ink); }
.chatmock__status { font-size: 12px; color: #10b981; display: flex; align-items: center; gap: 6px; }
.chatmock__status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #10b981; }
.chatmock__body { display: flex; flex-direction: column; gap: 10px; }
.bubble {
    max-width: 82%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.45;
    animation: slidein .5s var(--ease) backwards;
}
.bubble--bot { background: var(--bg-soft); color: var(--ink-2); align-self: flex-start; border-bottom-left-radius: 4px; }
.bubble--user { background: var(--primary); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.bubble:nth-child(1) { animation-delay: .1s; }
.bubble:nth-child(2) { animation-delay: .35s; }
.bubble:nth-child(3) { animation-delay: .6s; }
.bubble:nth-child(4) { animation-delay: .85s; }
.bubble:nth-child(5) { animation-delay: 1.1s; }
@keyframes slidein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------ */
/*  VOICEBOT                                                           */
/* ------------------------------------------------------------------ */
.voicebot {
    background: var(--bg-dark);
    color: #eef0f6;
    position: relative;
    overflow: hidden;
}
.voicebot::before {
    content: "";
    position: absolute; inset: 0;
    background:
        radial-gradient(800px 400px at 80% 20%, rgba(59,130,246,.22), transparent 60%),
        radial-gradient(600px 400px at 10% 90%, rgba(249,115,22,.18), transparent 60%);
}
.voicebot__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.voicebot h2 { color: #fff; }
.voicebot .eyebrow { color: var(--accent); }
.voicebot p { color: #b6bfd6; font-size: 17px; }
.voicebot ul { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; gap: 12px; }
.voicebot ul li { display: flex; gap: 12px; align-items: center; color: #dbe0f0; font-size: 15px; }
.voicebot ul li svg { flex-shrink: 0; color: var(--accent); }

/* Voice visualizer */
.voiceviz {
    position: relative;
    border-radius: var(--radius-xl);
    padding: 60px 40px;
    background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
    border: 1px solid rgba(255,255,255,.1);
    backdrop-filter: blur(10px);
    text-align: center;
}
.voiceviz__orb {
    width: 180px; height: 180px;
    border-radius: 50%;
    margin: 0 auto 30px;
    background: radial-gradient(circle at 35% 35%, #3b82f6, #1e3a8a 55%, #0f1e4d);
    position: relative;
    box-shadow: 0 0 60px rgba(59,130,246,.45), inset 0 0 40px rgba(255,255,255,.1);
    animation: breath 3s ease-in-out infinite;
}
.voiceviz__orb::before, .voiceviz__orb::after {
    content: "";
    position: absolute; inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(59,130,246,.4);
    animation: ripple 2.4s ease-out infinite;
}
.voiceviz__orb::after { animation-delay: 1.2s; }
@keyframes breath { 0%,100% { transform: scale(1); } 50% { transform: scale(1.04); } }
@keyframes ripple { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }

.voiceviz__bars {
    display: flex; justify-content: center; gap: 5px; height: 48px; align-items: center;
    margin-bottom: 22px;
}
.voiceviz__bars span {
    display: block; width: 4px;
    background: linear-gradient(180deg, #3b82f6, #1e3a8a);
    border-radius: 4px;
    animation: bar 1.2s ease-in-out infinite;
}
.voiceviz__bars span:nth-child(1) { height: 18px; animation-delay: 0s; }
.voiceviz__bars span:nth-child(2) { height: 32px; animation-delay: .1s; }
.voiceviz__bars span:nth-child(3) { height: 46px; animation-delay: .2s; }
.voiceviz__bars span:nth-child(4) { height: 28px; animation-delay: .3s; }
.voiceviz__bars span:nth-child(5) { height: 40px; animation-delay: .4s; }
.voiceviz__bars span:nth-child(6) { height: 24px; animation-delay: .5s; }
.voiceviz__bars span:nth-child(7) { height: 36px; animation-delay: .6s; }
.voiceviz__bars span:nth-child(8) { height: 20px; animation-delay: .7s; }
@keyframes bar {
    0%, 100% { transform: scaleY(.4); opacity: .6; }
    50% { transform: scaleY(1); opacity: 1; }
}
.voiceviz__label { font-size: 13px; color: #9aa4bd; letter-spacing: .08em; text-transform: uppercase; }
.voiceviz__name { font-family: var(--display); font-size: 28px; font-weight: 500; color: #fff; margin-top: 8px; }

/* ------------------------------------------------------------------ */
/*  WAMASIVO                                                           */
/* ------------------------------------------------------------------ */
.wamasivo {
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 60%);
    border-top: 1px solid var(--line);
}
.wamasivo__grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}
.wamasivo .eyebrow { color: #16a34a; }
.wamasivo .eyebrow::before { background: #16a34a; }
.wamasivo h2 .mark { color: #15803d; }
.wamasivo h2 .mark::after { background: #86efac; }
.wamasivo__stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin: 36px 0; }
.wamasivo__stats > div { padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); }
.wamasivo__stats strong { display: block; font-family: var(--display); font-size: 34px; font-weight: 500; color: #15803d; line-height: 1; }
.wamasivo__stats span { font-size: 12px; color: var(--muted); }

/* Phone mock */
.phone {
    width: 310px;
    aspect-ratio: 9/19;
    margin: 0 auto;
    border-radius: 40px;
    background: #0b1020;
    padding: 14px;
    box-shadow: var(--shadow-lg), 0 40px 80px -20px rgba(11,16,32,.3);
    position: relative;
}
.phone::before {
    content: "";
    position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
    width: 90px; height: 22px; background: #0b1020;
    border-radius: 0 0 14px 14px;
    z-index: 2;
}
.phone__screen {
    width: 100%; height: 100%;
    background: #e5ddd5;
    border-radius: 30px;
    overflow: hidden;
    display: flex; flex-direction: column;
}
.phone__head {
    background: #075e54;
    color: #fff;
    padding: 36px 18px 14px;
    display: flex; gap: 12px; align-items: center;
}
.phone__head-avatar { width: 36px; height: 36px; border-radius: 50%; background: #128c7e; display: grid; place-items: center; font-size: 14px; font-weight: 600; }
.phone__head-name { font-size: 14px; font-weight: 600; }
.phone__head-status { font-size: 11px; opacity: .8; }
.phone__body { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.wa-bubble {
    max-width: 75%;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.4;
    color: #222;
    position: relative;
    box-shadow: 0 1px 1px rgba(0,0,0,.1);
}
.wa-bubble--in { background: #fff; align-self: flex-start; border-top-left-radius: 4px; }
.wa-bubble--out { background: #dcf8c6; align-self: flex-end; border-top-right-radius: 4px; }
.wa-bubble time { display: block; font-size: 10px; color: #999; text-align: right; margin-top: 2px; }

/* ------------------------------------------------------------------ */
/*  INDUSTRIAS                                                         */
/* ------------------------------------------------------------------ */
.industries__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.ind {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.ind:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ind__img {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    transition: transform .7s var(--ease), filter .5s var(--ease);
    filter: saturate(.85) contrast(1.05);
}
.ind:hover .ind__img { transform: scale(1.08); }
.ind::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(11,16,32,0) 35%, rgba(11,16,32,.92) 100%);
}
.ind__content {
    position: absolute; inset: auto 0 0 0;
    padding: 22px 22px 24px;
    color: #fff;
    z-index: 1;
}
.ind__tag {
    display: inline-block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: var(--accent);
    margin-bottom: 8px;
    font-weight: 600;
}
.ind__title { font-family: var(--display); font-size: 22px; font-weight: 500; margin: 0 0 6px; line-height: 1.1; color: #fff; }
.ind__desc { font-size: 13px; opacity: .85; line-height: 1.5; max-height: 0; overflow: hidden; transition: max-height .4s var(--ease), margin .4s var(--ease); }
.ind:hover .ind__desc { max-height: 100px; margin-top: 8px; }

/* ------------------------------------------------------------------ */
/*  MODAL (industries detail)                                          */
/* ------------------------------------------------------------------ */
.modal {
    position: fixed; inset: 0;
    z-index: 200;
    display: none;
    align-items: center; justify-content: center;
    padding: 24px;
    background: rgba(7,9,26,.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity .3s var(--ease);
    overflow-y: auto;
}
.modal.is-open { display: flex; opacity: 1; }
.modal__dialog {
    background: #fff;
    border-radius: var(--radius-xl);
    max-width: 980px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    transition: transform .4s var(--ease);
    position: relative;
}
.modal.is-open .modal__dialog { transform: none; }
.modal__close {
    position: sticky;
    top: 16px;
    left: calc(100% - 60px);
    width: 44px; height: 44px;
    border-radius: 50%;
    background: #fff;
    box-shadow: var(--shadow-md);
    display: grid; place-items: center;
    margin: 16px 16px -44px;
    z-index: 2;
    transition: transform .2s var(--ease);
}
.modal__close:hover { transform: rotate(90deg); }
.modal__close svg { width: 20px; height: 20px; color: var(--ink); }
.modal__hero {
    position: relative;
    aspect-ratio: 21/8;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    overflow: hidden;
    background-color: #0b1020;
    background-size: cover;
    background-position: center;
}
.modal__hero::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(11,16,32,.1) 0%, rgba(11,16,32,.9) 100%);
}
.modal__hero-content {
    position: absolute;
    inset: auto 0 0 0;
    padding: 32px 44px;
    color: #fff;
    z-index: 1;
}
.modal__hero-tag {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .2em;
    color: var(--accent);
    margin-bottom: 10px;
    font-weight: 600;
}
.modal__hero h3 {
    color: #fff;
    font-size: clamp(28px, 3vw, 40px);
    margin: 0;
}
.modal__body {
    padding: 36px 44px 44px;
}
.modal__intro {
    font-size: 17px;
    line-height: 1.6;
    color: var(--muted);
    max-width: 640px;
    margin: 0 0 36px;
}
.modal__section-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 16px;
    display: flex; align-items: center; gap: 10px;
}
.modal__section-title::before {
    content: ""; width: 20px; height: 1px; background: var(--accent);
}
.modal__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    margin-bottom: 36px;
}
.modal__flows { display: grid; gap: 14px; }
.flow {
    display: flex;
    gap: 14px;
    padding: 16px 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: var(--bg-soft);
    transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.flow:hover { border-color: var(--primary-light); transform: translateX(4px); }
.flow__num {
    flex-shrink: 0;
    width: 28px; height: 28px;
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
    display: grid; place-items: center;
    font-size: 13px; font-weight: 700;
    font-family: var(--sans);
}
.flow__title { font-weight: 600; font-size: 15px; color: var(--ink); margin: 0 0 4px; }
.flow__desc { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }

/* Modal chat mock (reused style) */
.modal .chatmock { box-shadow: none; border: 1px solid var(--line); padding: 18px; }
.modal .chatmock::before { display: none; }
.modal .bubble { font-size: 13px; padding: 10px 14px; }

.modal__metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    padding: 24px;
    background: var(--bg-soft);
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    margin-bottom: 28px;
}
.modal__metric { text-align: center; }
.modal__metric strong {
    display: block;
    font-family: var(--display);
    font-size: 32px;
    font-weight: 500;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 6px;
}
.modal__metric span { font-size: 11px; color: var(--muted); letter-spacing: .04em; }

.modal__cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
    flex-wrap: wrap;
}
.modal__cta p { margin: 0; color: var(--muted); font-size: 15px; max-width: 380px; }

body.modal-open { overflow: hidden; }

.ind { cursor: pointer; }
.cap-card[data-service] { cursor: pointer; position: relative; }
.cap-card[data-service]::after {
    content: "→";
    position: absolute;
    top: 22px; right: 22px;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--bg-soft);
    color: var(--muted);
    display: grid; place-items: center;
    font-size: 14px;
    transition: all .3s var(--ease);
}
.cap-card[data-service]:hover::after {
    background: var(--accent);
    color: #fff;
    transform: translateX(4px);
}

/* Service modal list */
.modal__features { display: grid; gap: 14px; margin-bottom: 8px; }
.feat {
    display: flex; gap: 14px;
    padding: 14px 16px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}
.feat__icon {
    flex-shrink: 0;
    width: 36px; height: 36px;
    border-radius: 10px;
    background: var(--accent-soft);
    color: var(--accent);
    display: grid; place-items: center;
}
.feat__icon svg {
    width: 18px; height: 18px;
    stroke: #f97316 !important;
    color: #f97316;
}
.feat h5 { font-size: 15px; font-weight: 600; color: var(--ink); margin: 0 0 3px; }
.feat p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }

.modal__usecases { display: grid; gap: 10px; }
.uc {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 12px 14px;
    border-left: 3px solid var(--primary-light);
    background: #f8fafc;
    border-radius: 0 8px 8px 0;
}
.uc__tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--primary);
    font-weight: 700;
    min-width: 70px;
}
.uc__text { font-size: 13px; color: var(--ink-2); line-height: 1.5; }

/* Service modal hero (gradient, no photo, compact) */
.modal__hero--service {
    aspect-ratio: auto;
    height: 180px;
    background: linear-gradient(135deg, #0b1020 0%, #1e3a8a 100%);
    position: relative;
}
.modal__hero--service::after {
    background: linear-gradient(135deg, rgba(11,16,32,.2) 0%, rgba(11,16,32,.55) 100%);
}
.modal__hero--service .modal__hero-content {
    padding: 26px 44px;
}
.modal__hero--service .modal__hero-content h3 {
    font-size: clamp(26px, 3vw, 36px);
}
.modal__hero--service .mh-icon {
    position: absolute;
    top: 50%; right: 36px;
    transform: translateY(-50%);
    width: 120px; height: 120px;
    color: rgba(255,255,255,.16);
    z-index: 1;
    pointer-events: none;
}
.modal__hero--service .mh-icon svg { width: 100%; height: 100%; }
/* Decorative dot-grid */
.modal__hero--service::before {
    content: "";
    position: absolute; inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.08) 1px, transparent 0);
    background-size: 22px 22px;
    mask-image: linear-gradient(90deg, transparent 30%, #000 90%);
    -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 90%);
    z-index: 0;
}

@media (max-width: 720px) {
    .modal__hero--service { height: 140px; }
    .modal__hero--service .modal__hero-content { padding: 20px 24px; }
    .modal__hero--service .mh-icon { right: 18px; width: 80px; height: 80px; }
}

/* ---------- Voicebot try-it panel ---------- */
.try-voice {
    margin-top: 28px;
    padding: 28px;
    background: linear-gradient(135deg, #0b1020 0%, #1e3a8a 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}
.try-voice::before {
    content: "";
    position: absolute;
    inset: -20px auto auto -40px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(249,115,22,.35), transparent 70%);
    pointer-events: none;
}
.try-voice__head { position: relative; display: flex; gap: 16px; align-items: center; margin-bottom: 20px; }
.try-voice__pulse {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #3b82f6, #1e3a8a 60%);
    box-shadow: 0 0 30px rgba(59,130,246,.6);
    position: relative;
    flex-shrink: 0;
}
.try-voice__pulse::before, .try-voice__pulse::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    border: 1px solid rgba(249,115,22,.5);
    animation: tvripple 2.2s ease-out infinite;
}
.try-voice__pulse::after { animation-delay: 1.1s; }
@keyframes tvripple { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(2); opacity: 0; } }
.try-voice h4 { font-family: var(--display); font-size: 22px; font-weight: 500; margin: 0; color: #fff; }
.try-voice__head p { margin: 2px 0 0; font-size: 13px; color: #b6bfd6; }
.try-voice__form { position: relative; display: grid; gap: 12px; }
.try-voice__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.try-voice__field label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: #8c96ac; margin-bottom: 6px; font-weight: 600; }
.try-voice__field input {
    width: 100%;
    font: inherit;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.07);
    color: #fff;
    border-radius: 10px;
    font-size: 14px;
}
.try-voice__field input::placeholder { color: #8c96ac; }
.try-voice__field input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255,255,255,.12);
}
.try-voice__submit {
    background: var(--accent);
    color: #fff;
    border: 0;
    border-radius: 10px;
    padding: 14px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    display: flex; justify-content: center; align-items: center; gap: 10px;
    transition: transform .2s, box-shadow .2s;
    margin-top: 4px;
}
.try-voice__submit:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 10px 24px -8px rgba(249,115,22,.55); }
.try-voice__submit:disabled { opacity: .6; cursor: not-allowed; }
.try-voice__submit svg { width: 18px; height: 18px; }
.try-voice__msg {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.5;
    display: none;
}
.try-voice__msg.is-visible { display: block; }
.try-voice__msg--ok { background: rgba(34,197,94,.15); color: #86efac; border: 1px solid rgba(34,197,94,.3); }
.try-voice__msg--err { background: rgba(239,68,68,.15); color: #fca5a5; border: 1px solid rgba(239,68,68,.3); }
.try-voice__note { font-size: 12px; color: #8c96ac; text-align: center; margin-top: 4px; }
.try-voice__note b { color: #cbd5e1; }

@media (max-width: 600px) { .try-voice__row { grid-template-columns: 1fr; } }

/* WA variant — verde WhatsApp */
.try-voice--wa { background: linear-gradient(135deg, #064e3b 0%, #16a34a 100%); }
.try-voice--wa::before { background: radial-gradient(circle, rgba(34,197,94,.4), transparent 70%); }
.try-voice__pulse--wa { background: radial-gradient(circle at 35% 35%, #22c55e, #065f46 60%); box-shadow: 0 0 30px rgba(34,197,94,.55); }
.try-voice__pulse--wa::before, .try-voice__pulse--wa::after { border-color: rgba(249,115,22,.45); }
.try-voice__submit--wa { background: #f97316; }
.try-voice__submit--wa:hover:not(:disabled) { box-shadow: 0 10px 24px -8px rgba(249,115,22,.55); }

@media (max-width: 820px) {
    .modal { padding: 12px; }
    .modal__dialog { max-height: 95vh; border-radius: var(--radius-lg); }
    .modal__hero { aspect-ratio: 16/9; }
    .modal__hero-content { padding: 24px 24px; }
    .modal__body { padding: 28px 24px; }
    .modal__grid { grid-template-columns: 1fr; gap: 28px; }
    .modal__metrics { grid-template-columns: repeat(2, 1fr); }
    .modal__close { margin: 12px 12px -44px; left: calc(100% - 56px); }
}

/* ------------------------------------------------------------------ */
/*  MANIFIESTO — No somos solo IA                                      */
/* ------------------------------------------------------------------ */
.manifiesto {
    padding: 60px 0;
    background: var(--bg);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.manifiesto__card {
    position: relative;
    background: linear-gradient(135deg, #0b1020 0%, #1e3a8a 60%, #0f1e4d 100%);
    color: #fff;
    border-radius: var(--radius-xl);
    padding: 72px 80px;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.manifiesto__card::before {
    content: "";
    position: absolute; inset: 0;
    background:
        radial-gradient(800px 400px at 100% 0%, rgba(249,115,22,.25), transparent 60%),
        radial-gradient(600px 400px at 0% 100%, rgba(59,130,246,.3), transparent 60%);
    pointer-events: none;
}
.manifiesto__card::after {
    content: "";
    position: absolute; inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.06) 1px, transparent 0);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse at center, #000, transparent 75%);
    pointer-events: none;
}
.manifiesto .eyebrow { color: var(--accent); position: relative; z-index: 1; }
.manifiesto h2 {
    color: #fff;
    font-size: clamp(34px, 4.8vw, 64px);
    line-height: 1.02;
    margin: 18px 0 26px;
    position: relative;
    z-index: 1;
}
.manifiesto h2 .italic { color: var(--primary-light); }
.manifiesto h2 .mark { color: var(--accent); position: relative; display: inline-block; }
.manifiesto h2 .mark::after {
    content: "";
    position: absolute;
    left: -4px; right: -4px; bottom: .08em;
    height: .2em;
    background: rgba(249,115,22,.25);
    border-radius: 2px;
    z-index: -1;
}
.manifiesto p {
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.65;
    max-width: 780px;
    position: relative;
    z-index: 1;
}
.manifiesto p strong { color: #fff; font-weight: 600; }
.manifiesto p em { color: var(--accent); font-style: italic; }

@media (max-width: 720px) {
    .manifiesto { padding: 40px 0; }
    .manifiesto__card { padding: 48px 28px; border-radius: var(--radius-lg); }
    .manifiesto p { font-size: 16px; }
}

/* ------------------------------------------------------------------ */
/*  HOW IT WORKS                                                       */
/* ------------------------------------------------------------------ */
.how { background: var(--bg-soft); }
.how__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 60px; position: relative; }
.how__grid::before {
    content: "";
    position: absolute;
    top: 48px; left: 10%; right: 10%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px);
    z-index: 0;
}
.step { position: relative; background: #fff; border-radius: var(--radius-md); padding: 36px 28px; border: 1px solid var(--line); z-index: 1; }
.step__num {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    display: grid; place-items: center;
    font-family: var(--display);
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 24px;
}
.step h3 { margin: 0 0 10px; font-size: 22px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ------------------------------------------------------------------ */
/*  CTA                                                                */
/* ------------------------------------------------------------------ */
.cta {
    background: var(--ink);
    color: #fff;
    border-radius: var(--radius-xl);
    padding: 80px 60px;
    margin: 0 28px 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    margin-inline: auto;
}
.cta::before {
    content: "";
    position: absolute; inset: 0;
    background:
        radial-gradient(600px 300px at 20% 0%, rgba(249,115,22,.3), transparent 60%),
        radial-gradient(600px 300px at 80% 100%, rgba(59,130,246,.3), transparent 60%);
}
.cta > * { position: relative; }
.cta h2 { color: #fff; margin-bottom: 20px; }
.cta p { color: #c5cbdd; font-size: 18px; max-width: 540px; margin: 0 auto 36px; }
.cta__actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ------------------------------------------------------------------ */
/*  CONTACT                                                            */
/* ------------------------------------------------------------------ */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact__info h2 { margin: 20px 0 18px; }
.contact__info p { color: var(--muted); font-size: 16px; margin-bottom: 32px; max-width: 440px; }
.contact__details { display: grid; gap: 18px; }
.contact__detail { display: flex; gap: 14px; align-items: center; color: var(--ink-2); font-size: 15px; }
.contact__detail svg { color: var(--accent); width: 20px; height: 20px; }
.contact__form {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 40px;
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 8px; font-weight: 600; }
.field input, .field textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 14px 16px;
    font: inherit;
    background: #fff;
    color: var(--ink);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(59,130,246,.12);
}
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ------------------------------------------------------------------ */
/*  FOOTER                                                             */
/* ------------------------------------------------------------------ */
.footer { background: var(--ink); color: #c5cbdd; padding: 80px 0 40px; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 50px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__brand img { height: 36px; margin-bottom: 20px; }
.footer__brand p { color: #8c96ac; font-size: 14px; max-width: 300px; }
.footer__col h5 { font-family: var(--sans); font-size: 12px; text-transform: uppercase; letter-spacing: .16em; color: #fff; margin: 0 0 18px; font-weight: 600; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer__col a { color: #8c96ac; font-size: 14px; transition: color .2s; }
.footer__col a:hover { color: var(--accent); }
.footer__bottom { padding-top: 30px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 13px; color: #6d7591; }

/* ------------------------------------------------------------------ */
/*  FLOATING ACTIONS                                                   */
/* ------------------------------------------------------------------ */
.fab {
    position: fixed;
    bottom: 28px; right: 28px;
    z-index: 90;
    display: flex; flex-direction: column; gap: 12px; align-items: flex-end;
}
.fab__btn {
    width: 58px; height: 58px;
    border-radius: 50%;
    display: grid; place-items: center;
    box-shadow: var(--shadow-lg);
    color: #fff;
    transition: transform .3s var(--ease);
}
.fab__btn:hover { transform: scale(1.08); }
.fab__btn svg { width: 26px; height: 26px; }
.fab__btn--chat { background: linear-gradient(135deg, #1e3a8a, #3b82f6); }
.fab__btn--wa { background: #25d366; width: 52px; height: 52px; }
.fab__btn--chat::after {
    content: "";
    position: absolute;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid #fff;
    top: -2px; right: -2px;
}

/* ------------------------------------------------------------------ */
/*  CHATBOT WIDGET                                                     */
/* ------------------------------------------------------------------ */
.ml-chat { position: fixed; bottom: 100px; right: 28px; z-index: 95; font-family: var(--sans); }
.ml-chat__fab {
    position: relative;
    width: 64px; height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: #fff;
    box-shadow: 0 14px 40px -10px rgba(30,58,138,.55), var(--shadow-lg);
    display: grid; place-items: center;
    cursor: pointer;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
    border: 3px solid #fff;
}
.ml-chat__fab:hover { transform: scale(1.06) rotate(-4deg); }
.ml-chat__fab svg { width: 28px; height: 28px; }
.ml-chat__fab-badge {
    position: absolute; top: -4px; right: -4px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    width: 22px; height: 22px;
    border-radius: 50%;
    display: grid; place-items: center;
    border: 2px solid #fff;
    animation: mlpulse 2s ease-out infinite;
}
.ml-chat__fab-badge.hidden { display: none; }
@keyframes mlpulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(249,115,22,.6); }
    50% { box-shadow: 0 0 0 8px rgba(249,115,22,0); }
}

.ml-chat__panel {
    position: absolute;
    bottom: 80px; right: 0;
    width: 380px;
    max-width: calc(100vw - 40px);
    height: 580px;
    max-height: calc(100vh - 140px);
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 30px 80px -20px rgba(11,16,32,.35), 0 10px 40px rgba(11,16,32,.15);
    display: none;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px) scale(.98);
    opacity: 0;
    transition: transform .4s var(--ease), opacity .4s var(--ease);
    border: 1px solid var(--line);
}
.ml-chat__panel.is-open { display: flex; transform: none; opacity: 1; }

.ml-chat__header {
    background: linear-gradient(135deg, #0f1e4d 0%, #1e3a8a 60%, #3b82f6 100%);
    color: #fff;
    padding: 20px;
    display: flex; gap: 14px; align-items: center;
    position: relative;
    overflow: hidden;
}
.ml-chat__header::after {
    content: "";
    position: absolute;
    inset: auto -20px -20px auto;
    width: 120px; height: 120px;
    background: radial-gradient(circle, rgba(249,115,22,.3), transparent 70%);
}
.ml-chat__avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(10px);
    display: grid; place-items: center;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,.2);
    position: relative;
}
.ml-chat__avatar svg { width: 22px; height: 22px; }
.ml-chat__avatar::after {
    content: "";
    position: absolute;
    bottom: -2px; right: -2px;
    width: 12px; height: 12px;
    background: #10b981;
    border-radius: 50%;
    border: 2px solid #1e3a8a;
}
.ml-chat__head-text { flex: 1; position: relative; }
.ml-chat__head-text strong { display: block; font-size: 15px; font-weight: 600; }
.ml-chat__head-text span { font-size: 12px; opacity: .8; display: flex; align-items: center; gap: 6px; }
.ml-chat__head-text span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #10b981; }
.ml-chat__head-actions { display: flex; gap: 4px; position: relative; }
.ml-chat__iconbtn {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    color: #fff;
    display: grid; place-items: center;
    transition: background .2s;
}
.ml-chat__iconbtn:hover { background: rgba(255,255,255,.25); }

.ml-chat__body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 18px 8px;
    display: flex; flex-direction: column; gap: 8px;
    background: linear-gradient(180deg, #fafbfd 0%, #ffffff 100%);
    scroll-behavior: smooth;
}
.ml-chat__body::-webkit-scrollbar { width: 6px; }
.ml-chat__body::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 3px; }

.ml-chat__bubble {
    max-width: 85%;
    padding: 11px 15px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.45;
    animation: mlslide .35s var(--ease) backwards;
    word-wrap: break-word;
    white-space: pre-line;
}
@keyframes mlslide { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ml-chat__bubble--bot { background: #f1f3f9; color: var(--ink); align-self: flex-start; border-bottom-left-radius: 4px; }
.ml-chat__bubble--user { background: linear-gradient(135deg, #1e3a8a, #3b82f6); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }

.ml-chat__typing {
    background: #f1f3f9;
    align-self: flex-start;
    padding: 12px 16px;
    border-radius: 18px;
    border-bottom-left-radius: 4px;
    display: flex; gap: 4px;
    animation: mlslide .3s var(--ease);
}
.ml-chat__typing span {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #94a3b8;
    animation: mltyping 1.2s ease-in-out infinite;
}
.ml-chat__typing span:nth-child(2) { animation-delay: .15s; }
.ml-chat__typing span:nth-child(3) { animation-delay: .3s; }
@keyframes mltyping {
    0%, 60%, 100% { transform: translateY(0); opacity: .4; }
    30% { transform: translateY(-5px); opacity: 1; }
}

.ml-chat__spinner {
    display: inline-block;
    width: 14px; height: 14px;
    border: 2px solid rgba(30,58,138,.25);
    border-top-color: #1e3a8a;
    border-radius: 50%;
    animation: mlspin 1s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}
@keyframes mlspin { to { transform: rotate(360deg); } }

.ml-chat__input {
    border-top: 1px solid var(--line);
    padding: 14px 16px 10px;
    background: #fff;
    max-height: 45%;
    overflow-y: auto;
}
.ml-chat__input::-webkit-scrollbar { width: 6px; }
.ml-chat__input::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 3px; }

.ml-chat__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ml-chat__chip {
    font: inherit;
    font-size: 13px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1.5px solid var(--line);
    color: var(--ink-2);
    cursor: pointer;
    transition: all .2s var(--ease);
    text-align: left;
    line-height: 1.2;
}
.ml-chat__chip:hover {
    border-color: var(--primary-light);
    background: #eff6ff;
    transform: translateY(-1px);
}
.ml-chat__chip--action {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: #fff;
    border-color: transparent;
    text-decoration: none;
    font-weight: 600;
}
.ml-chat__chip--action:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(30,58,138,.55); }

.ml-chat__form {
    display: flex; gap: 8px;
    align-items: flex-end;
}
.ml-chat__form input, .ml-chat__form textarea {
    flex: 1;
    font: inherit;
    padding: 12px 14px;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    font-size: 14px;
    resize: none;
    font-family: var(--sans);
    transition: border-color .2s, box-shadow .2s;
}
.ml-chat__form input:focus, .ml-chat__form textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(59,130,246,.12);
}
.ml-chat__send {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: #fff;
    display: grid; place-items: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform .2s;
}
.ml-chat__send:hover { transform: translateY(-1px); }
.ml-chat__skip {
    font: inherit;
    font-size: 12px;
    background: transparent;
    border: 0;
    color: var(--muted);
    cursor: pointer;
    padding: 0 8px;
    align-self: center;
}
.ml-chat__skip:hover { color: var(--ink); text-decoration: underline; }

.ml-chat__hint {
    font-size: 12px;
    color: #dc2626;
    padding: 6px 10px;
    margin-bottom: 8px;
    background: #fef2f2;
    border-radius: 8px;
    border: 1px solid #fecaca;
}

.ml-chat__foot {
    padding: 8px 16px 12px;
    text-align: center;
    font-size: 11px;
    color: var(--muted-2);
    border-top: 1px solid var(--line-2);
    background: #fafbfd;
}
.ml-chat__foot b { color: var(--primary); }

/* FAB stacking: push WhatsApp lower to avoid overlap */
.fab { bottom: 28px; }
.fab__btn--wa { width: 52px; height: 52px; }

@media (max-width: 600px) {
    .ml-chat { right: 16px; bottom: 88px; }
    .ml-chat__panel { width: calc(100vw - 32px); height: 70vh; right: -4px; }
    .ml-chat__fab { width: 56px; height: 56px; }
    .ml-chat__fab svg { width: 24px; height: 24px; }
}

/* ------------------------------------------------------------------ */
/*  REVEAL ANIMATIONS                                                  */
/* ------------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ */
/*  RESPONSIVE                                                         */
/* ------------------------------------------------------------------ */
@media (max-width: 1024px) {
    .section { padding: 90px 0; }
    .hero__grid, .gestores__grid, .voicebot__grid, .wamasivo__grid, .contact__grid { grid-template-columns: 1fr; gap: 60px; }
    .sechead { grid-template-columns: 1fr; gap: 20px; }
    .industries__grid { grid-template-columns: repeat(2, 1fr); }
    .footer__top { grid-template-columns: 1fr 1fr; }
    .hero__visual { min-height: 440px; max-width: 480px; margin: 0 auto; }
}
@media (max-width: 720px) {
    .nav__links, .nav__cta .btn { display: none; }
    .nav__burger { display: block; }
    .section { padding: 70px 0; }
    .hero { padding-top: 130px; }
    .hero__meta { gap: 22px; }
    .cap-grid, .wamasivo__stats, .how__grid, .field-row { grid-template-columns: 1fr; }
    .industries__grid { grid-template-columns: 1fr; }
    .cta { padding: 60px 28px; margin-bottom: 80px; }
    .contact__form { padding: 28px; }
    .footer__top { grid-template-columns: 1fr; gap: 32px; }
    .how__grid::before { display: none; }
}

/* ============================================
   VOICE WIDGET — Camila
   ============================================ */
#ml-voice-widget{position:fixed;bottom:28px;left:28px;z-index:96;font-family:'Inter Tight',sans-serif}
.ml-voice-btn{width:52px;height:52px;border-radius:50%;border:none;background:linear-gradient(135deg,#f97316,#ea580c);color:#fff;cursor:pointer;box-shadow:0 4px 16px rgba(249,115,22,.4);transition:transform .2s,box-shadow .2s;display:flex;align-items:center;justify-content:center}
.ml-voice-btn:hover{transform:scale(1.08);box-shadow:0 6px 24px rgba(249,115,22,.5)}
.ml-voice-btn--active{background:linear-gradient(135deg,#dc2626,#b91c1c);box-shadow:0 4px 16px rgba(220,38,38,.4);animation:ml-voice-pulse 1.5s infinite}
@keyframes ml-voice-pulse{0%,100%{box-shadow:0 4px 16px rgba(220,38,38,.4)}50%{box-shadow:0 4px 28px rgba(220,38,38,.6)}}
.ml-voice-panel{position:absolute;bottom:64px;left:0;width:340px;max-height:420px;background:#fff;border-radius:16px;box-shadow:0 12px 40px rgba(0,0,0,.15);display:flex;flex-direction:column;overflow:hidden}
.ml-voice-panel__header{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid #e5e7eb;background:#f8fafc}
.ml-voice-panel__avatar{width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,#f97316,#ea580c);display:flex;align-items:center;justify-content:center;color:#fff;flex-shrink:0}
.ml-voice-panel__status{font-size:12px;color:#6b7280;display:block}
.ml-voice-panel__close{margin-left:auto;background:none;border:none;font-size:20px;color:#9ca3af;cursor:pointer;padding:0 4px}
.ml-voice-panel__close:hover{color:#374151}
.ml-voice-transcript{flex:1;overflow-y:auto;padding:12px 16px;display:flex;flex-direction:column;gap:8px;min-height:120px;max-height:280px}
.ml-voice-msg{padding:8px 12px;border-radius:12px;font-size:13px;line-height:1.4;max-width:85%;animation:ml-voice-fadein .2s ease}
.ml-voice-msg--bot{background:#f1f3f9;color:#1e293b;align-self:flex-start;border-bottom-left-radius:4px}
.ml-voice-msg--user{background:linear-gradient(135deg,#1e3a8a,#3b82f6);color:#fff;align-self:flex-end;border-bottom-right-radius:4px}
@keyframes ml-voice-fadein{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
.ml-voice-panel__footer{display:flex;align-items:center;gap:10px;padding:12px 16px;border-top:1px solid #e5e7eb;background:#f8fafc;font-size:12px;color:#6b7280}
.ml-voice-wave{display:flex;align-items:center;gap:3px;height:20px}
.ml-voice-wave span{display:block;width:3px;background:#f97316;border-radius:2px;animation:ml-voice-bar .8s ease-in-out infinite}
.ml-voice-wave span:nth-child(1){height:8px;animation-delay:0s}
.ml-voice-wave span:nth-child(2){height:14px;animation-delay:.1s}
.ml-voice-wave span:nth-child(3){height:20px;animation-delay:.2s}
.ml-voice-wave span:nth-child(4){height:14px;animation-delay:.3s}
.ml-voice-wave span:nth-child(5){height:8px;animation-delay:.4s}
@keyframes ml-voice-bar{0%,100%{transform:scaleY(.4)}50%{transform:scaleY(1)}}
@media(max-width:600px){#ml-voice-widget{bottom:28px;left:12px}.ml-voice-panel{width:calc(100vw - 40px);left:-4px}}
