/* ===== ECUAFACT - CSS PRINCIPAL ===== */

:root {
    --primary-blue: #0472FD;
    --primary-glow: rgba(4, 114, 253, 0.3);
    --dark-blue: #243356;
    --dark-nav: #1B2137;
    --heading-color: #161C2D;
    --text-color: #6E727D;
    --bg-light: #F7F9FC;
    --bg-dark: #1B2137;
    --white: #ffffff;
    --green-whatsapp: #25D366;
    --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 20px 40px -15px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 25px 50px -12px rgba(0, 0, 0, 0.12);
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 16px rgba(0, 0, 0, 0.06);
    --shadow-card-hover: 0 4px 12px rgba(0, 0, 0, 0.08), 0 20px 40px rgba(0, 0, 0, 0.12);
    --shadow-btn: 0 4px 14px -3px var(--primary-glow);
    --shadow-btn-hover: 0 8px 25px -3px var(--primary-glow);
    --radius-soft: 20px;
    --radius-card: 16px;
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    color: var(--text-color);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4 {
    color: var(--heading-color);
    font-weight: 700;
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== NAVBAR ===== */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    padding: 16px 0;
    transition: padding 0.4s var(--transition-smooth), background 0.4s var(--transition-smooth), box-shadow 0.4s var(--transition-smooth);
    border-bottom: 2px solid transparent;
    will-change: padding, background-color, box-shadow;
}

header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 10%, var(--primary-blue) 50%, transparent 90%);
    opacity: 0.4;
}

header.scrolled {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.98);
}

header.scrolled::after {
    opacity: 0.6;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 54px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links>li {
    position: relative;
    padding: 10px 0;
}

.nav-links a {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--heading-color);
    transition: color 0.3s var(--transition-smooth);
    position: relative;
    letter-spacing: 0.1px;
}

.nav-links > li > a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s var(--transition-smooth);
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-links > li > a:not(.btn-nav):hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.btn-nav {
    background: var(--primary-blue) !important;
    color: var(--white) !important;
    padding: 10px 24px !important;
    border-radius: 50px;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: background 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth), transform 0.3s var(--transition-smooth) !important;
    display: inline-block;
    box-shadow: 0 2px 8px -2px var(--primary-glow);
}

.btn-nav:hover {
    background: #0360d6 !important;
    color: var(--white) !important;
    box-shadow: 0 4px 16px -2px var(--primary-glow);
    transform: translateY(-1px);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: -10px;
    background: var(--white);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 12px 30px -4px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    padding: 8px;
    min-width: 230px;
    z-index: 1001;
    animation: dropFade 0.25s var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content li a {
    display: block;
    padding: 10px 16px;
    font-size: 13px;
    border-radius: 8px;
    transition: background 0.2s var(--transition-smooth), color 0.2s var(--transition-smooth);
}

.dropdown-content li a:hover {
    background: var(--bg-light);
    color: var(--primary-blue);
}

@keyframes dropFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--heading-color);
    background: none;
    border: none;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 15px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    transition: background 0.35s var(--transition-smooth), transform 0.35s var(--transition-smooth), box-shadow 0.35s var(--transition-smooth);
    border: none;
    font-family: var(--font);
    letter-spacing: 0.2px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s var(--transition-smooth);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0360d6 100%);
    color: var(--white);
    box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0360d6 0%, #024eb8 100%);
    transform: translateY(-3px);
    box-shadow: var(--shadow-btn-hover);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: var(--shadow-btn);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--dark-blue);
    border-color: var(--white);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.88);
    color: var(--dark-blue);
    border: 1px solid rgba(36, 51, 86, 0.12);
    box-shadow: 0 12px 30px -24px rgba(27, 33, 55, 0.4);
}

.btn-ghost:hover {
    background: var(--white);
    color: var(--dark-blue);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -26px rgba(27, 33, 55, 0.42);
}

.btn-card {
    background: var(--dark-blue);
    color: var(--white);
    display: block;
    width: 100%;
    padding: 13px;
    margin-top: 1rem;
    border-radius: 12px;
    transition: background 0.3s var(--transition-smooth), transform 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth);
}

.btn-card:hover {
    background: #1a2640;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ===== SECTION TITLES ===== */
.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--heading-color);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
    line-height: 1.12;
    text-wrap: balance;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), rgba(4, 114, 253, 0.3));
    border-radius: 3px;
}

.section-title p {
    color: var(--text-color);
    font-size: 16px;
    max-width: 600px;
    margin: 10px auto 0;
    line-height: 1.7;
    text-wrap: pretty;
}

.section-title-light h2 {
    color: var(--white);
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 0;
    position: relative;
    display: inline-block;
    line-height: 1.12;
    text-wrap: balance;
}

.section-title-light {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    text-align: center;
    max-width: 780px;
    margin: 0 auto 38px;
}

.section-title-light h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), rgba(4, 114, 253, 0.4));
    border-radius: 3px;
}

/* ===== HERO HOME ===== */
.hero-home {
    padding: 126px 0 78px;
    background: linear-gradient(180deg, var(--white) 0%, var(--bg-light) 60%, rgba(4, 114, 253, 0.03) 100%);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.hero-home::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(4, 114, 253, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-home::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(4, 114, 253, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-home .container,
.hero-internal .container {
    position: relative;
    z-index: 1;
}

.hero-home-grid,
.hero-split-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 42px;
}

.hero-home-copy {
    max-width: 600px;
}

.hero-home.hero-home-classic {
    padding: 126px 0 74px;
    text-align: center;
}

.hero-home.hero-home-classic .container {
    max-width: 760px;
}

.hero-home.hero-home-classic h1 {
    max-width: 12ch;
    margin: 0 auto 18px;
    font-size: clamp(44px, 6vw, 64px);
    line-height: 1.04;
    letter-spacing: -1.5px;
    text-wrap: balance;
}

.hero-home.hero-home-classic p {
    max-width: 34ch;
    margin: 0 auto 28px;
    font-size: 18px;
    line-height: 1.62;
    color: var(--text-color);
    text-wrap: pretty;
}

.hero-home.hero-home-classic .btn {
    min-width: 220px;
    display: inline-flex;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: rgba(4, 114, 253, 0.07);
    border: 1px solid rgba(4, 114, 253, 0.08);
    color: var(--primary-blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12px;
    line-height: 1.35;
    text-wrap: balance;
}

.hero-kicker::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), #59a5ff);
    box-shadow: 0 0 0 4px rgba(4, 114, 253, 0.12);
}

.hero-home h1 {
    font-size: 50px;
    font-weight: 800;
    color: var(--heading-color);
    margin-bottom: 18px;
    line-height: 1.06;
    letter-spacing: -1.3px;
    position: relative;
    text-wrap: balance;
    max-width: 10.5ch;
}

.hero-home-copy > p:not(.hero-kicker) {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 28px;
    max-width: 34ch;
    margin-left: 0;
    margin-right: 0;
    line-height: 1.62;
    position: relative;
    text-wrap: pretty;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.hero-proof {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
    max-width: 520px;
}

.hero-proof-item {
    position: relative;
    padding-left: 22px;
    color: var(--heading-color);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.42;
}

.hero-proof-item::before {
    content: '';
    position: absolute;
    top: 11px;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), #59a5ff);
    box-shadow: 0 0 0 5px rgba(4, 114, 253, 0.1);
}

.hero-home-visual,
.hero-split-visual {
    position: relative;
}

.hero-device-card {
    position: relative;
    padding: 18px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 249, 252, 0.94) 100%);
    border: 1px solid rgba(4, 114, 253, 0.12);
    box-shadow: 0 24px 60px -30px rgba(27, 33, 55, 0.28);
    transition: transform 0.35s var(--transition-smooth), box-shadow 0.35s var(--transition-smooth);
}

.hero-device-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 70px -30px rgba(27, 33, 55, 0.34);
}

