 :root {
     --primary-color: #0d6efd;
     --secondary-color: #6c757d;
     --success-color: #198754;
     --warning-color: #ffc107;
     --danger-color: #dc3545;
     --dark-color: #212529;
     --light-color: #f8f9fa;
 }

 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }


 /* Hero Section */
 .hero {
     background: linear-gradient(135deg, var(--primary-color) 0%, #4c84ff 100%);
     color: white;
     padding: 200px 0;
     position: relative;
     overflow: hidden;
 }

 .hero::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
     opacity: 0.1;
 }

 .hero-content {
     position: relative;
     z-index: 2;
 }

 .hero h1 {
     font-size: 3.5rem;
     font-weight: 700;
     margin-bottom: 1.5rem;
     text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
 }

 .hero .lead {
     font-size: 1.3rem;
     margin-bottom: 2rem;
     opacity: 0.95;
 }

 .btn-hero {
     padding: 15px 40px;
     font-size: 1.1rem;
     font-weight: 600;
     border-radius: 50px;
     text-transform: uppercase;
     letter-spacing: 1px;
     transition: all 0.3s ease;
     box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
 }

 .btn-hero:hover {
     transform: translateY(-3px);
     box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
 }

 /* Features Section */
 .features {
     padding: 80px 0;
     background: var(--light-color);
 }

 .feature-card {
     background: white;
     border-radius: 15px;
     padding: 40px 30px;
     text-align: center;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
     transition: all 0.3s ease;
     height: 100%;
     border: none;
 }

 .feature-card:hover {
     transform: translateY(-10px);
     box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
 }

 .feature-icon {
     width: 80px;
     height: 80px;
     background: linear-gradient(135deg, var(--primary-color), #4c84ff);
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     margin: 0 auto 25px;
     font-size: 2rem;
     color: white;
 }

 .feature-card h4 {
     color: var(--dark-color);
     margin-bottom: 15px;
     font-weight: 600;
 }

 /* Demo Section */
 .demo {
     padding: 80px 0;
     background: white;
 }

 .demo-screenshot {
     border-radius: 15px;
     box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
     transition: all 0.3s ease;
 }

 .demo-screenshot:hover {
     transform: scale(1.05);
 }



 /* CTA Section */
 .cta {
     padding: 80px 0;
     background: linear-gradient(135deg, var(--dark-color) 0%, #495057 100%);
     color: white;
     text-align: center;
 }

 .cta h2 {
     font-size: 2.5rem;
     margin-bottom: 20px;
     font-weight: 700;
 }

 /* Footer */
 .footer {
     background: var(--dark-color);
     color: white;
     padding: 50px 0 30px;
 }

 .footer h5 {
     color: var(--primary-color);
     margin-bottom: 20px;
 }

 .footer a {
     color: white;
     text-decoration: none;
     transition: color 0.3s ease;
 }

 .footer a:hover {
     color: var(--primary-color);
 }

 /* Animations */
 @keyframes fadeInUp {
     from {
         opacity: 0;
         transform: translateY(30px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 .animate-on-scroll {
     animation: fadeInUp 0.8s ease-out;
 }

 /* Responsive */
 @media (max-width: 768px) {
     .hero h1 {
         font-size: 2.5rem;
     }

     .hero .lead {
         font-size: 1.1rem;
     }

     .feature-card {
         margin-bottom: 30px;
     }
 }

 /* Loading Animation */
 .loading {
     display: inline-block;
     width: 20px;
     height: 20px;
     border: 3px solid rgba(255, 255, 255, .3);
     border-radius: 50%;
     border-top-color: #fff;
     animation: spin 1s ease-in-out infinite;
 }

 @keyframes spin {
     to {
         transform: rotate(360deg);
     }
 }


/************************************/
/**********************************/
/***********************************/
/************nav-bar-logo*************/
/*************************************/



 .logo-empresa .logo {
     height: 180px;
     /* tamaño escritorio */
     width: auto;
     transition: height 0.3s ease;
 }

 /* Móvil */
 @media (max-width: 767px) {
     .logo-empresa .logo {
         height: 140px;
         /* tamaño móvil, más grande que antes */
     }

     
 }

 .navbar-nav .nav-link {
    color: white !important;
}

 
 /* Toggle button moderno */
 .navbar-toggler {
     border: none;
    background: #ffc451 !important;
     position: relative;
     width: 40px;
     height: 35px;
     cursor: pointer;
     z-index: 1050;
     display: flex;
     align-items: center;
     justify-content: center;
     right: 40px;
 }

 /* Líneas del toggle */
 .navbar-toggler .navbar-toggler-icon {
     position: relative;
     display: block;
     width: 30px;
     height: 3px;
     background-color: brown;
     border-radius: 2px;
     transition: all 0.4s ease;
 }

 .navbar-collapse.show {
    background-color: black !important; 
    padding: 2rem 1rem; /* más espacio arriba y abajo */
    min-height: 250px; /* altura mínima */
}

/* Navbar y logo */
/* Navbar base */
.navbar {
    min-height: auto;
    padding: 0.5rem 1rem;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

/* Navbar links */
.navbar-nav .nav-link {
    color: white !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #ffc451 !important;
    /* color de acento al pasar el mouse */
}

/* Fondo navbar al hacer scroll */
.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.95) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Navbar colapsada (móvil) */
.navbar-collapse.show {
    background-color: rgba(0, 0, 0, 0.95) !important;
    padding: 2rem 1rem;
    min-height: 250px;
}





/****************************/



.logo-custom {
    width: 400px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.logo-custom:hover {
    transform: scale(1.05);
}

@media (max-width: 767px) {
    .logo-custom {
        width: 300px;
        margin-top: 20px;
        margin-bottom: -80px;
    }
}









/*******ccokies****/
/* === Modal de Cookies Centrado === */


#cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2147483647;
    padding: 20px;
    font-family: 'Poppins', sans-serif;
}

.cookie-modal-content {
    background: white;
    color: #212529;
    padding: 28px;
    border-radius: 14px;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.cookie-modal-content h3 {
    font-weight: 700;
    margin-bottom: 16px;
    color: #0d6efd;
    font-size: 1.4rem;
}

.cookie-modal-content p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 24px;
    color: #495057;
}

.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.cookie-buttons button {
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
}

#accept-cookies {
    background: #0d6efd;
    color: white;
}

#deny-cookies {
    background: #6c757d;
    color: white;
}



 /**************************/
/***************************/

 /* Benefits Section */
 /**********************/
 /***********************/

.benefits {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}


.benefit-icon {
    width: 50px;
    height: 50px;
    background: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-size: 1.2rem;
}

.card {
    border: none;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

















