@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================================================
   01. TOKENS / VARIABLES
   ============================================================================ */
:root {
    --brand-navy: #0b3558;
    --brand-navy-2: #102f4d;
    --brand-purple: #392481;
    --brand-blue: #006bff;
    --brand-blue-hover: #005be6;
    --brand-cyan: #2ff3f2;
    --brand-orange: #ff7f00;
    --brand-fire: #ff4e50;
    --brand-gold: #f9d423;
    --wa: #25d366;
    --wa-dark: #128c7e;
    --wa-hover: #1ebc57;

    --page-bg: #ffffff;
    --section-soft: #ebf3ff;
    --surface: #ffffff;
    --surface-muted: #f7f9fc;
    --surface-hover: #f4f8ff;
    --border-soft: #dbe7f4;
    --border-light: #e8ecef;

    --text-main: #1d344b;
    --text-heading: #0b3558;
    --text-muted: #476788;
    --text-soft: #6b7c8f;
    --text-invert: #ffffff;

    --shadow-xs: 0 4px 14px rgba(11, 53, 88, 0.06);
    --shadow-sm: 0 10px 30px rgba(11, 53, 88, 0.08);
    --shadow-md: 0 20px 60px -10px rgba(11, 53, 88, 0.14);
    --shadow-lg: 0 30px 80px rgba(11, 53, 88, 0.18);
    --cal-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.08), 0 10px 30px -5px rgba(0, 0, 0, 0.04);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-pill: 999px;

    --container: 1280px;
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    /* Alias heredados para no romper HTML/CSS previo */
    --morado: var(--brand-navy);
    --verde-wa: var(--brand-cyan);
    --verde-pastel: #d0f0c0;
    --naranja: var(--section-soft);
    --naranja-suave: #ff8a5c;
    --blanco: #ffffff;
    --negro: #0b3558;
    --gris-medio: #f1f1f1;
    --gris-claro: #f5f5f5;
    --texto-oscuro: #333333;
    --texto-claro: #666666;
    --cal-blue: var(--brand-blue);
    --cal-blue-hover: var(--brand-blue-hover);
    --cal-bg-hover: var(--surface-hover);
    --cal-text-main: var(--text-main);
    --cal-text-muted: var(--text-muted);
    --cal-border: var(--border-light);
    --azul-calendly: var(--brand-navy);
    --fondo-suave: var(--section-soft);
    --texto-gris: var(--text-muted);
    --blanco-puro: #ffffff;
    --borde-suave: var(--border-soft);
}

/* ============================================================================
   02. RESET BASE / CRITICAL CSS
   ============================================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    overflow-y: overlay;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

@supports not (overflow-y: overlay) {
    html {
        overflow-y: auto;
    }

    body {
        padding-right: 8px;
    }
}

body {
    position: relative;
    z-index: 1;
    margin: 0;
    overflow-x: hidden;
    background: var(--page-bg);
    color: var(--text-main);
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.main-header__layout {
    z-index: 99;
}

img,
svg,
video,
canvas {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

:focus-visible {
    outline: 3px solid rgba(47, 243, 242, 0.55);
    outline-offset: 3px;
}

::selection {
    background: rgba(47, 243, 242, 0.25);
    color: var(--brand-navy);
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.08);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(11, 53, 88, 0.35);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(11, 53, 88, 0.55);
}

.container,
.footer-wrapper {
    width: min(100% - 40px, var(--container));
    margin-inline: auto;
}

section {
    padding: 90px 0;
}

/* ============================================================================
   03. TIPOGRAFÍA
   ============================================================================ */
h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-top: 0;
}

h1,
.section-title {
    color: var(--text-heading);
    font-size: clamp(2.5rem, 6vw, 4rem) !important;
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1.08;
    margin-bottom: 24px;
    text-shadow: none;
}

h2,
.section-title {
    color: var(--text-heading);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 25px;
    text-align: center;
}

h3 {
    color: var(--text-heading);
    font-size: clamp(1.45rem, 3vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
}

.section-subtitle,
.hero-subtitle,
.cta-description {
    max-width: 900px;
    margin: 0 auto 50px;
    color: var(--text-muted);
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 500;
    line-height: 1.65;
    text-align: center;
}

.hero-erp-title {
    color: var(--brand-navy);
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.18;
    margin-bottom: 15px;
}

.erp-custom-note {
    max-width: 880px;
    margin: 2px auto 0;
    color: #555;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.75;
}

.erp-custom-note strong {
    color: var(--brand-navy);
    font-weight: 800;
}

.fire-effect {
    display: inline-block;
    color: #ff5722;
    font-weight: 900;
}

/* ============================================================================
   04. BOTONES GLOBALES / CTA
   ============================================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 12px 28px;
    border: 2px solid transparent;
    border-radius: var(--radius-pill);
    background: transparent;
    color: inherit;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-verde,
.btn-outline-verde:hover {
    background: var(--brand-cyan);
    color: var(--brand-navy);
    border-color: var(--brand-cyan);
}

.btn-verde:hover,
.btn-outline-verde {
    background: transparent;
    color: var(--brand-cyan);
    border-color: var(--brand-cyan);
}

.btn-naranja {
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-purple));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 12px 28px rgba(57, 36, 129, 0.2);
}

.btn-naranja:hover {
    background: linear-gradient(135deg, var(--brand-purple), var(--brand-blue));
    color: #fff;
}

.btn-outline-blanco {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.9);
}

.btn-outline-blanco:hover {
    background: #fff;
    color: var(--brand-navy);
}

.cta-buttons,
.cta-buttons-horizontal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.cta-buttons-horizontal .btn {
    min-width: 250px;
}

/* WhatsApp CTA principal */
.whatsapp-container-centered,
.whatsapp-direct-contact {
    display: flex;
    justify-content: center;
    width: 100%;
}

.whatsapp-container-centered {
    margin-bottom: 50px;
}

.whatsapp-mega-btn {
    position: relative;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px;
    min-width: 220px;
    max-width: 500px;
    padding: 14px 28px !important;
    overflow: hidden;
    border: 0;
    border-radius: var(--radius-pill) !important;
    background: linear-gradient(135deg, var(--wa), var(--wa-dark)) !important;
    color: #fff !important;
    box-shadow: 0 12px 28px rgba(18, 140, 126, 0.28);
    text-decoration: none !important;
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}

.whatsapp-mega-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.18) 45%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.65s ease;
}

.whatsapp-mega-btn:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, var(--wa-dark), var(--wa)) !important;
    box-shadow: 0 18px 38px rgba(18, 140, 126, 0.34);
}

.whatsapp-mega-btn:hover::before {
    transform: translateX(120%);
}

.whatsapp-mega-btn i {
    position: relative;
    z-index: 1;
    color: #fff !important;
    font-size: clamp(1.2rem, 2.2vw, 2.4rem);
    transition: transform var(--transition-base);
}

.whatsapp-mega-btn:hover i {
    transform: scale(1.08);
}

.btn-title,
.whatsapp-mega-btn .btn-title {
    position: relative;
    z-index: 1;
    display: block;
    color: #fff;
    font-size: clamp(0.85rem, 1.6vw, 1.15rem);
    font-weight: 900;
    line-height: 1.15;
}

.btn-subtitle,
.whatsapp-mega-btn .btn-subtitle {
    position: relative;
    z-index: 1;
    display: block;
    color: #fff;
    font-size: clamp(0.72rem, 1.3vw, 0.9rem);
    font-weight: 500;
    line-height: 1.2;
    opacity: 0.9;
}

.whatsapp-direct-contact.compact {
    width: min(56%, 240px);
    margin: 20px auto 0;
}

.whatsapp-direct-contact.compact .whatsapp-mega-btn {
    width: 100%;
    min-width: 0;
    max-width: 150px;
    padding: 8px 10px !important;
    gap: 6px;
}

.whatsapp-direct-contact.compact .whatsapp-mega-btn i {
    font-size: 16px;
}

.whatsapp-direct-contact.compact .btn-title {
    font-size: 13px;
}

.whatsapp-direct-contact.compact .btn-subtitle {
    font-size: 11px;
}

.whatsapp-slim-btn,
.btn-slim-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff !important;
    text-decoration: none !important;
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}

.whatsapp-slim-btn {
    width: 100%;
    padding: 9px 15px;
    border-radius: 7px;
    background: var(--wa);
}

.whatsapp-slim-btn:hover {
    background: var(--wa-hover);
    transform: translateY(-2px);
}

.whatsapp-slim-btn i {
    font-size: 1.1rem;
}

.btn-txt-container {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.btn-main {
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.3px;
    line-height: 1;
}

.btn-sub {
    margin-top: 2px;
    font-size: 0.6rem;
    font-weight: 500;
    line-height: 1;
    opacity: 0.85;
}

.btn-slim-wa {
    padding: 12px 30px;
    border-radius: 12px;
    background: #000;
    box-shadow: var(--shadow-sm);
}

.btn-slim-wa:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.btn-slim-wa span {
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
    font-weight: 800;
}

.btn-slim-wa small {
    font-size: 0.7rem;
    font-weight: 500;
    opacity: 0.75;
}

/* ============================================================================
   05. HEADER / NAVBAR / MEGA MENU
   ============================================================================ */
#primary-menu .menu-item>a,
#primary-menu .menu-item>a span,
.main-header__nav .navbar-nav .menu-item>a,
.main-header__nav .navbar-nav .menu-item>a span,
.main-header__layout .main-header__default .navbar-nav>li.menu-item:first-child>a {
    transform: none !important;
    transition: color var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast) !important;
}

#primary-menu .menu-item>a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 15px;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.2px;
    text-decoration: none;
}

#primary-menu .menu-item>a:hover,
#primary-menu .menu-item>a:hover span {
    color: var(--brand-cyan) !important;
    background: transparent !important;
    transform: none !important;
}

.menu-item-has-mega-menu {
    position: static !important;
}

.dropdown-icon {
    margin-left: 2px;
    font-size: 0.7rem;
    opacity: 0.8;
    transition: transform var(--transition-fast);
}

.menu-item-has-mega-menu:hover .dropdown-icon {
    transform: rotate(180deg);
}

