/* ============================================
   COLABY - LANDING PAGE STYLES
   ============================================ */

/* Variables específicas para landing */
:root {
    /* Colores Colaby (si no están definidos en colaby.css) */
    --colaby-primary: #1A8A8F;
    --colaby-primary-dark: #156D71;
    --colaby-secondary: #D45A1A;
    --colaby-white: #FFFFFF;
    --colaby-dark: #1A1A1A;
    --colaby-gray: #555555;
    --colaby-light: #F0EDEA;
    --colaby-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    
    /* Variables específicas de landing */
    --landing-gradient-1: linear-gradient(135deg, #1A8A8F 0%, #156D71 50%, #D45A1A 100%);
    --landing-gradient-2: linear-gradient(135deg, rgba(26, 138, 143, 0.1) 0%, rgba(212, 90, 26, 0.1) 100%);
    --landing-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --landing-shadow-hover: 0 15px 50px rgba(0, 0, 0, 0.15);
}

/* Reset para landing page */
.landing-page {
    width: 100%;
    overflow-x: hidden;
    background: #FFFFFF;
    padding-top: 60px; /* Espacio para el navbar fijo */
}

.landing-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

/* ============================================
   NAVBAR
   ============================================ */
.landing-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #FFFFFF !important;
    backdrop-filter: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    min-height: 60px;
    max-height: 60px;
    display: flex;
    align-items: center;
    width: 100%;
}

.landing-navbar .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.landing-navbar.scrolled {
    background: #FFFFFF !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    width: 100%;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.75rem;
}

.landing-navbar .navbar-brand:hover .landing-navbar-logo-wrap .landing-navbar-brand-img {
    transform: scale(1.03);
}

.landing-navbar-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 0;
}

/* Logo sin borde ni padding extra: ocupa el cuadro; sacudida ligera (keyframes en colaby.css) */
.landing-navbar-brand-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    object-position: center;
    display: block;
    vertical-align: top;
    transition: transform 0.2s ease;
    transform: translateZ(0);
    backface-visibility: hidden;
    animation: authLogoMagneticShake 6.5s ease-in-out 2s infinite;
}

