/* ===== IBS SOLUCIONES - INDEX STYLES ===== */

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--contrast-dark);
}

/* ===== ESTRUCTURA PRINCIPAL ===== */
.clFullPage {
    min-height: 100vh;
}

/* ===== HEADER ===== */

.clHeaderBox {
    max-width: var(--vMaxWidth);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* ===== NAVEGACIÓN DESKTOP ===== */
.clMainNav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.clNavItem {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    color: var(--contrast);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.clNavItem:hover,
.clNavItem.clActive {
    background: var(--sColor);
    transform: translateY(-2px);
}

.clNavItem i {
    font-size: 1rem;
}

/* ===== MENÚ MÓVIL ===== */
.clMobileMenuBtn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.clMobileMenuBtn span {
    width: 25px;
    height: 3px;
    background: var(--contrast);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.clMobileMenu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--pColor);
    z-index: 1001;
    transition: right 0.3s ease;
    padding: 2rem;
}

.clMobileMenu.active {
    right: 0;
}

.clMobileMenuContent {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-top: 4rem;
}

.clMobileMenuItem {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    color: var(--contrast);
    text-decoration: none;
    border-radius: 6px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.clMobileMenuItem:hover {
    background: var(--sColor);
}

/* ===== CONTENIDO PRINCIPAL ===== */
.clFullBody {
    margin-top: 80px;
}

/* ===== SECCIÓN HERO ===== */
.clHeroSection {
    min-height: 90vh;
    background: linear-gradient(135deg, var(--pColor) 0%, rgba(30, 52, 93, 0.9) 100%);
    display: flex;
    align-items: center;
    color: var(--contrast);
    position: relative;
    overflow: hidden;
}

.clHeroContent {
    max-width: var(--vMaxWidth);
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.clHeroTitle {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.clHighlight {
    color: var(--sColor);
}

.clHeroDescription {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.clHeroButtons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.clBtnPrimary,
.clBtnSecondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.clBtnPrimary {
    background: var(--sColor);
    color: var(--contrast);
}

.clBtnPrimary:hover {
    background: #A01638;
    transform: translateY(-2px);
}

.clBtnSecondary {
    background: transparent;
    color: var(--contrast);
    border-color: var(--contrast);
}

.clBtnSecondary:hover {
    background: var(--contrast);
    color: var(--pColor);
}

.clHeroImage {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.clFeatureCard {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 150px;
}

.clFeatureCard i {
    font-size: 2rem;
    color: var(--sColor);
    margin-bottom: 1rem;
}

/* ===== SECCIONES COMUNES ===== */
.clSectionContainer {
    width: 100%;
    
    max-width: var(--vMaxWidth);
    margin: 0 auto;
    padding: 4rem 2rem;
}

.clSectionHeader {
    text-align: center;
    margin-bottom: 3rem;
}

.clSectionTitle {
    font-size: 2.5rem;
    color: var(--pColor);
    margin-bottom: 1rem;
    font-weight: 700;
}

.clSectionSubtitle {
    font-size: 1.2rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== SECCIÓN SERVICIOS ===== */
.clServicesSection {
    background: var(--gray-100);
}

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

.clServiceCard {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.clServiceIcon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--pColor), var(--sColor));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.8rem;
}

.clServiceCard h3 {
    font-size: 1.5rem;
    color: var(--pColor);
    margin-bottom: 1rem;
    font-weight: 600;
}

.clServiceCard p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.clServiceLink {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--sColor);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.clServiceLink:hover {
    color: var(--pColor);
}

/* ===== SECCIÓN CONTACTO ===== */
.clContactSection {
    background: var(--contrast);
}

.clContactContent {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.clContactInfo {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.clContactCard {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.clContactCard i {
    font-size: 2rem;
    color: var(--sColor);
    margin-bottom: 1rem;
}

.clContactCard h4 {
    color: var(--pColor);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.clContactForm {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.clContactForm h3 {
    color: var(--pColor);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.clFormGroup {
    margin-bottom: 1.25rem;
}

.clFormGroup input,
.clFormGroup textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid var(--gray-300);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.clFormGroup input:focus,
.clFormGroup textarea:focus {
    outline: none;
    border-color: var(--sColor);
}

/* Professional two-column form layout */
.clContactGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.25rem;
}

.clContactGrid .clFormGroup.full {
    grid-column: 1 / -1;
}

.clFormActions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-start;
    align-items: center;
}

.clBtnSecondaryOutline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    color: var(--pColor);
    background: transparent;
    border: 2px solid var(--pColor);
}

.clBtnSecondaryOutline:hover {
    background: var(--pColor);
    color: var(--contrast);
}

/* ===== FOOTER ===== */
.clFullFooter {
    background: var(--contrast-dark);
    color: var(--contrast);
}

.clFooterContent {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 3rem 2rem;
    max-width: var(--vMaxWidth);
    margin: 0 auto;
}

.clFooterSection h4 {
    color: var(--sColor);
    margin-bottom: 1rem;
    font-weight: 600;
}

.clFooterSection p {
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.clFooterSection ul {
    list-style: none;
}

.clFooterSection ul li {
    margin-bottom: 0.5rem;
}

.clFooterSection ul li a {
    color: var(--contrast);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.clFooterSection ul li a:hover {
    opacity: 1;
    color: var(--sColor);
}

.clFooterBottom {
    border-top: 1px solid var(--gray-700);
    padding: 2rem;
    text-align: center;
    opacity: 0.7;
}

/* ===== SLIDER SIMPLE ===== */
.clSliderSection {
    width: 100%;
    
    background: white;
    padding: 3rem 0;
}

.clSliderContainer {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.clSliderWrapper {
    width: 100%;

    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.clSliderTrack {
    display: flex;
    transition: transform 0.6s ease;
}

/* Configuración básica para slides */
.clSlide {
    flex: 0 0 100%;
    
}

/* 2 slides por vista cuando el track tenga clase is-2 */
.clSliderTrack.is-2 .clSlide {
    flex: 0 0 50%;
}

.clSlideContent {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    
}

/* Layered hero inside slide */
.slide-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.slide-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.slide-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.45), rgba(0,0,0,0.2));
}

.slide-hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30%;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 1em;
    color: var(--contrast);
}

.clSliderLeft {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    
    
}

.clSliderRight {
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.clh4blue {
    color: var(--contrast);
    font-size: 2rem;
    font-weight: 700;
}

.features {
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.features li::before {
    content: "✔";
    color: var(--success);
    margin-right: 0.5rem;
}

.cta .btn {
    display: inline-block;
    padding: 0.9rem 1.4rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

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

.btn.btn-primary:hover {
    background: #A01638;
}

.clSlideImage {
    flex: 0 0 100px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--pColor), var(--sColor));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 8px 20px rgba(30, 52, 93, 0.3);
}

.clSlideText {
    flex: 1;
}

.clSlideText h3 {
    font-size: 1.6rem;
    color: var(--pColor);
    margin-bottom: 1rem;
    font-weight: 700;
}

.clSlideText p {
    color: var(--gray-700);
    line-height: 1.6;
    font-size: 1rem;
}

/* Controles del Slider */
.clSliderControls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.clSliderBtn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: var(--pColor);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 52, 93, 0.3);
}

.clSliderBtn:hover {
    background: var(--sColor);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(179, 26, 67, 0.4);
}

/* Indicadores del Slider */
.clSliderIndicators {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.clIndicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-400);
    cursor: pointer;
    transition: all 0.3s ease;
}

.clIndicator.active {
    background: var(--sColor);
    transform: scale(1.4);
}

.clIndicator:hover {
    background: var(--pColor);
}

/* Responsive para slider */
@media (max-width: 768px) {
    .slide-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem 1.25rem;
        gap: 1rem;
    }
    
    .clSlideImage {
        flex: 0 0 80px;
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .clSlideText h3 {
        font-size: 1.4rem;
    }
    
    .clSlideText p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .slide-hero-content { padding: 1.25rem 1rem; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .clHeroContent {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .clHeroTitle {
        font-size: 2.5rem;
    }
    
    .clContactContent {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .clMainNav {
        display: none;
    }
    
    .clMobileMenuBtn {
        display: flex;
    }
    
    .clHeaderBox {
        padding: 1rem;
    }
    
    .clHeroTitle {
        font-size: 2rem;
    }
    
    .clSectionContainer {
        padding: 3rem 1rem;
    }
    
    .clSectionTitle {
        font-size: 2rem;
    }
    
    .clServicesGrid {
        grid-template-columns: 1fr;
    }
    
    .clHeroButtons {
        justify-content: center;
    }
    
    .clBtnPrimary,
    .clBtnSecondary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .clHeroTitle {
        font-size: 1.8rem;
    }
    
    .clServiceCard,
    .clContactForm {
        padding: 1.5rem;
    }
    
    .clFooterContent {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }
}
  