.mega-menu.calendly-style {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 1000;
    padding: 40px 0;
    border-top: 1px solid var(--cal-border);
    border-radius: 0 0 16px 16px;
    background: #ffffff;
    box-shadow: var(--cal-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity var(--transition-fast), visibility var(--transition-fast), transform var(--transition-fast);
}

.menu-item-has-mega-menu:hover .mega-menu.calendly-style,
.menu-item-has-mega-menu:focus-within .mega-menu.calendly-style {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-container {
    display: flex;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.mega-menu-column {
    flex: 1;
}

.mega-menu-column.highlight {
    flex: 0.7;
    padding-left: 40px;
    border-left: 1px solid var(--cal-border);
}

.mega-menu-section {
    margin-bottom: 40px;
}

.mega-menu-section:last-child {
    margin-bottom: 0;
}

.mega-menu-section h4 {
    margin-bottom: 20px;
    padding-left: 12px;
    color: #8b99a6;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.mega-menu-section a {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 12px;
    margin-bottom: 4px;
    border-radius: 10px;
    text-decoration: none;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.mega-menu-section a:hover {
    background-color: var(--cal-bg-hover);
    transform: translateX(2px);
}

.mega-menu-section a i {
    width: 24px;
    margin-top: 2px;
    color: var(--cal-blue);
    font-size: 1.25rem;
    text-align: center;
}

.mega-menu-section a div {
    flex: 1;
}

.mega-menu-section a strong {
    display: block;
    margin-bottom: 4px;
    color: var(--cal-text-main);
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.2;
}

.mega-menu-section a span {
    display: block;
    color: var(--cal-text-muted);
    font-size: 0.85rem;
    line-height: 1.45;
}

.badge-new,
.badge-pro,
.badge-core {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: var(--radius-pill);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.7px;
    line-height: 1;
    text-transform: uppercase;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.badge-new {
    margin-left: 8px;
    padding: 4px 9px;
    background: #eef2ff;
    color: var(--cal-blue);
}

.badge-pro {
    padding: 6px 15px;
    border: 1px solid rgba(47, 243, 242, 0.65);
    background: var(--brand-navy);
    color: #fff;
}

.badge-core {
    padding: 4px 9px;
    border-radius: 5px;
    background: #10ed61;
    color: #fff;
    font-size: 10px;
}

.badge-new::after,
.badge-pro::after,
.badge-core::after {
    content: '';
    position: absolute;
    top: 0;
    left: -110%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transition: left 0.55s ease;
}

.badge-new:hover,
.badge-pro:hover,
.badge-core:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 22px rgba(11, 53, 88, 0.16);
}

.badge-new:hover::after,
.badge-pro:hover::after,
.badge-core:hover::after {
    left: 110%;
}

.mega-menu-featured {
    padding: 32px 24px;
    border: 1px solid var(--cal-border);
    border-radius: 14px;
    background: #f8fafc;
    text-align: left;
}

.mega-menu-featured i {
    margin-bottom: 20px;
    color: var(--cal-text-main);
    font-size: 2rem;
}

.mega-menu-featured h4 {
    margin-bottom: 12px;
    padding-left: 0;
    color: var(--cal-text-main);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: normal;
    text-transform: none;
}

.mega-menu-featured p {
    margin-bottom: 24px;
    color: var(--cal-text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.featured-link {
    display: inline-flex;
    align-items: center;
    color: var(--cal-blue);
    font-size: 0.95rem;
    font-weight: 800;
}

.featured-link:hover {
    color: var(--cal-blue-hover);
    text-decoration: underline;
}

.mega-menu.calendly-style.small {
    left: auto;
    right: 0;
    width: 450px;
    padding: 24px 0;
    border-radius: 12px;
}

.mega-menu.calendly-style.small .mega-menu-container {
    padding: 0 24px;
}

.partner-link,
.demo-button {
    padding: 8px 16px !important;
    margin-left: 8px;
    border-radius: 24px !important;
    font-weight: 800 !important;
    transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast) !important;
}

.partner-link {
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    background: transparent !important;
    color: #fff !important;
}

.partner-link:hover {
    border-color: #fff !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.demo-button {
    border: none !important;
    background: var(--cal-blue) !important;
    color: #fff !important;
}

.demo-button:hover {
    background: var(--cal-blue-hover) !important;
    transform: translateY(-1px) !important;
}

/* ============================================================================
   06. WIDGETS FLOTANTES
   ============================================================================ */
.floating-social-container {
    position: fixed;
    top: 50%;
    left: 0;
    z-index: 9997;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform: translateY(-50%);
}

.floating-social-tab {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    padding: 0;
    overflow: hidden;
    border: none;
    border-radius: 0 12px 12px 0;
    background: #fff;
    box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    transform: translateX(-38px);
    transition: transform var(--transition-smooth), width var(--transition-smooth), box-shadow var(--transition-smooth);
    will-change: transform;
    backface-visibility: hidden;
}

.floating-social-tab:hover {
    width: 75px;
    transform: translateX(-5px) !important;
    box-shadow: 5px 5px 24px rgba(0, 0, 0, 0.2);
}

.floating-social-tab img {
    width: 28px;
    height: 28px;
    opacity: 0.95;
    object-fit: contain;
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.floating-social-tab:hover img {
    opacity: 1;
    transform: scale(1.15);
}

.floating-social-tab:nth-child(1) {
    background: linear-gradient(135deg, #1877f2 0%, #0d5bb5 100%);
}

.floating-social-tab:nth-child(2) {
    background: linear-gradient(135deg, #e1306c 0%, #833ab4 50%, #5851db 100%);
}

.floating-social-tab:nth-child(3) {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
}

.floating-social-tab:nth-child(4) {
    background: linear-gradient(135deg, #0a66c2 0%, #004182 100%);
}

.floating-social-tab:nth-child(5) {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
}

.action-tabs-container {
    position: fixed;
    top: 50%;
    right: 0;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transform: translateY(-50%);
}

.action-tab {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 190px;
    height: 65px;
    padding: 0 22px 0 18px;
    overflow: hidden;
    border: none;
    border-radius: 35px 0 0 35px;
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    color: #fff;
    box-shadow: -6px 6px 25px rgba(26, 35, 126, 0.3);
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
    transform: translateX(120px);
    transition: transform var(--transition-smooth), width var(--transition-smooth), box-shadow var(--transition-smooth);
    will-change: transform;
    backface-visibility: hidden;
}

.action-tab:hover {
    width: 210px;
    transform: translateX(0) !important;
    box-shadow: -8px 8px 35px rgba(26, 35, 126, 0.4);
}

.action-tab i {
    position: relative;
    z-index: 2;
    min-width: 26px;
    margin-right: 14px;
    font-size: 20px;
    text-align: center;
}

.action-tab .tab-text {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.action-tab.whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    box-shadow: -6px 6px 25px rgba(37, 211, 102, 0.3);
}

.action-tab.phone {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
    box-shadow: -6px 6px 25px rgba(33, 150, 243, 0.3);
}

.action-tab.demo {
    background: linear-gradient(135deg, #9c27b0 0%, #7b1fa2 100%);
    box-shadow: -6px 6px 25px rgba(156, 39, 176, 0.3);
}

.action-tab.login {
    background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
    box-shadow: -6px 6px 25px rgba(76, 175, 80, 0.3);
}

.action-tab.partner {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    box-shadow: -6px 6px 25px rgba(255, 152, 0, 0.3);
}

.video-help-button {
    position: fixed;
    top: 50%;
    right: 18px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transform: translateY(-50%);
}

.btn-video-tutorial {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    color: #fff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    text-decoration: none;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-video-tutorial i {
    font-size: 22px;
}

.btn-video-tutorial:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.btn-video-tutorial::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 50%;
    right: 62px;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    font-size: 12px;
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    transform: translateY(-50%);
    transition: opacity var(--transition-fast);
}

.btn-video-tutorial:hover::after {
    opacity: 1;
}

.btn-video-tutorial.btn-video {
    background: linear-gradient(135deg, #dc3545 0%, #ff5b5b 100%);
}

.btn-video-tutorial.btn-booking {
    background: linear-gradient(135deg, #0056b3 0%, #007bff 100%);
}

.btn-video-tutorial.btn-tracking {
    background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
}

.btn-video-tutorial.btn-login {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.btn-video-tutorial.btn-sofy {
    background: linear-gradient(135deg, var(--brand-purple) 0%, var(--brand-navy) 100%);
}

/* ============================================================================
   07. WHATSAPP POPUP
   ============================================================================ */
.wa_support_standalone.wcs_fixed_right {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 10001;
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.wcs_button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    padding: 0;
    overflow: hidden;
    border: none;
    border-radius: 34px;
    background: linear-gradient(135deg, var(--wa) 0%, var(--wa-dark) 100%);
    color: #fff;
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.35);
    cursor: pointer;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
    animation: whatsappPulse 3s infinite 10s;
}

.wcs_button:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 18px 45px rgba(37, 211, 102, 0.45);
}

.wcs_button img {
    width: 34px;
    height: 34px;
}

.wcs_popup {
    position: fixed;
    right: 24px;
    bottom: 100px;
    z-index: 10002;
    display: none;
    width: min(420px, calc(100vw - 40px));
    max-height: calc(100vh - 140px);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    background: #fff;
    color: #1a1a1a;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
}

.wcs_popup.open {
    display: flex;
    flex-direction: column;
    animation: slideUpPopup 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.wcs_popup_close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    cursor: pointer;
    font-size: 22px;
    opacity: 0.9;
    transition: background var(--transition-base), transform var(--transition-base);
}

.wcs_popup_close:hover {
    background: rgba(0, 0, 0, 0.3);
    transform: rotate(90deg);
}

.wcs_popup_header {
    position: relative;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    background: linear-gradient(135deg, var(--wa) 0%, var(--wa-dark) 100%);
    color: #fff;
}

.wcs_popup_header img {
    width: 38px;
    height: 38px;
}

.wcs_popup_header_text {
    flex: 1;
}

.wcs_popup_header_title {
    margin: 0 0 6px;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 900;
}

.wcs_popup_header_description {
    margin: 0;
    color: #fff;
    font-size: 0.9rem;
    opacity: 0.95;
}

.wcs_popup_person_container {
    flex: 1;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    background: #f9f9f9;
    scrollbar-color: var(--wa) #f1f1f1;
    scrollbar-width: thin;
}

.wcs_popup_person {
    position: relative;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 16px;
    min-width: 0;
    padding: 10px 28px;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background: #fff;
    cursor: pointer;
    transition: background var(--transition-base), transform var(--transition-base);
}

.wcs_popup_person:hover {
    background: #f8f9fa;
    transform: translateX(2px);
}

.wcs_popup_person_img {
    flex-shrink: 0;
}

.wcs_popup_person_img img {
    width: 56px;
    height: 56px;
    border: 3px solid var(--wa);
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.2);
}

.wcs_popup_person_content {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.wcs_popup_person_name {
    margin: 0 0 8px;
    overflow: hidden;
    color: #1a1a1a;
    font-size: 1.05rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wcs_popup_person_description {
    margin: 0;
    overflow: hidden;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wcs_popup_person_status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 14px;
    font-size: 0.85rem;
    font-weight: 800;
}

.wcs_popup_person.is-online .wcs_popup_person_status {
    border: 2px solid rgba(10, 173, 0, 0.2);
    background: rgba(10, 173, 0, 0.12);
    color: #0aad00;
}

.wcs_popup_person.is-offline .wcs_popup_person_status {
    border: 2px solid rgba(160, 174, 192, 0.2);
    background: rgba(160, 174, 192, 0.12);
    color: #8a99aa;
}

.wcs_popup_input {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 14px;
    padding: 22px 28px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
}

.wcs_popup_input input {
    flex: 1;
    height: 52px;
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    outline: none;
    background: #f8f9fa;
    color: #1a1a1a;
    font-size: 1rem;
    transition: border-color var(--transition-base), background var(--transition-base), box-shadow var(--transition-base);
}

.wcs_popup_input input:focus {
    border-color: var(--wa);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.15);
}

.wcs_popup_input .fa-paper-plane {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 2px solid transparent;
    border-radius: 14px;
    background: #f1f8ff;
    color: var(--wa);
    cursor: pointer;
    font-size: 22px;
    transition: transform var(--transition-base), background var(--transition-base), color var(--transition-base), border-color var(--transition-base);
}

.wcs_popup_input .fa-paper-plane:hover {
    border-color: var(--wa);
    background: var(--wa);
    color: #fff;
    transform: translateX(2px);
}

/* ============================================================================
   08. HERO / SLIDER
   ============================================================================ */
.banner-horizental {
    position: relative;
    height: 100vh;
    min-height: 620px;
    overflow: hidden;
    background: var(--brand-navy);
}

.slider-inner video {
    width: 100%;
    height: 100vh;
    min-height: 620px;
    object-fit: cover;
}

.swiper-content {
    position: absolute;
    top: 50%;
    left: 10%;
    z-index: 10;
    max-width: 650px;
    color: #fff;
    transform: translateY(-50%);
}

.swiper-content .tag {
    margin-bottom: 15px;
    color: var(--brand-cyan);
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.swiper-content .title {
    display: block;
    margin-bottom: 25px;
    color: #fff;
    font-size: clamp(3.5rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
}

.index-two .ms-main .swiper-container-h .swiper-wrapper .swiper-slide .slider-inner .swiper-content .title-area .title {
    margin-top: 80px !important;
    margin-bottom: 80px;
    margin-left: 12px !important;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.7rem, 5vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
}

.slider-down-arrow {
    position: absolute;
    bottom: 40px;
    left: 50%;
    z-index: 100;
    transform: translateX(-50%);
    transition: opacity var(--transition-base), transform var(--transition-base);
}

.slider-down-arrow.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 10px);
}

.arrow-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.arrow-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

.arrow-circle i {
    color: #fff;
    font-size: 20px;
    animation: bounceArrow 2s infinite;
}

.arrow-text {
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.arrow-link:hover .arrow-circle {
    border-color: var(--brand-cyan);
    background: var(--brand-cyan);
}

/* ============================================================================
   09. SECCIONES SOFIAPPS / CARDS / SERVICIOS
   ============================================================================ */
#sofiapps,
.sofiapps-about-section,
.conversion-cta,
.sofiapps-ecosystem {
    background: #fff !important;
    color: var(--brand-navy);
    font-family: 'Inter', sans-serif;
}

#sofiapps,
.sofiapps-about-section,
.conversion-cta {
    padding: 80px 0;
}

.conversion-cta {
    border-top: 1px solid var(--border-soft);
    text-align: center;
}

.systems-grid,
.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.system-card,
.ms-sb {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    padding: 32px 24px;
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    background: var(--surface);
    color: var(--text-main);
    box-shadow: var(--shadow-xs);
    text-align: center;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
}

.system-card:hover,
.ms-sb:hover {
    border-color: rgba(11, 53, 88, 0.26) !important;
    background: #fff;
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.system-icon,
.ms-sb--img.boxed {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 80px !important;
    height: 80px !important;
    margin: 0 auto 25px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, var(--brand-navy), var(--brand-purple)) !important;
    box-shadow: 0 15px 35px rgba(11, 53, 88, 0.16);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.system-card:hover .system-icon,
.ms-sb:hover .ms-sb--img.boxed {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 20px 42px rgba(11, 53, 88, 0.22);
}

.system-icon img,
.ms-sb--img.boxed img {
    width: 40px !important;
    height: 40px !important;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.ms-sb--img.boxed i,
.system-icon i {
    color: #fff !important;
    font-size: 32px !important;
}

.system-content h4,
.ms-sb--title {
    margin: 15px 0 12px;
    color: var(--brand-navy) !important;
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1.22;
    text-align: center;
}

.system-content p,
.ms-sb--text {
    flex-grow: 1;
    margin-bottom: 24px;
    color: var(--text-muted) !important;
    font-size: 0.95rem;
    line-height: 1.65;
    text-align: center;
}

.ms-sb br,
.ms-sb--title br,
.whatsapp-mega-btn br {
    display: none !important;
}

.valor-propuesta {
    margin: 20px 0;
    padding: 0;
    border: none;
    background: transparent;
}

.valor-propuesta p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.valor-propuesta i {
    color: var(--brand-navy) !important;
}

.expert-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    border-radius: var(--radius-pill);
    background: var(--section-soft);
    color: var(--brand-navy);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.trust-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-soft);
}

.benefit-item {
    margin: 0 15px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.sep {
    color: var(--border-soft);
}

.benefits-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.08);
    color: #f1f1f1;
    font-weight: 700;
    backdrop-filter: blur(6px);
}

.benefits-badge i {
    color: var(--wa);
}

.benefits-badge .small {
    font-weight: 500;
    opacity: 0.8;
}

.benefits-badge .sep {
    opacity: 0.4;
}

.services-area,
.services-bottom,
.ms-main.home-six.list .ms-portfolio-filter-area {
    background: #ffffff !important;
}

.services-area,
.services-bottom {
    padding: 0 !important;
}

.ms-main.home-six.list .ms-portfolio-filter-area {
    position: relative;
    padding: 10px 0 !important;
}

.ms-sb {
    margin-bottom: 20px;
}

.row {
    margin-bottom: 0;
}

/* ============================================================================
   10. CO-DEVELOPMENT / RUBROS / SINAPSIS
   ============================================================================ */
.co-development-card {
    padding: 70px 30px;
    border: 1px solid #eef2f5;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: var(--shadow-xs);
}

.project-status-bar {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    background: #f0f7ff;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-blue);
}

.status-dot.pulse {
    animation: pulseBlue 2s infinite;
}

.status-text,
.cta-subtitle {
    color: var(--brand-navy);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.rubros-selection-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 35px 0;
}

.rubro-tag {
    min-width: 200px;
    padding: 15px 25px;
    border: 1px solid #eef2f5;
    border-radius: 16px;
    background: #f7f9fb;
    text-align: center;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
}

.rubro-tag:hover,
.rubro-tag.active {
    border-color: var(--section-soft);
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(0, 107, 255, 0.05);
    transform: translateY(-2px);
}

.rubro-name {
    display: block;
    margin-bottom: 5px;
    color: var(--brand-navy);
    font-weight: 800;
}

.rubro-status {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.guarantee-note-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eef2f5;
}

.guarantee-item i {
    margin-bottom: 10px;
    color: var(--brand-navy);
    font-size: 1.4rem;
}

.guarantee-item span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.shadow-premium {
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.04);
}

.synapse-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
}

.synapse-core {
    position: absolute;
    z-index: 3;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-cyan), var(--brand-orange));
    box-shadow: 0 0 30px rgba(47, 243, 242, 0.55);
    animation: corePulse 2s infinite alternate;
}

.synapse-arm {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-cyan), transparent);
    transform-origin: left center;
    animation: armGlow 1.5s infinite alternate;
}

.synapse-arm::before {
    content: '';
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--brand-cyan);
    box-shadow: 0 0 20px var(--brand-cyan);
    animation: nodePulse 1s infinite alternate;
}

.synapse-arm:nth-child(2) {
    transform: rotate(120deg);
    animation-delay: 0.3s;
}

.synapse-arm:nth-child(3) {
    transform: rotate(240deg);
    animation-delay: 0.6s;
}

.synapse-arm:nth-child(4) {
    transform: rotate(0deg);
    animation-delay: 0.9s;
}

/* ============================================================================
   11. ECOSISTEMA / VIDEO ROWS
   ============================================================================ */
.sofiapps-ecosystem {
    padding: 0;
}

.mb-100 {
    margin-bottom: 100px;
}

.sofia-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    margin-bottom: 150px;
}

.sofia-row.reverse {
    flex-direction: row-reverse;
}

.sofia-col {
    flex: 1;
}

.sofia-title {
    margin: 15px 0;
    color: #1a1a1a;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 900;
    letter-spacing: -0.05em;
}

.sofia-text {
    margin-bottom: 35px;
    color: #555;
    font-size: 1.15rem;
    line-height: 1.8;
}

.video-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    transform: perspective(1000px) rotateY(-5deg);
}

.sofia-row.reverse .video-wrapper {
    transform: perspective(1000px) rotateY(5deg);
}

.v-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 10;
    background: #f0f0f0;
    color: #c4c4c4;
    font-weight: 900;
}

/* ============================================================================
   12. FOOTER
   ============================================================================ */
.main-footer {
    position: relative;
    overflow: hidden;
    padding: 60px 0 30px;
    background: radial-gradient(circle at top left, rgba(47, 243, 242, 0.10), transparent 30%), linear-gradient(135deg, #0b1220 0%, #102f4d 52%, #1a237e 100%);
    color: #fff;
}

.main-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.04), transparent);
    pointer-events: none;
}

.footer-wrapper {
    position: relative;
    z-index: 1;
    max-width: 1400px;
}

.footer-systems-section {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.systems-title {
    margin-bottom: 12px;
    background: linear-gradient(90deg, #ffffff, var(--brand-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: clamp(2rem, 4vw, 36px);
    font-weight: 900;
    text-align: center;
}

.systems-subtitle {
    margin-bottom: 40px;
    color: #a0aec0;
    text-align: center;
}

.main-footer .systems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 0;
}

.main-footer .system-card {
    align-items: flex-start;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.055);
    box-shadow: none;
    color: #fff;
    text-align: left;
}

.main-footer .system-card:hover {
    border-color: rgba(47, 243, 242, 0.45) !important;
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.16);
}

.main-footer .system-content h4 {
    margin: 0 0 5px;
    color: #fff !important;
    font-size: 16px;
    text-align: left;
}

.main-footer .system-content p {
    margin: 0 0 8px;
    color: #a0aec0 !important;
    font-size: 14px;
    text-align: left;
}

.system-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--brand-cyan) !important;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: gap var(--transition-base), color var(--transition-base);
}

.system-link:hover {
    gap: 10px;
    color: var(--brand-orange) !important;
}

.footer-info-section {
    padding-top: 60px;
}

.footer-info-section .container {
    width: min(100% - 40px, var(--container));
    max-width: var(--container);
    margin: 0 auto;
}

.footer-info-section .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-bottom: 50px;
    margin-left: -15px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-info-section .col-md-3 {
    position: relative;
    flex: 0 0 25%;
    width: 100%;
    max-width: 25%;
    padding-right: 15px;
    padding-left: 15px;
}

.footer-pro-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-pro-links li {
    margin-bottom: 12px;
}

.footer-pro-links li a {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color var(--transition-base), transform var(--transition-base);
}

.footer-pro-links li a:hover {
    color: #fff;
    transform: translateX(4px);
}

.footer-pro-links li i {
    width: 18px;
    margin-right: 8px;
    color: #f1f1f1;
    text-align: center;
}

.partner-fire-link {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 8px;
    background: linear-gradient(45deg, var(--brand-fire), var(--brand-gold));
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(255, 78, 80, 0.2);
    font-weight: 900;
    text-decoration: none;
    animation: firePulse 2s infinite alternate;
}

.partner-fire-link i {
    color: #fff !important;
}

.partner-fire-link:hover {
    transform: scale(1.05) !important;
}

.footer-social-section {
    margin-bottom: 0;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-title {
    margin-bottom: 30px;
    text-align: center;
}

.social-title h4 {
    margin-bottom: 10px;
    color: #fff;
    font-size: 24px;
}

.social-title p {
    max-width: 500px;
    margin: 0 auto;
    color: #a0aec0;
    font-size: 16px;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
    margin: 2rem 0;
}

.footer-social a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: transform var(--transition-smooth), background var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.footer-social a:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
}

.footer-social img {
    width: 24px;
    height: 24px;
    transition: transform var(--transition-smooth);
}

.footer-social a:hover img {
    transform: scale(1.08);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.copyright {
    color: #a0aec0;
    font-size: 14px;
}

.copyright a {
    color: #a0aec0;
    text-decoration: none;
}

.copyright a:hover {
    color: #fff;
}

/* ============================================================================
   13. BACK TO TOP
   ============================================================================ */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 2px solid var(--brand-blue);
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-purple));
    color: #fff;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast), transform var(--transition-fast), background var(--transition-fast);
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    transform: translateY(-3px);
}

.back-to-top svg {
    width: 25px;
    height: 25px;
    fill: #fff;
}

/* ============================================================================
   14. ANIMACIONES
   ============================================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(150px);
    }

    to {
        opacity: 1;
        transform: translateX(120px);
    }
}

@keyframes slideUpPopup {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes whatsappPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes bounceArrow {

    0%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(8px);
    }
}

@keyframes gentlePulse {

    0%,
    100% {
        transform: translateX(-38px);
    }

    50% {
        transform: translateX(-35px);
    }
}

@keyframes gentlePulseRight {

    0%,
    100% {
        transform: translateX(120px);
    }

    50% {
        transform: translateX(117px);
    }
}

@keyframes firePulse {
    0% {
        box-shadow: 0 0 5px rgba(255, 78, 80, 0.4);
        transform: scale(1);
    }

    100% {
        box-shadow: 0 0 15px rgba(249, 212, 35, 0.6);
        transform: scale(1.02);
    }
}

@keyframes pulseBlue {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 107, 255, 0.55);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 107, 255, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 107, 255, 0);
    }
}

@keyframes corePulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 30px rgba(47, 243, 242, 0.45);
    }

    100% {
        transform: scale(1.1);
        box-shadow: 0 0 50px rgba(255, 127, 0, 0.55);
    }
}

@keyframes armGlow {
    0% {
        width: 80px;
        opacity: 0.6;
    }

    100% {
        width: 100px;
        opacity: 1;
        background: linear-gradient(90deg, var(--brand-orange), transparent);
    }
}

@keyframes nodePulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 20px var(--brand-cyan);
    }

    100% {
        transform: scale(1.3);
        box-shadow: 0 0 30px var(--brand-orange);
    }
}

.floating-social-tab:nth-child(1) {
    animation: gentlePulse 4s infinite ease-in-out 0.5s;
}

.floating-social-tab:nth-child(2) {
    animation: gentlePulse 4s infinite ease-in-out 1s;
}

.floating-social-tab:nth-child(3) {
    animation: gentlePulse 4s infinite ease-in-out 1.5s;
}

.floating-social-tab:nth-child(4) {
    animation: gentlePulse 4s infinite ease-in-out 2s;
}

.floating-social-tab:nth-child(5) {
    animation: gentlePulse 4s infinite ease-in-out 2.5s;
}

.action-tab {
    animation: slideInFromRight 0.6s ease backwards;
}

.action-tab:nth-child(1) {
    animation-delay: 0.1s;
}

.action-tab:nth-child(2) {
    animation-delay: 0.2s;
}

.action-tab:nth-child(3) {
    animation-delay: 0.3s;
}

.action-tab:nth-child(4) {
    animation-delay: 0.4s;
}

.action-tab:nth-child(5) {
    animation-delay: 0.5s;
}

.action-tab.whatsapp {
    animation: gentlePulseRight 5s infinite ease-in-out 0.3s;
}

.action-tab.phone {
    animation: gentlePulseRight 5s infinite ease-in-out 0.6s;
}

.action-tab.demo {
    animation: gentlePulseRight 5s infinite ease-in-out 0.9s;
}

.floating-social-tab:hover,
.action-tab:hover {
    animation: none !important;
}

/* ============================================================================
   15. RESPONSIVE
   ============================================================================ */
@media (max-width: 1200px) {

    .systems-grid,
    .specialties-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .action-tab {
        width: 180px;
        height: 60px;
        transform: translateX(110px);
    }

    .floating-social-tab {
        width: 60px;
        height: 60px;
        transform: translateX(-35px);
    }
}

@media (max-width: 992px) {
    section {
        padding: 70px 0;
    }

    h2,
    .section-title,
    .inspiration-title,
    .hero-erp-title {
        font-size: clamp(2rem, 7vw, 3rem) !important;
    }

    .systems-grid,
    .specialties-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .clock-layout-simple {
        grid-template-columns: 1fr;
    }

    .swiper-content {
        left: 5%;
        right: 5%;
        text-align: center;
    }

    .action-tabs-container {
        gap: 10px;
    }

    .action-tab {
        width: 170px;
        height: 58px;
        transform: translateX(100px);
    }

    .wcs_popup {
        width: min(380px, calc(100vw - 40px));
        max-height: 540px;
    }

    .footer-info-section .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 24px;
    }

    .mega-menu.calendly-style {
        position: static;
        display: none;
        margin-top: 10px;
        padding: 20px;
        border: 1px solid var(--cal-border);
        border-radius: 12px;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .menu-item-has-mega-menu.active .mega-menu.calendly-style {
        display: block;
    }

    .mega-menu-container {
        flex-direction: column;
        gap: 30px;
        padding: 0;
    }

    .mega-menu-column.highlight {
        padding-top: 30px;
        padding-left: 0;
        border-top: 1px solid var(--cal-border);
        border-left: none;
    }

    .mega-menu.calendly-style.small {
        width: auto;
    }

    .sofia-row,
    .sofia-row.reverse {
        flex-direction: column !important;
        gap: 40px;
        margin-bottom: 100px;
        text-align: center;
    }

    .video-wrapper {
        transform: none !important;
    }
}