.hero-device-card picture {
    display: block;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(180deg, #f2f7ff 0%, #ffffff 100%);
}

.hero-device-card img {
    width: 100%;
}

.hero-chip {
    position: absolute;
    z-index: 2;
    max-width: 208px;
    padding: 11px 14px;
    border-radius: 17px;
    color: var(--white);
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.4;
    box-shadow: 0 20px 40px -26px rgba(27, 33, 55, 0.5);
}

.hero-chip strong {
    display: block;
    margin-bottom: 2px;
    font-size: 14px;
    color: inherit;
}

.hero-chip-top {
    top: -14px;
    left: -14px;
    background: rgba(27, 33, 55, 0.94);
}

.hero-chip-bottom {
    right: -14px;
    bottom: 22px;
    background: linear-gradient(135deg, var(--primary-blue), #0360d6);
}

.trust-ribbon {
    margin-top: 28px;
    padding: 18px 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(4, 114, 253, 0.08);
    box-shadow: 0 18px 40px -30px rgba(27, 33, 55, 0.24);
}

.trust-ribbon-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.trust-ribbon-item {
    padding-left: 18px;
    border-left: 1px solid rgba(4, 114, 253, 0.12);
}

.trust-ribbon-item:first-child {
    padding-left: 0;
    border-left: 0;
}

.trust-ribbon-item strong {
    display: block;
    margin-bottom: 4px;
    color: var(--heading-color);
    font-size: 15px;
}

.trust-ribbon-item span {
    display: block;
    color: var(--text-color);
    font-size: 13px;
    line-height: 1.48;
}

/* ===== HERO (side-by-side, internal) ===== */
.hero {
    padding: 100px 0 60px;
    background: var(--bg-light);
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--heading-color);
}

.hero-content p {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 25px;
    max-width: 500px;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    border-radius: 10px;
}

/* ===== SOLUCIONES HOME (dark bg cards) ===== */
.soluciones-home {
    padding: 80px 0 60px;
    background: var(--white);
}

.soluciones-home-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.solucion-home-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 45px 25px;
    transition: transform 0.4s var(--transition-smooth), box-shadow 0.4s var(--transition-smooth), border-color 0.4s var(--transition-smooth);
    text-decoration: none;
    border-radius: var(--radius-soft);
    background: var(--white);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.solucion-home-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(4, 114, 253, 0.1);
}

.solucion-bg-dark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: rgba(4, 114, 253, 0.05);
    border-radius: 50%;
    z-index: 0;
    transition: background 0.3s, transform 0.3s;
}

.solucion-home-card:hover .solucion-bg-dark {
    background: rgba(4, 114, 253, 0.1);
    transform: translate(-50%, -50%) scale(1.1);
}

.solucion-float-img {
    position: relative;
    z-index: 1;
    width: 200px;
    height: auto;
    margin-bottom: 25px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.solucion-home-card h3 {
    position: relative;
    z-index: 1;
    color: var(--heading-color);
    font-size: 20px;
    font-weight: 800;
    margin-top: 5px;
}

/* ===== INTEGRACIÓN + CLIENTES ===== */
.integracion-clientes {
    padding: 80px 0;
    background: var(--white);
}

.integracion-clientes .clientes-subtitle {
    text-align: center;
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 40px;
}

/* Hero internal pages */
.hero-internal {
    background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
    border-bottom: 1px solid #e6eef8;
    padding: 112px 0 58px;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.hero-internal::before {
    display: none;
}

.hero-internal::after {
    display: none;
}

.hero-internal h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #101828;
    margin-bottom: 14px;
    letter-spacing: 0;
    line-height: 1.08;
    position: relative;
    text-wrap: balance;
    max-width: 760px;
}

.hero-internal:not(.hero-split) .container {
    max-width: 900px;
    text-align: center;
}

.hero-internal:not(.hero-split) h1 {
    margin-left: auto;
    margin-right: auto;
}

.hero-internal:not(.hero-split) p {
    color: #475467;
    font-size: clamp(1rem, 1.6vw, 1.12rem);
    line-height: 1.65;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    text-wrap: pretty;
}

.hero-internal:not(.hero-split) .btn,
.hero-internal:not(.hero-split) .search-bar {
    margin-left: auto;
    margin-right: auto;
}

.hero-split-copy > p:not(.hero-kicker) {
    font-size: 17.5px;
    color: var(--text-color);
    margin-bottom: 28px;
    max-width: 36ch;
    margin-left: 0;
    margin-right: 0;
    line-height: 1.68;
    position: relative;
    text-wrap: pretty;
}

.hero-pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(4, 114, 253, 0.12);
    color: var(--heading-color);
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 14px 30px -26px rgba(27, 33, 55, 0.35);
}

.hero-device-card-compact {
    padding: 16px;
}

.hero-mini-grid,
.hero-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.hero-mini-grid {
    margin-top: 18px;
}

.hero-summary-grid {
    margin-top: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-mini-card {
    height: 100%;
    padding: 20px 20px 18px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 249, 252, 0.94) 100%);
    border: 1px solid rgba(4, 114, 253, 0.1);
    box-shadow: 0 16px 40px -32px rgba(27, 33, 55, 0.32);
    transition: transform 0.35s var(--transition-smooth), box-shadow 0.35s var(--transition-smooth), border-color 0.35s var(--transition-smooth);
}

.hero-mini-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px -30px rgba(27, 33, 55, 0.34);
    border-color: rgba(4, 114, 253, 0.18);
}

.hero-summary-grid .hero-mini-card {
    background: var(--white);
}

.hero-mini-card strong {
    display: block;
    margin-bottom: 8px;
    color: var(--heading-color);
    font-size: 16px;
    line-height: 1.25;
}

.hero-mini-card span {
    display: block;
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.62;
    text-wrap: pretty;
}

/* ===== HERO ALT (segunda slide) ===== */
.hero-alt {
    padding: 80px 0;
    background: var(--bg-light);
}

.hero-alt .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-alt-content {
    flex: 1;
}

.hero-alt-content h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
}

.hero-alt-content p {
    margin-bottom: 20px;
}

.hero-alt-image {
    flex: 1;
}

.app-downloads {
    margin-top: 30px;
}

.download-label {
    font-size: 13px;
    color: var(--text-color);
    margin-bottom: 10px;
}

.store-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.store-buttons img {
    height: 40px;
    width: auto;
}

/* ===== BENEFICIOS ===== */
.beneficios {
    padding: 80px 0;
    background: var(--white);
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.beneficio-card {
    background: var(--bg-light);
    padding: 32px 22px;
    border-radius: var(--radius-card);
    text-align: center;
    transition: transform 0.4s var(--transition-smooth), box-shadow 0.4s var(--transition-smooth), border-color 0.4s var(--transition-smooth), background 0.4s var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.beneficio-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(4, 114, 253, 0.1);
    background: var(--white);
}

.beneficio-icon {
    font-size: 36px;
    margin-bottom: 15px;
    transition: transform 0.3s var(--transition-bounce);
}

.beneficio-card:hover .beneficio-icon {
    transform: scale(1.1);
}

.beneficio-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.beneficio-card p {
    font-size: 13px;
    line-height: 1.5;
}

/* ===== SOLUCIONES ===== */
.soluciones {
    padding: 80px 0;
    background: var(--white);
    text-align: center;
}

.soluciones-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.solucion-card {
    text-align: center;
    transition: transform 0.3s;
}

.solucion-card:hover {
    transform: translateY(-5px);
}

.solucion-card img {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.solucion-card h3 {
    font-size: 20px;
    font-weight: 700;
}

/* ===== APP SECTION ===== */
.app-section {
    padding: 60px 0;
    background: var(--white);
    text-align: center;
}

.app-section img {
    max-width: 800px;
    margin: 0 auto;
}

/* ===== FEATURES DARK ===== */
.features-dark {
    padding: 90px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #151929 100%);
    position: relative;
}

.features-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(4, 114, 253, 0.3), transparent);
}

.features-grid-dark {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
    align-items: stretch;
}

