/********** Template CSS **********/
:root {
    --primary: #164D9C;
    --primary-dark: #052951;
    --black: #1D1D1B;
    --white: #F9F5FF;
    --secondary-1: #3E76BE;
    --secondary-2: #7DA0D3;
    --secondary-3: #BBCBE9;
    --secondary-4: #074085;
    --secondary-5: #0F3462;
    --secondary-6: #16293E;
    --accent-turquoise: #1BCDEA;
    --accent-fuchsia: #C13DFF;
    --accent-green: #1CB765;
    --secondary: #3E76BE;
    --light: #F9F5FF;
    --dark: #052951;
}

/* Override Bootstrap colors to force EMERGER palette */
.bg-primary {
    background-color: var(--primary) !important;
}

.bg-secondary {
    background-color: var(--accent-turquoise) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary-1) !important;
}

.border-primary {
    border-color: var(--accent-turquoise) !important;
}

.border-secondary {
    border-color: var(--secondary) !important;
}

/* Botón Primary personalizado */
.btn-primary {
    background-color: #0F3462 !important;
    border-color: #0F3462 !important;
    color: #fff !important;
    transition: background 0.2s, border 0.2s, box-shadow 0.2s;
}
.btn-primary:hover, .btn-primary:focus {
    background-color: #16293E !important;
    border-color: #16293E !important;
    color: #fff !important;
}
.btn-primary:active, .btn-primary:focus {
    box-shadow: none !important;
    outline: none !important;
}

/* Botón Secondary personalizado */
.btn-secondary {
    background-color: #3E76BE !important;
    border-color: #3E76BE !important;
    color: #fff !important;
    transition: background 0.2s, border 0.2s, box-shadow 0.2s;
}
.btn-secondary:hover, .btn-secondary:focus {
    background-color: #16293E !important;
    border-color: #16293E !important;
    color: #fff !important;
}
.btn-secondary:active, .btn-secondary:focus {
    box-shadow: none !important;
    outline: none !important;
}

/* Override any green colors that might be coming from Bootstrap */
.bg-success,
.bg-green {
    background-color: var(--accent-green) !important;
}

.text-success,
.text-green {
    color: var(--accent-green) !important;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Heading ***/
h1,
h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
h4,
.fw-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.fw-medium {
    font-weight: 500 !important;
}


/*** Button ***/
.btn {
    font-family: 'Questrial', sans-serif;
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 8px;
}


/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    color: #FFFFFF !important;
    text-transform: uppercase;
    font-weight: 500;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark) !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--secondary) !important;
}

.navbar-light .navbar-brand h1 {
    color: #FFFFFF;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

@media (max-width: 991.98px) {
    .navbar {
        position: fixed !important;
        left: 0;
        right: 0;
        top: 0;
        z-index: 1050;
        width: 100%;
        background: #fff !important;
        box-shadow: 0 2px 8px rgba(22,77,156,0.08);
    }
    .navbar .navbar-collapse {
        background: #fff !important;
        box-shadow: none !important;
    }
    .navbar-nav {
        background: #fff !important;
        box-shadow: none !important;
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--dark) !important;
    }

    .navbar-light .navbar-brand h1 {
        color: var(--primary);
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }

    .navbar-toggler .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(22,77,156,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }
    .navbar-toggler {
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
    }
}

@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 999;
    }
    
    .sticky-top.navbar-light {
        position: fixed;
        background: #FFFFFF;
    }

    .sticky-top.navbar-light .navbar-brand h1 {
        color: var(--primary);
    }

    .team-item {
        max-width: 480px;
        padding-left: 32px !important;
        padding-right: 32px !important;
    }
    .team-carousel .owl-item {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }
}


/*** Hero Header ***/
.hero-header {
    background:
        url(../img/bg-round.png),
        url(../img/bg-round-2.png),
        url(../img/bg-square.png),
        url(../img/bg-line.png),
        url(../img/bg-bottom-hero.png);
    background-position:
        0px 40%,
        right 0 top 0,
        left 50% top 0,
        left 50% top 50%,
        center bottom -1px;
    background-repeat: no-repeat;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}


/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 60px;
    height: 11px;
    bottom: 0;
    left: 0;
    border-top: 1px solid #5A5A5A;
    border-bottom: 1px solid #5A5A5A;
}

.section-title::after {
    position: absolute;
    content: "";
    width: 90px;
    height: 1px;
    bottom: 5px;
    left: 0;
    background: var(--primary);
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -30px;
}

.section-title.text-center::after {
    width: 120px;
    left: 50%;
    margin-left: -60px;
}


