.acerca-page-wrapper {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.acerca-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

#carrito-breadcrumb {
    width: 100%;
    padding: 24px 72px;
}

.carrito-breadcrumb-inner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.carrito-breadcrumb-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ICO-texto-mate, #343737);
    text-align: center;
    font-family: 'Avenir Next LT Pro', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-decoration: none;
    transition: color 0.2s ease;
}

.carrito-breadcrumb-item:hover {
    color: var(--ICO-Celeste, #459CD6);
}

.carrito-breadcrumb-item.active {
    color: var(--ICO-texto-mate, #343737);
    pointer-events: none;
}

.carrito-breadcrumb-separator {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    color: var(--ICO-texto-mate, #343737);
    width: 24px;
    height: 24px;
}

.carrito-breadcrumb-separator img,
.carrito-breadcrumb-separator svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* --- Section 1: Principal Section --- */
.acerca-principal-section {
    display: inline-flex;
    width: 100%;
    height: 727px;
    padding: 45px 72px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 48px;
    background: linear-gradient(180deg, #EBF7FF 0%, #F6FCFF 100%);
    border-radius: 10px;
    box-sizing: border-box;
}

.acerca-principal-header {
    text-align: center;
}

.acerca-principal-title {
    color: #0B4460;
    font-family: "Avenir Next LT Pro", sans-serif;
    font-size: 44px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 0;
}

.acerca-principal-subtitle {
    color: #808080;
    font-family: Inter, sans-serif;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 4px 0 0 0;
}

.acerca-principal-image-container {
    width: 100%;
    height: 340px;
    border-radius: 8px;
    overflow: hidden;
}

.acerca-principal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.acerca-principal-desc {
    color: #4D4D4D;
    text-align: center;
    font-family: "Avenir Next LT Pro", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    /* 137.5% */
    max-width: 890px;
    margin: 0;
}

.acerca-principal-btn {
    display: inline-flex;
    padding: 16px 26px;
    justify-content: center;
    align-items: center;
    gap: 16px;
    border-radius: 43px;
    background: #459CD6;
    color: var(--ICO-Blanco, #FFF);
    font-family: "Avenir Next LT Pro", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.acerca-principal-btn:hover {
    background-color: #3582B5;
}

.btn-icon-left {
    width: 20px;
    height: 20px;
}

.btn-icon-right {
    width: 16px;
    height: 16px;
}

/* --- Section 2: Misión, Visión & Valores --- */
.acerca-mision-section {
    padding: 56px 72px 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    background: #F7F7FA;
}

.acerca-mision-title {
    color: #0B4460;
    font-family: "Avenir Next LT Pro", sans-serif;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 0;
    text-align: center;
}

.acerca-mision-subtitle {
    color: #666;
    text-align: center;
    font-family: "Avenir Next LT Pro", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    max-width: 800px;
    margin: 32px 0 0 0;
}

.acerca-cards-container {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 48px;
    width: 100%;
}

.mision-vision-valores-card {
    display: flex;
    width: 363px;
    height: 441px;
    padding: 24px;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    border-radius: 10px;
    background: #FFF;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
}

.card-content-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.card-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
}

.card-title {
    color: #459CD6;
    font-family: Inter, sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 0 0 16px 0;
}

.card-text {
    color: #666;
    text-align: justify;
    font-family: "Avenir Next LT Pro", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    /* 125% */
    margin: 0;
}

.valores-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    justify-items: center;
}

.valores-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-family: "Avenir Next LT Pro", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    /* 125% */
    margin-bottom: 8px;
}

.valores-list li:last-child {
    margin-bottom: 0;
}

.check-icon {
    color: #8DBF3E;
    font-weight: 700;
}

.card-image {
    width: 100%;
    height: 153px;
    object-fit: cover;
    margin-top: 24px;
}

/* --- Section 3: Nuestra Historia --- */
.acerca-historia-section {
    padding: 80px 72px 34px;
    box-sizing: border-box;
}

.historia-flex-layout {
    display: flex;
    justify-content: space-between;
    gap: 86px;
    max-width: 1136px;
    margin: 0 auto;
    width: 100%;
}

.historia-left-col {
    flex: 0 0 450px;
    width: 450px;
    display: flex;
    flex-direction: column;
}

.acerca-historia-title {
    color: #0B4460;
    font-family: "Avenir Next LT Pro", sans-serif;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 0;
    text-transform: uppercase;
}

.acerca-historia-desc {
    color: #595959;
    font-family: "Avenir Next LT Pro", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    /* 137.5% */
    margin: 24px 0 0 0;
}

.btn-explora-productos {
    display: inline-flex;
    width: fit-content;
    padding: 11px 20px;
    align-items: flex-start;
    border-radius: 6px;
    border: 1.5px solid #459CD6;
    color: #459CD6;
    font-family: "Avenir Next LT Pro", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
    margin: 24px 0 0 0;
    background: transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-explora-productos:hover {
    background-color: #459CD6;
    color: #FFF;
}

/* Carrusel de imágenes */
.historia-carousel-container {
    position: relative;
    width: 450px;
    height: 311px;
    border-radius: 10px;
    margin-top: 24px;
}

.historia-carousel-track-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.historia-carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease-in-out;
}

.historia-carousel-slide {
    min-width: 100%;
    height: 100%;
}

.historia-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.historia-carousel-btn {
    position: absolute;
    top: calc(50% - 16px);
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.historia-carousel-btn.prev {
    left: -16px;
}

.historia-carousel-btn.next {
    right: -16px;
}

.historia-carousel-btn img {
    width: 100%;
    height: 100%;
}

.historia-carousel-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 16px;
}

.historia-carousel-dot {
    width: 10px;
    height: 10px;
    aspect-ratio: 1/1;
    border-radius: 10px;
    border: 1px solid var(--ICO-Celeste, #459CD6);
    background: White;
    cursor: pointer;
    transition: all 0.3s ease;
}

.historia-carousel-dot.active {
    border: 1px solid var(--ICO-Celeste, #459CD6);
    background: var(--ICO-Celeste, #459CD6);
}

/* Timeline Layout */
.historia-right-col {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.timeline-container {
    display: flex;
    flex-direction: column;
    margin-left: 20px;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    position: relative;
    padding-bottom: 47px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-badge-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    position: relative;
}

.timeline-badge {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #459CD6;
    z-index: 2;
}

.timeline-item:last-child .timeline-badge {
    background-color: #8DBF3E;
}

.timeline-line {
    position: absolute;
    top: 20px;
    left: calc(50% - 0.5px);
    width: 1px;
    height: 90px;
    background-color: #459CD6;
    z-index: 1;
}

.timeline-item:last-child .timeline-line {
    display: none;
}

.timeline-info {
    margin-left: 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 2px;
}

.timeline-year {
    color: #1A1A1A;
    font-family: "Avenir Next LT Pro", sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 0 0 4px 0;
}

.timeline-desc {
    color: #666;
    font-family: "Avenir Next LT Pro", sans-serif;
    font-size: 12.5px;
    font-style: normal;
    font-weight: 400;
    line-height: 19px;
    /* 152% */
    margin: 0;
}

/* --- Section 4: CTA Section --- */
.acerca-cta-section {
    display: flex;
    height: 260px;
    padding: 46px 0px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background-image: url('../../../../img/B2B/page/acerca_de_nosotros/CTA_fondo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 0px;
    box-sizing: border-box;
    text-align: center;
}

.acerca-cta-title {
    color: #141414;
    text-align: center;
    font-family: "Avenir Next LT Pro", sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 0;
}

.acerca-cta-desc {
    color: #666;
    text-align: center;
    font-family: "Avenir Next LT Pro", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    /* 137.5% */
    margin: 0;
    max-width: 500px;
}

.btn-cta-catalogo {
    display: flex;
    padding: 13px 28px;
    align-items: flex-start;
    border-radius: 6px;
    border: 1.5px solid #459CD6;
    color: #459CD6;
    font-family: "Avenir Next LT Pro", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    background: transparent;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-cta-catalogo:hover {
    background-color: #459CD6;
    color: #FFF;
}

/* ============
   Responsive 
   ============ */
@media (max-width: 1024px) {

    #carrito-breadcrumb {
        padding: 24px;
    }

    .acerca-principal-section {
        height: auto;
        padding: 40px 24px;
        gap: 32px;
    }

    .acerca-principal-title {
        font-size: 36px;
    }

    .acerca-principal-image-container {
        height: 200px;
    }

    /* Mision mobile */
    .acerca-mision-section {
        padding: 40px 24px;
    }

    .acerca-mision-title {
        font-size: 32px;
    }

    .acerca-cards-container {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        margin-top: 32px;
    }

    .mision-vision-valores-card {
        width: 100%;
        max-width: 363px;
        height: auto;
    }

    /* Historia mobile */
    .acerca-historia-section {
        padding: 40px 24px;
    }

    .historia-flex-layout {
        flex-direction: column;
        gap: 48px;
    }

    .historia-left-col {
        width: 100%;
        max-width: 100%;
        align-items: center;
    }

    .acerca-historia-title {
        font-size: 32px;
        text-align: center;
        text-transform: none;
    }

    .acerca-historia-desc {
        text-align: center;
    }

    .historia-carousel-container {
        width: 100%;
        max-width: 450px;
    }

    .timeline-container {
        margin-left: 0;
    }

    /* CTA mobile */
    .acerca-cta-section {
        padding: 40px 24px;
        height: auto;
        margin-top: 0;
    }

    .acerca-cta-title {
        font-size: 26px;
    }

    .card-image {
        display: none;
    }

    .card-text {
        text-align: center;
    }

    .timeline-line {
        display: none;
    }

    .timeline-item {
        padding-bottom: 30px;
    }
}

/* Ajustes WordPress dinámico */
.ico-acerca-main .acerca-principal-btn,
.ico-acerca-main .btn-explora-productos,
.ico-acerca-main .btn-cta-catalogo { text-decoration: none; }
.ico-acerca-main .timeline-title {
    color: #0B4460;
    display: block;
    font-family: "Avenir Next LT Pro", sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 18px;
    margin: 0 0 3px 0;
}
.ico-acerca-main .acerca-card-description-lines {
    color: #666;
    font-family: "Avenir Next LT Pro", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    margin: 0;
    text-align: center;
}
.ico-acerca-main .historia-carousel-dots:empty { display: none; }
.ico-acerca-main .historia-carousel-btn[hidden] { display: none; }
@media (max-width: 1024px) {
    .ico-acerca-main .historia-left-col { flex: 1 1 auto; }
}

/* Fix WordPress/theme visited link color on CTA buttons */
.ico-acerca-main .acerca-principal-btn,
.ico-acerca-main .acerca-principal-btn:link,
.ico-acerca-main .acerca-principal-btn:visited,
.ico-acerca-main .acerca-principal-btn:focus {
    color: #FFF !important;
    text-decoration: none !important;
}

.ico-acerca-main .btn-explora-productos,
.ico-acerca-main .btn-explora-productos:link,
.ico-acerca-main .btn-explora-productos:visited,
.ico-acerca-main .btn-explora-productos:focus,
.ico-acerca-main .btn-cta-catalogo,
.ico-acerca-main .btn-cta-catalogo:link,
.ico-acerca-main .btn-cta-catalogo:visited,
.ico-acerca-main .btn-cta-catalogo:focus {
    color: #459CD6 !important;
    text-decoration: none !important;
}

.ico-acerca-main .btn-explora-productos:hover,
.ico-acerca-main .btn-cta-catalogo:hover {
    color: #FFF !important;
}

/* Breadcrumb: mantener el color de la maquetación aunque el enlace ya fue visitado */
.ico-acerca-main #carrito-breadcrumb .carrito-breadcrumb-item,
.ico-acerca-main #carrito-breadcrumb .carrito-breadcrumb-item:link,
.ico-acerca-main #carrito-breadcrumb .carrito-breadcrumb-item:visited,
.ico-acerca-main #carrito-breadcrumb .carrito-breadcrumb-item:active,
.ico-acerca-main #carrito-breadcrumb .carrito-breadcrumb-item.active,
.ico-acerca-main #carrito-breadcrumb .carrito-breadcrumb-item.active:visited {
    color: var(--ICO-texto-mate, #343737) !important;
    text-decoration: none !important;
}

.ico-acerca-main #carrito-breadcrumb .carrito-breadcrumb-item:hover,
.ico-acerca-main #carrito-breadcrumb .carrito-breadcrumb-item:focus-visible {
    color: var(--ICO-Celeste, #459CD6) !important;
}