.feature-card-white {
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(247, 249, 252, 0.94) 100%);
    padding: 34px 24px;
    border-radius: 24px;
    text-align: center;
    transition: transform 0.4s var(--transition-smooth), box-shadow 0.4s var(--transition-smooth), border-color 0.4s var(--transition-smooth);
    border: 1px solid rgba(4, 114, 253, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card-white:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(4, 114, 253, 0.15);
}

.feature-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    color: var(--primary-blue);
    background: rgba(4, 114, 253, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    transition: background 0.3s var(--transition-smooth), transform 0.3s var(--transition-smooth);
}

.feature-card-white:hover .feature-icon {
    background: rgba(4, 114, 253, 0.12);
    transform: scale(1.05);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card-white h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.22;
    text-wrap: balance;
}

.feature-card-white p {
    font-size: 14px;
    line-height: 1.62;
    text-wrap: pretty;
}

.center-cta {
    text-align: center;
    margin-top: 20px;
}

/* ===== FEATURES GRID (internal pages) ===== */
.features {
    padding: 80px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    align-items: stretch;
}

.feature-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(247, 249, 252, 0.92) 100%);
    padding: 34px 26px;
    border-radius: 24px;
    box-shadow: var(--shadow-card);
    text-align: center;
    transition: transform 0.4s var(--transition-smooth), box-shadow 0.4s var(--transition-smooth), border-color 0.4s var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), rgba(4, 114, 253, 0.3));
    opacity: 0;
    transition: opacity 0.3s var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(4, 114, 253, 0.08);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card i {
    width: 64px;
    height: 64px;
    font-size: 1.6rem;
    color: var(--primary-blue);
    margin: 0 auto 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(4, 114, 253, 0.08);
    transition: transform 0.3s var(--transition-bounce);
}

.feature-card:hover i {
    transform: translateY(-2px) scale(1.06);
}

.feature-card h3 {
    color: var(--heading-color);
    margin-bottom: 12px;
    font-size: 18px;
    line-height: 1.24;
    text-wrap: balance;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.62;
    text-wrap: pretty;
}

/* ===== CLIENTES (logos) ===== */
.clientes {
    padding: 60px 0;
    background: var(--white);
}

.clientes-subtitle {
    text-align: center;
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 40px;
}

.logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.logos-grid img {
    height: 120px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.3s, opacity 0.3s;
}

.logos-grid img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* ===== LOGOS INFINITE MARQUEE ===== */
.logos-carousel {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto;
    /* Mask fade effect on sides */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    padding: 20px 0;
}

.logos-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: scroll 35s linear infinite;
    gap: 120px;
}

/* Reset image styles for marquee */
.logos-track img {
    height: 140px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: filter 0.3s, opacity 0.3s, transform 0.3s;
    flex-shrink: 0;
}

.logos-track img:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05);
}

.logos-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Access first half of duplicated content */
}

/* Dots hidden - no longer needed */
.logos-dots {
    display: none;
}

/* ===== CÓMO FUNCIONA ===== */
.como-funciona {
    padding: 80px 0;
    background: var(--bg-light);
}

.pasos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.paso {
    text-align: center;
    transition: transform 0.3s var(--transition-smooth);
}

.paso:hover {
    transform: translateY(-4px);
}

.paso-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0360d6 100%);
    color: var(--white);
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    box-shadow: 0 4px 15px -3px var(--primary-glow);
    transition: box-shadow 0.3s var(--transition-smooth), transform 0.3s var(--transition-smooth);
}

.paso:hover .paso-number {
    box-shadow: 0 8px 25px -3px var(--primary-glow);
    transform: scale(1.08);
}

.paso h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.paso p {
    font-size: 14px;
}

/* ===== TESTIMONIOS ===== */
/* ===== TESTIMONIOS ===== */
.testimonios {
    padding: 100px 0;
    background: var(--white);
}

.stars-container {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.rating-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 24px;
    background: linear-gradient(180deg, rgba(247, 249, 252, 0.98) 0%, rgba(255, 255, 255, 0.94) 100%);
    border: 1px solid rgba(4, 114, 253, 0.1);
    border-radius: 999px;
    box-shadow: 0 18px 40px -28px rgba(27, 33, 55, 0.35);
    text-align: center;
}

.rating-badge-stars {
    display: inline-block;
    color: #F4B740;
    font-size: 24px;
    letter-spacing: 0.16em;
    line-height: 1;
    text-shadow: 0 3px 10px rgba(244, 183, 64, 0.2);
}

.rating-badge-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.rating-badge-copy strong {
    color: var(--heading-color);
    font-size: 20px;
    line-height: 1;
}

.rating-badge-copy span {
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.35;
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    /* Wider container for text */
    margin: 0 auto;
}

.testimonio-card {
    background: var(--white);
    border-radius: var(--radius-soft);
    box-shadow: var(--shadow-card);
    padding: 40px;
    text-align: left;
    transition: transform 0.4s var(--transition-smooth), box-shadow 0.4s var(--transition-smooth), border-color 0.4s var(--transition-smooth);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
}

.testimonio-card::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 60px;
    font-family: Georgia, serif;
    color: rgba(4, 114, 253, 0.08);
    line-height: 1;
    pointer-events: none;
}

.testimonio-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(4, 114, 253, 0.08);
}

.test-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    position: relative;
    /* For absolute menu positioning if needed */
}

.test-avatar-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.test-info {
    flex: 1;
    /* Pushes menu to the right */
}

.test-menu {
    color: #ccc;
    cursor: pointer;
    font-size: 18px;
    align-self: flex-start;
    margin-top: 5px;
}

.test-info h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--heading-color);
}

.test-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    color: #767676;
}

.test-stars {
    color: #F4B740;
    display: inline-block;
    font-size: 14px;
    letter-spacing: 0.12em;
    line-height: 1;
}

.test-text {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-color);
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .stars-container {
        margin-bottom: 36px;
    }

    .rating-badge {
        flex-direction: column;
        gap: 12px;
        padding: 18px 20px;
        border-radius: 24px;
        text-align: center;
    }

    .rating-badge-copy {
        align-items: center;
    }

    .testimonios-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== CTA FINAL ===== */
.cta-final {
    padding: 80px 0;
    background: var(--bg-light);
}

.cta-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.cta-image {
    flex: 1;
}

.cta-text {
    flex: 1;
}

.cta-text h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
}

.cta-text p {
    margin-bottom: 25px;
    font-size: 15px;
    line-height: 1.7;
}

.cta-text .store-buttons {
    margin-top: 20px;
}

/* ===== CTA DARK (internal pages) ===== */
.cta-dark {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #151929 50%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 70px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(4, 114, 253, 0.3), transparent);
}

.cta-dark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(4, 114, 253, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.cta-dark .container {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.cta-dark h2 {
    color: var(--white);
    font-size: 34px;
    margin: 0 auto 15px;
    max-width: 15ch;
    line-height: 1.12;
    text-wrap: balance;
}

.cta-dark p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 auto 28px;
    font-size: 16px;
    max-width: 42ch;
    text-wrap: pretty;
}

.cta-dark .btn {
    min-width: 220px;
}

/* ===== PRICING ===== */
.pricing {
    padding: 80px 0;
    background: var(--bg-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.pricing-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(247, 249, 252, 0.94) 100%);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 2px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.4s var(--transition-smooth), box-shadow 0.4s var(--transition-smooth), border-color 0.4s var(--transition-smooth);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--primary-blue);
}