/*** Domain Search ***/
.domain {
    background: url(../img/bg-domain.png) center center no-repeat;
    background-size: contain;
}


/*** Comparison ***/
@media (min-width: 992px) {
    .comparison::after {
        position: absolute;
        content: "";
        width: 1px;
        top: 56px;
        bottom: 20px;
        left: 50%;
        background: #DDDDDD;
    }
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item.center .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
    border-color: var(--secondary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item .position-absolute {
    background: var(--secondary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #FFFFFF;
}

.testimonial-carousel .owl-item.center .testimonial-item h6 {
    color: var(--dark) !important;
}

.testimonial-carousel .owl-dots {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #DDDDDD;
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--primary);
}


/*** Team ***/
.team-item,
.team-item .bg-primary,
.team-item .bg-primary i {
    transition: .5s;
}

.team-item:hover .btn.btn-square.bg-primary,
.team-item .btn.btn-square.bg-primary,
.team-item .btn.btn-square.bg-primary:hover,
.team-item .btn.btn-square.bg-primary:focus {
    background: var(--primary) !important;
    color: #fff !important;
    border-color: var(--primary) !important;
}

.team-item:hover .bg-primary {
    background: var(--primary) !important;
}

.team-item {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    background: #F9F5FF !important;
}

.team-item .bg-white {
    background: #F9F5FF !important;
}

.team-item .btn.btn-square.bg-primary,
.team-item .btn.btn-square.bg-primary:hover,
.team-item .btn.btn-square.bg-primary:focus {
    background: var(--primary) !important;
    color: #fff !important;
    border-color: var(--primary) !important;
}

.team-carousel .owl-item {
    padding-left: 8px !important;
    padding-right: 8px !important;
}

@media (max-width: 767px) {
    .team-item {
        max-width: 92vw;
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }
    .team-carousel .owl-item {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }
}

/*** Footer ***/
.footer {
    background:
        url(../img/bg-round.png),
        url(../img/bg-round-2.png),
        url(../img/bg-square.png),
        url(../img/bg-line.png),
        url(../img/bg-bottom-footer.png);
    background-position:
        0px 112px,
        right 0 bottom 0,
        left 50% top 80px,
        left 50% bottom 0,
        top center;
    background-repeat: no-repeat;
}

.footer p {
    font-size: 15px;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 48px;
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .3);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .3);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/*** Benefit Cards ***/
.benefit-card {
    background: #F9F5FF;
    border-radius: 12px;
    padding: 32px 12px 20px 12px;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    border-left-width: 4px !important;
    border-left-style: solid !important;
    box-shadow: 0 2px 8px rgba(22,77,156,0.04);
    margin-bottom: 12px;
}

.benefit-card .benefit-icon {
    color: #164D9C !important;
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
}

.benefit-card .benefit-title {
    font-family: 'Anton', sans-serif;
    font-weight: normal;
    margin-bottom: 0;
    font-size: 1.1rem;
}

.benefit-card.accent-turquoise { border-left-color: #1DE9B6 !important; }
.benefit-card.accent-fuchsia { border-left-color: #D500F9 !important; }
.benefit-card.accent-green { border-left-color: #00C853 !important; }
.benefit-card.accent-blue { border-left-color: #164D9C !important; }

@media (max-width: 767px) {
    .benefit-card { min-height: 120px; padding: 20px 8px 12px 8px; }
    .benefit-card .benefit-icon { font-size: 2rem; }
}

/*** Case Cards ***/
.case-card {
    background: var(--light) !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(22,77,156,0.04) !important;
    padding: 16px 8px 12px 8px !important;
    min-height: 160px !important;
    max-width: 220px !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: center !important;
    margin-bottom: 18px !important;
    font-size: 0.92rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
.case-card img {
    display: block !important;
    margin: 0 auto 8px auto !important;
    max-width: 160px !important;
    max-height: 80px !important;
    object-fit: contain !important;
}
.case-card h7 {
    font-weight: bold !important;
    margin-bottom: 6px !important;
    display: block !important;
    text-align: center !important;
    font-family: 'Questrial', sans-serif !important;
    font-size: 1rem !important;
}
.case-card p {
    font-size: 0.85rem !important;
    color: #1D2833 !important;
    font-weight: normal !important;
    display: block !important;
    text-align: center !important;
    margin-bottom: 0 !important;
    font-family: 'Questrial', sans-serif !important;
}
.row.g-4 > [class*='col-'] {
    display: flex;
    justify-content: center;
}
@media (max-width: 991.98px) {
    .case-card {
        max-width: 260px !important;
        font-size: 0.95rem !important;
    }
    .case-card img {
        max-width: 120px !important;
        max-height: 60px !important;
    }
}
@media (max-width: 767.98px) {
    .case-card {
        max-width: 340px !important;
        font-size: 1rem !important;
    }
    .case-card img {
        max-width: 140px !important;
        max-height: 70px !important;
    }
}
@media (max-width: 575.98px) {
    .case-card {
        max-width: 98vw !important;
        font-size: 0.98rem !important;
    }
    .case-card img {
        max-width: 90vw !important;
        max-height: 50px !important;
    }
}

/*** Team Carousel ***/
.team-carousel .owl-item {
    padding: 0 10px;
}

.team-carousel .team-item {
    transition: all 0.3s ease;
}

.team-carousel .team-item:hover {
    transform: translateY(-5px);
}

.team-carousel .owl-dots {
    margin-top: 30px;
    text-align: center;
}

.team-carousel .owl-dot {
    width: 12px;
    height: 12px;
    background: #DDDDDD;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
    display: inline-block;
}

.team-carousel .owl-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

.team-carousel .owl-stage {
    min-height: 440px;
    padding-top: 30px;
    padding-bottom: 30px;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .team-carousel .owl-stage {
        min-height: 340px;
        padding-top: 16px;
        padding-bottom: 16px;
    }
}

/*** Partners Section ***/
.partners-section img {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.partners-section img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/*** Contact Form ***/
.form-control {
    border: none;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(22, 77, 156, 0.1);
    border-color: var(--primary);
}

.form-control::placeholder {
    color: #999;
}

/*** Responsive Adjustments ***/
@media (max-width: 768px) {
    .benefit-card {
        margin: 5px;
        padding: 15px;
    }
    
    .case-card {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .case-title {
        font-size: 16px;
    }
    
    .case-description {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .hero-header h1 {
        font-size: 2rem;
    }
    
    .section-title h1 {
        font-size: 1.8rem;
    }
}

/* Specific overrides for EMERGER elements */
.hero-header {
    background-color: var(--primary) !important;
}



.border-top.border-5.border-primary {
    border-color: var(--primary) !important;
}

/* Ensure all primary elements use EMERGER blue */
.bg-primary.rounded-circle {
    background-color: var(--primary) !important;
}

.bg-secondary.rounded-circle {
    background-color: var(--secondary) !important;
}

/* Override any Bootstrap default colors */
.bg-light {
    background-color: var(--light) !important;
}

.text-white {
    color: #FFFFFF !important;
}

.bg-white {
    background-color: #FFFFFF !important;
}

/* Specific overrides for service cards */
.position-relative.shadow.rounded[style*="border-top: 5px solid var(--accent-turquoise)"],
.position-relative.shadow.rounded[style*="border-top: 5px solid var(--accent-fuchsia)"],
.position-relative.shadow.rounded[style*="border-top: 5px solid var(--accent-green)"],
.position-relative.shadow.rounded[style*="border-top: 5px solid var(--primary)"] {
    background: var(--white, #F9F5FF) !important;
}

/* Override all Bootstrap utility classes that might be green */
.bg-success,
.bg-green,
.bg-success-50,
.bg-green-50 {
    background-color: var(--accent-green) !important;
}

.text-success,
.text-green {
    color: var(--accent-green) !important;
}

/* Force all primary elements to use EMERGER blue */
.bg-primary,
.bg-primary-50 {
    background-color: var(--primary) !important;
}

.text-primary {
    color: var(--primary) !important;
}

/* Override any remaining Bootstrap default colors */
.btn-outline-primary {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn-outline-primary:hover {
    background-color: var(--primary) !important;
    color: #FFFFFF !important;
}

.btn-outline-secondary {
    color: var(--secondary) !important;
    border-color: var(--secondary) !important;
}

.btn-outline-secondary:hover {
    background-color: var(--secondary) !important;
    color: #FFFFFF !important;
}



/* Override any remaining green elements in the about section */
.bg-light.rounded.shadow-sm {
    background-color: var(--light) !important;
}





/* Override any remaining Bootstrap default colors */
.bg-light {
    background-color: var(--light) !important;
}

/* Footer contact form styling */
.footer .bg-light.rounded {
    background-color: #F2F2F2 !important;
}

.footer .bg-light.rounded h5 {
    color: var(--primary) !important;
}

.footer .bg-light.rounded .form-control {
    background-color: #FFFFFF !important;
    color: var(--dark) !important;
}

.footer .bg-light.rounded .form-control::placeholder {
    color: #999 !important;
}

.text-white {
    color: #FFFFFF !important;
}

.bg-white {
    background-color: #FFFFFF !important;
}







/* Specific overrides for common Bootstrap green classes */
.bg-success,
.bg-green,
.text-success,
.text-green {
    background-color: var(--accent-green) !important;
    color: var(--accent-green) !important;
}



/* Ensure all buttons use EMERGER colors */
.btn-success {
    background-color: var(--accent-green) !important;
    border-color: var(--accent-green) !important;
    color: #FFFFFF !important;
}

.btn-success:hover {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #FFFFFF !important;
}

/* Basic body styles */
body {
    font-family: "Open Sans", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: rgb(90, 90, 90);
    background-color: rgb(242, 242, 242);
    text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    margin: 0px;
}

body, p, .case-description, .btn, .navbar-nav .nav-link, input, textarea, label {
    font-family: 'Questrial', sans-serif !important;
    font-size: 18px;
}

*, ::before, ::after {
    box-sizing: border-box;
}

/* Tipografía general para el texto normal */
body, .benefit-card, .benefit-card span, .benefit-card p {
    font-family: 'Questrial', sans-serif;
}

/* Tipografía para títulos en todo el documento */
h1, h2, h3, h4, h5, h6, .section-title h1, .section-title h4, .benefit-title {
  font-family: 'Anton', sans-serif !important;
  font-weight: normal !important;
}

/* Tipografía general para el texto normal en todo el documento */
body, p, span, li, a, .btn, .navbar-nav .nav-link, input, textarea, label, .case-description, .benefit-card, .benefit-card span, .benefit-card p {
  font-family: 'Questrial', sans-serif !important;
}

/* Refuerzo: nunca negrita en títulos Anton */
h1, h2, h3, h4, h5, h6, .section-title h1, .section-title h4, .benefit-title {
  font-family: 'Anton', sans-serif !important;
  font-weight: normal !important;
}

/* Si algún elemento con Anton tiene .fw-bold o similar, lo sobrescribo */
/* .fw-bold, .font-weight-bold {
  font-weight: normal !important;
}

/* Fondo personalizado para el formulario de contacto del footer */
.footer .bg-light.rounded {
  background-color: #F2F2F2 !important;
}

/* Botón Enviar mensaje personalizado */
.footer .btn.btn-primary.w-100 {
  background-color: #0F3462 !important;
  border-color: #0F3462 !important;
  transition: background 0.2s, border 0.2s;
}
.footer .btn.btn-primary.w-100:hover {
  background-color: #052951 !important;
  border-color: #052951 !important;
}

/* Íconos en tarjetas About: siempre en renglón separado y centrados */
#about .bg-light.rounded.shadow-sm.text-center i.fa {
  display: block;
  margin: 0 auto 12px auto;
  font-size: 2.2rem;
}
#about .bg-light.rounded.shadow-sm.text-center h7,
#about .bg-light.rounded.shadow-sm.text-center p {
  display: block;
  text-align: center;
}

#about .bg-light.rounded.shadow-sm.text-center h7 {
  font-weight: bold !important;
}

/* Igualar altura de tarjetas de servicios */
#servicios .row.gy-5.gx-4 {
    display: flex;
    flex-wrap: wrap;
}
#servicios .row.gy-5.gx-4 > [class*='col-'] {
    display: flex;
}
#servicios .position-relative.shadow.rounded {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 420px;
}
@media (max-width: 991.98px) {
    #servicios .position-relative.shadow.rounded {
        min-height: 380px;
    }
}
@media (max-width: 767.98px) {
    #servicios .position-relative.shadow.rounded {
        min-height: 320px;
    }
}

/* Igualar altura de tarjetas de equipo (distinto de servicios) */
.team-carousel .owl-stage {
    display: flex !important;
    align-items: stretch !important;
}
.team-carousel .owl-item {
    display: flex !important;
    align-items: stretch !important;
    height: auto;
}
.team-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: unset;
}
@media (max-width: 991.98px) {
    .team-item {
        min-height: unset;
    }
}
@media (max-width: 767.98px) {
    .team-item {
        min-height: unset;
    }
}

.casos-exito-container .row.justify-content-center.g-4 {
    display: flex;
    flex-wrap: wrap;
}
.casos-exito-container .row.justify-content-center.g-4 > [class*='col-'] {
    display: flex;
}
.casos-exito-container .case-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100%;
}
.casos-exito-container .case-card p {
    font-size: 1.02rem !important;
}
@media (max-width: 991.98px) {
    .casos-exito-container .case-card p {
        font-size: 0.97rem !important;
    }
}
@media (max-width: 767.98px) {
    .casos-exito-container .case-card p {
        font-size: 0.93rem !important;
    }
}

/* Strong: énfasis pro (no "negrita Word") */
strong {
  font-weight: 600;
}

/* Strong en Hero (blanco sobre azul) - más fino */
#hero strong {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

/* HERO: mejorar corte de línea del H1 en mobile */
@media (max-width: 576px) {
  #hero h1 {
    font-size: 1.85rem;
    line-height: 1.12;
    letter-spacing: 0.2px;
  }
}

