/* ===== 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;
    /* Slightly cooler/softer light gray */
    --bg-dark: #1B2137;
    --white: #ffffff;
    --green-whatsapp: #25D366;
    --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shadow-soft: 0 20px 40px -15px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 25px 50px -12px rgba(0, 0, 0, 0.12);
    --radius-soft: 20px;
}

*,
*::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.6;
    background: var(--white);
    overflow-x: hidden;
}

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: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    padding: 12px 0;
    transition: box-shadow 0.3s;
}

header.scrolled {
    box-shadow: 0 2px 25px rgba(0, 0, 0, 0.12);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-links>li {
    position: relative;
    padding: 10px 0;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--heading-color);
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.btn-nav {
    background: var(--primary-blue) !important;
    color: var(--white) !important;
    padding: 10px 22px !important;
    border-radius: 5px;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: background 0.3s !important;
    display: inline-block;
}

.btn-nav:hover {
    background: #0360d6 !important;
    color: var(--white) !important;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 230px;
    z-index: 1001;
    animation: dropFade 0.25s ease;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content li a {
    display: block;
    padding: 10px 20px;
    font-size: 13px;
}

.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 ===== */
/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 34px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    font-family: var(--font);
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 10px 20px -5px var(--primary-glow);
}

.btn-primary:hover {
    background: #0360d6;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -5px var(--primary-glow);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--dark-blue);
}

.btn-card {
    background: var(--dark-blue);
    color: var(--white);
    display: block;
    width: 100%;
    padding: 12px;
    margin-top: 1rem;
    border-radius: 12px;
}

.btn-card:hover {
    background: #1a2640;
}

/* ===== SECTION TITLES ===== */
.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--heading-color);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-title p {
    color: var(--text-color);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.section-title-light h2 {
    color: var(--white);
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
}

/* ===== HERO HOME (centered) ===== */
.hero-home {
    padding: 140px 0 100px;
    background: linear-gradient(180deg, var(--white) 0%, var(--bg-light) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-home h1 {
    font-size: 56px;
    font-weight: 800;
    color: var(--heading-color);
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-home p {
    font-size: 20px;
    color: var(--text-color);
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ===== 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: 40px 20px;
    transition: transform 0.3s;
    text-decoration: none;
    border-radius: var(--radius-soft);
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.solucion-home-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.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: all 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(135deg, var(--bg-light) 0%, #e0f0ff 100%);
    padding: 120px 0 60px;
    text-align: center;
}

.hero-internal h1 {
    font-size: 40px;
    font-weight: 800;
    color: var(--heading-color);
    margin-bottom: 15px;
}

.hero-internal p {
    font-size: 17px;
    color: var(--text-color);
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== 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: 30px 20px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid transparent;
}

.beneficio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: #e0e8ee;
}

.beneficio-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

.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: 80px 0;
    background: var(--bg-dark);
}

.features-grid-dark {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.feature-card-white {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s;
}

.feature-card-white:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    color: var(--primary-blue);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card-white h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card-white p {
    font-size: 13px;
    line-height: 1.5;
}

.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;
}

.feature-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eef2f5;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.feature-card h3 {
    color: var(--heading-color);
    margin-bottom: 10px;
    font-size: 18px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-color);
}

/* ===== 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: 50px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 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;
    /* Allow track to be as wide as needed */
    animation: scroll 35s linear infinite;
    gap: 150px;
    /* Proportional spacing for massive logos */
}

/* Reset image styles for marquee */
.logos-track img {
    height: 180px;
    /* Increased to 180px */
    width: auto;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 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;
}

.paso-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: var(--white);
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.paso h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.paso p {
    font-size: 14px;
}

/* ===== TESTIMONIOS ===== */
/* ===== TESTIMONIOS ===== */
.testimonios {
    padding: 100px 0;
    background: var(--white);
}

.stars-container {
    text-align: center;
    margin-bottom: 50px;
}

.stars-container img {
    height: 35px;
    margin: 0 auto;
}

.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-soft);
    padding: 40px;
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.testimonio-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.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: #999;
}

.test-stars {
    color: var(--green-whatsapp);
    /* Using brand green for stars */
    display: flex;
    gap: 3px;
}

.test-text {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-color);
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .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: var(--bg-dark);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.cta-dark h2 {
    color: var(--white);
    font-size: 32px;
    margin-bottom: 15px;
}

.cta-dark p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    font-size: 16px;
}