.pricing-card.popular {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(4, 114, 253, 0.1), 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular .pricing-header {
    background: linear-gradient(180deg, rgba(4, 114, 253, 0.08) 0%, rgba(247, 249, 252, 0.66) 100%);
}

.pricing-card.popular:hover {
    box-shadow: 0 8px 25px rgba(4, 114, 253, 0.15), 0 25px 50px rgba(0, 0, 0, 0.15);
}

.plan-tagline {
    margin-bottom: 10px;
    color: rgba(27, 33, 55, 0.56);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.popular-badge {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-blue), #0360d6);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(4, 114, 253, 0.3);
}

.pricing-header {
    background: linear-gradient(180deg, var(--bg-light) 0%, rgba(247, 249, 252, 0.5) 100%);
    padding: 42px 24px 28px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    min-height: 182px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pricing-header h3 {
    color: var(--heading-color);
    font-size: 20px;
    margin-bottom: 12px;
    line-height: 1.2;
}

.price {
    font-size: 40px;
    color: var(--primary-blue);
    font-weight: 800;
    line-height: 1;
    text-wrap: balance;
}

.price span {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: var(--text-color);
    font-weight: 400;
}

.pricing-features {
    padding: 24px 24px 20px;
    flex: 1;
}

.pricing-features ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.pricing-features ul li {
    font-size: 14px;
    color: var(--text-color);
    padding-left: 24px;
    position: relative;
    line-height: 1.55;
    text-wrap: pretty;
}

.pricing-features ul li::before {
    content: '✓';
    color: var(--primary-blue);
    font-weight: 700;
    position: absolute;
    left: 0;
}

.pricing-features ul li.feature-unavailable {
    color: rgba(27, 33, 55, 0.56);
}

.pricing-features ul li.feature-unavailable::before {
    content: 'X';
    color: #d92d20;
}

.pricing-features ul li.feature-empty {
    color: transparent;
}

.pricing-features ul li.feature-empty::before {
    content: '';
}

.pricing-features ul li.feature-dash {
    color: #667085;
    padding-left: 0;
    text-align: center;
}

.pricing-features ul li.feature-dash::before {
    content: '';
}

.pricing-cta {
    padding: 0 24px 24px;
    margin-top: auto;
}

.pricing-cta .btn {
    width: 100%;
    display: block;
    min-height: 52px;
}

.page-pricing .hero-internal {
    padding: 108px 0 70px;
}

.page-pricing .hero-internal h1 {
    max-width: 13.2ch;
}

.page-pricing .hero-internal p {
    max-width: 35ch;
}

.page-pricing .pricing {
    padding-top: 70px;
}

.page-pricing .pricing-grid {
    gap: 28px;
    max-width: 1120px;
}

.page-pricing .pricing-card {
    border-radius: 28px;
}

.page-pricing .pricing-card.popular::before {
    content: '';
    position: absolute;
    top: 0;
    left: 18px;
    right: 18px;
    height: 4px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, rgba(4, 114, 253, 0.25), var(--primary-blue), rgba(4, 114, 253, 0.25));
}

.page-pricing .popular-badge {
    top: 16px;
    padding: 7px 16px;
    font-size: 10px;
    letter-spacing: 0.08em;
    border: 3px solid rgba(255, 255, 255, 0.92);
}

.page-pricing .pricing-header {
    min-height: 194px;
    gap: 4px;
}

.page-pricing .pricing-card.popular .pricing-header {
    padding-top: 72px;
}

.page-pricing .pricing-header h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.page-pricing .price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.page-pricing .price span {
    margin-top: 0;
    font-size: 13px;
    letter-spacing: 0.02em;
}

.page-pricing .pricing-features {
    padding-top: 20px;
}

.page-pricing .pricing-features ul {
    gap: 4px;
}

.page-pricing .pricing-cta .btn {
    min-height: 52px;
}

@media (min-width: 769px) {
    .page-pricing .pricing-header,
    .page-pricing .pricing-card.popular .pricing-header {
        box-sizing: border-box;
        height: 214px;
        min-height: 214px;
    }

    .page-pricing .pricing-features ul li {
        display: flex;
        align-items: center;
        height: 40px;
        min-height: 40px;
        line-height: 1.3;
    }

    .page-pricing .pricing-cta {
        padding-bottom: 20px;
    }
}

/* ===== FAQ / AYUDA ===== */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    align-items: stretch;
}

.faq-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(247, 249, 252, 0.92) 100%);
    padding: 30px 28px;
    border-radius: 24px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.4s var(--transition-smooth), box-shadow 0.4s var(--transition-smooth), border-color 0.4s var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.faq-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(4, 114, 253, 0.08);
}

.faq-card i {
    width: 60px;
    height: 60px;
    font-size: 1.4rem;
    color: var(--primary-blue);
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(4, 114, 253, 0.08);
    transition: transform 0.3s var(--transition-bounce);
}

.faq-card:hover i {
    transform: translateY(-2px) scale(1.06);
}

.faq-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 1.25;
    text-wrap: balance;
}

.faq-card p {
    font-size: 14px;
    line-height: 1.62;
    text-wrap: pretty;
}

/* Search bar */
.search-bar {
    display: flex;
    align-items: center;
    max-width: 560px;
    margin: 28px auto 0;
    gap: 10px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(4, 114, 253, 0.1);
    border-radius: 20px;
    box-shadow: 0 18px 40px -30px rgba(27, 33, 55, 0.24);
}

.search-bar:focus-within {
    border-color: rgba(4, 114, 253, 0.2);
    box-shadow: 0 22px 42px -30px rgba(27, 33, 55, 0.3);
}

.search-bar input {
    flex: 1;
    padding: 14px 16px;
    border: 0;
    border-radius: 14px;
    font-size: 14px;
    font-family: var(--font);
    outline: none;
    transition: border-color 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth);
    background: transparent;
}

.search-bar input:focus {
    box-shadow: none;
}

/* ===== CONTACT FORM ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 28px;
    align-items: stretch;
}

.contact-info,
.contact-form {
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(247, 249, 252, 0.94) 100%);
    border: 1px solid rgba(4, 114, 253, 0.08);
    border-radius: 26px;
    box-shadow: 0 22px 48px -36px rgba(27, 33, 55, 0.34);
}

.contact-info {
    padding: 30px 26px;
    position: sticky;
    top: 110px;
}

.contact-info h3 {
    font-size: 22px;
    margin-bottom: 20px;
}

.contact-info p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(247, 249, 252, 0.88);
    border: 1px solid rgba(4, 114, 253, 0.08);
    font-size: 15px;
    line-height: 1.55;
    text-wrap: pretty;
}

.contact-info i {
    color: var(--primary-blue);
    margin-right: 0;
    margin-top: 2px;
    width: 20px;
    flex-shrink: 0;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 22px;
}

.social-links a {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: rgba(4, 114, 253, 0.08);
    border: 1px solid rgba(4, 114, 253, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--heading-color);
    transition: background 0.3s, color 0.3s, transform 0.3s;
}

.social-links a:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 30px 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    background: rgba(247, 249, 252, 0.92);
    border: 1.5px solid #dce5ef;
    border-radius: 16px;
    padding: 15px 18px;
    font-size: 14px;
    font-family: var(--font);
    color: var(--heading-color);
    outline: none;
    transition: border-color 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(4, 114, 253, 0.08);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0360d6 100%);
    color: var(--white);
    border: none;
    padding: 15px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font);
    transition: background 0.3s var(--transition-smooth), transform 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth);
    align-self: stretch;
    min-height: 54px;
    box-shadow: var(--shadow-btn);
}

.btn-submit:hover {
    background: linear-gradient(135deg, #0360d6 0%, #024eb8 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-btn-hover);
}

/* ===== FOOTER ===== */
footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 72px 0 24px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(4, 114, 253, 0.35), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr 1.3fr;
    gap: 28px;
    margin-bottom: 40px;
    align-items: start;
}

.footer-logo {
    max-width: 200px;
    margin-bottom: 15px;
}

.footer-col {
    min-width: 0;
}

.footer-col p {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.company-name {
    font-weight: 600;
    color: var(--white);
    margin-top: 15px !important;
    font-size: 12px !important;
    letter-spacing: 0.5px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 16px;
}

.footer-col:last-child {
    padding: 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-form input,
.footer-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 11px 16px;
    font-size: 13px;
    font-family: var(--font);
    color: var(--heading-color);
    outline: none;
    margin-bottom: 10px;
    transition: border-color 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth);
}

.footer-form textarea {
    resize: vertical;
}

.footer-form input:focus,
.footer-form textarea:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(4, 114, 253, 0.1);
}

