:root {
    --primary: #2C2C2C;
    --secondary: #E5B700;
    --secondary-hover: #C39E00;
    --complementary: #A0A0A0;
    --bg-main: #FFFFFF;
    --bg-alt: #F7F7F7;
    --success: #3BAF4A;
    --info: #5CA3E6;
    --error: #D9534F;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--primary);
    background: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.header.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo {
    width: 45px;
    height: 45px;
    border-radius: 8px;
}

.header-title {
    color: var(--secondary);
    font-size: 1.5rem;
    font-weight: 700;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-nav .nav-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.header-nav .nav-link:hover {
    color: var(--secondary);
}

.header-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s;
}

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

.header-nav .nav-link.active {
    color: var(--secondary);
}

.btn-header {
    background: var(--secondary);
    color: var(--primary);
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-header:hover {
    background: var(--secondary-hover);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    transition: all 0.3s;
}

/* Hero Showcase */
.hero-showcase {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

.hero-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.backdrop-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg-main) 50%, var(--bg-alt) 100%);
}

.backdrop-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(229,183,0,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(92,163,230,0.1) 0%, transparent 50%);
    animation: patternMove 20s infinite;
}

@keyframes patternMove {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(20px, 20px) rotate(180deg); }
}

.hero-showcase-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(229,183,0,0.1);
    color: var(--secondary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.hero-showcase-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.title-gradient {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-hover) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-showcase-description {
    font-size: 1.3rem;
    color: var(--complementary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-showcase-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 15px 35px;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-hero.btn-primary {
    background: var(--secondary);
    color: var(--primary);
    box-shadow: 0 4px 20px rgba(229,183,0,0.3);
}

.btn-hero.btn-primary:hover {
    background: var(--secondary-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(229,183,0,0.4);
}

.btn-hero.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--secondary);
}

.btn-hero.btn-outline:hover {
    background: var(--secondary);
    color: var(--primary);
}

.hero-stats-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-showcase {
    text-align: center;
}

.stat-number-showcase {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 5px;
}

.stat-label-showcase {
    font-size: 1rem;
    color: var(--complementary);
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--complementary);
    opacity: 0.3;
}

/* Features Showcase */
.features-showcase {
    padding: 100px 0;
    background: var(--bg-main);
}

.section-header-showcase {
    text-align: center;
    margin-bottom: 60px;
}

.section-title-showcase {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-subtitle-showcase {
    font-size: 1.2rem;
    color: var(--complementary);
}

.features-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-showcase-card {
    background: var(--bg-alt);
    padding: 40px;
    border-radius: 20px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.feature-showcase-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: var(--secondary);
}

.feature-showcase-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-hover) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.feature-showcase-card h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary);
}

.feature-showcase-card p {
    color: var(--complementary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--complementary);
}

.feature-list li i {
    color: var(--success);
}

/* Modules Showcase */
.modules-showcase {
    padding: 100px 0;
    background: var(--bg-alt);
}

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

.module-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
}

.module-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: var(--secondary);
}

.module-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-hover) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 2rem;
    margin: 0 auto 20px;
}

.module-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary);
}

.module-card p {
    color: var(--complementary);
    font-size: 0.9rem;
}

/* Workflow Section */
.workflow-section {
    padding: 100px 0;
    background: var(--bg-main);
}

.workflow-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 40px 0;
}

.workflow-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--secondary) 0%, var(--secondary-hover) 100%);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--secondary);
    opacity: 0.3;
    position: absolute;
    z-index: 0;
}

.timeline-item:nth-child(odd) .timeline-number {
    right: 10%;
}

.timeline-item:nth-child(even) .timeline-number {
    left: 10%;
}

.timeline-content {
    flex: 1;
    background: var(--bg-alt);
    padding: 30px;
    border-radius: 15px;
    position: relative;
    z-index: 1;
    max-width: 400px;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    text-align: left;
}

.timeline-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary);
}

.timeline-content p {
    color: var(--complementary);
    line-height: 1.6;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    border: 5px solid white;
}

/* Contact Section Showcase */
.contact-section-showcase {
    padding: 100px 0;
    background: var(--bg-main);
}