.navbar-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.brand-text {
    font-size: 1.45rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.brand-initial {
    color: #1A8A8F !important;
}

.brand-rest {
    color: #1A1A1A;
}

.brand-rest::first-letter {
    color: #D45A1A !important;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #1A1A1A !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.landing-navbar .navbar-menu .nav-link {
    font-size: 0.9rem !important;
    font-weight: 500 !important;
}

.landing-navbar .navbar-menu .nav-link span {
    font-size: inherit !important;
}

.nav-link i {
    font-size: 1.1rem;
    opacity: 0.8;
}

.landing-navbar .navbar-menu .nav-link > i.zmdi {
    font-size: 1.05rem !important;
    opacity: 0.88;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1A8A8F;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #1A8A8F !important;
}

.nav-link:hover i {
    opacity: 1;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.btn-ingresar {
    background: #1A8A8F !important;
    color: #FFFFFF !important;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link.btn-ingresar::after {
    display: none;
}

.nav-link.btn-ingresar:hover {
    background: #156D71 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    color: #FFFFFF !important;
}

.nav-link.btn-ingresar span,
.nav-link.btn-ingresar i {
    color: #FFFFFF !important;
}

.nav-link span {
    display: inline-block;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.navbar-toggle span {
    width: 25px;
    height: 3px;
    background: #1A1A1A;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #F8F9FA;
    z-index: 0;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(26, 138, 143, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--colaby-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.text-gradient {
    color: #1A8A8F;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--colaby-gray);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-primary-large,
.btn-secondary-large {
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary-large {
    background: var(--colaby-primary);
    color: var(--colaby-white);
    box-shadow: var(--colaby-shadow);
}

.btn-primary-large:hover {
    background: var(--colaby-primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--landing-shadow-hover);
    color: var(--colaby-white);
}

.btn-secondary-large {
    background: transparent;
    color: var(--colaby-primary);
    border-color: var(--colaby-primary);
}

.btn-secondary-large:hover {
    background: var(--colaby-primary);
    color: var(--colaby-white);
    transform: translateY(-3px);
    box-shadow: var(--colaby-shadow);
}

.hero-images {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 3rem auto 0;
    height: 400px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.app-screenshot {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    border-radius: 20px;
    overflow: hidden;
}

.app-screenshot.active {
    opacity: 1;
    z-index: 2;
}

.app-screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ============================================
   ANIMACIONES
   ============================================ */
.animate-fade-in {
    animation: fadeIn 1s ease-in;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-in 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-in 0.6s both;
}

.animate-fade-in-delay-3 {
    animation: fadeIn 1s ease-in 0.9s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   SECCIONES GENERALES
   ============================================ */
section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--colaby-dark);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--colaby-gray);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* ============================================
   SECCIÓN: REVOLUCIÓN
   ============================================ */
.section-revolucion {
    background: var(--colaby-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.benefit-card {
    background: var(--colaby-white);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--colaby-shadow);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--landing-shadow-hover);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: #1A8A8F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF !important;
    font-size: 2rem;
    box-shadow: 0 4px 12px rgba(26, 138, 143, 0.25);
    transition: all 0.3s ease;
}

.benefit-icon i,
.benefit-icon i.zmdi {
    color: #FFFFFF !important;
    font-size: 2rem !important;
    line-height: 1;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
    background: #156D71;
    box-shadow: 0 6px 20px rgba(26, 138, 143, 0.35);
}

.benefit-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--colaby-dark);
    margin-bottom: 0.5rem;
}

.benefit-card p {
    color: var(--colaby-gray);
    line-height: 1.6;
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ============================================
   SECCIÓN: PROBAR COLABY (CTA ampliada)
   ============================================ */
.section-prueba-colaby {
    background: var(--colaby-white);
}

.prueba-colaby-card {
    background: var(--colaby-white);
    border-radius: 20px;
    box-shadow: var(--landing-shadow);
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid rgba(26, 138, 143, 0.12);
}

.prueba-colaby-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem 2rem;
    margin: 1.5rem 0 0.5rem;
}

.prueba-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--colaby-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.prueba-badge i {
    font-size: 1.35rem;
    color: var(--colaby-primary);
}

.prueba-colaby-extra {
    margin-top: 1rem !important;
    margin-bottom: 1.5rem !important;
}

.prueba-rocket-icon {
    display: inline-block;
    margin-right: 0.35rem;
    transform: rotate(-12deg);
    animation: pruebaRocket 1.2s ease-in-out infinite;
}

@keyframes pruebaRocket {
    0%, 100% { transform: rotate(-12deg) translateY(0); }
    50% { transform: rotate(-12deg) translateY(-3px); }
}

.section-prueba-colaby .section-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

@media (max-width: 576px) {
    .prueba-colaby-card {
        padding: 1.75rem 1.25rem;
    }
}

/* ============================================
   SECCIÓN: FUNCIONALIDADES
   ============================================ */
.section-funcionalidades {
    background: var(--colaby-white);
}

.section-funcionalidades .container {
    padding-left: 2rem;
    padding-right: 2rem;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--colaby-light);
    padding: 2rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    border-color: var(--colaby-primary);
    transform: translateY(-5px);
    box-shadow: var(--colaby-shadow);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--colaby-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF !important;
    font-size: 2rem;
    margin-bottom: 1rem;
    box-shadow: var(--colaby-shadow);
    transition: all 0.3s ease;
}

.feature-icon i,
.feature-icon i.zmdi {
    color: #FFFFFF !important;
    font-size: 2rem !important;
    line-height: 1;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) translateY(-5px);
    box-shadow: var(--landing-shadow-hover);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--colaby-dark);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--colaby-gray);
    line-height: 1.6;
}

/* ============================================
   SECCIÓN: TECNOLOGÍA
   ============================================ */
.section-tecnologia {
    background: #F8F9FA;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tech-card {
    background: var(--colaby-white);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--colaby-shadow);
    transition: all 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--landing-shadow-hover);
}

.tech-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: #1A8A8F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF !important;
    font-size: 2.5rem;
    box-shadow: 0 4px 12px rgba(26, 138, 143, 0.25);
    transition: all 0.3s ease;
}

.tech-icon i,
.tech-icon i.zmdi {
    color: #FFFFFF !important;
    font-size: 2.5rem !important;
    line-height: 1;
}

.tech-card:hover .tech-icon {
    transform: scale(1.1);
    background: #156D71;
    box-shadow: 0 6px 20px rgba(26, 138, 143, 0.35);
}

.tech-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--colaby-dark);
    margin-bottom: 0.75rem;
}

.tech-card p {
    color: var(--colaby-gray);
    line-height: 1.6;
}