.btn-footer-submit {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0360d6 100%);
    color: var(--white);
    border: none;
    padding: 12px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    font-family: var(--font);
    transition: background 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth), transform 0.3s var(--transition-smooth);
    box-shadow: 0 2px 8px -2px var(--primary-glow);
}

.btn-footer-submit:hover {
    background: linear-gradient(135deg, #0360d6 0%, #024eb8 100%);
    box-shadow: 0 4px 16px -2px var(--primary-glow);
    transform: translateY(-1px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s, background 0.3s, transform 0.3s;
    font-size: 24px;
    /* Increased size */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    /* Subtle background circle */
}

.footer-social a:hover {
    color: var(--white);
    background: var(--primary-blue);
    /* Brand color on hover */
    transform: translateY(-3px);
    /* Lift effect */
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== FLOATING WHATSAPP ===== */
.chat-whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366, #128C7E);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35), 0 0 0 0 rgba(37, 211, 102, 0.4);
    transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth);
    z-index: 10000;
    text-decoration: none;
    animation: whatsappPulse 2.5s infinite;
}

.chat-whatsapp-float.is-hidden-on-hero {
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px) scale(0.88);
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35), 0 0 0 0 rgba(37, 211, 102, 0.3); }
    70% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35), 0 0 0 12px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35), 0 0 0 0 rgba(37, 211, 102, 0); }
}

.chat-whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    animation: none;
}

/* Move Kommo/AmoCRM widget up to stack above WhatsApp */
#crm_plugin,
[id^="amojo"],
[class*="amojo"],
[class*="amo-button"],
[class*="amo-social"],
iframe[src*="kommo"],
iframe[src*="amocrm"],
div[data-kommo],
.kommo-social-button {
    position: fixed !important;
    bottom: 94px !important;
    right: 24px !important;
    left: auto !important;
    z-index: 9998 !important;
}