@media (max-width: 768px) {

    .container,
    .footer-wrapper,
    .footer-info-section .container {
        width: min(100% - 28px, var(--container));
    }

    .systems-grid,
    .specialties-grid {
        grid-template-columns: 1fr !important;
        gap: 25px;
        padding: 0 15px;
    }

    .system-card,
    .ms-sb {
        padding: 26px 20px;
        margin: 0;
    }

    .system-icon,
    .ms-sb--img.boxed {
        width: 64px !important;
        height: 64px !important;
    }

    .system-icon img,
    .ms-sb--img.boxed img {
        width: 32px !important;
        height: 32px !important;
    }

    .system-content h4,
    .ms-sb--title {
        font-size: 1.2rem;
    }

    .valor-propuesta p {
        font-size: 0.9rem;
    }

    .action-tabs-container {
        display: none;
    }

    .floating-social-container {
        gap: 6px;
    }

    .floating-social-tab {
        width: 55px;
        height: 55px;
        transform: translateX(-32px);
    }

    .floating-social-tab img {
        width: 24px;
        height: 24px;
    }

    .video-help-button {
        top: auto;
        right: 12px;
        bottom: 12px;
        gap: 10px;
        transform: none;
    }

    .btn-video-tutorial {
        width: 48px;
        height: 48px;
    }

    .btn-video-tutorial i {
        font-size: 20px;
    }

    .btn-video-tutorial::after {
        right: 56px;
    }

    .wa_support_standalone.wcs_fixed_right {
        right: 20px;
        bottom: 20px;
    }

    .wcs_button {
        width: 64px;
        height: 64px;
    }

    .wcs_popup {
        right: 20px;
        bottom: 100px;
        width: calc(100vw - 40px);
        max-height: 500px;
    }

    .cta-buttons,
    .cta-buttons-horizontal {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .conversion-cta,
    .ultimate-cta {
        padding: 40px 20px;
    }

    .whatsapp-mega-btn {
        width: 100%;
        min-width: 0;
        max-width: 340px;
        padding: 14px 24px !important;
    }

    .blog-card {
        flex: 0 0 calc(100% - 2rem);
        min-width: calc(100% - 2rem);
    }

    .footer-info-section .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .guarantee-note-modern {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    section {
        padding: 54px 0;
    }

    .floating-social-container {
        display: none;
    }

    .banner-horizental,
    .slider-inner video {
        min-height: 560px;
    }

    .swiper-content .title {
        font-size: clamp(2.6rem, 14vw, 4rem);
    }

    .wcs_popup {
        max-height: 380px;
    }

    .wcs_popup_person_container {
        max-height: 280px;
    }

    .wcs_popup_header,
    .wcs_popup_input,
    .wcs_popup_person {
        padding-inline: 18px;
    }

    .whatsapp-direct-contact.compact {
        width: 100%;
    }

    .sofia-title {
        font-size: 2rem;
    }

    .sofia-text {
        font-size: 1rem;
    }

    .rubro-tag {
        width: 100%;
        min-width: 0;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* NUEVO */
/* ============================================================================
   16. SCROLLBAR VERDE (DELGADO PERO LARGO/ALTO)
   ============================================================================ */
:root {
    --sf-green: #25d366;
    --sf-green-dark: #128c7e;
}

::-webkit-scrollbar {
    width: 8px !important;
    height: 0 !important;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.06) !important;
}

::-webkit-scrollbar-thumb {
    background: var(--sf-green) !important;
    border: 1px solid #ffffff !important;
    border-radius: 999px !important;
    min-height: 300px !important;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--sf-green-dark) !important;
}


/* ============================================================================
   17. VER MÁS - VISIBLE SOLO EN EL HERO
   ============================================================================ */
.slider-down-arrow {
    position: fixed;
    left: 50%;
    bottom: 30px;
    z-index: 99990;
    transform: translateX(-50%);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* El JavaScript agrega/quita esta clase */
.slider-down-arrow.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.slider-down-arrow .arrow-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.slider-down-arrow .arrow-circle {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.slider-down-arrow .arrow-circle i {
    color: #fff;
    font-size: 20px;
}

.slider-down-arrow .arrow-text {
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.slider-down-arrow .arrow-link:hover .arrow-circle {
    background: rgba(37, 211, 102, 0.3);
    border-color: var(--sf-green);
    transform: translateY(3px);
}

/* ============================================================================
   18. FLOTANTES - LÓGICA INVERSA AL VER MÁS
       Ocultos en el hero, visibles al hacer scroll hacia abajo
   ============================================================================ */

/* Estado base: ocultos */
.floating-social-container,
.video-help-button {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Cuando el body tiene sf-floaters-visible: se muestran */
body.sf-floaters-visible .floating-social-container {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    position: fixed;
    top: 50%;
    left: 10px;
    z-index: 99970;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform: translateY(-50%);
}

body.sf-floaters-visible .video-help-button {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    position: fixed;
    top: 50%;
    right: 24px;
    z-index: 99971;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transform: translateY(-50%);
}

/* WhatsApp siempre visible */
.wa_support_standalone.wcs_fixed_right {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 99980;
}

/* ============================================================================
   19. WHATSAPP POPUP
   ============================================================================ */
.wcs_popup {
    position: absolute;
    right: 0;
    bottom: 80px;
    width: min(360px, calc(100vw - 30px));
    max-height: min(500px, calc(100vh - 130px));
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    display: none;
}

.wcs_popup.open {
    display: block;
}

.wcs_popup_header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--wa), var(--wa-dark));
    color: #fff;
}

.wcs_popup_header img {
    width: 36px;
    height: 36px;
}

.wcs_popup_header_title {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
}

.wcs_popup_header_description {
    margin-top: 2px;
    font-size: 12px;
    opacity: 0.9;
}

.wcs_popup_close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.2s ease;
}

.wcs_popup_close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.wcs_popup_person_container {
    padding: 10px;
    max-height: 280px;
    overflow-y: auto;
}

.wcs_popup_person {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    margin-bottom: 8px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.wcs_popup_person:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.wcs_popup_person_img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.wcs_popup_person_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wcs_popup_person_name {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
}

.wcs_popup_person_status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 3px;
    font-size: 11px;
    font-weight: 600;
    color: var(--wa);
}

.wcs_popup_person_status::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--wa);
}

.wcs_popup_input {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.wcs_popup_input input {
    flex: 1;
    height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    outline: none;
    font-size: 13px;
}

.wcs_popup_input input:focus {
    border-color: var(--wa);
}

.wcs_popup_input .fa-paper-plane {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--wa);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* ============================================================================
   20. RESPONSIVE - FLOTANTES
   ============================================================================ */
@media (max-width: 768px) {
    body.sf-floaters-visible .floating-social-container {
        left: 4px;
        gap: 6px;
    }

    body.sf-floaters-visible .video-help-button {
        right: 10px;
        gap: 8px;
    }

    .slider-down-arrow {
        bottom: 20px;
    }

    .slider-down-arrow .arrow-circle {
        width: 46px;
        height: 46px;
    }

    .slider-down-arrow .arrow-circle i {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    body.sf-floaters-visible .floating-social-container {
        display: none;
    }

    body.sf-floaters-visible .video-help-button {
        display: none;
    }

    .wcs_popup {
        width: calc(100vw - 20px);
        right: 0;
    }
}

/* ===== CSS extraído de HTML (style) ===== */
.slider-inner {
    position: relative;
    width: 100%;
    height: 100vh;
    /* O la altura que desees */
    overflow: hidden;
}

.slider-inner video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    /* Esto es clave para que no se deforme y rellene */
}


/* ===== CSS extraído de HTML (style) ===== */
/* Versión con z-index más alto */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.08);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.35);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.55);
}

/* Forzar que la scrollbar esté sobre el menú */
body {
    position: relative;
    z-index: 1;
}

.main-header__layout {
    z-index: 99;
}

/* La scrollbar de Webkit no tiene z-index propio,
    pero podemos forzar que el body tenga scroll overlay */
html {
    overflow-y: overlay;
}

@supports not (overflow-y: overlay) {
    html {
        overflow-y: auto;
    }

    /* Para navegadores sin overlay, ajustamos margen derecho */
    body {
        padding-right: 8px;
    }
}


/* ===== CSS extraído de HTML (style) ===== */
h1,
.section-title {
    font-size: 64px !important;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-shadow: none;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    color: #0b3558;
}

/* Ajuste para celulares */
@media (max-width: 768px) {

    h1,
    .section-title {
        font-size: 40px !important;
    }
}


/* ===== CSS extraído de HTML (style) ===== */
#sofiapps-verticals {
    background-color: #ffffff;
    padding: 100px 0;
}

.v-ecosystem-grid {
    display: flex;
    flex-direction: column;
    gap: 150px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Estructura base del Item */
.v-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    width: 100%;
}

/* --- MAGIA PARA INTERCALAR --- */
.v-item:nth-child(even) {
    flex-direction: row-reverse;
}

/* --- COLUMNA DE TEXTO --- */
.v-text-box {
    flex: 1;
    max-width: 450px;
}

/* Alineación de texto cuando está a la derecha (en los pares) */
.v-item:nth-child(even) .v-text-box {
    text-align: left;
}

/* CORRECCIÓN: Alineación perfecta de iconos y texto */
.v-highlights span {
    display: flex;
    align-items: flex-start;
    /* Alinea icono con la primera línea de texto */
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: #0b3558;
    text-align: left;
}

.v-highlights i {
    color: #25D366;
    margin-right: 15px;
    font-size: 1.2rem;
    min-width: 24px;
    /* Espacio reservado para el icono */
    display: inline-flex;
    justify-content: center;
    padding-top: 3px;
    /* Centrado visual con el texto */
}

/* --- COLUMNA MULTIMEDIA (VIDEO GRANDE) --- */
.v-media-container {
    flex: 1.6;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.v-video-box {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.12);
    background: #20202020;
    border: 1px solid #eee;
}

.v-video-box video {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* Botón WhatsApp */
.btn-wa-direct {
    display: block;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff !important;
    text-align: center;
    padding: 20px;
    border-radius: 18px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-wa-direct:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
}

/* --- RESPONSIVE (Móviles) --- */
@media (max-width: 992px) {

    .v-item,
    .v-item:nth-child(even) {
        flex-direction: column !important;
        text-align: left;
        /* Cambiado a left para mantener consistencia */
        gap: 40px;
    }

    .v-text-box {
        max-width: 100%;
    }

    .v-highlights span {
        justify-content: flex-start;
        /* Asegura alineación izquierda en móvil */
    }

    .v-media-container {
        width: 100%;
    }
}

.sofiapps-btn-link {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgb(11, 53, 88);
    font-family: 'Gilroy', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.6;
    text-decoration: none;
    transition: all 0.2s linear;
}

.sofiapps-btn-link:hover {
    color: #25D366;
}

.sofiapps-btn-link .icon-wrapper {
    display: flex;
    align-items: center;
    transition: transform 0.2s ease-in-out;
}

.sofiapps-btn-link:hover .icon-wrapper {
    transform: translateX(5px);
}

.sofiapps-btn-link svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

@media (max-width: 768px) {
    .sofiapps-btn-link {
        font-size: 1rem;
        margin-top: 10px;
    }
}


/* ===== CSS extraído de HTML (style) ===== */
/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.08);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.35);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.55);
}

html {
    overflow-y: overlay;
}

@supports not (overflow-y: overlay) {
    html {
        overflow-y: auto;
    }

    body {
        padding-right: 8px;
    }
}


/* ===== CSS extraído de HTML (style) ===== */
::-webkit-scrollbar {
    width: 12px !important;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.06) !important;
}

::-webkit-scrollbar-thumb {
    background: #25d366 !important;
    border: 2px solid #ffffff !important;
    border-radius: 999px !important;
    min-height: 200px !important;
}

::-webkit-scrollbar-thumb:hover {
    background: #128c7e !important;
}

.main-header__layout {
    z-index: 99 !important;
}


/* ===== CSS extraído de HTML (style) ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.08);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.35);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.55);
}

body {
    position: relative;
    z-index: 1;
}

.main-header__layout {
    z-index: 99;
}

html {
    overflow-y: overlay;
}

@supports not (overflow-y: overlay) {
    html {
        overflow-y: auto;
    }

    body {
        padding-right: 8px;
    }
}


/* ===== CSS extraído de HTML (style) ===== */
:root {
    --cal-blue: #006bff;
    --cal-blue-hover: #005be6;
    --cal-bg-hover: #f4f8ff;
    --cal-text-main: #1d344b;
    --cal-text-muted: #4b5e71;
    --cal-border: #e8ecef;
    --cal-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.08), 0 10px 30px -5px rgba(0, 0, 0, 0.04);
}

/* Navbar Top Level Items */
#primary-menu .menu-item>a {
    color: #ffffff;
    /* Ajustado para tu header morado */
    font-weight: 500;
    letter-spacing: 0.2px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 15px;
    text-decoration: none;
    transition: none !important;
    transform: none !important;
}

.main-header__layout .main-header__default .navbar-nav>li.menu-item:first-child>a {
    transition: none !important;
    transform: none !important;
}

.menu-item-has-mega-menu {
    position: static !important;
}

.dropdown-icon {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
    margin-left: 2px;
    opacity: 0.8;
}

/* Mega Menú Contenedor (Blanco, limpio, sombra suave) */
.mega-menu.calendly-style {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 0 0 16px 16px;
    padding: 40px 0;
    opacity: 0;
    visibility: hidden;
    box-shadow: var(--cal-shadow);
    border-top: 1px solid var(--cal-border);
    z-index: 1000;
}

.menu-item-has-mega-menu:hover .mega-menu.calendly-style {
    opacity: 1;
    visibility: visible;
}

/* Contenedor interno */
.mega-menu-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    padding: 0 40px;
}

.mega-menu-column {
    flex: 1;
}

.mega-menu-column.highlight {
    flex: 0.7;
    border-left: 1px solid var(--cal-border);
    padding-left: 40px;
}

/* Secciones dentro del mega menú */
.mega-menu-section {
    margin-bottom: 40px;
}

.mega-menu-section:last-child {
    margin-bottom: 0;
}

.mega-menu-section h4 {
    color: #8b99a6;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-left: 12px;
}

/* Enlaces del Mega Menú */
.mega-menu-section a {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    margin-bottom: 4px;
}

.mega-menu-section a:hover {
    background-color: var(--cal-bg-hover);
}

.mega-menu-section a i {
    font-size: 1.25rem;
    color: var(--cal-blue);
    margin-top: 2px;
    /* Alinea el ícono con la primera línea de texto */
    width: 24px;
    text-align: center;
}

.mega-menu-section a div {
    flex: 1;
}

.mega-menu-section a strong {
    display: block;
    color: var(--cal-text-main);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.2;
}

.mega-menu-section a span {
    display: block;
    color: var(--cal-text-muted);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Badges */
.badge-new {
    display: inline-flex;
    align-items: center;
    background: #eef2ff;
    color: var(--cal-blue);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 8px;
    vertical-align: middle;
    letter-spacing: 0.5px;
}

/* Sección Destacada (Call to Action lateral) */
.mega-menu-featured {
    background: #f8fafc;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: left;
    border: 1px solid var(--cal-border);
}

.mega-menu-featured i {
    font-size: 2rem;
    color: var(--cal-text-main);
    margin-bottom: 20px;
}

.mega-menu-featured h4 {
    color: var(--cal-text-main);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: none;
    letter-spacing: normal;
    padding-left: 0;
}

.mega-menu-featured p {
    color: var(--cal-text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
    line-height: 1.5;
}

.featured-link {
    display: inline-flex;
    align-items: center;
    color: var(--cal-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.featured-link:hover {
    color: var(--cal-blue-hover);
    text-decoration: underline;
}

/* Mega menú pequeño (para empresa) */
.mega-menu.calendly-style.small {
    width: 450px;
    left: auto;
    right: 0;
    border-radius: 12px;
    padding: 24px 0;
}

.mega-menu.calendly-style.small .mega-menu-container {
    padding: 0 24px;
}

/* Botones CTA de la barra principal */
.partner-link,
.demo-button {
    padding: 8px 16px !important;
    border-radius: 24px !important;
    margin-left: 8px;
    font-weight: 600 !important;
    transition: all 0.2s ease;
}

.partner-link {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
}

.partner-link:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: #fff !important;
}

.demo-button {
    background: var(--cal-blue) !important;
    color: #ffffff !important;
    border: none !important;
}

.demo-button:hover {
    background: var(--cal-blue-hover) !important;
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 992px) {
    .mega-menu.calendly-style {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding: 20px;
        margin-top: 10px;
        box-shadow: none;
        border: 1px solid var(--cal-border);
        border-radius: 12px;
        display: none;
    }

    .menu-item-has-mega-menu.active .mega-menu.calendly-style {
        display: block;
    }

    .mega-menu-container {
        flex-direction: column;
        gap: 30px;
        padding: 0;
    }

    .mega-menu-column.highlight {
        border-left: none;
        border-top: 1px solid var(--cal-border);
        padding-left: 0;
        padding-top: 30px;
    }

    .mega-menu.calendly-style.small {
        width: auto;
    }
}


/* ===== CSS extraído de HTML (style) ===== */
/* Eliminar efecto de movimiento en TODOS los items del menú */
#primary-menu .menu-item>a,
#primary-menu .menu-item>a span,
.main-header__nav .navbar-nav .menu-item>a,
.main-header__nav .navbar-nav .menu-item>a span {
    transition: none !important;
    transform: none !important;
}

/* Efecto hover solo cambio de color, sin movimiento */
#primary-menu .menu-item>a:hover,
#primary-menu .menu-item>a:hover span {
    color: #2ff3f2 !important;
    background: transparent !important;
    transform: none !important;
}


/* ===== CSS extraído de HTML (style) ===== */
.whatsapp-mega-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: linear-gradient(135deg, #25d167, #159979);
    color: white;
    padding: 18px 45px;
    border-radius: 60px;
    text-decoration: none;
    border: none;
    transition: all 0.3s ease;
    min-width: 320px;
    max-width: 500px;
    box-shadow: 0 10px 25px rgba(21, 153, 121, 0.3);
    position: relative;
    overflow: hidden;
}

.whatsapp-mega-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(21, 153, 121, 0.4);
    background: linear-gradient(135deg, #159979, #25d167);
}

.whatsapp-mega-btn i {
    font-size: 2.8rem;
    color: white;
    transition: transform 0.3s ease;
}

.whatsapp-mega-btn:hover i {
    transform: scale(1.1);
    color: white;
}

.whatsapp-mega-btn .btn-title {
    font-size: 1.6rem;
    font-weight: 900;
    display: block;
    color: white;
    line-height: 1.2;
}

.whatsapp-mega-btn .btn-subtitle {
    font-size: 1rem;
    opacity: 0.95;
    font-weight: 500;
    color: white;
    display: block;
}


.whatsapp-container-centered {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 50px;
}

/* CTA ultra-compacto para cards */
.whatsapp-direct-contact.compact {
    display: flex;
    justify-content: center;
    width: 56%;
    /* −20% aprox */
    margin: 20px auto 0;
    /* más aire con el texto */
}

.whatsapp-direct-contact.compact .whatsapp-mega-btn {
    padding: 8px 10px;
    gap: 6px;
    max-width: 130px;
    /* −20% aprox */
    width: 100%;
    box-sizing: border-box;
}

.whatsapp-direct-contact.compact .whatsapp-mega-btn i {
    font-size: 16px;
}

.whatsapp-direct-contact.compact .btn-title {
    font-size: 15px;
}

.whatsapp-direct-contact.compact .btn-subtitle {
    font-size: 14px;
}

.whatsapp-mega-btn {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    background: #ebf3ff;
    /* Azul Calendly/Tech */
    color: white !important;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    margin-top: 40px;
    transition: background 0.3s ease;
}

.whatsapp-mega-btn:hover {
    background: #0056cc;
}

.btn-title {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
}

.btn-subtitle {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Trust Footer */
.trust-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--borde-suave);
}

.benefit-item {
    font-size: 0.9rem;
    color: var(--texto-gris);
    margin: 0 15px;
}

.sep {
    color: var(--borde-suave);
}


/* ===== CSS extraído de HTML (style) ===== */
.mega-menu.sofiapps-mega {
    padding: 44px 0;
    background: #ffffff;
    border-top: 1px solid #eef2f7;
}

.sofiapps-wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 28px;
}

