:root {
    --primary: #EE396A;
    --primary-dark: #d62452;
    --primary-light: #ff6b8f;
    --primary-alpha: rgba(238, 57, 106, 0.9);
    --secondary: #3B4150;
    --secondary-light: #4d5469;
    --secondary-dark: #2a303c;
    --secondary-alpha: rgba(59, 65, 80, 0.95);
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
    --transition-default: all 0.3s ease;
    --box-shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.05);
    --box-shadow-md: 0 10px 20px rgba(0, 0, 0, 0.1);
    --border-radius-sm: 5px;
    --border-radius-md: 10px;
    --border-radius-lg: 15px;
}

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

/* Botones y elementos interactivos */
.btn {
    border-radius: var(--border-radius-sm);
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    transition: var(--transition-default);
}

.btn-lg {
    padding: 0.8rem 2rem;
    font-weight: 600;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: 0 5px 15px rgba(238, 57, 106, 0.3);
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(238, 57, 106, 0.3);
    transform: translateY(-2px);
}

/* Colores de texto y fondo */
.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
        background: linear-gradient(135deg, rgba(238, 57, 106, 0.9) 0%, rgba(59, 65, 80, 0.9) 100%);
}

.bg-primary-light {
    background-color: var(--primary-light) !important;
}

.bg-secondary {
    background-color: var(--secondary) !important;
}

.bg-light-gray {
    background-color: var(--light-gray) !important;
}

/* Secciones */
.hero-section {
    background: linear-gradient(135deg, var(--primary-alpha) 0%, var(--secondary-alpha) 100%);
    color: white;
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: white;
    clip-path: polygon(0 0, 100% 100%, 100% 100%, 0% 100%);
}

.section-padding {
    padding: 6rem 0;
}

.section-title {
    position: relative;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto;
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}

/* Tarjetas y componentes */
.card {
    border: none;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-default);
    box-shadow: var(--box-shadow-sm);
}

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

.product-card {
    border: none;
    transition: var(--transition-default);
    height: 100%;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--box-shadow-sm);
}

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

.product-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: var(--transition-default);
}

.product-card:hover .product-icon {
    transform: scale(1.1);
}

.testimonial-card {
    background-color: white;
    border-radius: var(--border-radius-md);
    padding: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    box-shadow: var(--box-shadow-sm);
    transition: var(--transition-default);
}

.testimonial-card:hover {
    box-shadow: var(--box-shadow-md);
}

.testimonial-card::before {
    content: '\201C';
    font-size: 6rem;
    color: rgba(238, 57, 106, 0.15);
    position: absolute;
    top: -15px;
    left: 20px;
    font-family: serif;
    line-height: 1;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
    color: #fff;
    border-radius: 1rem;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition-default);
}

.feature-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

/* Navbar y Footer */
.navbar {
    background-color: var(--secondary-alpha) !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition-default);
    padding: 1rem 0;
}

.navbar.scrolled {
    padding: 0.7rem 0;
    background-color: var(--secondary) !important;
}

.navbar-brand img {
    height: 40px;
    transition: var(--transition-default);
}

.navbar.scrolled .navbar-brand img {
    height: 35px;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: var(--transition-default);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: white !important;
}

.navbar-nav .nav-link.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--border-radius-sm);
    margin-left: 0.5rem;
}

.navbar-nav .nav-link.btn-outline-light:hover {
    background-color: white;
    color: var(--primary) !important;
}

.footer {
    background-color: var(--secondary);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: var(--secondary);
    clip-path: polygon(0 100%, 100% 0, 100% 100%, 0% 100%);
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-default);
}

.footer a:hover {
    color: var(--primary);
    transform: translateX(3px);
}

.footer-title {
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 1.5px;
}

/* Sección CTA */
.cta-section {
    background-color: var(--primary);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: white;
    clip-path: polygon(0 100%, 100% 0, 100% 100%, 0% 100%);
}

.cta-section .form-control,
.cta-section .form-select {
    border: none;
    border-radius: var(--border-radius-md);
    padding: 0.8rem 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.cta-section .btn-light {
    font-weight: 600;
    border-radius: var(--border-radius-md);
    transition: var(--transition-default);
}

.cta-section .btn-light:hover {
    background-color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

/* Botón volver arriba */
.back-to-top {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: -60px;
    right: 20px;
    z-index: 99;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    transition: var(--transition-default);
    opacity: 0;
    box-shadow: 0 5px 15px rgba(238, 57, 106, 0.3);
}

.back-to-top.show {
    bottom: 20px;
    opacity: 1;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(238, 57, 106, 0.4);
}

/* Animaciones */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


.client-logo {
    opacity: 0.7;
    transition: all 0.3s ease;
    filter: brightness(0) invert(1);
}

.client-logo:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 7rem 0;
    background: linear-gradient(135deg, rgba(238, 57, 106, 0.9) 0%, rgba(59, 65, 80, 0.9) 100%);
}
.product-card {
    transition: all 0.3s ease;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.rounded-top-start-4 {
    border-top-left-radius: 1rem;
}

@media (max-width: 991.98px) {
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}



@media (max-width: 992px) {
    .hero-section {
        padding: 5rem 0;
    }
}

/* Ajustes responsivos */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--secondary);
        padding: 1rem;
        border-radius: var(--border-radius-md);
        margin-top: 0.5rem;
    }
    
    .navbar-nav .nav-link.btn-outline-light {
        margin-left: 0;
        margin-top: 0.5rem;
    }
    
    .hero-section {
        padding: 5rem 0;
    }
    
    .section-padding {
        padding: 4rem 0;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 4rem 0;
    }
    
    .product-card {
        margin-bottom: 2rem;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
    
    .cta-section {
        padding: 3rem 0;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .section-title {
        margin-bottom: 2rem;
    }
    
    .footer {
        padding: 3rem 0 1rem;
    }
}