@media (max-width: 768px) {
    .chat-whatsapp-float {
        width: 44px;
        height: 44px;
        font-size: 22px;
        bottom: calc(env(safe-area-inset-bottom, 0px) + 10px);
        right: 12px;
        animation: none;
    }

    #crm_plugin,
    [id^="amojo"],
    [class*="amojo"],
    [class*="amo-button"],
    [class*="amo-social"],
    iframe[src*="kommo"],
    iframe[src*="amocrm"],
    div[data-kommo],
    .kommo-social-button {
        bottom: calc(env(safe-area-inset-bottom, 0px) + 72px) !important;
        right: 16px !important;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-home-grid,
    .hero-split-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .hero-home,
    .hero-internal {
        text-align: center;
    }

    .hero-internal:not(.hero-split) h1,
    .hero-internal:not(.hero-split) p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-home-copy,
    .hero-split-copy {
        max-width: none;
    }

    .hero-home h1 {
        font-size: 36px;
    }

    .hero-home-copy > p:not(.hero-kicker),
    .hero-split-copy > p:not(.hero-kicker) {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions,
    .hero-pill-list {
        justify-content: center;
    }

    .hero-proof {
        max-width: none;
    }

    .hero-home-visual,
    .hero-split-visual {
        max-width: 720px;
        margin: 0 auto;
    }

    .trust-ribbon-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .beneficios-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid-dark {
        grid-template-columns: repeat(2, 1fr);
    }

    .soluciones-home-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        gap: 12px;
    }

    .nav-links.active {
        display: flex;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        padding-left: 15px;
        display: none;
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }

    .hero .container,
    .hero-alt .container,
    .cta-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-home-grid,
    .hero-split-grid {
        gap: 18px;
    }

    .page-home .hero-home {
        padding: 62px 0 40px;
    }

    .page-home .hero-home h1 {
        font-size: 22px;
        max-width: 16ch;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 16px;
        letter-spacing: -0.7px;
        line-height: 1.06;
    }

    .page-home .hero-home-copy > p:not(.hero-kicker) {
        max-width: 30ch;
        margin-bottom: 18px;
        font-size: 15.5px;
        line-height: 1.55;
    }

    .page-home .hero-kicker {
        justify-content: center;
        max-width: 300px;
        margin: 0 auto 12px;
        padding: 8px 14px;
        font-size: 10.8px;
        text-align: center;
        line-height: 1.35;
    }

    .page-home .hero-actions {
        justify-content: center;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 12px;
    }

    .page-home .hero-actions .btn {
        width: 100%;
        min-height: 52px;
    }

    .hero-proof,
    .hero-mini-grid,
    .hero-summary-grid,
    .trust-ribbon-grid {
        grid-template-columns: 1fr;
    }

    .page-home .hero-proof {
        max-width: 100%;
        margin: 0 auto;
        gap: 0;
    }

    .page-home .hero-proof-item {
        padding: 9px 0 9px 28px;
        text-align: left;
        border-radius: 0;
        background: transparent;
        border: 0;
        border-bottom: 1px solid rgba(4, 114, 253, 0.08);
        box-shadow: none;
        font-size: 13.5px;
        line-height: 1.38;
    }

    .page-home .hero-proof-item:last-child {
        border-bottom: 0;
    }

    .page-home .hero-proof-item::before {
        top: 50%;
        left: 8px;
        width: 8px;
        height: 8px;
        transform: translateY(-50%);
        box-shadow: 0 0 0 4px rgba(4, 114, 253, 0.1);
    }

    .page-home .hero-home-visual {
        max-width: 324px;
    }

    .page-home .hero-device-card {
        padding: 10px;
        border-radius: 20px;
    }

    .page-home .hero-device-card picture {
        border-radius: 16px;
    }

    .page-home .hero-chip {
        margin-top: 7px;
        padding: 10px 12px;
        border-radius: 16px;
        font-size: 11.5px;
    }

    .hero-chip {
        position: static;
        max-width: none;
        text-align: left;
    }

    .page-home .hero-chip strong {
        margin-bottom: 4px;
        font-size: 14px;
    }

    .page-home .trust-ribbon {
        margin-top: 14px;
        padding: 12px;
        border-radius: 22px;
    }

    .page-home .trust-ribbon-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .page-home .trust-ribbon-item,
    .page-home .trust-ribbon-item:first-child {
        padding: 12px 10px;
        border: 1px solid rgba(4, 114, 253, 0.08);
        border-top: 1px solid rgba(4, 114, 253, 0.08);
        border-left: 1px solid rgba(4, 114, 253, 0.08);
        border-radius: 16px;
        background: rgba(247, 249, 252, 0.86);
        text-align: left;
    }

    .page-home .trust-ribbon-item strong {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .page-home .trust-ribbon-item span {
        font-size: 12px;
        line-height: 1.38;
    }

    .page-home .soluciones-home {
        padding: 48px 0 28px;
    }

    .page-home .soluciones-home-grid {
        gap: 16px;
    }

    .page-home .solucion-home-card {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 14px;
        min-height: 0;
        padding: 18px 16px;
        text-align: left;
        border-radius: 22px;
    }

    .page-home .solucion-bg-dark {
        top: 50%;
        left: 60px;
        width: 84px;
        height: 84px;
    }

    .page-home .solucion-float-img {
        width: 98px;
        margin-bottom: 0;
    }

    .page-home .solucion-home-card h3 {
        margin-top: 0;
        font-size: 17px;
        line-height: 1.15;
        max-width: 10ch;
    }

    .page-home .features-dark {
        padding: 64px 0;
    }

    .page-home .features-grid-dark {
        gap: 16px;
        margin-bottom: 24px;
    }

    .page-home .feature-card-white {
        padding: 26px 18px;
        border-radius: 22px;
    }

    .page-home .feature-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 14px;
        padding: 10px;
        border-radius: 14px;
    }

    .page-home .feature-card-white h3 {
        font-size: 18px;
        line-height: 1.2;
        margin-bottom: 8px;
    }

    .page-home .feature-card-white p {
        max-width: 25ch;
        margin: 0 auto;
        font-size: 14px;
        line-height: 1.55;
    }

    .page-home .integracion-clientes {
        padding: 56px 0;
    }

    .page-home .integracion-clientes .clientes-subtitle {
        margin-bottom: 28px;
    }

    .page-home .testimonios {
        padding: 72px 0;
    }

    .page-home .rating-badge {
        gap: 10px;
        padding: 14px 18px;
    }

    .page-home .rating-badge-stars {
        font-size: 18px;
    }

    .page-home .rating-badge-copy strong {
        font-size: 18px;
    }

    .page-home .testimonio-card {
        padding: 28px 20px;
        border-radius: 22px;
    }

    .page-home .testimonio-card::before {
        top: 18px;
        right: 18px;
        font-size: 48px;
    }

    .page-home .test-header {
        gap: 14px;
        margin-bottom: 18px;
    }

    .page-home .test-avatar-img {
        width: 52px;
        height: 52px;
    }

    .page-home .test-info h4 {
        font-size: 18px;
    }

    .page-home .test-meta {
        gap: 10px;
        flex-wrap: wrap;
        font-size: 12.5px;
    }

    .page-home .test-text {
        font-size: 16px;
        line-height: 1.65;
    }

    .page-home .cta-final {
        padding: 64px 0 56px;
    }

    .page-home .cta-text h2 {
        max-width: 13ch;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.12;
    }

    .page-home .store-buttons {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-alt-content h2 {
        font-size: 26px;
    }

    .hero-internal h1 {
        font-size: 30px;
        max-width: 13.5ch;
    }

    .hero-internal {
        padding: 96px 0 58px;
    }

    .hero-split .hero-kicker {
        justify-content: center;
        margin: 0 auto 14px;
        max-width: 300px;
        text-align: center;
    }

    .hero-split-copy > p:not(.hero-kicker),
    .hero-internal:not(.hero-split) p {
        max-width: 33ch;
        margin-bottom: 22px;
        font-size: 15.5px;
        line-height: 1.58;
    }

    .hero-split-visual {
        max-width: 360px;
    }

    .hero-device-card-compact {
        padding: 12px;
    }

    .hero-mini-grid {
        gap: 12px;
        margin-top: 14px;
    }

    .hero-mini-card {
        padding: 18px 16px 16px;
        border-radius: 20px;
    }

    .feature-card,
    .feature-card-white,
    .faq-card {
        padding: 24px 20px;
        border-radius: 22px;
    }

    .feature-card i,
    .faq-card i {
        width: 56px;
        height: 56px;
        border-radius: 16px;
    }

    .faq-card {
        gap: 0;
    }

    .faq-card h3 {
        margin-bottom: 10px;
        font-size: 17px;
    }

    .faq-card p {
        font-size: 13.5px;
        line-height: 1.56;
    }

    .pricing,
    .features,
    .como-funciona,
    .features-dark {
        padding: 64px 0;
    }

    .pricing-card {
        border-radius: 24px;
    }

    .pricing-header {
        min-height: 0;
        padding: 38px 20px 24px;
    }

    .pricing-features,
    .pricing-cta {
        padding-left: 20px;
        padding-right: 20px;
    }

    .page-pricing .hero-internal {
        padding: 84px 0 38px;
    }

    .page-pricing .hero-internal h1 {
        font-size: 28px;
        max-width: 12.3ch;
    }

    .page-pricing .hero-internal p {
        max-width: 28ch;
        font-size: 15px;
        margin-bottom: 0;
    }

    .page-pricing .pricing {
        padding: 44px 0 58px;
    }

    .page-pricing .pricing-grid {
        gap: 18px;
        max-width: 370px;
    }

    .page-pricing .pricing-card {
        border-radius: 26px;
    }

    .page-pricing .popular-badge {
        top: 14px;
        padding: 6px 14px;
    }

    .page-pricing .plan-tagline {
        margin-bottom: 8px;
        font-size: 10.5px;
    }

    .page-pricing .pricing-header {
        min-height: 164px;
        padding: 34px 18px 20px;
    }

    .page-pricing .pricing-card.popular .pricing-header {
        padding-top: 54px;
    }

    .page-pricing .pricing-header h3 {
        font-size: 20px;
        margin-bottom: 6px;
    }

    .page-pricing .price {
        font-size: 32px;
        gap: 6px;
    }

    .page-pricing .price span {
        font-size: 12.5px;
    }

    .page-pricing .pricing-features {
        padding: 18px 18px 16px;
    }

    .page-pricing .pricing-features ul li {
        font-size: 14px;
        line-height: 1.48;
    }

    .page-pricing .pricing-cta {
        padding: 0 18px 18px;
    }

    .page-pricing .pricing-cta .btn {
        min-height: 50px;
        font-size: 16px;
    }

    .search-bar {
        flex-direction: column;
        gap: 8px;
        padding: 10px;
        border-radius: 22px;
    }

    .search-bar .btn {
        width: 100%;
    }

    .contact-info,
    .contact-form {
        padding: 24px 20px;
        border-radius: 22px;
    }

    .contact-info {
        position: static;
    }

    .contact-info h3 {
        margin-bottom: 16px;
        font-size: 20px;
    }

    .contact-info p {
        padding: 12px 14px;
        border-radius: 16px;
        font-size: 14px;
    }

    .contact-form {
        gap: 12px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 14px 16px;
        border-radius: 14px;
    }

    .footer-col:last-child {
        padding: 18px;
    }

    .cta-dark {
        padding: 58px 0;
    }

    .cta-dark h2 {
        font-size: 28px;
        max-width: 12ch;
        margin-bottom: 12px;
    }

    .cta-dark p {
        font-size: 15px;
        max-width: 30ch;
        margin-bottom: 22px;
    }

    .cta-dark .btn {
        width: 100%;
        max-width: 320px;
        min-height: 52px;
    }

    .store-buttons {
        justify-content: center;
    }

    .beneficios-grid,
    .features-grid-dark,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .soluciones-grid,
    .soluciones-home-grid,
    .pasos-grid {
        grid-template-columns: 1fr;
    }

    .solucion-home-card {
        min-height: 0;
    }

    .testimonios-grid {
        grid-template-columns: 1fr;
    }

    .logos-track img {
        flex: none;
        max-width: none;
        height: 50px;
        padding: 0;
    }

    .logos-track {
        gap: 40px;
    }

    .logos-grid img {
        height: 50px;
    }

    .cta-text h2 {
        font-size: 26px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .footer-col {
        padding-bottom: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .footer-col:last-child {
        padding: 16px;
        padding-bottom: 16px;
        border-bottom: 0;
        border-radius: 20px;
    }

    .footer-col h4 {
        margin-bottom: 12px;
        font-size: 15px;
    }

    .footer-col p,
    .footer-links a {
        font-size: 13px;
        line-height: 1.55;
    }

    .footer-form input,
    .footer-form textarea {
        padding: 12px 14px;
        border-radius: 12px;
    }

    .btn-footer-submit {
        min-height: 46px;
    }

    .footer-social a {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }

    .section-title h2,
    .section-title-light h2 {
        font-size: 26px;
    }

    .page-home .section-title h2,
    .page-home .section-title-light h2 {
        font-size: 23px;
        max-width: 13ch;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.12;
    }

    .logo img {
        height: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero-proof-item,
    .hero-pill,
    .hero-mini-card span,
    .trust-ribbon-item span {
        font-size: 13px;
    }

    .page-home .hero-home {
        padding: 52px 0 34px;
    }

    .page-home .hero-home h1 {
        font-size: 20px;
        max-width: 16ch;
        margin-bottom: 16px;
        line-height: 1.04;
    }

    .page-home .hero-home-copy > p:not(.hero-kicker) {
        max-width: 29ch;
        font-size: 14.5px;
        line-height: 1.52;
        margin-bottom: 16px;
    }

    .page-home .hero-kicker {
        max-width: 272px;
        padding: 7px 12px;
        font-size: 10px;
        margin-bottom: 10px;
    }

    .page-home .hero-proof-item {
        font-size: 13px;
        padding: 8px 0 8px 24px;
    }

    .page-home .hero-proof-item::before {
        left: 6px;
        width: 7px;
        height: 7px;
        box-shadow: 0 0 0 3px rgba(4, 114, 253, 0.1);
    }

    .page-home .hero-home-visual {
        max-width: 314px;
    }

    .page-home .hero-device-card {
        padding: 9px;
        border-radius: 18px;
    }

    .page-home .hero-chip {
        padding: 9px 11px;
    }

    .page-home .hero-chip strong {
        font-size: 13.5px;
    }

    .page-home .trust-ribbon-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .page-home .trust-ribbon-item,
    .page-home .trust-ribbon-item:first-child {
        padding: 11px 10px;
    }

    .page-home .trust-ribbon-item strong {
        font-size: 13.5px;
    }

    .page-home .solucion-home-card {
        gap: 12px;
        padding: 16px 14px;
    }

    .page-home .solucion-bg-dark {
        left: 54px;
        width: 78px;
        height: 78px;
    }

    .page-home .solucion-float-img {
        width: 90px;
    }

    .page-home .solucion-home-card h3 {
        font-size: 16px;
        max-width: 10ch;
    }

    .page-home .feature-card-white {
        padding: 24px 16px;
    }

    .page-home .testimonio-card {
        padding: 24px 18px;
    }

    .page-home .rating-badge {
        width: 100%;
        border-radius: 22px;
    }

    .page-home .section-title h2,
    .page-home .section-title-light h2 {
        font-size: 22px;
        max-width: 13ch;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .hero-internal {
        padding: 90px 0 52px;
    }

    .hero-internal h1 {
        font-size: 26px;
        max-width: 13ch;
    }

    .hero-split .hero-kicker {
        max-width: 280px;
        padding: 8px 12px;
        font-size: 10.4px;
        margin-bottom: 12px;
    }

    .hero-split-copy > p:not(.hero-kicker),
    .hero-internal:not(.hero-split) p {
        font-size: 15px;
        max-width: 30ch;
    }

    .hero-actions .btn {
        width: 100%;
        min-height: 52px;
    }

    .hero-pill-list {
        justify-content: center;
        gap: 8px;
    }

    .hero-pill {
        font-size: 12.5px;
        padding: 8px 12px;
    }

    .hero-summary-grid,
    .hero-mini-grid {
        gap: 12px;
    }

    .hero-mini-card strong {
        font-size: 15px;
    }

    .hero-mini-card span {
        font-size: 13px;
    }

    .feature-card,
    .feature-card-white,
    .faq-card,
    .contact-info,
    .contact-form {
        padding: 22px 18px;
    }

    .faq-card i {
        width: 50px;
        height: 50px;
        margin-bottom: 14px;
        font-size: 1.2rem;
    }

    .faq-card h3 {
        font-size: 16px;
    }

    .faq-card p {
        font-size: 13px;
    }

    .pricing-header h3 {
        font-size: 22px;
    }

    .price {
        font-size: 36px;
    }

    .page-pricing .hero-internal {
        padding: 78px 0 34px;
    }

    .page-pricing .hero-internal h1 {
        font-size: 25px;
        max-width: 11.6ch;
    }

    .page-pricing .hero-internal p {
        max-width: 26ch;
        font-size: 14.5px;
    }

    .page-pricing .pricing-grid {
        max-width: 356px;
    }

    .page-pricing .pricing-card {
        border-radius: 24px;
    }

    .page-pricing .pricing-header {
        padding: 32px 18px 18px;
    }

    .page-pricing .pricing-card.popular .pricing-header {
        padding-top: 52px;
    }

    .page-pricing .price {
        font-size: 31px;
    }

    .logos-grid {
        gap: 20px;
    }

    .logos-grid img {
        height: 40px;
    }

    .logos-track img {
        height: 40px;
    }

    .logos-track {
        gap: 30px;
    }

    .footer-grid {
        gap: 22px;
    }

    .footer-col:last-child {
        padding: 16px;
        border-radius: 20px;
    }

    .cta-dark {
        padding: 52px 0;
    }

    .cta-dark h2 {
        font-size: 24px;
        max-width: 11ch;
    }

    .cta-dark p {
        font-size: 14.5px;
        max-width: 27ch;
    }

    .chat-whatsapp-float {
        width: 42px;
        height: 42px;
        font-size: 20px;
        bottom: calc(env(safe-area-inset-bottom, 0px) + 8px);
        right: 10px;
        box-shadow: 0 8px 16px rgba(37, 211, 102, 0.22);
        animation: none;
    }
}

@media (max-width: 360px) {
    .page-home .hero-home h1 {
        max-width: 14ch;
    }

    .page-home .trust-ribbon-grid {
        grid-template-columns: 1fr;
    }

    .page-home .section-title h2,
    .page-home .section-title-light h2 {
        max-width: 11ch;
    }
}

@media (max-width: 768px) {
    .page-home .hero-home.hero-home-classic {
        padding: 74px 0 44px;
    }

    .page-home .hero-home.hero-home-classic h1 {
        font-size: 30px;
        max-width: 12ch;
        margin-bottom: 16px;
    }

    .page-home .hero-home.hero-home-classic p {
        max-width: 29ch;
        margin-bottom: 20px;
        font-size: 15.5px;
        line-height: 1.58;
    }

    .page-home .hero-home.hero-home-classic .btn {
        width: 100%;
        max-width: 320px;
        min-height: 52px;
    }
}

@media (max-width: 480px) {
    .page-home .hero-home.hero-home-classic {
        padding: 64px 0 38px;
    }

    .page-home .hero-home.hero-home-classic h1 {
        font-size: 24px;
        max-width: 11.5ch;
    }

    .page-home .hero-home.hero-home-classic p {
        max-width: 27ch;
        font-size: 14.5px;
        margin-bottom: 18px;
    }
}

@media (max-width: 360px) {
    .page-home .hero-home.hero-home-classic h1 {
        max-width: 10.5ch;
    }
}

/* ===== FOCUS VISIBLE (Accessibility) ===== */
:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
    border-radius: 4px;
}

.btn:focus-visible,
.btn-nav:focus-visible,
.btn-submit:focus-visible,
.btn-footer-submit:focus-visible,
.btn-card:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px var(--primary-blue);
}

.nav-links a:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 4px;
}

.footer-social a:focus-visible,
.social-links a:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

.chat-whatsapp-float:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 3px;
    box-shadow: 0 0 0 5px rgba(37, 211, 102, 0.5);
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
    .fade-up {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .chat-whatsapp-float {
        animation: none;
    }

    .btn::before {
        display: none;
    }
}

/* ============================================
   Utility classes (externalized from inline styles)
   ============================================ */

/* GTM noscript iframe */
.gtm-noscript { display: none; visibility: hidden; }

/* Dropdown chevron icon */
.chevron-sm { font-size: 0.7rem; }

/* Section variants */
.section-white { padding: 60px 0; background: var(--white); }
.section-white-lg { padding: 80px 0; background: var(--white); }
.section-light { background: var(--bg-light); }
.section-padding-60 { padding: 60px 0; }
.section-padding-80 { padding: 80px 0; }

/* Layout helpers */
.text-center { text-align: center; }
.mx-auto-700 { max-width: 700px; margin: 0 auto; border-radius: 15px; box-shadow: 0 10px 40px rgba(0,0,0,0.1); }
.mx-auto-500 { max-width: 500px; margin: 0 auto; }
.mx-auto-450 { max-width: 450px; margin: 0 auto; }
.mx-auto-400 { max-width: 400px; margin: 0 auto; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mt-10 { margin-top: 10px; }

/* Text helpers */
.text-muted-light {
    color: rgba(255,255,255,0.7);
    margin-top: 0;
    max-width: 42ch;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-wrap: pretty;
}

.page-home .features-dark .section-title-light {
    gap: 18px;
    padding-bottom: 26px;
    margin-bottom: 0;
}

.page-home .features-dark .text-muted-light {
    max-width: 48ch;
}
.text-body { color: var(--text-color); }

/* Educational content blocks (SEO) */
.edu-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: var(--text-color);
}
.edu-content p {
    margin-bottom: 16px;
    font-size: 1rem;
}
.edu-content p:last-child {
    margin-bottom: 0;
}
.edu-list,
.edu-list-ordered {
    max-width: 800px;
    margin: 16px auto 20px;
    padding-left: 24px;
    color: var(--text-color);
    line-height: 1.8;
}
.edu-list li,
.edu-list-ordered li {
    margin-bottom: 10px;
    font-size: 1rem;
}
.edu-list li:last-child,
.edu-list-ordered li:last-child {
    margin-bottom: 0;
}

/* 404 footer override */
.footer-bottom-flat { border-top: none; }

/* ============================================
   Error page (404)
   ============================================ */
.error-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%);
}
.error-code {
    font-size: 120px;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 16px;
    opacity: 0.15;
}
.error-page h1 {
    font-size: 32px;
    margin-bottom: 16px;
}
.error-page p {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.error-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.error-links a {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-blue);
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(4, 114, 253, 0.06);
    transition: background 0.3s, transform 0.3s;
}
.error-links a:hover {
    background: rgba(4, 114, 253, 0.12);
    transform: translateY(-2px);
}

.page-corporativo .hero-corporativo {
    padding: 110px 0 72px;
}

.page-corporativo .hero-corporativo .hero-split-grid {
    align-items: center;
    gap: 44px;
}

.page-corporativo .hero-corporativo .hero-split-copy h1 {
    max-width: 9.8ch;
}

.page-corporativo .hero-corporativo .hero-split-copy > p {
    max-width: 34ch;
    margin-bottom: 28px;
}

.page-corporativo .hero-corporativo .hero-actions {
    margin-bottom: 0;
}

.page-corporativo .hero-corporativo .hero-split-visual {
    max-width: 520px;
    margin-left: auto;
}

.page-corporativo .corporate-visual-shell {
    position: relative;
    padding: 24px;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 249, 252, 0.94) 100%);
    border: 1px solid rgba(4, 114, 253, 0.08);
    box-shadow: 0 28px 60px -34px rgba(27, 33, 55, 0.3);
    overflow: hidden;
}