.sofiapps-hero {
    width: 100%;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #edf2f7;
}

.sofiapps-hero p {
    margin: 0;
    width: 100%;
    max-width: 92%;
    font-size: 0.96rem;
    line-height: 1.65;
    color: #475569;
}

.sofiapps-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: start;
}

.sofiapps-panel {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 22px;
}

.sofiapps-block+.sofiapps-block {
    margin-top: 20px;
}

.sofiapps-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #0f172a;
}

.sofiapps-label-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex: 0 0 9px;
}

.dot-live {
    background: #2563eb;
}

.dot-next {
    background: #94a3b8;
}

.sofiapps-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.badge-custom,
.badge-dev {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.badge-custom {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

.badge-custom:hover {
    background: #2563eb;
    color: #ffffff;
    transform: translateY(-1px);
}

.badge-dev {
    background: #f8fafc;
    color: #64748b;
    border: 1px solid #cbd5e1;
}

.badge-dev:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.sofiapps-video-card {
    background: #0f172a;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.sofiapps-video-card video {
    width: 100%;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.sofiapps-video-caption {
    margin-top: 12px;
    font-size: 0.82rem;
    color: #64748b;
    text-align: center;
}

@media (max-width: 991px) {
    .sofiapps-grid {
        grid-template-columns: 1fr;
    }

    .sofiapps-hero p {
        font-size: 0.94rem;
        line-height: 1.6;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .mega-menu.sofiapps-mega {
        padding: 28px 0;
    }

    .sofiapps-wrap {
        padding: 0 18px;
    }

    .sofiapps-hero {
        margin-bottom: 18px;
        padding-bottom: 14px;
    }

    .sofiapps-panel {
        padding: 18px;
    }

    .badge-custom,
    .badge-dev {
        width: 100%;
        justify-content: flex-start;
        white-space: normal;
    }
}


/* ===== CSS extraído de HTML (style) ===== */
/* Estilos de los links Pro */
.footer-pro-links li {
    margin-bottom: 12px;
}

.footer-pro-links li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
    font-size: 0.9rem;
}

.footer-pro-links li a:hover {
    color: #fff;
    transform: translateX(4px);
}

.footer-pro-links li i {
    margin-right: 8px;
    color: #f1f1f1;
    width: 18px;
    text-align: center;
}

/* Efecto Fuego Animado para Partner */
.partner-fire-link {
    background: linear-gradient(45deg, #ff4e50, #f9d423);
    color: #fff !important;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block !important;
    animation: firePulse 2s infinite alternate;
    box-shadow: 0 4px 10px rgba(255, 78, 80, 0.2);
}

.partner-fire-link i {
    color: #fff !important;
}

.partner-fire-link:hover {
    transform: scale(1.05) !important;
}

@keyframes firePulse {
    0% {
        box-shadow: 0 0 5px rgba(255, 78, 80, 0.4);
        transform: scale(1);
    }

    100% {
        box-shadow: 0 0 15px rgba(249, 212, 35, 0.6);
        transform: scale(1.02);
    }
}

/* ==========================================================================
   SOFIAPPS FINAL CONTROLADO: VER MÁS / FLOTANTES / WHATSAPP / MEGA MENÚ
   ========================================================================== */
body.sf-hero-active .floating-social-container,
body.sf-hero-active .video-help-button,
body.sf-hero-active .wa_support_standalone.wcs_fixed_right,
body.sf-hero-active .sf-floating-after-hero {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

body.sf-after-hero-active .floating-social-container,
body.sf-after-hero-active .video-help-button,
body.sf-after-hero-active .sf-floating-after-hero {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

body.sf-after-hero-active .floating-social-container,
body.sf-after-hero-active #floatingSocial {
    position: fixed !important;
    top: 50% !important;
    left: 8px !important;
    z-index: 99970 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    transform: translateY(-50%) !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: 0 !important;
}

body.sf-after-hero-active .video-help-button {
    position: fixed !important;
    top: 50% !important;
    right: 18px !important;
    z-index: 99980 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    transform: translateY(-50%) !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: 0 !important;
}

.floating-social-container,
.video-help-button {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    outline: 0 !important;
}

.floating-social-container::before,
.floating-social-container::after,
.video-help-button::before,
.video-help-button::after {
    display: none !important;
    content: none !important;
}

.slider-down-arrow {
    position: fixed !important;
    left: 50% !important;
    bottom: 38px !important;
    z-index: 100050 !important;
    transform: translateX(-50%) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

body.sf-after-hero-active .slider-down-arrow,
.slider-down-arrow.hidden {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.slider-down-arrow .arrow-link {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

.slider-down-arrow .arrow-circle {
    width: 56px !important;
    height: 56px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid rgba(255, 255, 255, .95) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, .10) !important;
    color: #fff !important;
    box-shadow: none !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
}

.slider-down-arrow .arrow-text {
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    letter-spacing: 3px !important;
    line-height: 1 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .45) !important;
}

.slider-down-arrow .arrow-circle i {
    color: #fff !important;
}

/* WhatsApp compacto y siempre por encima de los flotantes cuando ya pasó el hero */
body.sf-after-hero-active .wa_support_standalone.wcs_fixed_right {
    position: fixed !important;
    right: 22px !important;
    bottom: 22px !important;
    z-index: 100500 !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.wa_support_standalone.wcs_fixed_right .wcs_button {
    width: 58px !important;
    height: 58px !important;
    border-radius: 999px !important;
    z-index: 100501 !important;
}

.wa_support_standalone.wcs_fixed_right .wcs_button img {
    width: 29px !important;
    height: 29px !important;
}

.wcs_popup {
    right: 0 !important;
    bottom: 70px !important;
    width: min(330px, calc(100vw - 28px)) !important;
    max-height: min(460px, calc(100vh - 115px)) !important;
    z-index: 100502 !important;
    border-radius: 18px !important;
}

.wcs_popup_header {
    min-height: 58px !important;
    padding: 10px 14px !important;
    gap: 9px !important;
}

.wcs_popup_header img {
    width: 30px !important;
    height: 30px !important;
}

.wcs_popup_header_title {
    display: block !important;
    margin: 0 24px 2px 0 !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
}

.wcs_popup_header_description {
    display: block !important;
    margin: 0 !important;
    color: rgba(255, 255, 255, .92) !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
}

.wcs_popup_close {
    top: 8px !important;
    right: 8px !important;
    width: 26px !important;
    height: 26px !important;
    font-size: 17px !important;
}

.wcs_popup_person_container {
    max-height: 235px !important;
    padding: 8px !important;
}

.wcs_popup_person {
    padding: 8px !important;
    gap: 8px !important;
    margin-bottom: 7px !important;
    border-radius: 13px !important;
}

.wcs_popup_person_img,
.wcs_popup_person_img img {
    width: 38px !important;
    height: 38px !important;
}

.wcs_popup_person_name {
    color: #2b465f !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    margin-bottom: 2px !important;
}

.wcs_popup_person_description {
    color: #6f8194 !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
}

.wcs_popup_person_status {
    padding: 2px 8px !important;
    font-size: 10px !important;
}

.wcs_popup_input {
    padding: 9px !important;
    gap: 7px !important;
}

.wcs_popup_input input {
    height: 38px !important;
    font-size: 12px !important;
    border-radius: 11px !important;
}

.wcs_popup_input .fa-paper-plane {
    width: 38px !important;
    height: 38px !important;
    border-radius: 11px !important;
    font-size: 16px !important;
}

/* Mega menú enriquecido: enlaces diferenciados y video estándar */
.mega-menu.calendly-style .mega-menu-container {
    align-items: flex-start !important;
}

.mega-menu.calendly-style .mega-menu-column:last-child {
    flex: 0 0 380px !important;
    max-width: 380px !important;
}

.mega-menu.calendly-style video {
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: #07111f !important;
    border-radius: 14px !important;
}

.mega-menu-section a,
.sf-menu-system-link {
    border: 1px solid transparent !important;
    border-radius: 12px !important;
    background: transparent !important;
    transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease !important;
}

.mega-menu-section a:hover,
.sf-menu-system-link:hover {
    background: #f4f8ff !important;
    border-color: #dbe7f4 !important;
    box-shadow: 0 10px 24px rgba(11, 53, 88, 0.08) !important;
    transform: translateX(3px) !important;
}

.mega-menu-section a strong,
.sf-menu-system-link {
    color: #0b3558 !important;
    font-weight: 850 !important;
}

.mega-menu-section a span {
    color: #5a7694 !important;
    font-weight: 500 !important;
}

@media (max-width: 767.98px) {

    body.sf-after-hero-active .video-help-button,
    body.sf-after-hero-active .floating-social-container {
        display: none !important;
    }

    .slider-down-arrow {
        bottom: 22px !important;
    }

    .slider-down-arrow .arrow-circle {
        width: 48px !important;
        height: 48px !important;
    }
}

/* ============================================================================
   99. SOFIAPPS FIX FINAL - VER MÁS / FLOTANTES POR SECCIÓN
   Regla única:
   - Hero/video visible: VER MÁS visible, flotantes ocultos.
   - Debajo del hero: VER MÁS oculto, flotantes visibles.
   ============================================================================ */

body.sf-hero-active .sf-floating-after-hero,
body.sf-hero-active .floating-social-container,
body.sf-hero-active #floatingSocial,
body.sf-hero-active .video-help-button,
body.sf-hero-active .action-tabs-container,
body.sf-hero-active .wa_support_standalone.wcs_fixed_right,
body.sf-hero-video-visible .sf-floating-after-hero,
body.sf-hero-video-visible .floating-social-container,
body.sf-hero-video-visible #floatingSocial,
body.sf-hero-video-visible .video-help-button,
body.sf-hero-video-visible .action-tabs-container,
body.sf-hero-video-visible .wa_support_standalone.wcs_fixed_right,
body:not(.sf-after-hero-active) .sf-floating-after-hero,
body:not(.sf-after-hero-active) .floating-social-container,
body:not(.sf-after-hero-active) #floatingSocial,
body:not(.sf-after-hero-active) .video-help-button,
body:not(.sf-after-hero-active) .action-tabs-container,
body:not(.sf-after-hero-active) .wa_support_standalone.wcs_fixed_right {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

body.sf-after-hero-active .sf-floating-after-hero,
body.sf-after-hero-active .floating-social-container,
body.sf-after-hero-active #floatingSocial,
body.sf-after-hero-active .video-help-button,
body.sf-after-hero-active .action-tabs-container,
body.sf-after-hero-active .wa_support_standalone.wcs_fixed_right,
body.sf-floaters-visible .sf-floating-after-hero,
body.sf-floaters-visible .floating-social-container,
body.sf-floaters-visible #floatingSocial,
body.sf-floaters-visible .video-help-button,
body.sf-floaters-visible .action-tabs-container,
body.sf-floaters-visible .wa_support_standalone.wcs_fixed_right {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

body.sf-after-hero-active .floating-social-container,
body.sf-after-hero-active #floatingSocial,
body.sf-floaters-visible .floating-social-container,
body.sf-floaters-visible #floatingSocial {
    position: fixed !important;
    top: 50% !important;
    left: 0 !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 2147483100 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: 0 !important;
    transform: translateY(-50%) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.sf-after-hero-active .video-help-button,
body.sf-floaters-visible .video-help-button,
body.sf-after-hero-active .action-tabs-container,
body.sf-floaters-visible .action-tabs-container {
    position: fixed !important;
    top: 50% !important;
    right: 18px !important;
    left: auto !important;
    bottom: auto !important;
    z-index: 2147483101 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: 0 !important;
    transform: translateY(-50%) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.floating-social-container,
.video-help-button,
.action-tabs-container {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    padding: 0 !important;
    outline: 0 !important;
}

.floating-social-container::before,
.floating-social-container::after,
.video-help-button::before,
.video-help-button::after,
.action-tabs-container::before,
.action-tabs-container::after {
    display: none !important;
    content: none !important;
}

.slider-down-arrow {
    position: fixed !important;
    left: 50% !important;
    bottom: 38px !important;
    z-index: 2147483000 !important;
    transform: translateX(-50%) !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

body.sf-after-hero-active .slider-down-arrow,
body.sf-floaters-visible .slider-down-arrow,
.slider-down-arrow.hidden {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

body.sf-hero-active .slider-down-arrow,
body.sf-hero-video-visible .slider-down-arrow,
body:not(.sf-after-hero-active) .slider-down-arrow {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.slider-down-arrow .arrow-link {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

.slider-down-arrow .arrow-circle {
    width: 56px !important;
    height: 56px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid rgba(255, 255, 255, .95) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, .10) !important;
    color: #fff !important;
    box-shadow: none !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
}

.slider-down-arrow .arrow-circle i,
.slider-down-arrow .arrow-text {
    color: #fff !important;
}

.slider-down-arrow .arrow-text {
    font-size: 12px !important;
    font-weight: 900 !important;
    letter-spacing: 3px !important;
    line-height: 1 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .45) !important;
}

body.sf-after-hero-active .wa_support_standalone.wcs_fixed_right,
body.sf-floaters-visible .wa_support_standalone.wcs_fixed_right {
    position: fixed !important;
    right: 22px !important;
    bottom: 22px !important;
    z-index: 2147483600 !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.wa_support_standalone.wcs_fixed_right .wcs_button {
    width: 78px !important;
    height: 62px !important;
    min-width: 78px !important;
    border-radius: 24px !important;
    z-index: 2147483601 !important;
}

.wa_support_standalone.wcs_fixed_right .wcs_button img {
    width: 34px !important;
    height: 34px !important;
}

.wa_support_standalone.wcs_fixed_right .wcs_popup {
    right: 22px !important;
    bottom: 92px !important;
    width: min(380px, calc(100vw - 34px)) !important;
    max-height: min(520px, calc(100vh - 120px)) !important;
    z-index: 2147483602 !important;
    border-radius: 18px !important;
}

.wcs_popup_header {
    min-height: 58px !important;
    padding: 13px 16px !important;
    gap: 10px !important;
}

.wcs_popup_header_title {
    display: block !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    line-height: 1.05 !important;
    margin: 0 0 2px !important;
    white-space: nowrap !important;
}

.wcs_popup_header_description {
    display: block !important;
    color: rgba(255, 255, 255, .92) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin: 0 !important;
}

.wcs_popup_person {
    padding: 8px 14px !important;
    gap: 10px !important;
}

.wcs_popup_person_img img {
    width: 46px !important;
    height: 46px !important;
}

.wcs_popup_input {
    padding: 10px 14px !important;
    gap: 8px !important;
}

.mega-menu.calendly-style .mega-menu-container {
    align-items: flex-start !important;
}

.mega-menu.calendly-style .mega-menu-column:last-child {
    flex: 0 0 380px !important;
    max-width: 380px !important;
}

.mega-menu.calendly-style video {
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: #07111f !important;
    border-radius: 14px !important;
}

.mega-menu-section a,
.sf-menu-system-link {
    border: 1px solid transparent !important;
    border-radius: 12px !important;
    background: transparent !important;
    transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease !important;
}

.mega-menu-section a:hover,
.sf-menu-system-link:hover {
    background: #f4f8ff !important;
    border-color: #dbe7f4 !important;
    box-shadow: 0 10px 24px rgba(11, 53, 88, .08) !important;
    transform: translateX(3px) !important;
}

.mega-menu-section a strong,
.sf-menu-system-link strong {
    color: #0b3558 !important;
    font-weight: 850 !important;
}

.mega-menu-section a span,
.sf-menu-system-link span {
    color: #5a7694 !important;
    font-weight: 500 !important;
}

@media (min-width: 768px) {

    body.sf-after-hero-active .video-help-button.d-none.d-md-flex.sf-floating-after-hero,
    body.sf-floaters-visible .video-help-button.d-none.d-md-flex.sf-floating-after-hero {
        display: flex !important;
    }
}

@media (max-width: 767.98px) {

    body.sf-after-hero-active .video-help-button,
    body.sf-floaters-visible .video-help-button {
        display: none !important;
    }

    body.sf-after-hero-active .floating-social-container,
    body.sf-after-hero-active #floatingSocial,
    body.sf-floaters-visible .floating-social-container,
    body.sf-floaters-visible #floatingSocial {
        left: 10px !important;
        gap: 8px !important;
    }

    .slider-down-arrow {
        bottom: 22px !important;
    }

    .slider-down-arrow .arrow-circle {
        width: 48px !important;
        height: 48px !important;
    }

    .wa_support_standalone.wcs_fixed_right {
        right: 14px !important;
        bottom: 16px !important;
    }

    .wa_support_standalone.wcs_fixed_right .wcs_popup {
        right: 14px !important;
        bottom: 84px !important;
        width: calc(100vw - 28px) !important;
    }
}

/* ==========================================================================
   SOFIAPPS FINAL AJUSTE - VER MÁS + FLOTANTES + WHATSAPP + MENÚ
   Este bloque manda sobre reglas anteriores.
   ========================================================================== */
html {
    scroll-behavior: smooth !important;
}

#sofiapps {
    scroll-margin-top: 96px !important;
}

/* VER MÁS: solo se ve en el video/hero */
.slider-down-arrow {
    position: fixed !important;
    left: 50% !important;
    bottom: 38px !important;
    z-index: 2147483000 !important;
    display: block !important;
    transform: translateX(-50%) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.slider-down-arrow .arrow-link {
    cursor: pointer !important;
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

.slider-down-arrow .arrow-circle {
    width: 58px !important;
    height: 58px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid rgba(255, 255, 255, .96) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, .14) !important;
    color: #fff !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .24) !important;
    backdrop-filter: blur(7px) !important;
    -webkit-backdrop-filter: blur(7px) !important;
}

.slider-down-arrow .arrow-circle i,
.slider-down-arrow .arrow-text {
    color: #fff !important;
}

.slider-down-arrow .arrow-text {
    font-size: 12px !important;
    font-weight: 900 !important;
    letter-spacing: 3px !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .55) !important;
}

.slider-down-arrow .arrow-link:hover .arrow-circle {
    background: rgba(37, 211, 102, .32) !important;
    border-color: #25d366 !important;
    transform: translateY(-2px) !important;
}

html.sf-after-hero .slider-down-arrow,
body.sf-after-hero .slider-down-arrow,
body.sf-after-hero-active .slider-down-arrow,
body.sf-floaters-visible .slider-down-arrow,
.slider-down-arrow.hidden {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

html.sf-in-hero .slider-down-arrow,
body.sf-in-hero .slider-down-arrow,
body.sf-hero-active .slider-down-arrow,
body.sf-hero-video-visible .slider-down-arrow {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* En video/hero no debe existir ningún flotante */
html.sf-in-hero .sf-floating-after-hero,
html.sf-in-hero .floating-social-container,
html.sf-in-hero #floatingSocial,
html.sf-in-hero .video-help-button,
html.sf-in-hero .action-tabs-container,
html.sf-in-hero .wa_support_standalone.wcs_fixed_right,
body.sf-in-hero .sf-floating-after-hero,
body.sf-in-hero .floating-social-container,
body.sf-in-hero #floatingSocial,
body.sf-in-hero .video-help-button,
body.sf-in-hero .action-tabs-container,
body.sf-in-hero .wa_support_standalone.wcs_fixed_right,
body.sf-hero-active .sf-floating-after-hero,
body.sf-hero-active .floating-social-container,
body.sf-hero-active #floatingSocial,
body.sf-hero-active .video-help-button,
body.sf-hero-active .action-tabs-container,
body.sf-hero-active .wa_support_standalone.wcs_fixed_right,
body.sf-hero-video-visible .sf-floating-after-hero,
body.sf-hero-video-visible .floating-social-container,
body.sf-hero-video-visible #floatingSocial,
body.sf-hero-video-visible .video-help-button,
body.sf-hero-video-visible .action-tabs-container,
body.sf-hero-video-visible .wa_support_standalone.wcs_fixed_right {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Debajo del video aparecen flotantes */
html.sf-after-hero .sf-floating-after-hero,
html.sf-after-hero .floating-social-container,
html.sf-after-hero #floatingSocial,
html.sf-after-hero .video-help-button,
html.sf-after-hero .action-tabs-container,
body.sf-after-hero .sf-floating-after-hero,
body.sf-after-hero .floating-social-container,
body.sf-after-hero #floatingSocial,
body.sf-after-hero .video-help-button,
body.sf-after-hero .action-tabs-container,
body.sf-after-hero-active .sf-floating-after-hero,
body.sf-after-hero-active .floating-social-container,
body.sf-after-hero-active #floatingSocial,
body.sf-after-hero-active .video-help-button,
body.sf-after-hero-active .action-tabs-container,
body.sf-floaters-visible .sf-floating-after-hero,
body.sf-floaters-visible .floating-social-container,
body.sf-floaters-visible #floatingSocial,
body.sf-floaters-visible .video-help-button,
body.sf-floaters-visible .action-tabs-container {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

html.sf-after-hero .wa_support_standalone.wcs_fixed_right,
body.sf-after-hero .wa_support_standalone.wcs_fixed_right,
body.sf-after-hero-active .wa_support_standalone.wcs_fixed_right,
body.sf-floaters-visible .wa_support_standalone.wcs_fixed_right {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Redes sociales: un poco más a la derecha y visibles */
.floating-social-container,
#floatingSocial,
html.sf-after-hero .floating-social-container,
html.sf-after-hero #floatingSocial,
body.sf-after-hero-active .floating-social-container,
body.sf-after-hero-active #floatingSocial,
body.sf-floaters-visible .floating-social-container,
body.sf-floaters-visible #floatingSocial {
    position: fixed !important;
    top: 50% !important;
    left: 38px !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 2147482500 !important;
    flex-direction: column !important;
    gap: 9px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: translateY(-50%) !important;
    overflow: visible !important;
}

.floating-social-container::before,
.floating-social-container::after,
#floatingSocial::before,
#floatingSocial::after {
    display: none !important;
    content: none !important;
}

.floating-social-tab {
    width: 62px !important;
    height: 62px !important;
    transform: translateX(-6px) !important;
    border-radius: 0 16px 16px 0 !important;
    box-shadow: 5px 6px 22px rgba(0, 0, 0, .20) !important;
}

.floating-social-tab:hover {
    width: 74px !important;
    transform: translateX(0) !important;
}

.floating-social-tab img {
    width: 29px !important;
    height: 29px !important;
}

/* Botones derechos verdes */
.video-help-button,
.action-tabs-container,
html.sf-after-hero .video-help-button,
body.sf-after-hero-active .video-help-button,
body.sf-floaters-visible .video-help-button,
html.sf-after-hero .action-tabs-container,
body.sf-after-hero-active .action-tabs-container,
body.sf-floaters-visible .action-tabs-container {
    position: fixed !important;
    top: 50% !important;
    right: 24px !important;
    left: auto !important;
    bottom: auto !important;
    z-index: 2147482550 !important;
    flex-direction: column !important;
    gap: 11px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: translateY(-50%) !important;
    overflow: visible !important;
}

.video-help-button::before,
.video-help-button::after,
.action-tabs-container::before,
.action-tabs-container::after {
    display: none !important;
    content: none !important;
}

.btn-video-tutorial,
.btn-video-tutorial.btn-sofy,
.btn-video-tutorial.btn-video,
.btn-video-tutorial.btn-booking,
.btn-video-tutorial.btn-tracking,
.btn-video-tutorial.btn-login,
.action-tab,
.action-tab.whatsapp,
.action-tab.phone,
.action-tab.demo,
.action-tab.login,
.action-tab.partner {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%) !important;
    color: #fff !important;
    box-shadow: 0 12px 30px rgba(37, 211, 102, .32) !important;
}

.btn-video-tutorial:hover,
.action-tab:hover {
    background: linear-gradient(135deg, #31e579 0%, #0f7b70 100%) !important;
    box-shadow: 0 16px 38px rgba(37, 211, 102, .44) !important;
}

/* WhatsApp: diferente, más abajo, más largo y popup con campo visible */
.wa_support_standalone.wcs_fixed_right,
html.sf-after-hero .wa_support_standalone.wcs_fixed_right,
body.sf-after-hero-active .wa_support_standalone.wcs_fixed_right,
body.sf-floaters-visible .wa_support_standalone.wcs_fixed_right {
    position: fixed !important;
    right: 30px !important;
    bottom: 78px !important;
    z-index: 2147483600 !important;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif !important;
}

.wa_support_standalone.wcs_fixed_right .wcs_button {
    width: 142px !important;
    height: 62px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    padding: 0 17px !important;
    background: linear-gradient(135deg, #25d366 0%, #0b8f79 100%) !important;
    box-shadow: 0 18px 45px rgba(37, 211, 102, .42) !important;
}

.wa_support_standalone.wcs_fixed_right .wcs_button img {
    width: 31px !important;
    height: 31px !important;
    flex: 0 0 auto !important;
}

.wa_support_standalone.wcs_fixed_right .wcs_button_text {
    display: inline-block !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: .2px !important;
    white-space: nowrap !important;
}

.wa_support_standalone.wcs_fixed_right .wcs_popup {
    position: fixed !important;
    right: 30px !important;
    bottom: 152px !important;
    width: min(380px, calc(100vw - 48px)) !important;
    max-height: min(690px, calc(100vh - 170px)) !important;
    z-index: 2147483640 !important;
    border-radius: 22px !important;
    overflow: hidden !important;
}

.wcs_popup_header {
    min-height: 78px !important;
    padding: 18px 58px 18px 22px !important;
    align-items: center !important;
}

.wcs_popup_header_title {
    display: block !important;
    color: #fff !important;
    font-size: 19px !important;
    font-weight: 900 !important;
    line-height: 1.15 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
}

.wcs_popup_header_description {
    display: block !important;
    color: rgba(255, 255, 255, .94) !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    overflow: visible !important;
}

.wcs_popup_person_container {
    max-height: 430px !important;
}

.wcs_popup_person_name,
.wcs_popup_person_description {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
}

.wcs_popup_input {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 18px 22px !important;
    background: #fff !important;
}

.wcs_popup_input input {
    min-width: 0 !important;
    height: 54px !important;
    font-size: 15px !important;
    border-radius: 16px !important;
}

/* Mega menú: efecto suave al seleccionar/hover de sistema */
.mega-menu-section a {
    position: relative !important;
    border: 1px solid transparent !important;
    background: transparent !important;
    border-radius: 14px !important;
    transition: background .22s ease, border-color .22s ease, transform .22s ease, box-shadow .22s ease !important;
}

.mega-menu-section a:hover,
.mega-menu-section a:focus-visible {
    border-color: rgba(37, 211, 102, .26) !important;
    background: linear-gradient(135deg, rgba(37, 211, 102, .10), rgba(11, 53, 88, .035)) !important;
    box-shadow: 0 14px 30px rgba(11, 53, 88, .08) !important;
    transform: translateX(4px) translateY(-1px) !important;
}

.mega-menu-section a i {
    width: 34px !important;
    height: 34px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    background: rgba(37, 211, 102, .12) !important;
    color: #128c7e !important;
    font-size: 1rem !important;
    transition: background .22s ease, color .22s ease, transform .22s ease !important;
}

.mega-menu-section a:hover i,
.mega-menu-section a:focus-visible i {
    background: #25d366 !important;
    color: #fff !important;
    transform: scale(1.04) !important;
}

.mega-menu-section a strong {
    color: #0b3558 !important;
    font-size: .98rem !important;
    font-weight: 900 !important;
    letter-spacing: -.01em !important;
}

.mega-menu-section a span {
    color: #5a7694 !important;
    font-size: .84rem !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
}

.mega-menu-featured video,
.mega-menu-featured .video-wrapper,
.mega-menu-featured .v-placeholder,
.mega-menu video {
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: 14px !important;
}

/* Traductor: se mantiene fuera de la lógica de flotantes */
.gtranslate_wrapper {
    z-index: 2147483647 !important;
}

@media (max-width: 767.98px) {

    .floating-social-container,
    #floatingSocial,
    html.sf-after-hero .floating-social-container,
    body.sf-after-hero-active .floating-social-container,
    body.sf-floaters-visible .floating-social-container {
        left: 3px !important;
    }

    .floating-social-tab {
        width: 56px !important;
        height: 56px !important;
        transform: translateX(-6px) !important;
    }

    .video-help-button,
    .action-tabs-container {
        display: none !important;
    }

    .wa_support_standalone.wcs_fixed_right,
    html.sf-after-hero .wa_support_standalone.wcs_fixed_right,
    body.sf-after-hero-active .wa_support_standalone.wcs_fixed_right,
    body.sf-floaters-visible .wa_support_standalone.wcs_fixed_right {
        right: 16px !important;
        bottom: 74px !important;
    }

    .wa_support_standalone.wcs_fixed_right .wcs_button {
        width: 132px !important;
        height: 58px !important;
    }

    .wa_support_standalone.wcs_fixed_right .wcs_popup {
        right: 14px !important;
        bottom: 144px !important;
        width: calc(100vw - 28px) !important;
        max-height: calc(100vh - 160px) !important;
    }
}


/* ==========================================================================
   SOFIAPPS FIX FINAL - VER MÁS / FLOTANTES / WHATSAPP / MENÚ
   ========================================================================== */

/* VER MÁS: botón puro, siempre clickable encima del video */
.slider-down-arrow {
    position: fixed !important;
    left: 50% !important;
    bottom: 38px !important;
    z-index: 2147483605 !important;
    transform: translateX(-50%) !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.slider-down-arrow,
.slider-down-arrow * {
    cursor: pointer !important;
}

.slider-down-arrow .arrow-link {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-decoration: none !important;
    pointer-events: auto !important;
}

.slider-down-arrow .arrow-circle {
    width: 58px !important;
    height: 58px !important;
    border-radius: 999px !important;
    border: 2px solid rgba(255, 255, 255, .96) !important;
    background: rgba(255, 255, 255, .12) !important;
    color: #fff !important;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .18) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
}

.slider-down-arrow .arrow-circle i,
.slider-down-arrow .arrow-text {
    color: #fff !important;
}

.slider-down-arrow .arrow-text {
    font-size: 12px !important;
    font-weight: 900 !important;
    letter-spacing: 3px !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .45) !important;
}

.slider-down-arrow .arrow-link:hover .arrow-circle {
    background: rgba(37, 211, 102, .25) !important;
    border-color: #25d366 !important;
    transform: translateY(-2px) !important;
}

body.sf-after-hero-active .slider-down-arrow,
body.sf-floaters-visible .slider-down-arrow,
html.sf-after-hero .slider-down-arrow,
.slider-down-arrow.hidden {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

body.sf-hero-active .slider-down-arrow,
body.sf-hero-video-visible .slider-down-arrow,
html.sf-in-hero .slider-down-arrow {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Regla de sección: en el video NO hay flotantes, debajo SÍ */
body.sf-hero-active .floating-social-container,
body.sf-hero-active #floatingSocial,
body.sf-hero-active .video-help-button,
body.sf-hero-active .action-tabs-container,
body.sf-hero-active .wa_support_standalone.wcs_fixed_right,
body.sf-hero-video-visible .floating-social-container,
body.sf-hero-video-visible #floatingSocial,
body.sf-hero-video-visible .video-help-button,
body.sf-hero-video-visible .action-tabs-container,
body.sf-hero-video-visible .wa_support_standalone.wcs_fixed_right,
html.sf-in-hero .floating-social-container,
html.sf-in-hero #floatingSocial,
html.sf-in-hero .video-help-button,
html.sf-in-hero .action-tabs-container,
html.sf-in-hero .wa_support_standalone.wcs_fixed_right {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

body.sf-after-hero-active .floating-social-container,
body.sf-after-hero-active #floatingSocial,
body.sf-after-hero-active .video-help-button,
body.sf-after-hero-active .action-tabs-container,
body.sf-floaters-visible .floating-social-container,
body.sf-floaters-visible #floatingSocial,
body.sf-floaters-visible .video-help-button,
body.sf-floaters-visible .action-tabs-container,
html.sf-after-hero .floating-social-container,
html.sf-after-hero #floatingSocial,
html.sf-after-hero .video-help-button,
html.sf-after-hero .action-tabs-container {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

body.sf-after-hero-active .wa_support_standalone.wcs_fixed_right,
body.sf-floaters-visible .wa_support_standalone.wcs_fixed_right,
html.sf-after-hero .wa_support_standalone.wcs_fixed_right {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Redes sociales: dos pelos a la izquierda, pero visibles */
.floating-social-container,
#floatingSocial,
body.sf-after-hero-active .floating-social-container,
body.sf-after-hero-active #floatingSocial,
body.sf-floaters-visible .floating-social-container,
body.sf-floaters-visible #floatingSocial,
html.sf-after-hero .floating-social-container,
html.sf-after-hero #floatingSocial {
    position: fixed !important;
    top: 50% !important;
    left: 8px !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 2147482500 !important;
    flex-direction: column !important;
    gap: 9px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: translateY(-50%) !important;
    overflow: visible !important;
}

.floating-social-tab {
    width: 62px !important;
    height: 62px !important;
    transform: translateX(-8px) !important;
    border-radius: 0 16px 16px 0 !important;
    box-shadow: 5px 6px 22px rgba(0, 0, 0, .20) !important;
}

.floating-social-tab:hover {
    width: 74px !important;
    transform: translateX(-1px) !important;
}

/* Botones derechos verdes */
.video-help-button,
.action-tabs-container,
body.sf-after-hero-active .video-help-button,
body.sf-after-hero-active .action-tabs-container,
body.sf-floaters-visible .video-help-button,
body.sf-floaters-visible .action-tabs-container {
    position: fixed !important;
    top: 50% !important;
    right: 24px !important;
    z-index: 2147482550 !important;
    flex-direction: column !important;
    gap: 11px !important;
    transform: translateY(-50%) !important;
    overflow: visible !important;
    background: transparent !important;
    box-shadow: none !important;
}

.btn-video-tutorial,
.btn-video-tutorial.btn-sofy,
.btn-video-tutorial.btn-video,
.btn-video-tutorial.btn-booking,
.btn-video-tutorial.btn-tracking,
.btn-video-tutorial.btn-login,
.action-tab,
.action-tab.whatsapp,
.action-tab.phone,
.action-tab.demo,
.action-tab.login,
.action-tab.partner {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%) !important;
    color: #fff !important;
    box-shadow: 0 12px 30px rgba(37, 211, 102, .32) !important;
}

/* WhatsApp a la altura del traductor, más largo y con mensaje visible */
.wa_support_standalone.wcs_fixed_right,
body.sf-after-hero-active .wa_support_standalone.wcs_fixed_right,
body.sf-floaters-visible .wa_support_standalone.wcs_fixed_right,
html.sf-after-hero .wa_support_standalone.wcs_fixed_right {
    position: fixed !important;
    right: 28px !important;
    bottom: 14px !important;
    z-index: 2147483600 !important;
}

.wa_support_standalone.wcs_fixed_right .wcs_button {
    width: 170px !important;
    height: 62px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 0 18px !important;
    background: linear-gradient(135deg, #25d366 0%, #0b8f79 100%) !important;
    box-shadow: 0 18px 45px rgba(37, 211, 102, .42) !important;
}

.wa_support_standalone.wcs_fixed_right .wcs_button_text {
    display: inline-block !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
}

.wa_support_standalone.wcs_fixed_right .wcs_popup {
    position: fixed !important;
    right: 28px !important;
    bottom: 88px !important;
    width: min(380px, calc(100vw - 44px)) !important;
    max-height: min(720px, calc(100vh - 110px)) !important;
    z-index: 2147483640 !important;
    border-radius: 22px !important;
    overflow: hidden !important;
}

.wcs_popup_person_container {
    max-height: 455px !important;
}

.wcs_popup_input {
    display: flex !important;
    padding: 18px 22px !important;
}

.wcs_popup_input input {
    min-width: 0 !important;
    height: 56px !important;
    font-size: 15px !important;
}

/* Mega menú: hover suave y diferenciado en opciones */
.mega-menu-section a {
    position: relative !important;
    border: 1px solid transparent !important;
    border-radius: 14px !important;
    background: transparent !important;
    transition: background .22s ease, border-color .22s ease, transform .22s ease, box-shadow .22s ease !important;
}

.mega-menu-section a:hover,
.mega-menu-section a:focus-visible,
.mega-menu-section a.active {
    border-color: rgba(37, 211, 102, .28) !important;
    background: linear-gradient(135deg, rgba(37, 211, 102, .11), rgba(11, 53, 88, .04)) !important;
    box-shadow: 0 14px 30px rgba(11, 53, 88, .08) !important;
    transform: translateX(4px) translateY(-1px) !important;
}

.mega-menu-section a i {
    width: 34px !important;
    height: 34px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    background: rgba(37, 211, 102, .12) !important;
    color: #128c7e !important;
    transition: background .22s ease, color .22s ease, transform .22s ease !important;
}

.mega-menu-section a:hover i,
.mega-menu-section a:focus-visible i,
.mega-menu-section a.active i {
    background: #25d366 !important;
    color: #fff !important;
    transform: scale(1.04) !important;
}

.gtranslate_wrapper {
    z-index: 2147483647 !important;
}

@media (max-width: 767.98px) {

    .floating-social-container,
    #floatingSocial,
    body.sf-after-hero-active .floating-social-container,
    body.sf-after-hero-active #floatingSocial,
    body.sf-floaters-visible .floating-social-container,
    body.sf-floaters-visible #floatingSocial {
        left: 8px !important;
    }

    .wa_support_standalone.wcs_fixed_right,
    body.sf-after-hero-active .wa_support_standalone.wcs_fixed_right,
    body.sf-floaters-visible .wa_support_standalone.wcs_fixed_right {
        right: 14px !important;
        bottom: 14px !important;
    }

    .wa_support_standalone.wcs_fixed_right .wcs_button {
        width: 154px !important;
        height: 58px !important;
    }

    .wa_support_standalone.wcs_fixed_right .wcs_popup {
        right: 12px !important;
        bottom: 84px !important;
        width: calc(100vw - 24px) !important;
        max-height: calc(100vh - 105px) !important;
    }
}

/* NUEVO */


/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.08);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.35);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.55);
}

html {
    overflow-y: overlay;
}

@supports not (overflow-y: overlay) {
    html {
        overflow-y: auto;
    }

    body {
        padding-right: 8px;
    }
}



::-webkit-scrollbar {
    width: 12px !important;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.06) !important;
}

::-webkit-scrollbar-thumb {
    background: #25d366 !important;
    border: 2px solid #ffffff !important;
    border-radius: 999px !important;
    min-height: 200px !important;
}

::-webkit-scrollbar-thumb:hover {
    background: #128c7e !important;
}

.main-header__layout {
    z-index: 99 !important;
}




::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.08);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.35);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.55);
}

body {
    position: relative;
    z-index: 1;
}

.main-header__layout {
    z-index: 99;
}

html {
    overflow-y: overlay;
}

@supports not (overflow-y: overlay) {
    html {
        overflow-y: auto;
    }

    body {
        padding-right: 8px;
    }
}



:root {
    --cal-blue: #006bff;
    --cal-blue-hover: #005be6;
    --cal-bg-hover: #f4f8ff;
    --cal-text-main: #1d344b;
    --cal-text-muted: #4b5e71;
    --cal-border: #e8ecef;
    --cal-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.08), 0 10px 30px -5px rgba(0, 0, 0, 0.04);
}

/* Navbar Top Level Items */
#primary-menu .menu-item>a {
    color: #ffffff;
    /* Ajustado para tu header morado */
    font-weight: 500;
    letter-spacing: 0.2px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 15px;
    text-decoration: none;
    transition: none !important;
    transform: none !important;
}

.main-header__layout .main-header__default .navbar-nav>li.menu-item:first-child>a {
    transition: none !important;
    transform: none !important;
}

.menu-item-has-mega-menu {
    position: static !important;
}

.dropdown-icon {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
    margin-left: 2px;
    opacity: 0.8;
}

/* Mega Menú Contenedor (Blanco, limpio, sombra suave) */
.mega-menu.calendly-style {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 0 0 16px 16px;
    padding: 40px 0;
    opacity: 0;
    visibility: hidden;
    box-shadow: var(--cal-shadow);
    border-top: 1px solid var(--cal-border);
    z-index: 1000;
}

.menu-item-has-mega-menu:hover .mega-menu.calendly-style {
    opacity: 1;
    visibility: visible;
}

/* Contenedor interno */
.mega-menu-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    padding: 0 40px;
}

.mega-menu-column {
    flex: 1;
}

.mega-menu-column.highlight {
    flex: 0.7;
    border-left: 1px solid var(--cal-border);
    padding-left: 40px;
}

/* Secciones dentro del mega menú */
.mega-menu-section {
    margin-bottom: 40px;
}

.mega-menu-section:last-child {
    margin-bottom: 0;
}

.mega-menu-section h4 {
    color: #8b99a6;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-left: 12px;
}

/* Enlaces del Mega Menú */
.mega-menu-section a {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    margin-bottom: 4px;
}

.mega-menu-section a:hover {
    background-color: var(--cal-bg-hover);
}

.mega-menu-section a i {
    font-size: 1.25rem;
    color: var(--cal-blue);
    margin-top: 2px;
    /* Alinea el ícono con la primera línea de texto */
    width: 24px;
    text-align: center;
}

.mega-menu-section a div {
    flex: 1;
}

.mega-menu-section a strong {
    display: block;
    color: var(--cal-text-main);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.2;
}

.mega-menu-section a span {
    display: block;
    color: var(--cal-text-muted);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Badges */
.badge-new {
    display: inline-flex;
    align-items: center;
    background: #eef2ff;
    color: var(--cal-blue);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 8px;
    vertical-align: middle;
    letter-spacing: 0.5px;
}

/* Sección Destacada (Call to Action lateral) */
.mega-menu-featured {
    background: #f8fafc;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: left;
    border: 1px solid var(--cal-border);
}

.mega-menu-featured i {
    font-size: 2rem;
    color: var(--cal-text-main);
    margin-bottom: 20px;
}

.mega-menu-featured h4 {
    color: var(--cal-text-main);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: none;
    letter-spacing: normal;
    padding-left: 0;
}

.mega-menu-featured p {
    color: var(--cal-text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
    line-height: 1.5;
}

.featured-link {
    display: inline-flex;
    align-items: center;
    color: var(--cal-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.featured-link:hover {
    color: var(--cal-blue-hover);
    text-decoration: underline;
}

/* Mega menú pequeño (para empresa) */
.mega-menu.calendly-style.small {
    width: 450px;
    left: auto;
    right: 0;
    border-radius: 12px;
    padding: 24px 0;
}

.mega-menu.calendly-style.small .mega-menu-container {
    padding: 0 24px;
}

/* Botones CTA de la barra principal */
.partner-link,
.demo-button {
    padding: 8px 16px !important;
    border-radius: 24px !important;
    margin-left: 8px;
    font-weight: 600 !important;
    transition: all 0.2s ease;
}

.partner-link {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
}

.partner-link:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: #fff !important;
}

.demo-button {
    background: var(--cal-blue) !important;
    color: #ffffff !important;
    border: none !important;
}

.demo-button:hover {
    background: var(--cal-blue-hover) !important;
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 992px) {
    .mega-menu.calendly-style {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding: 20px;
        margin-top: 10px;
        box-shadow: none;
        border: 1px solid var(--cal-border);
        border-radius: 12px;
        display: none;
    }

    .menu-item-has-mega-menu.active .mega-menu.calendly-style {
        display: block;
    }

    .mega-menu-container {
        flex-direction: column;
        gap: 30px;
        padding: 0;
    }

    .mega-menu-column.highlight {
        border-left: none;
        border-top: 1px solid var(--cal-border);
        padding-left: 0;
        padding-top: 30px;
    }

    .mega-menu.calendly-style.small {
        width: auto;
    }
}





/* Eliminar efecto de movimiento en TODOS los items del menú */
#primary-menu .menu-item>a,
#primary-menu .menu-item>a span,
.main-header__nav .navbar-nav .menu-item>a,
.main-header__nav .navbar-nav .menu-item>a span {
    transition: none !important;
    transform: none !important;
}

/* Efecto hover solo cambio de color, sin movimiento */
#primary-menu .menu-item>a:hover,
#primary-menu .menu-item>a:hover span {
    color: #2ff3f2 !important;
    background: transparent !important;
    transform: none !important;
}



.whatsapp-mega-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: linear-gradient(135deg, #25d167, #159979);
    color: white;
    padding: 18px 45px;
    border-radius: 60px;
    text-decoration: none;
    border: none;
    transition: all 0.3s ease;
    min-width: 320px;
    max-width: 500px;
    box-shadow: 0 10px 25px rgba(21, 153, 121, 0.3);
    position: relative;
    overflow: hidden;
}

.whatsapp-mega-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(21, 153, 121, 0.4);
    background: linear-gradient(135deg, #159979, #25d167);
}

.whatsapp-mega-btn i {
    font-size: 2.8rem;
    color: white;
    transition: transform 0.3s ease;
}

.whatsapp-mega-btn:hover i {
    transform: scale(1.1);
    color: white;
}

.whatsapp-mega-btn .btn-title {
    font-size: 1.6rem;
    font-weight: 900;
    display: block;
    color: white;
    line-height: 1.2;
}

.whatsapp-mega-btn .btn-subtitle {
    font-size: 1rem;
    opacity: 0.95;
    font-weight: 500;
    color: white;
    display: block;
}


.whatsapp-container-centered {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 50px;
}

/* CTA ultra-compacto para cards */
.whatsapp-direct-contact.compact {
    display: flex;
    justify-content: center;
    width: 56%;
    /* −20% aprox */
    margin: 20px auto 0;
    /* más aire con el texto */
}

.whatsapp-direct-contact.compact .whatsapp-mega-btn {
    padding: 8px 10px;
    gap: 6px;
    max-width: 130px;
    /* −20% aprox */
    width: 100%;
    box-sizing: border-box;
}

.whatsapp-direct-contact.compact .whatsapp-mega-btn i {
    font-size: 16px;
}

.whatsapp-direct-contact.compact .btn-title {
    font-size: 15px;
}

.whatsapp-direct-contact.compact .btn-subtitle {
    font-size: 14px;
}

.whatsapp-mega-btn {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    background: #ebf3ff;
    /* Azul Calendly/Tech */
    color: white !important;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    margin-top: 40px;
    transition: background 0.3s ease;
}

.whatsapp-mega-btn:hover {
    background: #0056cc;
}

.btn-title {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
}

.btn-subtitle {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Trust Footer */
.trust-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--borde-suave);
}

.benefit-item {
    font-size: 0.9rem;
    color: var(--texto-gris);
    margin: 0 15px;
}

.sep {
    color: var(--borde-suave);
}





:root {
    --sf-blue: #2563eb;
    --sf-purple: #6d28d9;
    --sf-green: #25d366;
    --sf-green-dark: #128c4a;
    --sf-green-soft: #e9fff2;
    --sf-cyan: #22d3ee;
    --sf-cyan-dark: #0891b2;
    --sf-cyan-soft: #ecfeff;
    --sf-orange: #f97316;
    --sf-ink: #102033;
    --sf-text: #26384d;
    --sf-muted: #64748b;
    --sf-line: #e7edf5;
    --sf-soft: #f7faff;
    --sf-white: #ffffff;
}

/* Header/logo: evita deformación */
.main-header__logo,
.main-header__logo a,
.main-header__logo .logo-dark {
    display: flex !important;
    align-items: center !important;
}

.main-header__logo img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-height: 48px !important;
    max-width: 182px !important;
    object-fit: contain !important;
    object-position: left center !important;
}

/* Cursor mano en todo lo clickeable */
a[href],
button,
[role="button"],
.sf-clickable,
.sf-featured-link,
.sf-system-card,
.sf-info-card,
.sf-mini-card,
.menu-item>a {
    cursor: pointer !important;
}

/* Top nav */
#primary-menu>.menu-item>a {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 8px 11px !important;
    border-radius: 999px;
    color: #ffffff !important;
    line-height: 1 !important;
    transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

#primary-menu>.menu-item>a span,
#primary-menu>.menu-item>a i {
    transform: none !important;
    animation: none !important;
}

/* Menú activo: solo cyan, sin fondo verde */
#primary-menu>.menu-item>a::after {
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 2px;
    height: 2px;
    border-radius: 999px;
    background: var(--sf-cyan);
    opacity: 0;
    transform: scaleX(.35) !important;
    transform-origin: center;
    transition: opacity .16s ease, transform .16s ease;
}

#primary-menu>.menu-item.sf-mega-open>a,
#primary-menu>.menu-item>a:hover,
#primary-menu>.menu-item>a:focus-visible {
    color: var(--sf-cyan) !important;
    background: transparent !important;
    box-shadow: none !important;
}

#primary-menu>.menu-item.sf-mega-open>a::after,
#primary-menu>.menu-item>a:hover::after,
#primary-menu>.menu-item>a:focus-visible::after {
    opacity: 1;
    transform: scaleX(1) !important;
}

#primary-menu>.menu-item.sf-mega-open>a .dropdown-icon,
#primary-menu>.menu-item:hover>a .dropdown-icon {
    transform: none !important;
}

/* Mega menu full width */
.mega-menu.calendly-style.sf-mega {
    left: 50% !important;
    right: auto !important;
    width: 100vw !important;
    max-width: none !important;
    transform: translateX(-50%) translateY(6px) !important;
    padding: 22px 0 24px !important;
    background: #ffffff !important;
    border-top: 1px solid rgba(231, 237, 245, .95) !important;
    border-bottom: 1px solid rgba(231, 237, 245, .95) !important;
    box-shadow: 0 22px 50px rgba(16, 32, 51, .13) !important;
    overflow: visible !important;
    z-index: 9999 !important;
    display: block !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity .14s ease, transform .14s ease, visibility .14s ease;
}

#primary-menu>.menu-item-has-mega-menu.sf-mega-open>.mega-menu.calendly-style.sf-mega {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(-50%) translateY(0) !important;
}

