/* =========================================================
   AXD Interactive – estilos de los extras (js/axd-extras.js)
   ========================================================= */
:root {
    --axd-c1: #7cf7ff;
    --axd-c2: #3d8bff;
    --axd-wa: #25d366;
    --axd-panel: #0d0d14;
    --axd-line: rgba(255, 255, 255, 0.12);
}

.axdNoScroll { overflow: hidden !important; }
.axdIcon { display: inline-flex; width: 1.25em; height: 1.25em; flex: none; }
.axdIcon svg { width: 100%; height: 100%; }

/* ---------- Botón flotante de WhatsApp ---------- */
.axdFab {
    position: fixed;
    left: 22px;
    bottom: 22px;
    z-index: 1900;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--axd-wa);
    color: #fff;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, translate 0.2s ease-out;
    text-decoration: none;
}
.axdFab .axdIcon { width: 30px; height: 30px; }
.axdFab::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--axd-wa);
    animation: axdPing 2.4s ease-out infinite;
}
.axdFab:hover { color: #fff; transform: scale(1.08); box-shadow: 0 14px 40px rgba(37, 211, 102, 0.5); }
.axdFab:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.axdFabTip {
    position: absolute;
    left: 70px;
    bottom: 50%;
    transform: translate(-6px, 50%);
    white-space: nowrap;
    background: #fff;
    color: #111;
    font-size: 0.9rem;
    padding: 8px 14px;
    border-radius: 14px 14px 14px 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.axdFab:hover .axdFabTip,
.axdFab.showTip .axdFabTip { opacity: 1; transform: translate(0, 50%); }
@keyframes axdPing {
    0% { transform: scale(1); opacity: 0.7; }
    80%, 100% { transform: scale(1.6); opacity: 0; }
}

/* ---------- Modal ---------- */
.axdModal {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.axdModal.isOpen { opacity: 1; }
.axdModalPanel {
    position: relative;
    width: 100%;
    max-width: 460px;
    max-height: calc(100vh - 32px);
    overflow: auto;
    padding: 32px 28px 26px;
    border-radius: 20px;
    background: var(--axd-panel);
    border: 1px solid var(--axd-line);
    color: #fff;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(124, 247, 255, 0.05);
    transform: translateY(16px) scale(0.98);
    transition: transform 0.3s ease;
}
.axdModal.isOpen .axdModalPanel { transform: none; }
.axdModalClose {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 5;
}
.axdModalClose:hover { background: rgba(255, 255, 255, 0.1); }
.axdModalTitle { font-family: "Nimbus-Bold", sans-serif; font-size: 1.6rem; margin: 0 0 6px; }
.axdModalText { color: rgba(255, 255, 255, 0.7); margin: 0 0 20px; }
.axdAgendaList { display: grid; gap: 10px; }
.axdAgendaOption {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--axd-line);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.axdAgendaOption:hover { color: #fff; border-color: var(--axd-c1); background: rgba(124, 247, 255, 0.06); transform: translateX(3px); }
.axdAgendaOption .axdIcon { width: 26px; height: 26px; color: var(--axd-c1); }
.axdAgendaOption.isPrimary { border-color: rgba(124, 247, 255, 0.5); background: linear-gradient(90deg, rgba(124, 247, 255, 0.1), rgba(61, 139, 255, 0.1)); }
.axdAgendaTxt { display: flex; flex-direction: column; min-width: 0; }
.axdAgendaTxt strong { font-family: "Nimbus-Bold", sans-serif; font-weight: normal; }
.axdAgendaTxt small { color: rgba(255, 255, 255, 0.6); overflow-wrap: anywhere; }

/* ---------- Toast ---------- */
.axdToast {
    position: fixed;
    top: 24px;
    left: 50%;
    z-index: 2147483600;
    padding: 12px 20px;
    border-radius: 999px;
    background: #fff;
    color: #111;
    font-family: "Nimbus-Bold", sans-serif;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    transform: translate(-50%, -20px);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.axdToast.isVisible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Chips y campos ---------- */
.axdChips { display: flex; flex-wrap: wrap; gap: 8px; }
.axdChip {
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid var(--axd-line);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    font-size: 0.95rem;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.axdChip:hover { border-color: rgba(124, 247, 255, 0.6); }
.axdChip:active { transform: scale(0.97); }
.axdChip.isOn {
    border-color: transparent;
    background: linear-gradient(90deg, var(--axd-c1), var(--axd-c2));
    color: #07070c;
}
.axdChip:focus-visible, .axdInput:focus-visible, .axdLinkBtn:focus-visible { outline: 2px solid var(--axd-c1); outline-offset: 2px; }
.axdInput {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--axd-line);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.axdInput::placeholder { color: rgba(255, 255, 255, 0.4); }
.axdInput:focus { outline: none; border-color: var(--axd-c1); background: rgba(124, 247, 255, 0.04); }
textarea.axdInput { resize: vertical; min-height: 110px; }
.axdField { display: block; }
.axdFieldLabel { display: block; font-size: 0.85rem; color: rgba(255, 255, 255, 0.65); margin-bottom: 6px; }
.axdFieldLabel:empty { display: none; }
.axdLinkBtn {
    background: none;
    border: 0;
    padding: 6px 4px;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    font-size: 0.95rem;
}
.axdLinkBtn:hover { color: var(--axd-c1); }

/* ---------- Cotizador ---------- */
.axdQuoteSection {
    position: relative;
    padding: 90px 16px 70px;
    clear: both;
    color: #fff;
}
.axdQuoteSection::before {
    content: '';
    position: absolute;
    inset: 10% 10% auto;
    height: 60%;
    background: radial-gradient(closest-side, rgba(124, 247, 255, 0.10), transparent), radial-gradient(closest-side at 70% 60%, rgba(61, 139, 255, 0.12), transparent);
    filter: blur(20px);
    pointer-events: none;
}
.axdQuoteHead { position: relative; text-align: center; max-width: 720px; margin: 0 auto 30px; }
.axdQuoteHead .aiTitle { margin-bottom: 10px; }
.axdQuoteHead p { color: rgba(255, 255, 255, 0.75); font-size: 1.1rem; }
#axdQuote { position: relative; max-width: 780px; margin: 0 auto; }
.axdQuoteCard {
    padding: 28px;
    border-radius: 22px;
    border: 1px solid var(--axd-line);
    background: rgba(13, 13, 20, 0.85);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
}
.axdQuoteProgress { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.axdQuoteStep { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); white-space: nowrap; }
.axdQuoteBar { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.axdQuoteBar span { display: block; height: 100%; background: linear-gradient(90deg, var(--axd-c1), var(--axd-c2)); transition: width 0.4s ease; }
.axdQuoteTitle { font-family: "Nimbus-Bold", sans-serif; font-size: 1.6rem; margin: 0 0 6px; outline: none; }
.axdQuoteSub { color: rgba(255, 255, 255, 0.65); margin: 0 0 18px; }
.axdQuoteLabel { margin: 20px 0 10px; color: rgba(255, 255, 255, 0.8); }
.axdQuoteBody.axdAnimIn { animation: axdFadeUp 0.35s ease; }
.axdQuoteNav .cta-button, .axdVoiceForm .cta-button {
    background: linear-gradient(90deg, var(--axd-c1), var(--axd-c2));
    color: #07070c;
}
.axdQuoteNav .cta-button:hover, .axdVoiceForm .cta-button:hover { background: linear-gradient(90deg, #a5fbff, #a9ccff); color: #07070c; }
.axdQuoteBody > .axdField { margin-top: 14px; }
.axdFieldGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.axdQuoteError { min-height: 0; margin: 0; color: #fca5a5; font-size: 0.95rem; opacity: 0; transition: opacity 0.2s ease; }
.axdQuoteError.isVisible { margin-top: 14px; opacity: 1; }
.axdQuoteNav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.axdQuoteNavRight { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: flex-end; margin-left: auto; }
.axdQuoteNav .cta-button { margin-top: 0; border: 0; }
.axdQuoteNav .cta-button:disabled { opacity: 0.6; cursor: wait; }
.axdQuoteDone { text-align: center; padding: 10px 0; animation: axdFadeUp 0.4s ease; }
.axdQuoteCheck {
    width: 64px; height: 64px; margin: 0 auto 16px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 30px; color: #07070c;
    background: linear-gradient(135deg, var(--axd-c1), var(--axd-c2));
    box-shadow: 0 0 40px rgba(124, 247, 255, 0.4);
}
.axdQuoteActions { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 12px; }
.axdBtnWa { display: inline-flex !important; align-items: center; gap: 8px; background: var(--axd-wa) !important; color: #fff !important; }
@keyframes axdFadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Asistente por voz ---------- */
.axdVoiceSection {
    position: relative;
    clear: both;
    padding: 90px 0 80px;
    color: #fff;
    background: radial-gradient(60% 50% at 30% 40%, rgba(124, 247, 255, 0.07), transparent), radial-gradient(50% 50% at 75% 60%, rgba(61, 139, 255, 0.09), transparent), #000;
    overflow: hidden;
}
.axdVoiceHead { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.axdVoiceTitle { margin: 14px 0 10px; }
.axdVoiceSub { margin: 0 auto; }
.axdVoiceGrid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; }
.axdVoiceStage { display: flex; flex-direction: column; align-items: center; text-align: center; }
.axdOrb {
    --amp: 1;
    position: relative;
    width: 220px;
    height: 220px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #07070c;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.axdOrb:focus-visible { outline: 3px solid var(--axd-c1); outline-offset: 8px; }
.axdOrbCore {
    position: absolute;
    inset: 30%;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--axd-c1), var(--axd-c2), #ffffff, var(--axd-c1));
    box-shadow: 0 0 50px rgba(124, 247, 255, 0.55), inset 0 0 20px rgba(255, 255, 255, 0.4);
    transform: scale(var(--amp));
    transition: transform 0.12s ease-out;
    animation: axdSpin 8s linear infinite;
}
.axdOrbGlow {
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 247, 255, 0.35), transparent 70%);
    filter: blur(10px);
    transform: scale(var(--amp));
    transition: transform 0.12s ease-out;
}
.axdOrbRing {
    position: absolute;
    inset: 22%;
    border-radius: 50%;
    border: 1px solid rgba(124, 247, 255, 0.35);
    opacity: 0;
}
.axdOrb .axdIcon { position: relative; width: 34px; height: 34px; z-index: 2; }
.axdOrb:hover .axdOrbCore { box-shadow: 0 0 70px rgba(124, 247, 255, 0.75), inset 0 0 20px rgba(255, 255, 255, 0.4); }
.axdOrb:not(.isListening):not(.isThinking):not(.isSpeaking) .axdOrbRing.r1 { animation: axdRing 3s ease-out infinite; }
.axdOrb.isListening .axdOrbRing { animation: axdRing 1.4s ease-out infinite; border-color: rgba(124, 247, 255, 0.7); }
.axdOrb.isListening .axdOrbRing.r2 { animation-delay: 0.45s; }
.axdOrb.isListening .axdOrbRing.r3 { animation-delay: 0.9s; }
.axdOrb.isListening .axdOrbCore { animation: axdSpin 2s linear infinite, axdBreath 1s ease-in-out infinite; }
.axdOrb.isThinking .axdOrbCore { animation: axdSpin 0.9s linear infinite; }
.axdOrb.isSpeaking .axdOrbRing { animation: axdRing 1s ease-out infinite; border-color: rgba(61, 139, 255, 0.7); }
.axdOrb.isSpeaking .axdOrbRing.r2 { animation-delay: 0.33s; }
.axdOrb.isSpeaking .axdOrbRing.r3 { animation-delay: 0.66s; }
@keyframes axdSpin { to { rotate: 360deg; } }
@keyframes axdBreath { 50% { scale: 1.08; } }
@keyframes axdRing { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(2.1); opacity: 0; } }
.axdVoiceStatus { margin: 22px 0 4px; font-family: "Nimbus-Bold", sans-serif; font-size: 1.1rem; max-width: 340px; }
.axdVoiceLive { min-height: 1.5em; margin: 0; color: var(--axd-c1); font-style: italic; max-width: 360px; }
.axdVoiceMute { margin-top: 10px; background: none; border: 0; color: rgba(255, 255, 255, 0.55); font-size: 0.85rem; cursor: pointer; }
.axdVoiceMute:hover { color: #fff; }
.axdVoiceChat {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
    border-radius: 22px;
    border: 1px solid var(--axd-line);
    background: rgba(13, 13, 20, 0.75);
    backdrop-filter: blur(8px);
}
.axdVoiceLog { display: flex; flex-direction: column; gap: 10px; height: 300px; overflow-y: auto; padding-right: 4px; scroll-behavior: smooth; }
.axdMsg { max-width: 88%; animation: axdFadeUp 0.3s ease; }
.axdMsg.isMe { align-self: flex-end; text-align: right; }
.axdMsgWho { display: block; font-size: 0.75rem; color: rgba(255, 255, 255, 0.45); margin-bottom: 3px; }
.axdMsgText { margin: 0; padding: 10px 14px; border-radius: 16px; line-height: 1.45; }
.axdMsg.isBot .axdMsgText { background: rgba(255, 255, 255, 0.06); border-top-left-radius: 4px; }
.axdMsg.isMe .axdMsgText { background: linear-gradient(90deg, var(--axd-c1), var(--axd-c2)); color: #07070c; border-top-right-radius: 4px; }
.axdMsgAction { display: inline-block; margin-top: 6px; color: var(--axd-c1); font-size: 0.9rem; text-decoration: none; }
.axdMsgAction:hover { color: #fff; text-decoration: underline; }
.axdVoiceChips .axdChip { font-size: 0.85rem; padding: 7px 12px; }
.axdVoiceForm { display: flex; gap: 10px; }
.axdVoiceForm .cta-button { margin-top: 0; border: 0; flex: none; }
.axdTryLive {
    display: inline-block;
    margin: 20px 0 0 18px;
    vertical-align: middle;
    color: var(--axd-c1);
    text-decoration: none;
    font-family: "Nimbus-Bold", sans-serif;
}
.axdTryLive:hover { color: #fff; }

/* ---------- Hero de partículas ---------- */
.axdHeroCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    animation: axdFadeIn 1.2s ease 0.2s both;
}
@keyframes axdFadeIn { from { opacity: 0; } to { opacity: 1; } }
.carousel-nav { z-index: 10; }
.carousel-logo.axdEggTap { animation: axdTap 0.25s ease; }
@keyframes axdTap { 50% { transform: scale(0.94); } }

/* ---------- Cursor ---------- */
.axdCursorRing, .axdCursorDot {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2147483500;
    pointer-events: none;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.axdCursorRing.isVisible, .axdCursorDot.isVisible { opacity: 1; }
.axdCursorRing {
    width: 36px;
    height: 36px;
    margin: -18px 0 0 -18px;
    border: 1.5px solid rgba(124, 247, 255, 0.7);
    mix-blend-mode: difference;
}
.axdCursorRing::after {
    content: '';
    position: absolute;
    inset: -1.5px;
    border-radius: 50%;
    transition: transform 0.25s ease, background 0.25s ease;
}
.axdCursorRing { transition: opacity 0.3s ease, width 0.25s ease, height 0.25s ease, margin 0.25s ease, border-color 0.25s ease, background 0.25s ease; }
.axdCursorRing.isHot { width: 60px; height: 60px; margin: -30px 0 0 -30px; background: rgba(124, 247, 255, 0.12); border-color: rgba(124, 247, 255, 0.9); }
.axdCursorRing.isText { width: 4px; height: 28px; margin: -14px 0 0 -2px; border-radius: 2px; background: var(--axd-c1); }
.axdCursorRing.isDown { background: rgba(124, 247, 255, 0.3); }
.axdCursorDot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--axd-c1); }
.cta-button, .axdMagnetic { transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.3s ease, translate 0.2s ease-out; }

/* ---------- Juego ---------- */
.axdGame {
    position: fixed;
    inset: 0;
    z-index: 2147483400;
    background: #05050a;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
    touch-action: none;
    user-select: none;
    cursor: crosshair;
}
.axdGame.isOpen { opacity: 1; }
body:has(.axdGame) .axdCursorRing, body:has(.axdGame) .axdCursorDot, body:has(.axdGame) .axdCursorGlow { display: none; }
.axdGameCanvas { display: block; }
.axdGame .axdModalClose { top: 14px; right: 14px; background: rgba(255, 255, 255, 0.08); }
.axdGameHud {
    position: absolute;
    top: 18px;
    left: 18px;
    right: 70px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    font-family: monospace;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    pointer-events: none;
}
.axdGameHud b { color: var(--axd-c1); font-weight: normal; }
.axdGameScreen {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(5, 5, 10, 0.55);
}
.axdGameScreen.isVisible { display: flex; }
.axdGameBox { text-align: center; max-width: 440px; animation: axdFadeUp 0.35s ease; }
.axdGameKicker { font-size: 3rem; margin: 0; }
.axdGameTitle {
    font-family: "Nimbus-Bold", sans-serif;
    font-size: clamp(2rem, 7vw, 3rem);
    margin: 6px 0 10px;
    background: linear-gradient(90deg, var(--axd-c1), var(--axd-c2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.axdGameSmall { color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; }
.axdGameScore { font-family: monospace; font-size: 3rem; color: var(--axd-c1); margin: 0; }
.axdGameBtns { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 14px; }
.axdGameBtns .cta-button { border: 0; margin-top: 0; }
.axdGameHint {
    display: inline-block;
    margin-top: 6px;
    padding: 0;
    background: none;
    border: 0;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.85rem;
    cursor: pointer;
}
.axdGameHint:hover { color: var(--axd-c1); }

/* ---------- Footer: íconos de contacto ---------- */
.axdFooterLinks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.axdFooterLinks a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--axd-line);
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
}
.axdFooterLinks a:hover { border-color: var(--axd-c1); color: var(--axd-c1); }

/* ---------- Carrusel de clientes (antes crecía sin fin) ---------- */
.movingDiv { width: 100% !important; overflow: hidden; }
.clientsBar.isMarquee {
    display: flex;
    min-width: 0;
    width: max-content;
    float: none;
    margin-left: 0 !important;
    animation: axdMarquee 45s linear infinite;
}
.clientsBar.isMarquee .clientItem { float: none; flex: 0 0 250px; }
@keyframes axdMarquee { to { transform: translateX(-50%); } }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
    .axdVoiceGrid { grid-template-columns: 1fr; gap: 26px; }
    .axdOrb { width: 180px; height: 180px; }
    .axdVoiceLog { height: 260px; }
}
@media (max-width: 600px) {
    .axdFab { left: 16px; bottom: 16px; width: 54px; height: 54px; }
    .axdFabTip { display: none; }
    .axdQuoteSection { padding: 70px 16px 50px; }
    .axdQuoteCard { padding: 20px 16px; }
    .axdFieldGrid { grid-template-columns: 1fr; }
    .axdQuoteNav .cta-button { width: 100%; text-align: center; }
    .axdQuoteNavRight { width: 100%; flex-direction: column-reverse; align-items: stretch; text-align: center; }
    .axdVoiceSection { padding: 70px 0 60px; }
    .axdVoiceForm .cta-button { padding: 12px 16px; }
    .axdModalPanel { padding: 28px 18px 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .axdFab::before, .axdOrbCore, .axdOrbRing, .clientsBar.isMarquee { animation: none !important; }
    .clientsBar.isMarquee { width: 100%; flex-wrap: wrap; justify-content: center; }
    .clientsBar.isMarquee .clientItem:nth-child(n+13) { display: none; }
}

/* Mosaico de proyectos: que nunca se salga de su sección (aunque falle el JS o cargue lento) */
#section_projects #container { position: relative; min-height: 300px; }

/* ---------- Mosaico de proyectos: etiquetas y filtros ---------- */
.axdProjectFilters { justify-content: center; margin: -10px auto 30px; }
#container .cell { overflow: hidden; border-radius: 10px; }
#container .cell img { display: block; }
.axdCellLabel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 40px 14px 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.55) 55%, transparent);
    color: #fff;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}
.axdCellTag {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 999px;
    color: #07070c;
    background: linear-gradient(90deg, var(--axd-c1), var(--axd-c2));
}
.axdCellName { font-family: "Nimbus-Bold", sans-serif; font-weight: normal; font-size: 1.05rem; line-height: 1.2; }
@media (hover: hover) {
    .axdCellLabel { transform: translateY(8px); opacity: 0.92; transition: transform 0.3s ease, opacity 0.3s ease; }
    .cell:hover .axdCellLabel { transform: none; opacity: 1; }
}

.axdBtnMail { display: inline-flex !important; align-items: center; gap: 8px; }

/* ---------- Casos destacados ---------- */
.axdCasesSection { position: relative; clear: both; padding: 90px 0 40px; color: #fff; }
.axdCasesHead { text-align: center; max-width: 760px; margin: 0 auto 50px; }
.axdCasesHead .aiTitle { margin: 14px 0 10px; }
.axdCase {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 44px;
    align-items: center;
    margin-bottom: 80px;
}
.axdCase.isFlip .axdCaseMedia { order: 2; }
.axdCaseMedia {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--axd-line);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 60px -20px var(--case-accent, var(--axd-c1));
}
.axdCaseMedia img { display: block; width: 100%; height: auto; transition: transform 0.8s ease; }
.axdCase:hover .axdCaseMedia img { transform: scale(1.03); }
.axdCaseKicker { color: var(--case-accent, var(--axd-c1)); font-size: 0.9rem; letter-spacing: 0.04em; text-transform: uppercase; margin: 0 0 10px; }
.axdCaseTitle { font-family: "Nimbus-Bold", sans-serif; font-weight: normal; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15; margin: 0 0 14px; }
.axdCaseText { color: rgba(255, 255, 255, 0.78); line-height: 1.55; margin: 0 0 16px; }
.axdCasePoints { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.axdCasePoints li { position: relative; padding-left: 22px; color: rgba(255, 255, 255, 0.85); line-height: 1.45; }
.axdCasePoints li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: var(--case-accent, var(--axd-c1)); }
.axdCaseTech { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.axdCaseTech span { font-size: 0.78rem; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--axd-line); color: rgba(255, 255, 255, 0.7); }
.axdCaseBody .cta-button { margin-top: 0; border: 0; }
@media (max-width: 900px) {
    .axdCase { grid-template-columns: 1fr; gap: 22px; margin-bottom: 60px; }
    .axdCase.isFlip .axdCaseMedia { order: 0; }
    .axdCasesSection { padding: 70px 0 20px; }
}

/* ---------- Marcas que han confiado en nosotros ---------- */
.row.clients.axdClients { display: block; margin: 0; padding: 80px 0 70px; position: relative; overflow: hidden; color: #fff; }
.axdClients::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(50% 60% at 20% 40%, rgba(244, 0, 9, 0.10), transparent), radial-gradient(45% 55% at 80% 60%, rgba(124, 247, 255, 0.08), transparent);
}
.axdClientsHead { position: relative; text-align: center; max-width: 760px; margin: 0 auto 30px; padding: 0 16px; }
.axdClientsKicker { display: inline-block; font-size: 0.8rem !important; width: auto !important; margin: 0 auto !important; }
.axdClientsTitle { margin: 14px 0 10px; }
.axdClientsLead { margin: 0 auto; }
.axdSpotlight {
    box-sizing: border-box;
    position: relative; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; justify-content: center;
    max-width: 880px; margin: 0 auto 44px; padding: 18px 28px; border-radius: 20px;
    background: linear-gradient(120deg, rgba(244, 0, 9, 0.22), rgba(20, 20, 30, 0.9) 45%, rgba(29, 42, 92, 0.5));
    border: 1px solid rgba(244, 0, 9, 0.45); color: #fff; text-decoration: none;
    box-shadow: 0 20px 60px rgba(244, 0, 9, 0.15); transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.axdSpotlight:hover { color: #fff; transform: translateY(-3px); border-color: rgba(244, 0, 9, 0.9); box-shadow: 0 26px 70px rgba(244, 0, 9, 0.3); }
.axdSpotlight::after {
    content: ''; position: absolute; inset: -1px; border-radius: 20px; pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent); background-size: 40% 100%; background-repeat: no-repeat;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude; -webkit-mask-composite: xor; padding: 1px; animation: axdSweep 4s linear infinite;
}
@keyframes axdSweep { from { background-position: -40% 0; } to { background-position: 140% 0; } }
.axdSpotLogos { display: flex; align-items: center; gap: 14px; }
.axdSpotLogos img { height: 56px; width: auto; }
.axdSpotLogos img[alt="Coca-Cola"] { height: 34px; }
.axdSpotX { font-size: 1.6rem; color: rgba(255, 255, 255, 0.6); }
.axdSpotTxt { display: flex; flex-direction: column; text-align: left; }
.axdSpotTxt small { color: #ff6b6f; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; }
.axdSpotTxt strong { font-family: "Nimbus-Bold", sans-serif; font-weight: normal; font-size: 1.25rem; }
.axdSpotCta { font-family: "Nimbus-Bold", sans-serif; padding: 10px 18px; border-radius: 999px; background: #F40009; white-space: nowrap; }
.axdLogoRow {
    position: relative; overflow: hidden; padding: 8px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.axdLogoTrack { display: flex; gap: 18px; width: max-content; animation: axdMarquee 38s linear infinite; }
.axdLogoRow.isReverse .axdLogoTrack { animation-direction: reverse; animation-duration: 44s; }
.axdLogoRow:hover .axdLogoTrack { animation-play-state: paused; }
.axdLogoCard {
    flex: none; width: 220px; height: 104px; display: flex; align-items: center; justify-content: center;
    border-radius: 18px; border: 1px solid rgba(255, 255, 255, 0.08); background: rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(6px); transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.axdLogoCard img { max-width: 170px; max-height: 62px; width: auto; height: auto; opacity: 0.6; transition: opacity 0.3s ease, transform 0.3s ease; }
.axdLogoCard:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.07); border-color: rgba(124, 247, 255, 0.45); box-shadow: 0 14px 36px rgba(124, 247, 255, 0.12); }
.axdLogoCard:hover img { opacity: 1; transform: scale(1.05); }
.axdLogoCard.isFeatured { border-color: rgba(244, 0, 9, 0.5); background: linear-gradient(135deg, rgba(244, 0, 9, 0.18), rgba(255, 255, 255, 0.03)); }
.axdLogoCard.isFeatured img { opacity: 0.95; }
#container .axdFeaturedCell { outline: 2px solid rgba(244, 0, 9, 0); transition: outline-color 0.3s ease; }
#container .axdFeaturedCell:hover { outline-color: rgba(124, 247, 255, 0.7); }
@media (max-width: 700px) {
    .row.clients.axdClients { padding: 60px 0 50px; }
    .axdSpotlight { margin: 0 16px 32px; padding: 16px; gap: 14px; max-width: none; }
    .axdSpotLogos img { height: 42px; }
    .axdSpotLogos img[alt="Coca-Cola"] { height: 26px; }
    .axdSpotTxt { text-align: center; }
    .axdLogoCard { width: 160px; height: 84px; }
    .axdLogoCard img { max-width: 124px; max-height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
    .axdLogoTrack, .axdSpotlight::after { animation: none; }
    .axdLogoTrack { flex-wrap: wrap; justify-content: center; width: auto; }
    .axdLogoTrack .axdLogoCard[aria-hidden="true"] { display: none; }
}

/* Ajustes: anular el ancho/padding que Bootstrap pone a los hijos de .row */
.row.clients.axdClients > * { width: auto; max-width: none; }
.row.clients.axdClients > .axdClientsHead { padding: 0 16px; }
.row.clients.axdClients > .axdLogoRow { padding: 8px 0; }
.row.clients.axdClients > .axdSpotlight { max-width: 960px; padding: 18px 28px; flex-wrap: nowrap; }
.axdSpotLogos img[alt="Coca-Cola"] { height: 26px; }
@media (max-width: 860px) {
    .row.clients.axdClients > .axdSpotlight { flex-wrap: wrap; margin: 0 16px 32px; padding: 16px; }
    .axdSpotLogos img[alt="Coca-Cola"] { height: 20px; }
}
.row.clients.axdClients { display: flex !important; flex-direction: column; align-items: stretch; }
.row.clients.axdClients > .axdClientsHead { width: 100%; max-width: 760px; margin-left: auto; margin-right: auto; box-sizing: border-box; }
.row.clients.axdClients > .axdSpotlight { width: calc(100% - 32px); margin-left: auto; margin-right: auto; }
.row.clients.axdClients > .axdLogoRow { width: 100%; }
/* Logo oficial de Coca-Cola (script) */
.axdSpotLogos img[alt="Coca-Cola"] { height: 46px; }
@media (max-width: 860px) { .axdSpotLogos img[alt="Coca-Cola"] { height: 34px; } }