.contact-content-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.contact-info-showcase {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item-showcase {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon-showcase {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-hover) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item-showcase h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--primary);
}

.contact-item-showcase p {
    color: var(--complementary);
    margin: 0;
}

.contact-form-showcase {
    background: var(--bg-alt);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-showcase {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group-showcase {
    margin: 0;
}

.form-showcase input,
.form-showcase textarea,
.form-showcase select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--complementary);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    background: var(--bg-main);
    color: var(--primary);
}

.form-showcase input:focus,
.form-showcase textarea:focus,
.form-showcase select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(229,183,0,0.1);
}

.form-showcase select {
    cursor: pointer;
}

.btn-full {
    width: 100%;
}

/* Mapa de Ubicación */
.contact-map-showcase {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.map-title-showcase {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 30px;
}

.map-container-showcase {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.map-container-showcase iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
}

/* Responsive para el mapa */
@media (max-width: 768px) {
    .map-container-showcase iframe {
        height: 350px;
    }
    
    .map-title-showcase {
        font-size: 1.5rem;
    }
}

/* CTA Showcase */
.cta-showcase {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, #1a1a1a 100%);
    color: white;
    text-align: center;
}

.cta-showcase-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-showcase-content > p {
    font-size: 1.3rem;
    color: var(--complementary);
    margin-bottom: 2.5rem;
}

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

/* Footer Showcase */
.footer-showcase {
    background: var(--primary);
    color: white;
    padding: 60px 0 20px;
}

.footer-showcase-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand-showcase {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-logo-showcase {
    width: 50px;
    height: 50px;
    border-radius: 8px;
}

.footer-brand-name-showcase {
    color: var(--secondary);
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-showcase-section p {
    color: var(--complementary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-showcase-section h4 {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.footer-showcase-section ul {
    list-style: none;
}

.footer-showcase-section ul li {
    margin-bottom: 10px;
    color: var(--complementary);
}

.footer-showcase-section ul li a {
    color: var(--complementary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-showcase-section ul li a:hover {
    color: var(--secondary);
}

.footer-showcase-section ul li i {
    margin-right: 8px;
    color: var(--secondary);
}

.footer-social-showcase {
    display: flex;
    gap: 15px;
}

.footer-social-showcase a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
    text-decoration: none !important;
    border: none;
    outline: none;
}

.footer-social-showcase a i {
    text-decoration: none !important;
    border: none;
    outline: none;
}

.footer-social-showcase a:hover {
    background: var(--secondary);
    color: var(--primary);
    transform: translateY(-3px);
    text-decoration: none !important;
    border-bottom: none !important;
}

.footer-social-text-showcase {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--complementary);
}

.footer-showcase-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    color: var(--complementary);
}

/* Responsive */
@media (max-width: 968px) {
    .header-nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        transition: left 0.3s;
    }

    .header-nav.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-showcase-title {
        font-size: 2.5rem;
    }

    .workflow-timeline::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: row !important;
        padding-left: 80px;
    }

    .timeline-content {
        text-align: left !important;
        margin: 0 !important;
        max-width: 100%;
    }

    .timeline-icon {
        left: 30px;
    }

    .timeline-number {
        left: 80px !important;
        right: auto !important;
    }
}

@media (max-width: 768px) {
    .hero-showcase-title {
        font-size: 2rem;
    }

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

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

    .modules-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .contact-content-showcase {
        grid-template-columns: 1fr;
    }

    .hero-stats-showcase {
        gap: 2rem;
    }

    .stat-divider {
        display: none;
    }
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed !important;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #FFFFFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse 2s infinite;
    visibility: visible !important;
    opacity: 1 !important;
}

.whatsapp-float:hover {
    background-color: #20BA5A;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    margin-top: 0;
    font-size: 32px;
    line-height: 1;
}

.whatsapp-float .whatsapp-svg {
    display: none;
}

/* Fallback si Font Awesome no carga */
.whatsapp-float:not(:has(.fab)) .whatsapp-svg {
    display: block;
}

/* Animación de pulso para el botón */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
}

/* Responsive para el botón de WhatsApp */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }
    
    .whatsapp-float i {
        font-size: 28px;
    }
}