#primary-menu>.menu-item-has-mega-menu:not(.sf-mega-open)>.mega-menu.calendly-style.sf-mega {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.sf-mega *,
.sf-mega *::before,
.sf-mega *::after {
    box-sizing: border-box;
}

/* Bloquea efectos heredados raros: nada rota, nada desaparece */
.sf-mega a,
.sf-mega span,
.sf-mega p,
.sf-mega strong,
.sf-mega h1,
.sf-mega h2,
.sf-mega h3,
.sf-mega h4,
.sf-mega h5,
.sf-mega i {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    animation: none !important;
    rotate: none !important;
    filter: none !important;
    text-shadow: none !important;
}

.sf-mega-wrap {
    width: min(100%, 1260px);
    margin: 0 auto;
    padding: 0 26px;
}

.sf-mega-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 26px;
    align-items: stretch;
}

.sf-mega-layout.sf-wide-video {
    grid-template-columns: minmax(0, 1fr) 390px;
}

.sf-content {
    min-width: 0;
}

.sf-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 7px;
    color: var(--sf-cyan-dark);
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.sf-eyebrow i {
    color: var(--sf-cyan);
    font-size: .95rem;
}

.sf-title {
    margin: 0 0 8px;
    color: var(--sf-ink);
    font-size: clamp(1.12rem, 1.3vw, 1.48rem);
    line-height: 1.14;
    font-weight: 900;
    letter-spacing: -0.025em;
}

