/* ============================================ */
/* VARIABLES Y RESET */
/* ============================================ */

:root {
    --primary-color: #696cff;
    --primary-light: #8b95ff;
    --primary-dark: #3d47b5;
    --secondary-color: #4f5adc;
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --border-color: #e9ecef;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

/* ============================================ */
/* NAVBAR */
/* ============================================ */

.navbar {
    background: linear-gradient(135deg, var(--white) 0%, rgba(105, 108, 255, 0.05) 100%);
    box-shadow: 0 2px 10px rgba(105, 108, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
    border-bottom: 2px solid rgba(105, 108, 255, 0.2);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-name {
    color: var(--primary-color);
    font-weight: 900;
    font-size: 1.3rem;
}

.brand-sub {
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-contactar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white) !important;
    border: none;
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(105, 108, 255, 0.3);
}

.btn-contactar:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(105, 108, 255, 0.4);
}

.btn-isa {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white) !important;
    border: none;
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(105, 108, 255, 0.3);
}

.btn-isa:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(105, 108, 255, 0.4);
}

/* ============================================ */
/* HERO SECTION */
/* ============================================ */

.hero-section {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--white) 0%, rgba(105, 108, 255, 0.08) 100%);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(105, 108, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-title span {
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin: 0 auto 2rem auto;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-main {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    border: none;
    border-radius: 30px;
    padding: 1rem 2.5rem;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(105, 108, 255, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(105, 108, 255, 0.4);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    padding: 0.8rem 2.2rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ============================================ */
/* HERO ENHANCEMENTS */
/* ============================================ */

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(105, 108, 255, 0.1) 0%, rgba(79, 90, 220, 0.1) 100%);
    border: 2px solid rgba(105, 108, 255, 0.2);
    border-radius: 30px;
    padding: 0.6rem 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.hero-badge i {
    font-size: 0.9rem;
    animation: twinkle 2s ease-in-out infinite;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.hero-content {
    padding-right: 2rem;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin: 2.5rem 0;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(105, 108, 255, 0.05) 0%, rgba(79, 90, 220, 0.05) 100%);
    border-radius: 10px;
    border: 1px solid rgba(105, 108, 255, 0.1);
    transition: var(--transition);
}

.hero-feature-item:hover {
    background: linear-gradient(135deg, rgba(105, 108, 255, 0.1) 0%, rgba(79, 90, 220, 0.1) 100%);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.feature-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(105, 108, 255, 0.3);
}

.hero-feature-item h6 {
    color: var(--text-dark);
    font-weight: 700;
    margin: 0;
    font-size: 0.9rem;
}

.hero-feature-item p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.8rem;
}

.hero-slider {
    width: 100%;
    max-width: 600px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(105, 108, 255, 0.2);
}

.hero-slider .carousel {
    border-radius: 15px;
}

.hero-slider .carousel-inner {
    border-radius: 15px;
}

.hero-slider .carousel-item {
    height: 600px;
    background: linear-gradient(135deg, rgba(105, 108, 255, 0.1) 0%, rgba(79, 90, 220, 0.1) 100%);
}

.hero-slider .carousel-item img {
    object-fit: scale-down;
    height: 100%;
    width: 100%;
    border-radius: 15px;
}

.hero-slider .carousel-indicators {
    bottom: 20px;
}

.hero-slider .carousel-indicators button {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    width: 12px;
    height: 12px;
    margin: 0 6px;
}

.hero-slider .carousel-indicators button.active {
    background-color: var(--primary-color);
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    background-color: rgba(105, 108, 255, 0.3);
    width: 45px;
    height: 45px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
}

.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover {
    background-color: var(--primary-color);
}

/* ============================================ */
/* SECCIONES */
/* ============================================ */

.section-padding {
    padding: 80px 0;
}

.section-title-alt {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-title-alt span {
    color: var(--primary-color);
}

/* ============================================ */
/* CARDS */
/* ============================================ */

.about-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    transition: var(--transition);
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.about-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(105, 108, 255, 0.2);
}

.about-card i {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-card h4 {
    color: var(--text-dark);
    font-weight: 700;
    margin: 1rem 0;
    font-size: 1.2rem;
}

.about-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ============================================ */
/* ABOUT CONTENT */
/* ============================================ */

.about-content {
    line-height: 1.8;
}

.about-content p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1rem;
}

.about-content strong {
    color: var(--text-dark);
}

.about-content h5 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* ============================================ */
/* ISA SOFTWARE */
/* ============================================ */

.isa-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(105, 108, 255, 0.05) 0%, rgba(79, 90, 220, 0.05) 100%);
    border-radius: 12px;
    border: 2px solid rgba(105, 108, 255, 0.1);
    transition: var(--transition);
    height: 100%;
}

.feature-item:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(105, 108, 255, 0.1) 0%, rgba(79, 90, 220, 0.1) 100%);
    transform: translateY(-5px);
}

.feature-icon {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.feature-text h4 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ============================================ */
/* CONTACTO */
/* ============================================ */

.contact-link {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    display: block;
}

.contact-info-item {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(105, 108, 255, 0.05) 0%, rgba(79, 90, 220, 0.05) 100%) !important;
    border-radius: 15px;
    border: 2px solid rgba(105, 108, 255, 0.1) !important;
    transition: var(--transition);
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 200px;
    width: 100%;
    gap: 0.75rem;
}

.contact-link:hover .contact-info-item {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(105, 108, 255, 0.1) 0%, rgba(79, 90, 220, 0.1) 100%);
    transform: translateY(-5px);
}

.contact-info-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-info-item h5 {
    color: var(--text-dark);
    font-weight: 700;
    margin: 0;
    font-size: 1.2rem;
}

.contact-info-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* ============================================ */
/* CLIENTES */
/* ============================================ */

.clients-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 2.5rem;
}

.client-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid rgba(105, 108, 255, 0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.client-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(105, 108, 255, 0.2);
}

.client-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(105, 108, 255, 0.2);
    transition: var(--transition);
}

.client-logo img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    border-radius: 50%;
}

.client-card:hover .client-logo {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(105, 108, 255, 0.05) 0%, rgba(79, 90, 220, 0.05) 100%);
    transform: scale(1.1);
}

.client-card p {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.3;
}

/* ============================================ */
/* FORM */
/* ============================================ */

.contact-wrapper {
    background: linear-gradient(135deg, rgba(105, 108, 255, 0.05) 0%, rgba(79, 90, 220, 0.05) 100%);
    padding: 2.5rem;
    border-radius: 15px;
    border: 2px solid rgba(105, 108, 255, 0.1);
}

.form-label {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-control {
    border: 2px solid rgba(105, 108, 255, 0.2);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(105, 108, 255, 0.15);
}

/* ============================================ */
/* FOOTER */
/* ============================================ */

footer {
    background: var(--white);
    border-top: 2px solid rgba(105, 108, 255, 0.1);
    color: var(--text-muted);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(105, 108, 255, 0.3);
    text-decoration: none;
    font-size: 1.2rem;
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(105, 108, 255, 0.4);
    color: var(--white);
}

/* ============================================ */
/* BG LIGHT */
/* ============================================ */

.bg-light {
    background: var(--bg-light) !important;
}

/* ============================================ */
/* RESPONSIVE */
/* ============================================ */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title-alt {
        font-size: 1.8rem;
    }

    .hero-btns {
        justify-content: center;
    }
}