/* Evita que el navbar tape los anchors */
#hero, #about, #soluciones, #servicios, #casos, #nosotros, #footer-contacto {
  scroll-margin-top: 90px;
}

@media (min-width: 992px) {
  #hero, #about, #soluciones, #servicios, #casos, #nosotros, #footer-contacto {
    scroll-margin-top: 80px;
  }
}

/* NAVBAR: logo estable y sin recortes */
.navbar-brand img#navbar-logo{
  height: 48px !important;
  width: auto !important;
  max-height: none !important;
  display: block;
}

/* Desktop: el navbar no necesita paddings gigantes en links */
@media (min-width: 992px){
  .navbar-light .navbar-nav .nav-link{
    padding: 22px 0 !important; /* antes 35px */
  }
}

/* Mobile: fijamos altura y centrado */
@media (max-width: 991.98px){
  .navbar{
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }
  .navbar-brand{
    display: flex;
    align-items: center;
  }
  .navbar-brand img#navbar-logo{
    height: 42px !important;
  }
}

/* ABOUT: 3 desafíos - más presencia */
#about .bg-light.rounded.shadow-sm {
  padding: 22px !important;           /* antes p-3 = 16px */
  border-radius: 14px !important;
}

#about .bg-light.rounded.shadow-sm i {
  font-size: 2.4rem !important;       /* antes fa-2x */
  margin-bottom: 12px !important;
}