.sf-lead {
    max-width: 760px;
    margin: 0 0 14px;
    color: var(--sf-muted);
    font-size: .86rem;
    line-height: 1.45;
}

.sf-lead strong {
    color: var(--sf-ink);
}

/* Sistemas en 4 columnas */
.sf-system-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
}

.sf-section {
    min-width: 0;
}

.sf-section-title {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 25px;
    margin: 14px 0 11px;
    /* margen real para que no quede pegado arriba */
    padding: 7px 0 0;
    color: var(--sf-ink);
    font-size: .69rem;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .075em;
}

.sf-section-title::before {
    content: "";
    display: block;
    width: 3px;
    height: 16px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--sf-cyan), var(--sf-blue));
}

.sf-system-list {
    display: grid;
    gap: 7px;
}

.sf-system-card,
.sf-info-card,
.sf-mini-card {
    position: relative;
    display: flex !important;
    align-items: center;
    gap: 9px;
    min-width: 0;
    min-height: 48px;
    padding: 10px 11px;
    color: var(--sf-text) !important;
    text-decoration: none !important;
    background: #ffffff !important;
    border: 1px solid var(--sf-line);
    border-radius: 13px;
    box-shadow: none !important;
    transform: none !important;
    transition: border-color .16s ease, background-color .16s ease, color .16s ease;
}

.sf-system-card *,
.sf-info-card *,
.sf-mini-card * {
    color: inherit;
    transform: none !important;
    animation: none !important;
}

.sf-system-card::before,
.sf-system-card::after,
.sf-info-card::before,
.sf-info-card::after,
.sf-mini-card::before,
.sf-mini-card::after {
    content: none !important;
    display: none !important;
}

.sf-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 31px;
    width: 31px;
    height: 31px;
    border-radius: 10px;
    color: var(--sf-blue) !important;
    background: #eef4ff;
    border: 1px solid #dbe7ff;
    font-size: 1rem;
    line-height: 1;
    transition: color .16s ease, background-color .16s ease, border-color .16s ease, transform .16s ease;
}

.sf-system-text,
.sf-card-text {
    display: block;
    min-width: 0;
    color: var(--sf-text) !important;
    font-size: .78rem;
    font-weight: 780;
    line-height: 1.15;
    white-space: normal;
}

.sf-system-sub {
    display: block;
    margin-top: 1px;
    color: var(--sf-muted) !important;
    font-size: .66rem;
    font-weight: 600;
    line-height: 1.15;
}

/* Hover sutil y estable: no desaparece texto, no rota, no mueve tarjeta */
.sf-system-card:hover,
.sf-system-card:focus-visible,
.sf-info-card:hover,
.sf-info-card:focus-visible,
.sf-mini-card:hover,
.sf-mini-card:focus-visible {
    color: var(--sf-text) !important;
    background: var(--sf-cyan-soft) !important;
    border-color: rgba(34, 211, 238, .65) !important;
    outline: none !important;
    transform: none !important;
    box-shadow: none !important;
}

.sf-system-card:hover .sf-icon,
.sf-system-card:focus-visible .sf-icon,
.sf-info-card:hover .sf-icon,
.sf-info-card:focus-visible .sf-icon,
.sf-mini-card:hover .sf-icon,
.sf-mini-card:focus-visible .sf-icon {
    color: #ffffff !important;
    background: var(--sf-cyan-dark);
    border-color: transparent;
    transform: translateX(2px) !important;
}

/* Chips */
.sf-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 9px;
}

.sf-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f8fafc;
    color: var(--sf-text);
    border: 1px solid var(--sf-line);
    font-size: .75rem;
    font-weight: 760;
    line-height: 1;
}

.sf-chip i {
    color: var(--sf-cyan-dark);
    font-size: .9rem;
}

.sf-note-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin-top: 11px;
}

.sf-info-card {
    min-height: 54px;
    align-items: flex-start;
    padding: 11px 12px;
}

.sf-info-card strong {
    display: block;
    color: var(--sf-ink) !important;
    font-size: .8rem;
    line-height: 1.15;
}

.sf-info-card small {
    display: block;
    margin-top: 2px;
    color: var(--sf-muted) !important;
    font-size: .68rem;
    line-height: 1.25;
}

.sf-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
}

/* Video derecha: más grande y más largo */
.sf-media {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
}