/* ============================================
   SECCIÓN: EMPRESAS
   ============================================ */
.section-empresas {
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.section-empresas::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(26, 138, 143, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(212, 90, 26, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 1200px) {
    .companies-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.35rem;
    }
}

.company-card {
    background: var(--colaby-white);
    border-radius: 20px;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(26, 138, 143, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
}

.company-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #1A8A8F;
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.company-card:hover::before {
    transform: scaleX(1);
}

.company-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(26, 138, 143, 0.2);
    border-color: var(--colaby-primary);
}

.company-card-inner {
    padding: 1.15rem 0.9rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    min-height: 0;
}

.company-logo-link {
    display: block;
    text-decoration: none;
    color: inherit;
    line-height: 0;
    border-radius: 16px;
    flex-shrink: 0;
}

.company-logo-link:focus {
    outline: 2px solid var(--colaby-primary);
    outline-offset: 3px;
}

.company-logo-wrapper {
    width: 112px;
    height: 112px;
    border-radius: 16px;
    background: #1A8A8F;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 32px rgba(26, 138, 143, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.company-card:hover .company-logo-wrapper {
    transform: scale(1.08);
    background: #156D71;
    box-shadow: 0 16px 40px rgba(26, 138, 143, 0.4);
}

.company-logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 0.2rem;
    border-radius: 14px;
    max-width: 100%;
    max-height: 100%;
    box-sizing: border-box;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.12));
    background: rgba(255, 255, 255, 0.98);
}

.company-initials {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--colaby-white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    letter-spacing: 0.08em;
    line-height: 1;
}

.company-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--colaby-dark);
    text-align: center;
    line-height: 1.35;
    transition: color 0.3s ease;
    margin-top: 0.15rem;
    width: 100%;
    min-height: 2.7em;
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
    hyphens: auto;
    flex-shrink: 0;
}

.company-card:hover .company-name {
    color: var(--colaby-primary);
}

.company-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.65rem;
    background: rgba(26, 138, 143, 0.08);
    border-radius: 12px;
    font-size: 0.78rem;
    color: var(--colaby-gray);
    font-weight: 500;
    margin-top: 0.35rem;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%;
}

.company-card:hover .company-location {
    background: rgba(26, 138, 143, 0.15);
    color: var(--colaby-primary);
    transform: translateY(-2px);
}

.company-location i {
    font-size: 1rem;
    color: var(--colaby-primary);
    flex-shrink: 0;
}

.company-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    color: var(--colaby-gray);
    font-style: italic;
}

/* Mensaje cuando no hay empresas */
.companies-empty {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    padding: 3rem 0;
}

.companies-empty-content {
    background: var(--colaby-white);
    border-radius: 24px;
    padding: 3rem 4rem;
    text-align: center;
    max-width: 600px;
    box-shadow: var(--landing-shadow);
    border: 2px dashed rgba(26, 138, 143, 0.3);
}

.companies-empty-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--colaby-primary) 0%, var(--colaby-secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.companies-empty-icon i {
    font-size: 3rem;
    color: var(--colaby-white) !important;
}

.companies-empty-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--colaby-dark);
    margin-bottom: 1rem;
}