/* ===== PRICING ===== */
.pricing {
    padding: 80px 0;
    background: var(--bg-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
    transition: transform 0.3s, border-color 0.3s;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-blue);
}

.pricing-card.popular {
    border-color: var(--primary-blue);
}

.popular-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-blue);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}

.pricing-header {
    background: var(--bg-light);
    padding: 30px 25px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.pricing-header h3 {
    color: var(--heading-color);
    font-size: 20px;
    margin-bottom: 10px;
}

.price {
    font-size: 40px;
    color: var(--primary-blue);
    font-weight: 800;
}

.price span {
    font-size: 14px;
    color: var(--text-color);
    font-weight: 400;
}

.pricing-features {
    padding: 25px;
}

.pricing-features ul li {
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text-color);
    padding-left: 24px;
    position: relative;
}

.pricing-features ul li::before {
    content: '✓';
    color: var(--primary-blue);
    font-weight: 700;
    position: absolute;
    left: 0;
}

.pricing-cta {
    padding: 0 25px 25px;
}

.pricing-cta .btn {
    width: 100%;
    display: block;
}

/* ===== FAQ / AYUDA ===== */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.faq-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eef2f5;
    transition: transform 0.3s;
}

.faq-card:hover {
    transform: translateY(-3px);
}

.faq-card i {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.faq-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.faq-card p {
    font-size: 14px;
}

/* Search bar */
.search-bar {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
}

.search-bar input {
    flex: 1;
    padding: 12px 18px;
    border: 2px solid #e0e5ea;
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--font);
    outline: none;
    transition: border-color 0.3s;
}

.search-bar input:focus {
    border-color: var(--primary-blue);
}

/* ===== CONTACT FORM ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
}

.contact-info h3 {
    font-size: 22px;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 12px;
    font-size: 15px;
}

.contact-info i {
    color: var(--primary-blue);
    margin-right: 10px;
    width: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--heading-color);
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    background: var(--white);
    border: 2px solid #e0e5ea;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    font-family: var(--font);
    color: var(--heading-color);
    outline: none;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-blue);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font);
    transition: background 0.3s;
    align-self: flex-start;
}

.btn-submit:hover {
    background: #0360d6;
}

/* ===== FOOTER ===== */
footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr 1.3fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    max-width: 200px;
    margin-bottom: 15px;
}

.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: 20px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 14px;
    color: var(--primary-blue);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-form input,
.footer-form textarea {
    width: 100%;
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 13px;
    font-family: var(--font);
    color: var(--heading-color);
    outline: none;
    margin-bottom: 10px;
}

.footer-form textarea {
    resize: vertical;
}

.footer-form input:focus,
.footer-form textarea:focus {
    border-color: var(--primary-blue);
}

.btn-footer-submit {
    background: var(--dark-blue);
    color: var(--white);
    border: none;
    padding: 12px;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    font-family: var(--font);
    transition: background 0.3s;
}

.btn-footer-submit:hover {
    background: #1a2640;
}

.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: all 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;
    /* Aligned to right */
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s;
    z-index: 9999;
    /* Ensure it's reachable */
    text-decoration: none;
}

.chat-whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

/* Move Kommo/AmoCRM widget up to stack above WhatsApp */
#crm_plugin,
iframe[src*="kommo"],
iframe[src*="amocrm"] {
    bottom: 100px !important;
    right: 24px !important;
    /* Ensure alignment */
}

@media (max-width: 768px) {
    .chat-whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 26px;
        bottom: 20px;
        right: 20px;
    }

    #crm_plugin,
    iframe[src*="kommo"],
    iframe[src*="amocrm"] {
        bottom: 90px !important;
        right: 20px !important;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-home h1 {
        font-size: 36px;
    }

    .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 h1 {
        font-size: 28px;
    }

    .hero-home {
        padding: 100px 0 60px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-alt-content h2 {
        font-size: 26px;
    }

    .hero-internal h1 {
        font-size: 28px;
    }

    .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: 200px;
    }

    .testimonios-grid {
        grid-template-columns: 1fr;
    }

    .logos-track img {
        flex: none;
        max-width: none;
        height: 80px;
        padding: 0;
    }

    .logos-track {
        gap: 60px;
    }

    .cta-text h2 {
        font-size: 26px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .section-title h2,
    .section-title-light h2 {
        font-size: 26px;
    }

    .logo img {
        height: 38px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 24px;
    }

    .logos-grid {
        gap: 20px;
    }

    .logos-grid img {
        height: 35px;
    }
}