.sf-video-card {
    width: 100%;
    flex: 1;
    min-height: 390px;
    max-height: 520px;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(135deg, #102033, #1b2b44);
    border: 1px solid rgba(37, 211, 102, .18);
    box-shadow: 0 18px 42px rgba(16, 32, 51, .18);
}

.sf-video-card video {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 390px;
    aspect-ratio: 9 / 13;
    object-fit: cover;
    border-radius: 22px;
    background: #102033;
}

.sf-video-caption {
    margin: 8px 0 0;
    color: var(--sf-muted);
    font-size: .72rem;
    line-height: 1.25;
    text-align: center;
}

/* Botón CTA bajo video: verde sólido, hover oscuro sin degradado */
.sf-featured-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 38px;
    margin-top: 10px;
    padding: 9px 14px;
    border-radius: 11px;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: .78rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: .01em;
    text-align: center;
    background: #25d366 !important;
    border: 0;
    box-shadow: 0 6px 14px rgba(37, 211, 102, .14);
    transform: none !important;
    transition: background-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.sf-featured-link i {
    font-size: 16px;
    line-height: 1;
    flex: 0 0 auto;
}

.sf-featured-link:hover {
    background: #20bd5a !important;
    box-shadow: 0 8px 18px rgba(37, 211, 102, .18);
    transform: translateY(-1px) !important;
}

.sf-featured-link:hover,
.sf-featured-link:focus-visible {
    color: #ffffff !important;
    background: #128c4a !important;
    box-shadow: 0 10px 20px rgba(18, 140, 74, .20);
    transform: translateY(-1px) !important;
    outline: none;
}

.sf-featured-link i {
    font-size: 1rem;
    color: inherit !important;
}

/* Ajustes por menú */
.sf-nosotros .sf-note-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sf-demo .sf-lead {
    max-width: 600px;
}

/* Responsive */
@media (max-width: 1180px) {

    .sf-mega-layout,
    .sf-mega-layout.sf-wide-video {
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: 20px;
    }

    .sf-system-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sf-video-card,
    .sf-video-card video {
        min-height: 350px;
    }
}

@media (max-width: 991px) {
    .mega-menu.calendly-style.sf-mega {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        padding: 18px 0 !important;
        box-shadow: none !important;
    }

    .sf-mega-wrap {
        padding: 0 18px;
    }

    .sf-mega-layout,
    .sf-mega-layout.sf-wide-video {
        grid-template-columns: 1fr;
    }

    .sf-system-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sf-note-grid,
    .sf-nosotros .sf-note-grid,
    .sf-mini-grid {
        grid-template-columns: 1fr;
    }

    .sf-video-card,
    .sf-video-card video {
        min-height: auto;
        max-height: none;
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 576px) {
    .main-header__logo img {
        max-height: 42px !important;
        max-width: 154px !important;
    }

    .sf-system-grid {
        grid-template-columns: 1fr;
    }

    .sf-title {
        font-size: 1.12rem;
    }

    .sf-lead {
        font-size: .82rem;
    }
}

#primary-menu>.menu-item>a,
#primary-menu>.menu-item>a span {
    background: transparent !important;
}

.sf-mega .sf-section-title,
.sf-mega .sf-eyebrow {
    background: transparent !important;
}

@media (max-width: 991px) {
    #primary-menu>.menu-item-has-mega-menu.sf-mega-open>.mega-menu.calendly-style.sf-mega {
        transform: none !important;
    }
}



/* Estilos de los links Pro */
.footer-pro-links li {
    margin-bottom: 12px;
}

.footer-pro-links li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
    font-size: 0.9rem;
}

.footer-pro-links li a:hover {
    color: #fff;
    transform: translateX(4px);
}

.footer-pro-links li i {
    margin-right: 8px;
    color: #f1f1f1;
    width: 18px;
    text-align: center;
}

/* Efecto Fuego Animado para Partner */
.partner-fire-link {
    background: linear-gradient(45deg, #ff4e50, #f9d423);
    color: #fff !important;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block !important;
    animation: firePulse 2s infinite alternate;
    box-shadow: 0 4px 10px rgba(255, 78, 80, 0.2);
}

.partner-fire-link i {
    color: #fff !important;
}

.partner-fire-link:hover {
    transform: scale(1.05) !important;
}

@keyframes firePulse {
    0% {
        box-shadow: 0 0 5px rgba(255, 78, 80, 0.4);
        transform: scale(1);
    }

    100% {
        box-shadow: 0 0 15px rgba(249, 212, 35, 0.6);
        transform: scale(1.02);
    }
}

/* NUEVO */
.sf-partner-menu .sf-info-card {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
}

.sf-partner-menu .sf-info-card .sf-icon {
    flex: 0 0 auto !important;
}

.sf-partner-menu .sf-info-card span {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 4px !important;
}

.sf-partner-menu .sf-partner-cta {
    margin-top: 18px !important;
    width: fit-content !important;
}

/* nuevo */

/* Ajuste visual para menú Nosotros */
.sf-nosotros .sf-content {
    padding-top: 18px !important;
}

/* Baja un poco el título principal */
.sf-nosotros .sf-title {
    margin-top: 10px !important;
    margin-bottom: 14px !important;
}

/* Separa los cards del borde superior */
.sf-nosotros .sf-note-grid {
    margin-top: 24px !important;
}

/* Cards con más aire interno */
.sf-nosotros .sf-info-card {
    padding: 18px 20px !important;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
}

/* Ícono mejor alineado y sin pegarse arriba */
.sf-nosotros .sf-info-card .sf-icon {
    margin-top: 2px !important;
    flex: 0 0 auto !important;
}

/* Texto del card alineado verticalmente */
.sf-nosotros .sf-info-card span {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 5px !important;
}

/* Título del card */
.sf-nosotros .sf-info-card strong {
    display: block !important;
    line-height: 1.2 !important;
    margin-bottom: 2px !important;
}

/* Descripción */
.sf-nosotros .sf-info-card small {
    display: block !important;
    line-height: 1.35 !important;
}

/* Agendar demo: baja ícono y texto dentro de los cards */
.sf-demo-menu .sf-info-card {
    display: flex !important;
    align-items: flex-start !important;
    gap: 14px !important;
    padding: 24px 20px 18px 20px !important;
}

/* Baja el ícono */
.sf-demo-menu .sf-info-card .sf-icon {
    margin-top: 8px !important;
    flex: 0 0 auto !important;
}

/* Baja el bloque del título y descripción */
.sf-demo-menu .sf-info-card span {
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
    padding-top: 7px !important;
}

/* Título del card */
.sf-demo-menu .sf-info-card strong {
    display: block !important;
    line-height: 1.2 !important;
    margin-bottom: 2px !important;
}

/* Texto pequeño */
.sf-demo-menu .sf-info-card small {
    display: block !important;
    line-height: 1.35 !important;
}

/* NUEVO HOME */

.slider-inner {
    position: relative;
    width: 100%;
    height: 100vh;
    /* O la altura que desees */
    overflow: hidden;
}

.slider-inner video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    /* Esto es clave para que no se deforme y rellene */
}

/* Versión con z-index más alto */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.08);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.35);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.55);
}

/* Forzar que la scrollbar esté sobre el menú */
body {
    position: relative;
    z-index: 1;
}

.main-header__layout {
    z-index: 99;
}

/* La scrollbar de Webkit no tiene z-index propio,
    pero podemos forzar que el body tenga scroll overlay */
html {
    overflow-y: overlay;
}

@supports not (overflow-y: overlay) {
    html {
        overflow-y: auto;
    }

    /* Para navegadores sin overlay, ajustamos margen derecho */
    body {
        padding-right: 8px;
    }
}

h1,
.section-title {
    font-size: 64px !important;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-shadow: none;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    color: #0b3558;
}

/* Ajuste para celulares */
@media (max-width: 768px) {

    h1,
    .section-title {
        font-size: 40px !important;
    }
}

.slider-down-arrow[data-sf-vermas="true"] {
    position: absolute !important;
    left: 50% !important;
    bottom: 18px !important;
    top: auto !important;
    transform: translateX(-50%) !important;

    z-index: 3 !important;
    /* antes 5 */
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.slider-down-arrow[data-sf-vermas="true"] .arrow-link,
.slider-down-arrow[data-sf-vermas="true"] .arrow-circle,
.slider-down-arrow[data-sf-vermas="true"] .arrow-text {
    z-index: 3 !important;
    /* antes 6 */
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Si el VER MÁS todavía queda muy arriba, baja solo este valor */
@media (min-width: 992px) {
    .slider-down-arrow[data-sf-vermas="true"] {
        bottom: 6px !important;
    }
}

/* NUEVO HOME */

#sofiapps.sf-sales-flow {
    background: #ffffff !important;
    padding: 66px 0 78px !important;
    overflow: hidden !important;
    color: #0b3558 !important;
}

#sofiapps * {
    box-sizing: border-box !important;
}

#sofiapps .sf-block-section {
    padding: 46px 0 !important;
}

#sofiapps .sf-soft-bg {
    background: #f8fbff !important;
}

#sofiapps .sf-block-header {
    max-width: 940px !important;
    margin: 0 auto 34px auto !important;
    text-align: center !important;
}

#sofiapps .sf-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 9px 16px !important;
    margin-bottom: 16px !important;
    border-radius: 999px !important;
    background: rgba(37, 211, 102, .12) !important;
    color: #128c7e !important;
    font-size: 13px !important;
    font-weight: 950 !important;
    letter-spacing: .08em !important;
    word-spacing: .12em !important;
    text-transform: uppercase !important;
}

#sofiapps .sf-badge i {
    font-size: 18px !important;
}

#sofiapps .sf-block-title {
    color: #0b3558 !important;
    font-size: clamp(36px, 5vw, 62px) !important;
    line-height: 1.08 !important;
    font-weight: 950 !important;
    letter-spacing: .006em !important;
    word-spacing: .075em !important;
    margin: 0 !important;
    text-wrap: balance;
}

#sofiapps .sf-block-content {
    display: grid !important;
    grid-template-columns: .92fr 1.08fr !important;
    align-items: center !important;
    gap: 42px !important;
}

#sofiapps .sf-block-text {
    text-align: left !important;
}

#sofiapps .sf-block-text p {
    color: #5a7694 !important;
    font-size: 17px !important;
    line-height: 1.68 !important;
    letter-spacing: .004em !important;
    word-spacing: .045em !important;
    margin: 0 0 24px !important;
}

#sofiapps .sf-block-text strong {
    color: #0b3558 !important;
    font-weight: 950 !important;
}

#sofiapps .sf-block-video {
    width: 100% !important;
}

#sofiapps .sf-video-box {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 28px !important;
    background: #eef4f8 !important;
    border: 1px solid rgba(11, 53, 88, .10) !important;
    box-shadow: 0 26px 64px rgba(11, 53, 88, .13) !important;
}

#sofiapps .sf-video-box::before {
    content: "" !important;
    display: block !important;
    aspect-ratio: 16 / 9 !important;
}

#sofiapps .sf-video-box video {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

#sofiapps .sf-section-button {
    display: flex !important;
    justify-content: center !important;
    margin-top: 30px !important;
}

#sofiapps .sf-main-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    min-height: 56px !important;
    padding: 0 26px !important;
    border-radius: 16px !important;
    background: linear-gradient(135deg, #25D366, #128C7E) !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 950 !important;
    letter-spacing: .01em !important;
    word-spacing: .04em !important;
    text-decoration: none !important;
    box-shadow: 0 18px 42px rgba(37, 211, 102, .28) !important;
    transition: .25s ease !important;
}

#sofiapps .sf-main-btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 24px 54px rgba(37, 211, 102, .34) !important;
}

#sofiapps .sf-main-btn i {
    font-size: 22px !important;
}

/* PRUEBAS */
#sofiapps .sf-proof-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
}

#sofiapps .sf-proof-grid div,
#sofiapps .sf-community-flow a {
    padding: 18px !important;
    border-radius: 20px !important;
    background: #ffffff !important;
    border: 1px solid rgba(11, 53, 88, .10) !important;
    box-shadow: 0 14px 34px rgba(11, 53, 88, .06) !important;
    text-decoration: none !important;
}

#sofiapps .sf-proof-grid strong {
    display: block !important;
    color: #25D366 !important;
    font-size: 28px !important;
    line-height: 1 !important;
    font-weight: 950 !important;
    margin-bottom: 7px !important;
}

#sofiapps .sf-proof-grid span {
    display: block !important;
    color: #5a7694 !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    font-weight: 800 !important;
}

/* SISTEMAS + TECH */
#sofiapps .sf-mini-systems,
#sofiapps .sf-tech-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
}

#sofiapps .sf-mini-systems a,
#sofiapps .sf-tech-grid div {
    min-height: 82px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 15px !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    border: 1px solid rgba(11, 53, 88, .10) !important;
    color: #0b3558 !important;
    text-decoration: none !important;
    box-shadow: 0 12px 32px rgba(11, 53, 88, .05) !important;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease !important;
}

#sofiapps .sf-mini-systems a:hover,
#sofiapps .sf-tech-grid div:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(37, 211, 102, .38) !important;
    box-shadow: 0 22px 48px rgba(11, 53, 88, .12) !important;
}

#sofiapps .sf-mini-systems i,
#sofiapps .sf-tech-grid i {
    color: #25D366 !important;
    font-size: 25px !important;
    transition: transform .22s ease !important;
}

#sofiapps .sf-mini-systems span,
#sofiapps .sf-tech-grid span {
    color: #0b3558 !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    letter-spacing: .006em !important;
    word-spacing: .045em !important;
    font-weight: 900 !important;
    transition: transform .22s ease, color .22s ease !important;
}

#sofiapps .sf-mini-systems a:hover i,
#sofiapps .sf-mini-systems a:hover span,
#sofiapps .sf-tech-grid div:hover i,
#sofiapps .sf-tech-grid div:hover span {
    transform: translateX(4px) !important;
}

#sofiapps .sf-mini-systems a:hover span,
#sofiapps .sf-tech-grid div:hover span {
    color: #128c7e !important;
}

/* IOT */
#sofiapps .sf-iot-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
}

#sofiapps .sf-iot-grid a {
    display: block !important;
    padding: 18px !important;
    border-radius: 20px !important;
    background: #ffffff !important;
    border: 1px solid rgba(11, 53, 88, .10) !important;
    box-shadow: 0 12px 32px rgba(11, 53, 88, .05) !important;
    text-decoration: none !important;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease !important;
}

#sofiapps .sf-iot-grid a:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(37, 211, 102, .38) !important;
    box-shadow: 0 22px 48px rgba(11, 53, 88, .12) !important;
}

#sofiapps .sf-iot-grid i {
    color: #25D366 !important;
    font-size: 28px !important;
    margin-bottom: 10px !important;
    transition: transform .22s ease !important;
}

#sofiapps .sf-iot-grid h3 {
    color: #0b3558 !important;
    font-size: 17px !important;
    line-height: 1.2 !important;
    letter-spacing: .006em !important;
    word-spacing: .045em !important;
    font-weight: 950 !important;
    margin: 0 0 5px !important;
    transition: transform .22s ease, color .22s ease !important;
}

#sofiapps .sf-iot-grid span {
    display: block !important;
    color: #5a7694 !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    letter-spacing: .004em !important;
    word-spacing: .04em !important;
    font-weight: 700 !important;
    transition: transform .22s ease !important;
}

#sofiapps .sf-iot-grid a:hover i,
#sofiapps .sf-iot-grid a:hover h3,
#sofiapps .sf-iot-grid a:hover span {
    transform: translateX(4px) !important;
}

#sofiapps .sf-iot-grid a:hover h3 {
    color: #128c7e !important;
}

/* COMUNIDAD */
#sofiapps .sf-community-flow {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
}

#sofiapps .sf-community-flow a {
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease !important;
}

#sofiapps .sf-community-flow a:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(37, 211, 102, .38) !important;
    box-shadow: 0 22px 48px rgba(11, 53, 88, .12) !important;
}

#sofiapps .sf-community-flow strong {
    display: block !important;
    color: #25D366 !important;
    font-size: 18px !important;
    font-weight: 950 !important;
    line-height: 1.2 !important;
    margin-bottom: 5px !important;
}

#sofiapps .sf-community-flow span {
    display: block !important;
    color: #5a7694 !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    font-weight: 800 !important;
}

/* CTA FINAL */
#sofiapps .sf-final-section {
    padding: 50px 0 0 !important;
}

#sofiapps .sf-final-box {
    text-align: center !important;
    padding: 62px 36px !important;
    border-radius: 34px !important;
    background:
        linear-gradient(135deg, rgba(11, 53, 88, .98), rgba(57, 36, 129, .94)),
        radial-gradient(circle at top right, rgba(37, 211, 102, .24), transparent 34%) !important;
    box-shadow: 0 34px 88px rgba(11, 53, 88, .24) !important;
}

#sofiapps .sf-badge-light {
    color: #ffffff !important;
    background: rgba(255, 255, 255, .14) !important;
}

#sofiapps .sf-final-box h2 {
    max-width: 780px !important;
    margin: 0 auto 16px !important;
    color: #ffffff !important;
    font-size: clamp(34px, 5vw, 58px) !important;
    line-height: 1.08 !important;
    font-weight: 950 !important;
    letter-spacing: .006em !important;
    word-spacing: .075em !important;
}

#sofiapps .sf-final-box p {
    max-width: 620px !important;
    margin: 0 auto 28px !important;
    color: rgba(255, 255, 255, .82) !important;
    font-size: 17px !important;
    line-height: 1.6 !important;
    letter-spacing: .004em !important;
    word-spacing: .04em !important;
}

#sofiapps .sf-whatsapp-action {
    max-width: 760px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    gap: 12px !important;
    padding: 12px !important;
    border-radius: 24px !important;
    background: rgba(255, 255, 255, .14) !important;
    border: 1px solid rgba(255, 255, 255, .24) !important;
}

#sofiapps .sf-whatsapp-select {
    width: 100% !important;
    min-height: 58px !important;
    border: 0 !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    color: #0b3558 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    padding: 0 18px !important;
    outline: none !important;
}