#about .bg-light.rounded.shadow-sm h6 {
  font-size: 1.05rem !important;
  margin-bottom: 10px !important;
  letter-spacing: 0.2px;
}

#about .about-desc {
  font-size: 0.98rem !important;
  line-height: 1.35 !important;
  color: #3b3b3b;
}

/* En desktop, un toque más grandes todavía */
@media (min-width: 992px) {
  #about .bg-light.rounded.shadow-sm {
    padding: 26px !important;
  }
  #about .about-desc {
    font-size: 1rem !important;
  }
}

/* Altura visual premium para sección Casos de Éxito */
.casos-section {
  min-height: auto !important;
  display: block !important;
  align-items: normal !important;
  padding-top: 2.5rem !important;
  padding-bottom: 2.5rem !important;
}

.casos-section > .container {
  width: 100%;
}

@media (max-width: 768px) {
  .casos-section {
    min-height: auto !important;
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
}

/* Estilos para el carrusel de casos de éxito */
.casos-carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding-bottom: 40px;
}
.casos-carousel {
    position: relative;
}
/* Forzar altura igual en los items del carrusel */
.casos-carousel .owl-stage-outer {
    overflow: hidden;
    padding-bottom: 30px;
    margin-bottom: 20px;
}
.casos-carousel .owl-stage {
    display: flex !important;
    align-items: stretch !important;
}
.casos-carousel .owl-item {
    display: flex !important;
    align-items: stretch !important;
    height: auto !important;
}
.casos-carousel .owl-item > div {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important;
    align-items: stretch !important;
}

.casos-carousel .owl-item .bg-white {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    flex: 1 1 auto !important;
}

.casos-carousel .owl-item .bg-white > div.text-center {
    flex-shrink: 0 !important;
}

.casos-carousel .owl-item .bg-white > p {
    flex-grow: 1 !important;
    margin-bottom: 0 !important;
}
.casos-carousel .owl-dots {
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    gap: 12px;
}
.casos-carousel .owl-dots .owl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d0d0d0 !important;
    border: none;
    padding: 0;
    margin: 0;
    transition: all 0.3s ease;
    cursor: pointer;
}
.casos-carousel .owl-dots .owl-dot:hover {
    background: #999 !important;
    transform: scale(1.2);
}
.casos-carousel .owl-dots .owl-dot.active {
    background: var(--primary) !important;
    width: 14px;
    height: 14px;
}