.page-corporativo .corporate-visual-shell::before {
    content: '';
    position: absolute;
    inset: 18px 18px auto auto;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(4, 114, 253, 0.14) 0%, rgba(4, 114, 253, 0) 72%);
    pointer-events: none;
}

.page-corporativo .corporate-visual-shell::after {
    content: '';
    position: absolute;
    left: -12%;
    bottom: -18%;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(27, 33, 55, 0.08) 0%, rgba(27, 33, 55, 0) 72%);
    pointer-events: none;
}

.page-corporativo .corporate-visual-image {
    position: relative;
    display: block;
    width: 100%;
    max-width: 410px;
    height: auto;
    margin: 0 auto;
}

.page-corporativo .corporate-process-section {
    background: linear-gradient(180deg, var(--bg-light) 0%, rgba(237, 245, 255, 0.55) 100%);
}

.page-corporativo .corporate-process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.page-corporativo .corporate-process-card {
    min-height: 100%;
    padding: 30px 22px 24px;
}

.page-corporativo .corporate-process-card i {
    margin-bottom: 18px;
}

.page-corporativo .corporate-process-card h3 {
    min-height: 2.5em;
}

.page-corporativo .corporate-logos-shell {
    padding: 32px 26px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.94) 0%, rgba(255, 255, 255, 1) 100%);
    border: 1px solid rgba(4, 114, 253, 0.06);
    box-shadow: 0 22px 54px -38px rgba(27, 33, 55, 0.22);
}