#sofiapps .sf-whatsapp-btn {
    min-height: 58px !important;
    padding: 0 24px !important;
    border-radius: 16px !important;
    background: linear-gradient(135deg, #25D366, #128C7E) !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    font-size: 15px !important;
    font-weight: 950 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

/* FOOTER */
.sf-footer-pro {
    background: linear-gradient(135deg, #392481 0%, #2f1e73 100%) !important;
    padding: 60px 0 0 !important;
}

.sf-footer-pro .sf-footer-top {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px !important;
    padding-bottom: 34px !important;
    border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
}

.sf-footer-pro h4 {
    color: #ffffff !important;
    font-weight: 950 !important;
    letter-spacing: .08em !important;
    word-spacing: .08em !important;
    font-size: .82rem !important;
    line-height: 1.25 !important;
    margin-bottom: 18px !important;
    text-transform: uppercase !important;
}

.sf-footer-pro .footer-pro-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.sf-footer-pro .footer-pro-links li {
    margin-bottom: 10px !important;
}

.sf-footer-pro .footer-pro-links a {
    color: rgba(255, 255, 255, .72) !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 9px !important;
    font-size: .94rem !important;
    line-height: 1.35 !important;
    letter-spacing: .004em !important;
    word-spacing: .035em !important;
    transition: transform .22s ease, color .22s ease !important;
}

.sf-footer-pro .footer-pro-links a i {
    color: #25D366 !important;
    width: 17px !important;
    text-align: center !important;
    transition: transform .22s ease !important;
}

.sf-footer-pro .footer-pro-links a:hover {
    color: #ffffff !important;
    transform: translateX(4px) !important;
}

.sf-footer-pro .footer-pro-links a:hover i {
    transform: translateX(3px) !important;
}

.sf-footer-pro .partner-fire-link {
    color: #ffffff !important;
    font-weight: 900 !important;
}

.sf-footer-brand {
    text-align: center !important;
    padding: 36px 0 30px !important;
}

.sf-footer-brand img {
    display: block !important;
    max-width: 220px !important;
    margin: 0 auto 15px auto !important;
}

.sf-footer-brand p {
    color: rgba(255, 255, 255, .58) !important;
    font-size: 1.03rem !important;
    max-width: 650px !important;
    margin: 0 auto !important;
    line-height: 1.65 !important;
    letter-spacing: .004em !important;
    word-spacing: .04em !important;
}

.sf-footer-pro .footer-social-section {
    border-top: 1px solid rgba(255, 255, 255, .08) !important;
    padding: 28px 0 !important;
}

.sf-footer-pro .footer-social {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 18px !important;
    flex-wrap: wrap !important;
}

.sf-footer-pro .footer-social a {
    width: 42px !important;
    height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, .08) !important;
    transition: transform .22s ease, background .22s ease !important;
}

.sf-footer-pro .footer-social a:hover {
    transform: translateY(-4px) !important;
    background: rgba(37, 211, 102, .18) !important;
}

.sf-footer-pro .footer-social img {
    width: 20px !important;
    height: 20px !important;
}

.sf-footer-pro .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08) !important;
    padding: 18px 0 !important;
}

.sf-footer-pro .copyright {
    text-align: center !important;
    color: rgba(255, 255, 255, .52) !important;
    font-size: .9rem !important;
    line-height: 1.6 !important;
}

.sf-footer-pro .copyright a {
    color: rgba(255, 255, 255, .78) !important;
    text-decoration: none !important;
}

.sf-footer-pro .copyright a:hover {
    color: #25D366 !important;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    #sofiapps .sf-block-content {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    #sofiapps .sf-proof-grid,
    #sofiapps .sf-mini-systems,
    #sofiapps .sf-tech-grid,
    #sofiapps .sf-iot-grid,
    #sofiapps .sf-community-flow {
        grid-template-columns: 1fr !important;
    }

    #sofiapps .sf-whatsapp-action {
        grid-template-columns: 1fr !important;
    }

    #sofiapps .sf-whatsapp-btn {
        width: 100% !important;
    }

    .sf-footer-pro .sf-footer-top {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    #sofiapps.sf-sales-flow {
        padding: 54px 0 66px !important;
    }

    #sofiapps .sf-block-section {
        padding: 40px 0 !important;
    }

    #sofiapps .sf-block-title {
        font-size: 35px !important;
        line-height: 1.1 !important;
        letter-spacing: .004em !important;
        word-spacing: .055em !important;
    }

    #sofiapps .sf-block-text p {
        font-size: 16px !important;
    }

    #sofiapps .sf-final-box {
        padding: 46px 18px !important;
        border-radius: 28px !important;
    }

    .sf-footer-pro .sf-footer-top {
        grid-template-columns: 1fr !important;
    }
}

.sf-extra-modules-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 34px;
}

.sf-extra-modules-grid a {
    display: block;
    text-decoration: none;
    background: #fff;
    border: 1px solid rgba(11, 53, 88, .10);
    border-radius: 18px;
    padding: 22px 20px;
    box-shadow: 0 14px 34px rgba(11, 53, 88, .08);
    transition: .25s ease;
}

.sf-extra-modules-grid a:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 211, 102, .35);
    box-shadow: 0 18px 44px rgba(11, 53, 88, .12);
}

.sf-extra-modules-grid i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(37, 211, 102, .10);
    color: #25D366;
    font-size: 24px;
    margin-bottom: 14px;
}

.sf-extra-modules-grid h3 {
    font-size: 17px;
    font-weight: 800;
    color: #0b3558;
    margin: 0 0 8px;
}

.sf-extra-modules-grid span {
    display: block;
    font-size: 14px;
    line-height: 1.45;
    color: #5a7694;
}

@media (max-width:991px) {
    .sf-extra-modules-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width:575px) {
    .sf-extra-modules-grid {
        grid-template-columns: 1fr;
    }
}

.sf-modules-side-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
}

.sf-bg-video-wrap {
    position: relative;
    width: 100%;
}

.sf-bg-video-wrap>img {
    display: block;
    width: 100%;
    height: auto;
}

.sf-bg-video-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(720px, 78%);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(11, 53, 88, .28);
    background: #000;
}

.sf-bg-video-box video {
    display: block;
    width: 100%;
    height: auto;
}

/* NEW*/
/* =========================================================
   SOFIAPPS MOBILE LIMPIO
   - Redes sociales abajo, horizontales, solo iconos
   - WhatsApp subido y reducido
   - Botones derechos a la mitad
   - Traductor subido
   - PC no se toca
========================================================= */

@media screen and (max-width: 768px) {

    html,
    body {
        padding-bottom: 70px !important;
    }

    /* ================= REDES SOCIALES ABAJO ================= */

    html body #floatingSocial.floating-social-container {
        position: fixed !important;

        top: auto !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 10px !important;

        width: 100vw !important;
        height: auto !important;

        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 16px !important;

        padding: 0 !important;
        margin: 0 !important;

        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        transform: none !important;

        z-index: 100000 !important;
    }

    html body #floatingSocial.floating-social-container .floating-social-tab {
        position: static !important;

        width: 26px !important;
        height: 26px !important;
        min-width: 26px !important;
        min-height: 26px !important;
        max-width: 26px !important;
        max-height: 26px !important;

        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        padding: 0 !important;
        margin: 0 !important;

        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        transform: none !important;
        overflow: visible !important;
    }

    html body #floatingSocial.floating-social-container .floating-social-tab img {
        width: 22px !important;
        height: 22px !important;
        max-width: 22px !important;
        max-height: 22px !important;

        display: block !important;
        object-fit: contain !important;

        margin: 0 !important;
        padding: 0 !important;

        filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .22)) !important;
        transform: none !important;
    }

    /* ================= WHATSAPP SUBIDO Y MITAD ================= */

    html body .wa_support_standalone.wcs_fixed_right {
        position: fixed !important;

        right: 14px !important;
        bottom: 92px !important;
        left: auto !important;
        top: auto !important;

        z-index: 100001 !important;
    }

    html body .wa_support_standalone.wcs_fixed_right .wcs_button,
    html body .wa_support_standalone.wcs_fixed_right .wcs_button_circle {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        max-width: 36px !important;
        max-height: 36px !important;

        padding: 0 !important;
        border-radius: 50% !important;
    }

    html body .wa_support_standalone.wcs_fixed_right .wcs_button img,
    html body .wa_support_standalone.wcs_fixed_right .wcs_button_circle img {
        width: 20px !important;
        height: 20px !important;
        max-width: 20px !important;
        max-height: 20px !important;
        object-fit: contain !important;
    }

    html body .wa_support_standalone.wcs_fixed_right .wcs_button_text {
        display: none !important;
    }

    html body .wa_support_standalone.wcs_fixed_right .wcs_popup {
        right: 10px !important;
        bottom: 138px !important;
        width: calc(100vw - 20px) !important;
        max-width: 340px !important;
        max-height: 70vh !important;
    }

    /* ================= TRADUCTOR SUBIDO ================= */

    html body .gtranslate_wrapper,
    html body .gt_float_switcher {
        position: fixed !important;
        left: 14px !important;
        bottom: 55px !important;
        right: auto !important;
        top: auto !important;
        z-index: 100001 !important;

        transform: scale(0.70) !important;
        transform-origin: left bottom !important;

        height: auto !important;
        min-height: 48px !important;
        max-height: none !important;
        overflow: visible !important;
    }

    html body .gt_float_switcher,
    html body .gt_float_switcher .gt-selected,
    html body .gt_float_switcher .gt_options {
        height: auto !important;
        min-height: 42px !important;
        max-height: none !important;
        overflow: visible !important;
    }

    /* ================= BOTONES DERECHA MITAD ================= */

    html body .video-help-button {
        position: fixed !important;

        right: 6px !important;
        top: 45% !important;
        bottom: auto !important;
        left: auto !important;

        transform: translateY(-50%) !important;

        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;

        z-index: 99999 !important;
    }

    html body .video-help-button .btn-video-tutorial {
        width: 26px !important;
        height: 26px !important;
        min-width: 26px !important;
        min-height: 26px !important;
        max-width: 26px !important;
        max-height: 26px !important;

        padding: 0 !important;
        margin: 0 !important;

        border-radius: 50% !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        font-size: 11px !important;
        line-height: 1 !important;
    }

    html body .video-help-button .btn-video-tutorial i {
        font-size: 11px !important;
        line-height: 1 !important;
        margin: 0 !important;
    }

    html body .video-help-button .btn-video-tutorial::before,
    html body .video-help-button .btn-video-tutorial::after {
        display: none !important;
    }

    /* Si tienes action-tabs a la derecha, también los reduce a la mitad */
    html body .action-tabs-container {
        right: 0 !important;
        gap: 6px !important;
        z-index: 99999 !important;
    }

    html body .action-tabs-container .action-tab {
        width: 95px !important;
        height: 32px !important;
        min-height: 32px !important;
        padding: 0 10px !important;
        border-radius: 18px 0 0 18px !important;
        font-size: 10px !important;
        transform: translateX(62px) !important;
    }

    html body .action-tabs-container .action-tab i {
        min-width: 14px !important;
        margin-right: 6px !important;
        font-size: 10px !important;
    }

    html body .action-tabs-container .action-tab .tab-text {
        font-size: 10px !important;
    }
}

/* ================= WHATSAPP MOBILE - NO CORTAR POPUP ================= */

@media screen and (max-width: 768px) {

    html body .wa_support_standalone.wcs_fixed_right {
        position: fixed !important;
        right: 14px !important;

        /* icono arriba de las redes */
        bottom: 72px !important;

        left: auto !important;
        top: auto !important;
        z-index: 100001 !important;
    }

    html body .wa_support_standalone.wcs_fixed_right .wcs_button,
    html body .wa_support_standalone.wcs_fixed_right .wcs_button_circle {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        max-width: 36px !important;
        max-height: 36px !important;
        padding: 0 !important;
        border-radius: 50% !important;
    }

    html body .wa_support_standalone.wcs_fixed_right .wcs_button img,
    html body .wa_support_standalone.wcs_fixed_right .wcs_button_circle img {
        width: 20px !important;
        height: 20px !important;
        max-width: 20px !important;
        max-height: 20px !important;
        object-fit: contain !important;
    }

    html body .wa_support_standalone.wcs_fixed_right .wcs_button_text {
        display: none !important;
    }

    /* Popup completo visible */
    html body .wa_support_standalone.wcs_fixed_right .wcs_popup,
    html body .wcs_popup {
        position: fixed !important;
        right: 10px !important;
        left: auto !important;

        /* antes estaba muy arriba; así entra completo */
        bottom: 112px !important;

        width: calc(100vw - 20px) !important;
        max-width: 340px !important;

        /* clave: no cortar input */
        height: auto !important;
        max-height: calc(100dvh - 125px) !important;
        overflow: hidden !important;

        display: none;
        flex-direction: column !important;
    }

    html body .wa_support_standalone.wcs_fixed_right .wcs_popup.open,
    html body .wcs_popup.open {
        display: flex !important;
    }

    html body .wcs_popup_header {
        flex: 0 0 auto !important;
        padding: 14px 16px !important;
    }

    html body .wcs_popup_person_container {
        flex: 1 1 auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow-y: auto !important;
    }

    html body .wcs_popup_input {
        flex: 0 0 auto !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;

        padding: 10px 12px !important;
        background: #ffffff !important;
        border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    }

    html body .wcs_popup_input input {
        min-width: 0 !important;
        height: 40px !important;
        padding: 0 12px !important;
        font-size: 13px !important;
    }

    html body .wcs_popup_input .fa-paper-plane {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
    }
}

/* ================= TRADUCTOR MOBILE - BAJAR Y REDUCIR BIEN ================= */

@media screen and (max-width: 768px) {

    html body .gtranslate_wrapper {
        position: fixed !important;
        left: 14px !important;

        /* baja el traductor: menor número = más abajo */
        bottom: 46px !important;

        right: auto !important;
        top: auto !important;
        z-index: 100001 !important;

        width: auto !important;
        height: auto !important;
        min-height: 56px !important;
        max-height: none !important;
        overflow: visible !important;

        transform: translateY(4px) scale(0.70) !important;
        transform-origin: left bottom !important;
    }

    html body .gtranslate_wrapper .gt_float_switcher,
    html body .gt_float_switcher {
        position: relative !important;

        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;

        width: auto !important;
        height: auto !important;
        min-height: 52px !important;
        max-height: none !important;
        overflow: visible !important;

        transform: none !important;
    }

    html body .gt_float_switcher .gt-selected,
    html body .gt_float_switcher .gt_options {
        height: auto !important;
        min-height: 42px !important;
        max-height: none !important;
        overflow: visible !important;
    }
}

/* NEW */
.sf-start-now-cta {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    margin-top: 32px !important;
    text-align: center !important;
}

.sf-start-now-btn {
    min-width: 230px !important;
    min-height: 52px !important;
    padding: 13px 28px !important;

    border-radius: 999px !important;

    background: linear-gradient(135deg, #25D366, #128C7E) !important;
    color: #ffffff !important;

    font-size: 15px !important;
    font-weight: 900 !important;
    letter-spacing: 0.1px !important;

    box-shadow: 0 16px 34px rgba(37, 211, 102, 0.28) !important;
    text-decoration: none !important;
}

.sf-start-now-btn:hover {
    background: linear-gradient(135deg, #128C7E, #25D366) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}

.sf-start-now-btn i {
    font-size: 21px !important;
}

.sf-start-now-note {
    margin: 0 !important;
    color: #0b3558 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

.sf-start-now-note strong {
    color: #25D366 !important;
    font-weight: 900 !important;
}

@media (max-width: 768px) {
    .sf-start-now-btn {
        width: 100% !important;
        max-width: 290px !important;
        min-width: 0 !important;
        font-size: 14px !important;
    }

    .sf-start-now-note {
        max-width: 280px !important;
        font-size: 13px !important;
    }
}

.sf-dev-fast-cta {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    margin-top: 34px !important;
    text-align: center !important;
}

.sf-dev-fast-btn {
    min-width: 250px !important;
    min-height: 52px !important;
    padding: 13px 28px !important;

    border-radius: 999px !important;

    background: linear-gradient(135deg, #392481, #006bff) !important;
    color: #ffffff !important;

    font-size: 15px !important;
    font-weight: 900 !important;
    letter-spacing: 0.1px !important;

    text-decoration: none !important;
    box-shadow: 0 16px 34px rgba(57, 36, 129, 0.28) !important;
}

.sf-dev-fast-btn:hover {
    background: linear-gradient(135deg, #006bff, #392481) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}

.sf-dev-fast-btn i {
    font-size: 21px !important;
}

.sf-dev-fast-note {
    max-width: 720px !important;
    margin: 0 auto !important;

    color: #476788 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.55 !important;
    text-align: center !important;
}

.sf-dev-fast-note strong {
    color: #392481 !important;
    font-weight: 900 !important;
}

@media (max-width: 768px) {
    .sf-dev-fast-btn {
        width: 100% !important;
        max-width: 300px !important;
        min-width: 0 !important;
        font-size: 14px !important;
    }

    .sf-dev-fast-note {
        max-width: 310px !important;
        font-size: 13px !important;
        line-height: 1.45 !important;
    }
}

.sf-iot-auto-cta {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    margin-top: 34px !important;
    text-align: center !important;
}

.sf-iot-auto-btn {
    min-width: 245px !important;
    min-height: 52px !important;
    padding: 13px 28px !important;

    border-radius: 999px !important;

    background: linear-gradient(135deg, #0b3558, #392481) !important;
    color: #ffffff !important;

    font-size: 15px !important;
    font-weight: 900 !important;
    letter-spacing: 0.1px !important;

    text-decoration: none !important;
    box-shadow: 0 16px 34px rgba(11, 53, 88, 0.28) !important;
}

.sf-iot-auto-btn:hover {
    background: linear-gradient(135deg, #392481, #0b3558) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}

.sf-iot-auto-btn i {
    font-size: 21px !important;
}

.sf-iot-auto-note {
    max-width: 760px !important;
    margin: 0 auto !important;

    color: #476788 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.58 !important;
    text-align: center !important;
}

.sf-iot-auto-note strong {
    color: #0b3558 !important;
    font-weight: 900 !important;
}

@media (max-width: 768px) {
    .sf-iot-auto-btn {
        width: 100% !important;
        max-width: 300px !important;
        min-width: 0 !important;
        font-size: 14px !important;
    }

    .sf-iot-auto-note {
        max-width: 315px !important;
        font-size: 13px !important;
        line-height: 1.45 !important;
    }
}

.sf-network-cta {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    margin-top: 34px !important;
    text-align: center !important;
}

.sf-network-btn {
    min-width: 235px !important;
    min-height: 52px !important;
    padding: 13px 28px !important;

    border-radius: 999px !important;

    background: linear-gradient(135deg, #25D366, #128C7E) !important;
    color: #ffffff !important;

    font-size: 15px !important;
    font-weight: 900 !important;
    letter-spacing: 0.1px !important;

    text-decoration: none !important;
    box-shadow: 0 16px 34px rgba(37, 211, 102, 0.28) !important;
}

.sf-network-btn:hover {
    background: linear-gradient(135deg, #128C7E, #25D366) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}

.sf-network-btn i {
    font-size: 21px !important;
}

.sf-network-note {
    max-width: 740px !important;
    margin: 0 auto !important;

    color: #476788 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.58 !important;
    text-align: center !important;
}

.sf-network-note strong {
    color: #0b3558 !important;
    font-weight: 900 !important;
}

.sf-network-link-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 42px !important;
    height: 42px !important;

    border-radius: 50% !important;

    background: #ffffff !important;
    color: #0b3558 !important;

    border: 1px solid rgba(11, 53, 88, 0.12) !important;
    box-shadow: 0 10px 24px rgba(11, 53, 88, 0.12) !important;

    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.sf-network-link-icon:hover {
    color: #25D366 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 14px 30px rgba(11, 53, 88, 0.18) !important;
}

.sf-network-link-icon i {
    font-size: 22px !important;
}

@media (max-width: 768px) {
    .sf-network-btn {
        width: 100% !important;
        max-width: 295px !important;
        min-width: 0 !important;
        font-size: 14px !important;
    }

    .sf-network-note {
        max-width: 315px !important;
        font-size: 13px !important;
        line-height: 1.45 !important;
    }

    .sf-network-link-icon {
        width: 38px !important;
        height: 38px !important;
    }

    .sf-network-link-icon i {
        font-size: 20px !important;
    }
}