.companies-empty-content p {
    color: var(--colaby-gray);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* ============================================
   SECCIÓN: CONTACTO
   ============================================ */
.section-contacto {
    background: var(--colaby-light);
    padding: 100px 0;
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* Card WhatsApp */
.contacto-whatsapp-card {
    background: linear-gradient(135deg, #25d366 0%, #128c48 100%);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    color: var(--colaby-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contacto-whatsapp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(37, 211, 102, 0.4);
}

.whatsapp-icon-large {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.contacto-whatsapp-card:hover .whatsapp-icon-large {
    transform: scale(1.1);
}

.whatsapp-icon-large i {
    font-size: 3.5rem;
    color: var(--colaby-white) !important;
}

.contacto-whatsapp-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--colaby-white);
}

.contacto-whatsapp-card p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    line-height: 1.6;
    color: var(--colaby-white);
}

.btn-whatsapp-large {
    background: var(--colaby-white) !important;
    color: #25d366 !important;
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.btn-whatsapp-large:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    color: #128c48 !important;
}

.btn-whatsapp-large i {
    font-size: 1.5rem;
}

.whatsapp-horario {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.whatsapp-horario i {
    color: var(--colaby-white) !important;
}

/* Card Formulario */
.contacto-form-card {
    background: var(--colaby-white);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--landing-shadow);
}

.contacto-form-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--colaby-dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contacto-form-card h3 i {
    color: var(--colaby-primary) !important;
}

.contacto-form-card > p {
    color: var(--colaby-gray);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.contact-form .form-group {
    margin-bottom: 1.25rem;
}

.contact-form label {
    display: block;
    font-weight: 500;
    color: var(--colaby-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--colaby-primary);
    background: var(--colaby-white);
    box-shadow: 0 0 0 3px rgba(26, 138, 143, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #aaa;
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit-form {
    width: 100%;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Responsive contacto */
@media (max-width: 900px) {
    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contacto-whatsapp-card,
    .contacto-form-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .section-contacto {
        padding: 60px 0;
    }
    
    .contacto-whatsapp-card h3 {
        font-size: 1.5rem;
    }
    
    .btn-whatsapp-large {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .whatsapp-icon-large {
        width: 80px;
        height: 80px;
    }
    
    .whatsapp-icon-large i {
        font-size: 2.5rem;
    }
}

/* ============================================
   SECCIÓN: CTA FINAL
   ============================================ */
.section-cta-final {
    background: #1A8A8F;
    color: var(--colaby-white);
    text-align: center;
}

.section-cta-final .section-title,
.section-cta-final .section-subtitle {
    color: var(--colaby-white);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--colaby-white);
}

.cta-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    color: var(--colaby-white);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.section-cta-final .btn-primary-large {
    background: var(--colaby-white);
    color: var(--colaby-primary);
}

.section-cta-final .btn-primary-large:hover {
    background: var(--colaby-light);
    color: var(--colaby-primary-dark);
}

.section-cta-final .btn-secondary-large {
    background: transparent;
    color: var(--colaby-white);
    border-color: var(--colaby-white);
}

.section-cta-final .btn-secondary-large:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--colaby-white);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

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

    .navbar-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: #FFFFFF !important;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--landing-shadow);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        gap: 1rem;
        z-index: 999;
    }

    .navbar-menu.active {
        transform: translateX(0);
    }

    .landing-navbar .navbar-menu .nav-link {
        font-size: 0.95rem !important;
    }

    .landing-navbar .navbar-menu .nav-link > i.zmdi {
        font-size: 1.1rem !important;
    }

    .navbar-toggle {
        display: flex;
    }

    .navbar-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .navbar-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .navbar-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 60px;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn-primary-large,
    .btn-secondary-large {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .tech-grid {
        grid-template-columns: 1fr;
    }

    .companies-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .company-card-inner {
        padding: 1rem 0.75rem 1.1rem;
        min-height: 0;
    }
    
    .company-logo-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .company-initials {
        font-size: 2rem;
        letter-spacing: 0.06em;
    }
    
    .company-name {
        font-size: 0.9rem;
        min-height: 2.5em;
    }
    
    .company-location {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .companies-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .company-card-inner {
        padding: 1rem 0.65rem 1.05rem;
        min-height: 0;
        gap: 0.55rem;
    }
    
    .company-logo-wrapper {
        width: 96px;
        height: 96px;
        border-radius: 14px;
    }
    
    .company-initials {
        font-size: 1.85rem;
        letter-spacing: 0.05em;
    }
    
    .company-name {
        font-size: 0.88rem;
        min-height: 2.45em;
    }
    
    .company-location {
        font-size: 0.8rem;
        padding: 0.45rem 0.9rem;
    }
    
    .company-location i {
        font-size: 0.9rem;
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Animaciones adicionales */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-images .app-screenshot {
    animation: float 6s ease-in-out infinite;
}

.hero-images .app-screenshot:nth-child(2) {
    animation-delay: -2s;
}

.hero-images .app-screenshot:nth-child(3) {
    animation-delay: -4s;
}

/* Efectos de partículas en el fondo */
.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(26, 138, 143, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 90, 26, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(26, 138, 143, 0.05) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* ============================================
   FOOTER LANDING - Igual al footer del sistema
   ============================================ */
.landing-page ~ .footer,
.footer.landing-footer {
    background: linear-gradient(135deg, #B04510 0%, #D45A1A 100%); /* Mismo gradiente que sistema */
    color: #FFFFFF;
    padding: 0;
    margin-top: 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 100;
    height: 30px; /* Igual al sistema */
    max-height: 30px;
}

.landing-page ~ .footer .footer-content,
.footer.landing-footer .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.75rem;
    padding: 0 1rem;
    height: 30px;
    max-height: 30px;
    overflow: hidden;
    min-height: 30px;
}

.landing-page ~ .footer .footer-left,
.footer.landing-footer .footer-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 0 0 auto;
}

.landing-page ~ .footer .footer-brand,
.footer.landing-footer .footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.8rem;
    color: #FFFFFF;
    white-space: nowrap;
}

.landing-page ~ .footer .footer-brand img,
.footer.landing-footer .footer-brand img {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px;
}

.landing-page ~ .footer .footer-center,
.footer.landing-footer .footer-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    text-align: center;
}

.landing-page ~ .footer .footer-version,
.footer.landing-footer .footer-version {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    white-space: nowrap;
}

.landing-page ~ .footer .footer-right,
.footer.landing-footer .footer-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 0 0 auto;
}

.landing-page ~ .footer .footer-social,
.footer.landing-footer .footer-social {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.landing-page ~ .footer .footer-social a,
.footer.landing-footer .footer-social a {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.9rem !important;
    margin: 0 0.25rem !important;
    transition: color 0.2s ease, transform 0.2s ease;
}

.landing-page ~ .footer .footer-social a:hover,
.footer.landing-footer .footer-social a:hover {
    color: #FFFFFF !important;
    transform: scale(1.1);
}

.landing-page ~ .footer .footer-links,
.footer.landing-footer .footer-links {
    display: flex !important;
    align-items: center;
    gap: 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.landing-page ~ .footer .footer-links a,
.footer.landing-footer .footer-links a {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.65rem !important;
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.landing-page ~ .footer .footer-links a:hover,
.footer.landing-footer .footer-links a:hover {
    color: #FFFFFF !important;
}

/* Footer público landing: legales + redes (alineado a footer_home histórico) */
.landing-page ~ .footer.landing-footer--public,
.footer.landing-footer.landing-footer--public {
    height: auto;
    max-height: none;
    min-height: auto;
    padding: 0.6rem 0;
}

.landing-page ~ .footer.landing-footer--public .footer-content--landing-public,
.footer.landing-footer.landing-footer--public .footer-content--landing-public {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.65rem 1.25rem;
    height: auto;
    max-height: none;
    min-height: auto;
    overflow: visible;
    padding: 0.35rem 1.25rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-landing-brand p {
    margin: 0;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.95);
}

.footer-landing-brand-initial {
    color: #7fd4d8;
    font-weight: 600;
}

.footer-landing-brand-rest {
    color: #FFFFFF;
    font-weight: 600;
}

.footer-landing-nav {
    flex: 1 1 220px;
    text-align: center;
}

.footer-landing-link {
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 0.68rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-landing-link:hover {
    color: #FFFFFF !important;
    text-decoration: underline;
}

.footer-landing-social {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex: 0 0 auto;
}

.footer-landing-social-label {
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.footer-landing-social-link {
    color: #FFFFFF !important;
    opacity: 0.92;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-landing-social-link:hover {
    opacity: 1;
    transform: scale(1.08);
    color: #FFFFFF !important;
}

/* Botones flotantes por encima del footer extendido */
.landing-footer.landing-footer--public ~ .floating-buttons {
    bottom: 96px;
}

@media (max-width: 768px) {
    .landing-page ~ .footer,
    .footer.landing-footer {
        height: 36px;
        max-height: 36px;
    }
    
    .landing-page ~ .footer .footer-content,
    .footer.landing-footer .footer-content {
        height: 36px;
        max-height: 36px;
        min-height: 36px;
        padding: 0 1rem;
    }
    
    .landing-page ~ .footer .footer-center,
    .footer.landing-footer .footer-center {
        display: none; /* Ocultar versión en móvil */
    }
    
    .landing-page ~ .footer .footer-links,
    .footer.landing-footer .footer-links {
        gap: 0.75rem;
    }
    
    .landing-page ~ .footer .footer-links a,
    .footer.landing-footer .footer-links a {
        font-size: 0.7rem;
    }

    .landing-page ~ .footer.landing-footer--public,
    .footer.landing-footer.landing-footer--public {
        height: auto;
        max-height: none;
        padding: 0.75rem 0;
    }

    .landing-page ~ .footer.landing-footer--public .footer-content--landing-public,
    .footer.landing-footer.landing-footer--public .footer-content--landing-public {
        flex-direction: column;
        text-align: center;
        padding: 0.5rem 1rem;
    }

    .footer-landing-nav {
        flex: 1 1 auto;
        order: 2;
    }

    .footer-landing-social {
        order: 3;
        justify-content: center;
    }

    .footer-landing-link {
        font-size: 0.7rem;
    }

    .landing-footer.landing-footer--public ~ .floating-buttons {
        bottom: 120px;
    }
}

/* ============================================
   BOTONES FLOTANTES - Landing
   Posicionados por encima del footer (30px + margen)
   ============================================ */
.landing-page ~ .floating-buttons,
.landing-page .floating-buttons {
    position: fixed;
    bottom: 50px; /* Footer compacto legacy + margen */
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1025;
}

/* Botones flotantes landing: más legibles que el dashboard compacto */
.landing-page ~ .floating-buttons .btn-whatsapp,
.landing-page ~ .floating-buttons .btn-scroll-to-top {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px;
    min-height: 56px;
}

.landing-page ~ .floating-buttons .btn-whatsapp i.fab.fa-whatsapp {
    font-size: 1.85rem !important;
    line-height: 1 !important;
}

.landing-page ~ .floating-buttons .btn-scroll-to-top i {
    font-size: 1.45rem !important;
    line-height: 1 !important;
}

/* Botón Scroll to Top - Landing usa mismo estilo que sistema */
.landing-page ~ .floating-buttons .btn-scroll-to-top {
    border-radius: 50%;
    background: #1A8A8F; /* Colaby primary - consistente con sistema */
    color: #FFFFFF !important;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(26, 138, 143, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    outline: none;
}

.landing-page ~ .floating-buttons .btn-scroll-to-top:hover {
    transform: scale(1.1) translateY(-2px);
    color: #FFFFFF !important;
    box-shadow: 0 6px 20px rgba(26, 138, 143, 0.5);
    text-decoration: none;
    background: #156D71;
}

.landing-page ~ .floating-buttons .btn-scroll-to-top:focus {
    outline: 2px solid rgba(26, 138, 143, 0.5);
    outline-offset: 2px;
}

.landing-page ~ .floating-buttons .btn-scroll-to-top svg {
    color: #FFFFFF !important;
    stroke: #FFFFFF !important;
    width: 22px;
    height: 22px;
    display: block;
}

.landing-page ~ .floating-buttons .btn-scroll-to-top i {
    color: #FFFFFF !important;
    display: block;
}

/* Tooltips generales */
[data-tooltip] {
    position: relative;
}

[data-tooltip]:before {
    content: attr(data-tooltip);
    position: absolute;
    background: rgba(0, 0, 0, 0.85);
    color: #FFFFFF;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.25s ease;
    pointer-events: none;
}

[data-tooltip][data-tooltip-position="left"]:before {
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%) translateX(5px);
}

[data-tooltip]:hover:before {
    opacity: 1;
    visibility: visible;
}

[data-tooltip][data-tooltip-position="left"]:hover:before {
    transform: translateY(-50%) translateX(0);
}

/* Tooltip específico para scroll-to-top */
.btn-scroll-to-top[data-tooltip]:before {
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%) translateX(5px);
    bottom: auto;
    left: auto;
}

.btn-scroll-to-top[data-tooltip]:hover:before {
    transform: translateY(-50%) translateX(0);
}

/* Animación de aparición */
@keyframes scrollBtnFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-scroll-to-top.visible {
    display: flex !important;
    animation: scrollBtnFadeIn 0.3s ease forwards;
}

@media (max-width: 768px) {
    .landing-page ~ .floating-buttons,
    .landing-page .floating-buttons {
        bottom: 46px; /* 30px footer móvil + 16px margen */
        right: 15px;
        gap: 10px;
    }
    
    .landing-page ~ .floating-buttons .btn-whatsapp,
    .landing-page ~ .floating-buttons .btn-scroll-to-top {
        width: 52px !important;
        height: 52px !important;
        min-width: 52px;
        min-height: 52px;
    }
    
    .landing-page ~ .floating-buttons .btn-whatsapp i.fab.fa-whatsapp {
        font-size: 1.65rem !important;
    }
    
    .landing-page ~ .floating-buttons .btn-scroll-to-top svg,
    .landing-page ~ .floating-buttons .btn-scroll-to-top i {
        font-size: 1.3rem !important;
    }
    
    /* Ocultar tooltips en móvil */
    [data-tooltip]:before {
        display: none;
    }
}