.page-corporativo .corporate-logos-shell .logos-grid {
    gap: 26px 34px;
}

.page-corporativo .corporate-logos-shell .logos-grid img {
    height: 64px;
}

@media (max-width: 991px) {
    .page-corporativo .hero-corporativo {
        padding: 96px 0 56px;
    }

    .page-corporativo .hero-corporativo .hero-split-grid {
        gap: 30px;
    }

    .page-corporativo .corporate-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .page-corporativo .hero-corporativo {
        padding: 84px 0 40px;
    }

    .page-corporativo .hero-corporativo .hero-split-copy h1 {
        max-width: 10.4ch;
    }

    .page-corporativo .hero-corporativo .hero-split-copy > p {
        max-width: 29ch;
        margin-bottom: 20px;
    }

    .page-corporativo .corporate-visual-shell {
        padding: 16px;
        border-radius: 24px;
    }

    .page-corporativo .corporate-process-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .page-corporativo .corporate-process-card {
        padding: 24px 18px 20px;
        text-align: center;
    }

    .page-corporativo .corporate-process-card i {
        margin-left: auto;
        margin-right: auto;
    }

    .page-corporativo .corporate-process-card h3 {
        min-height: 0;
    }

    .page-corporativo .corporate-logos-shell {
        padding: 22px 18px;
        border-radius: 22px;
    }

    .page-corporativo .corporate-logos-shell .logos-grid img {
        height: 48px;
    }
}

/* ===== SKIP LINK REMOVED FROM UI ===== */
.skip-link,
.skip-link:focus,
.skip-link:focus-visible {
    display: none !important;
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 24px);
    left: 24px;
    right: auto;
    width: min(520px, calc(100vw - 48px));
    background: #1B2137;
    color: #fff;
    z-index: 9990;
    box-shadow: 0 14px 34px rgba(0,0,0,0.22);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    padding: 0;
}
.cookie-content {
    margin: 0;
    padding: 18px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
}
.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.45;
    color: #ccd;
    min-width: 0;
}
.cookie-content a {
    color: #6db3f8;
    text-decoration: underline;
}
.cookie-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}
.btn-cookie-accept {
    background: var(--primary-blue);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s;
}
.btn-cookie-accept:hover { background: #035fd4; }
.btn-cookie-reject {
    background: transparent;
    color: #aab;
    border: 1px solid #555;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}
.btn-cookie-reject:hover { color: #fff; border-color: #888; }

@media (max-width: 600px) {
    .cookie-banner {
        bottom: calc(env(safe-area-inset-bottom, 0px) + 68px);
        left: 12px;
        right: 12px;
        width: auto;
    }

    .cookie-content {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 16px;
        text-align: left;
    }

    .cookie-actions {
        width: 100%;
        justify-content: stretch;
    }

    .btn-cookie-accept,
    .btn-cookie-reject {
        flex: 1 1 0;
        min-width: 0;
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* ===== LEGAL PAGES ===== */
.page-legal .legal-hero {
    background: linear-gradient(135deg, #0472FD 0%, #243356 100%);
    color: #fff;
    padding: 100px 0 50px;
    text-align: center;
}
.page-legal .legal-hero h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}
.page-legal .legal-hero p {
    opacity: 0.85;
    font-size: 1rem;
}
.page-legal .legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px 60px;
    line-height: 1.8;
}
.page-legal .legal-content h2 {
    color: var(--heading-color);
    margin-top: 2rem;
    font-size: 1.4rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
}
.page-legal .legal-content p,
.page-legal .legal-content li {
    color: var(--text-color);
    font-size: 0.95rem;
}
.page-legal .legal-content ul {
    padding-left: 1.5rem;
}
.page-legal .legal-content li {
    margin-bottom: 0.5rem;
}

/* ===== NOSOTROS PAGE ===== */
.page-nosotros .nosotros-hero {
    background: linear-gradient(135deg, #0472FD 0%, #243356 100%);
    color: #fff;
    padding: 100px 0 60px;
    text-align: center;
}
.page-nosotros .nosotros-hero h1 {
    font-size: 2.4rem;
    margin-bottom: 0.75rem;
}
.page-nosotros .nosotros-hero p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}
.nosotros-section {
    padding: 60px 0;
}
.nosotros-section:nth-child(even) {
    background: var(--bg-light);
}
.nosotros-section h2 {
    color: var(--heading-color);
    text-align: center;
    margin-bottom: 1.5rem;
}
.nosotros-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}
.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    display: block;
}
.stat-card .stat-label {
    font-size: 0.95rem;
    color: var(--text-color);
    margin-top: 0.5rem;
}
