    
body {
    font-family: 'Metropolis', sans-serif;
    font-weight: 400;
    margin: 0;
    color: #37383e;
    background: transparent !important;
    background-color: transparent !important;
}

.secciones-con-fondo{
    background: linear-gradient(212.88deg, rgba(129, 137, 216, 0.10) 29.53%, rgba(150, 182, 117, 0.10) 100%) !important;
}

/* Error API Popup - sin JavaScript */
.error-api-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.error-api-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.error-api-content {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 40px 32px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    text-align: center;
    z-index: 1;
}

.error-api-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.error-api-title {
    font-size: 22px;
    font-weight: 600;
    color: #37383E;
    margin: 0 0 12px 0;
    font-family: 'Metropolis', sans-serif;
}

.error-api-message {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
    margin: 0 0 28px 0;
    font-family: 'Metropolis', sans-serif;
}

.error-api-btn {
    display: inline-block;
    background: #8189D8;
    color: white;
    border: 1px solid #8189D8;
    border-radius: 20px;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Metropolis', sans-serif;
    min-width: 180px;
}

.error-api-btn:hover {
    background: white;
    color: #8189D8;
}

.mensaje-sin-datos-api {
    max-width: 600px;
    margin: 80px auto 120px;
    padding: 40px 24px;
    text-align: center;
}

.mensaje-sin-datos-api p {
    font-size: 18px;
    color: #666;
    margin-bottom: 24px;
}

/* Session Logout Modal */
.session-logout-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.session-logout-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.session-logout-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.session-logout-content {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 40px 32px;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    z-index: 1;
}

.session-logout-modal.active .session-logout-content {
    transform: scale(1);
}

.session-logout-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.session-logout-icon svg {
    width: 64px;
    height: 64px;
}

.session-logout-title {
    font-size: 24px;
    font-weight: 600;
    color: #37383E;
    margin: 0 0 16px 0;
    font-family: 'Metropolis', sans-serif;
}

.session-logout-message {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    margin: 0 0 32px 0;
    font-family: 'Metropolis', sans-serif;
}

.session-logout-button {
    background: #8189D8;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Metropolis', sans-serif;
    min-width: 200px;
}

.session-logout-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(129, 137, 216, 0.4);
}

.session-logout-button:active {
    transform: translateY(0);
}

@media screen and (max-width: 576px) {
    .session-logout-content {
        padding: 32px 24px;
        max-width: 90%;
    }

    .session-logout-title {
        font-size: 20px;
    }

    .session-logout-message {
        font-size: 14px;
    }

    .session-logout-button {
        padding: 12px 32px;
        font-size: 14px;
        min-width: 180px;
    }

    .session-logout-icon svg {
        width: 48px;
        height: 48px;
    }
}

/* Notificacion Flotante */
.notificacion-correo-flotante {
    position: fixed;
    top: 80px;
    right: 20px;
    background: white;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 380px;
    z-index: 9999;
    animation: slideInRight 0.3s ease-out;
    font-family: 'Metropolis', sans-serif;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notificacion-correo-flotante.ocultando {
    animation: slideOutRight 0.3s ease-in forwards;
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.notificacion-correo-icono {
    flex-shrink: 0;
    width: 22px;
    height: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
}

.notificacion-correo-icono img {
    width: 22px;
    height: 17px;
    display: block;
}

.notificacion-correo-contenido {
    flex: 1;
}

.notificacion-correo-texto {
    margin: 0;
    font-size: 18px;
    line-height: 22px;
    color: #37383E;
    font-weight: 500;
}

.notificacion-correo-link {
    color: #8189D8;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.notificacion-correo-link:hover {
    color: #6b73b8;
    text-decoration: underline;
}

@media screen and (max-width: 576px) {
    .notificacion-correo-flotante {
        top: 70px;
        right: 10px;
        left: 10px;
        max-width: none;
        padding: 14px 16px;
    }

    .notificacion-correo-texto {
        font-size: 16px;
        line-height: 20px;
    }
}

/* ========================================
   SECTION SLIDER STYLES
   ======================================== */

.slider {
    display: flex;
    position: relative;
    justify-content: flex-start;
    align-items: flex-start;
    color: white;
    height: 650px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(270deg,
            rgba(54, 63, 149, 0.2) 37.17%,
            rgba(54, 63, 149, 0.77) 98.91%);
    z-index: 5;
}

.overlay-mobile {
    display: none;
}

/* SLIDER */
.slider-images {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 0;
}

.slider-img {
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slider-img.active {
    opacity: 1;
    z-index: 2;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.slider-btn img {
    width: 40px;
    height: auto;
}

.slider-btn:hover img {
    opacity: 1;
}

.prev-btn {
    left: 77px;
}

.next-btn {
    right: 77px;
}

.description-container {
    position: relative;
    display: flex;
    top: 5px;
    left: 10%;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
    z-index: 1;
    padding: 0px 0px 80px 80px;
    width: 40%;
    align-items: flex-start;
    box-sizing: border-box;
}

.desc-part1 {
    display: flex;
    flex-direction: column;
    min-height: 380px;
    justify-content: flex-end;
}

.initial-phrase {
    font-size: clamp(1.5rem, 4vw, 3.8rem);
    font-weight: 700;
    letter-spacing: 0%;
    line-height: 63px;
    margin: 0;
    transition: opacity 0.5s ease-in-out;
    opacity: 1;
}

.initial-phrase a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

/* Clases para animaciones del slider */
.initial-phrase.fade-out {
    opacity: 0;
}

.initial-phrase.fade-in {
    opacity: 1;
}

.dp-label.fade-out {
    opacity: 0;
}

.dp-label.fade-in {
    opacity: 1;
}




.dp-label {
    align-self: flex-start;
    border-radius: 20px;
    border: 1px solid white;
    padding: 0px 24px;
    font-weight: 400;
    font-size: clamp(14px, 2vw, 20px);
    line-height: 27px;
    text-align: center;
    vertical-align: middle;
    transition: opacity 0.5s ease-in-out;
    opacity: 1;
}

/* BARRA DE PROGRESO */
.dc-progress-container {
    width: 100%;
    max-width: 600px;
    margin: 20px 0px;
    color: white;
}

.dc-progress-bar {
    width: 100%;
    height: 12px;
    background-color: rgba(255, 255, 255, 0);
    border: 1px solid white;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 10px;
    padding: 3px;
}

.dc-progress-fill {
    height: 100%;
    background-color: white;
    width: 5.2%;
    border-radius: 10px;
    transition: width 0.8s ease-in-out;
}

.dc-progress-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: clamp(12px, 1.5vw, 16px);
    line-height: 19px;
    flex-direction: row;
}

.progress-left {
    display: flex;
    align-items: center;
    gap: 5px;
}

.progress-left p {
    margin: 0;
    line-height: 1.2;
    font-weight: 400;
}

.progress-left p:first-child {
    font-weight: 700;
}

.progress-right p {
    margin: 0;
    font-style: italic;
    font-weight: 600;
}

.desc-part2 {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
}

/* ========================================
   SECTION DESCUBRE PROYECTOS STYLES
   ======================================== */

/* Contenedor con imagen de fondo para ambas secciones */
.secciones-con-fondo {
    position: relative;
    background-image: url('../img/fondo-pc-vista-principal.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 0;
    width: 100%;
    margin: 0;
}

/* Sección completa de descubre proyecto */
.descubre-proyecto {
    position: relative;
    z-index: 2;
    background: transparent;
    margin-top: 0;
    margin-bottom: 40px;
}

/* Contenedor principal de descubre proyecto */
.container-discover {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 40px;
    box-sizing: border-box;
    margin: 4% 0% 60px 0%;
    padding: 0 120px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.title-discover {
    display: flex;
    align-self: flex-start;
    font-size: 40px;
    font-weight: 700;
    line-height: 43px;
    flex: 1;
}

.title-discover h2 {
    font-size: 40px;
    margin: 0px;
}



/* Contenedor de tarjetas de proyecto */
.p-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    padding: 0 40px;
}

.card-item:nth-child(n+7) {
    display: none;
}

/* Tarjeta individual de proyecto */
.card-item {
    background-color: white;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
    box-shadow: 15px 15px 39px -20px #00000040;
    width: 100%;
    z-index: 1;
    position: relative;
}

/* Imagen del proyecto */
.project-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* Contenido de la tarjeta */
.card-part2 {
    padding: 20px 30px 46px 35px;
    display: flex;
    flex-direction: column;
}

.card-part2 .card-title {
    font-weight: 700;
    font-size: 20px;
    line-height: 23px;
    min-height: 50px;
}

.card-part2 .card-description {
    font-size: 20px;
    line-height: 23px;
    font-weight: 400;
    min-height: 162px;
    max-height: none;
    height: auto;
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: visible;
}

.card-categories {
    align-self: flex-start;
    border-radius: 20px;
    border: 1px solid var(--Color, #8189d8);
    padding: 0 15px;
    font-weight: 500;
    font-size: clamp(14px, 2vw, 20px);
    line-height: 23px;
    display: inline-block;
    color: var(--Color, #8189d8);
    margin: 0;
}

/* Contenedor de progreso */
.card-part2 .progress-container {
    margin: 30px 0 20px 0;
}

.card-part2 .progress-container .progress-left {
    color: #37383e;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    min-height: 38px;
}

.card-part2 .progress-container .progress-left p {
    margin: 0;
    line-height: 1.2;
    font-weight: 400;
}

.card-part2 .progress-container .progress-left p:first-child {
    font-weight: 700;
}

.card-part2 .progress-bar {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
        linear-gradient(91.53deg, #8189d8 2.47%, #96b675 99.87%) border-box;
    background-origin: border-box;
    background-clip: padding-box, border-box;
    padding: 3px;
    border-radius: 20px;
    overflow: hidden;
    height: 8px;
    margin: 10px 0;
}

.card-part2 .progress-bar .progress-fill {
    height: 100%;
    background: transparent;
    /* Sin color base para evitar interferencias */
    width: 0%;
    /* Inicialmente sin ancho */
    border-radius: 10px;
    transition: width 0.3s ease, background 0.3s ease;
}

/* Clases para aplicar colores según el rango de progreso */

/* Primer tercio (0-33.33%): Color azul sólido */
.card-part2 .progress-bar .progress-fill.low-progress {
    background: #8189D8;
    background-color: #8189D8;
    background-image: none;
}

/* Segundo tercio (33.33-66.66%): Transición entre colores */
.card-part2 .progress-bar .progress-fill.transition-progress {
    background: linear-gradient(90deg, #8189D8 0%, #729C46 100%);
    background-color: transparent;
    background-image: linear-gradient(90deg, #8189D8 0%, #729C46 100%);
}

/* Tercer tercio (66.66%+): Color verde sólido */
.card-part2 .progress-bar .progress-fill.high-progress {
    background: #729C46;
    background-color: #729C46;
    background-image: none;
}

.card-part2 .progress-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: clamp(12px, 1.5vw, 16px);
    line-height: 19px;
}

.card-part2 .progress-right {
    color: #729C46;
    font-weight: 600;
    font-size: 16px;
    line-height: 19px;
}

.card-part2 .card-button {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Botón de la tarjeta */
.card-part2 .btn-apoyar {
    font-size: 23px;
    line-height: 23px;
    padding: 12px 30px;
    margin-top: 20px;
    border-radius: 30.5px;
    color: white;
    z-index: 1;
    border: 3px solid transparent;
    background: linear-gradient(91.53deg, #8189d8 2.47%, #96b675 99.87%) padding-box,
        linear-gradient(91.53deg, #8189d8 2.47%, #96b675 99.87%) border-box;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-part2 .btn-apoyar:hover {
    background: white;
    border: 3px solid transparent;
    background: linear-gradient(white, white) padding-box,
        linear-gradient(91.53deg, #8189d8 2.47%, #96b675 99.87%) border-box;
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.card-part2 .btn-apoyar:hover span {
    background: linear-gradient(91.53deg, #8189d8 2.47%, #96b675 99.87%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Botón del container principal */
.container-discover .cd-button {
    align-self: center;
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 30px;
}

.cd-button {
    display: flex;
    justify-content: center;
    width: 100%;
}



.container-discover .cd-button .btn-apoyar {
    padding: 18px 35px 17px 35px;
}

/* Botón general */
.btn-apoyar {
    background: linear-gradient(91.53deg, #96b675 2.47%, #8189d8 99.87%);
    border-radius: 30.5px;
    color: white;
    padding: 18px 35px;
    cursor: pointer;
    position: relative;
    font-weight: 600;
    font-size: 23px;
    line-height: 23px;
    vertical-align: middle;
    z-index: 1;
    border: 3px solid transparent;
    background: linear-gradient(91.53deg, #96b675 2.47%, #8189d8 99.87%) padding-box,
        linear-gradient(91.53deg, #96b675 2.47%, #8189d8 99.87%) border-box;
    box-sizing: border-box;
    text-decoration: none;
}

.btn-apoyar:hover {
    background: white;
    border: 3px solid transparent;
    background: linear-gradient(white, white) padding-box,
        linear-gradient(91.53deg, #96b675 2.47%, #8189d8 99.87%) border-box;
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.btn-apoyar:hover span {
    background: linear-gradient(91.53deg, #96b675 2.47%, #8189d8 99.87%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   SECTION CATEGORIAS QUE APOYAMOS STYLES
   ======================================== */

/* Estilos base para desktop */
.container-apoyanos {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 60px;
    margin: 120px auto 210px auto;
    padding: 0 120px;
    box-sizing: border-box;
}

.title-category h2 {
    font-weight: 700;
    font-size: 40px;
    line-height: 43px;
    color: #37383e;
    margin: 0;
    align-self: flex-start;
}

/* Contenedor de tarjetas de categorías */
.p-cards-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    padding: 0 40px;
}

/* Tarjeta individual de categoría */
.card-item-category {
    background-color: white;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 15px 15px 39px -20px #00000040;
    width: 100%;
    min-height: 80px;
    z-index: 100;
}



/* Contenido de la tarjeta de categoría */
.card-part2-category {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.card-title-category {
    font-weight: 500;
    font-size: 20px;
    line-height: 26px;
    color: #37383e;
    margin: 0;
    text-align: center;
}

.card-description-category {
    font-size: 16px;
    text-align: center;
    line-height: 20px;
    font-weight: 400;
    color: #666;
    margin: 0;
    min-height: 40px;
}

/* ========================================
   SECTION SOMOS STARTFUND STYLES
   ======================================== */

.somos-startfund {
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-sizing: border-box;
    background: linear-gradient(86.54deg, #96B675 -6.78%, #8189D8 72.26%);
    min-height: 402px;
    align-items: center;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

.icono-somos-startfund {
    grid-column: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.icono-somos-startfund img {
    width: 500px;
    aspect-ratio: 16/9;
    object-fit: contain;
}

.right-wrap {
    display: flex;
    grid-column: 2;
    width: 100%;
    justify-content: flex-start;
    justify-self: start;
    align-self: center;
}

.right-content {
    display: flex;
    box-sizing: border-box;
    flex-direction: column;
    align-items: flex-start;
    width: 75%;
    gap: 20px;
}

.lc-title {
    color: #f6f6f6;
    font-weight: 700;
    font-size: 40px;
    line-height: 43px;
    margin: 0;
}

.lc-description {
    color: #f6f6f6;
    font-weight: 400;
    font-size: 20px;
    line-height: 23px;
    margin: 0;
}

/* ========================================
   MEDIA QUERIES RESPONSIVE
   ======================================== */

/* Pantalla pequeña (1024px) */
@media screen and (max-width: 1024px) {

    /* SLIDER */
    .description-container {
        top: -30px;
        left: 8%;
        width: 45%;
        padding: 0px 0px 60px 60px;
    }

    .initial-phrase {
        font-size: clamp(1.3rem, 4.5vw, 3.2rem);
        line-height: 55px;
    }

    .dp-label {
        font-size: clamp(13px, 1.8vw, 18px);
        padding: 0px 20px;
    }

    .slider-btn img {
        width: 35px;
    }

    .prev-btn {
        left: 60px;
    }

    .next-btn {
        right: 60px;
    }

    /* DESCUBRE */
    .container-discover {
        padding: 0 80px;
        gap: 40px;
    }

    .title-discover {
        font-size: 36px;
        line-height: 40px;
    }

    .title-discover h2 {
        font-size: 36px;
        line-height: 40px;
    }

    .p-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
        padding: 0 30px;
    }

    .card-item {
        border-radius: 18px;
    }

    .card-part2 {
        padding: 18px 25px 40px 30px;
    }

    .card-part2 .card-title {
        font-size: 18px;
        line-height: 21px;
        min-height: 45px;
    }

    .card-part2 .card-description {
        font-size: 18px;
        line-height: 21px;
        min-height: 150px;
        max-height: none;
        height: auto;
    }

    .card-part2 .progress-container {
        margin: 25px 0 18px 0;
    }

    .card-part2 .progress-bar {
        height: 7px;
    }

    .card-part2 .progress-text {
        font-size: clamp(11px, 1.4vw, 15px);
    }

    .card-part2 .progress-container .progress-left {
        flex-wrap: wrap;
        min-height: 38px;
        align-items: flex-start;
    }

    .card-part2 .btn-apoyar {
        font-size: 21px;
        line-height: 21px;
        padding: 10px 13px;
    }

    /* CATEGORIAS */
    .container-apoyanos {
        padding: 0 80px;
        gap: 60px;
        margin: 50px auto 180px auto;
    }

    .title-category h2 {
        font-size: 36px;
        line-height: 40px;
    }

    .p-cards-categories {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
        padding: 0 30px;
    }

    /* SOMOS STARTFUND */
    .somos-startfund {
        height: 420px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        box-sizing: border-box;
        align-items: center;
    }

    .right-wrap {
        grid-column: 2;
        justify-content: flex-start;
        padding-left: 5%;
    }

    .right-content {
        width: 80%;
        gap: 18px;
    }

    .lc-title {
        font-size: 36px;
        line-height: 40px;
    }

    .lc-description {
        font-size: 19px;
        line-height: 22px;
    }
}

/* Tablet (577px - 992px) */
@media screen and (min-width: 577px) and (max-width: 992px) {

    /* SLIDER */
    .slider {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        height: 508px;
    }

    .description-container {
        top: -20px;
        left: 0;
        width: 60%;
        padding: 0px 40px 60px 40px;
        margin-left: 60px;
        align-items: flex-start;
        text-align: flex-start;
        gap: 0;
        height: 100%;
    }

    .desc-part1 {
        min-height: 450px;
        justify-content: flex-end;
        margin-top: -150px;
    }

    .initial-phrase {
        font-size: 35px;
        line-height: 38px;
    }

    .dp-label {
        font-size: 18px;
        padding: 0px 20px;
        margin-top: 10px;
    }

    .dc-progress-container {
        margin: 20px 0;
        width: 100%;
        max-width: 95%;
    }

    .dc-progress-text {
        font-size: 16px;
    }

    .slider-btn img {
        width: 30px;
    }

    .prev-btn {
        left: 30px;
    }

    .next-btn {
        right: 30px;
    }

    .desc-part2 .btn-apoyar {
        padding: 8px 20px;
        font-size: 20px;
        line-height: 22px;
        margin-top: 15px;
    }

    /* CONTENEDOR CON IMAGEN DE FONDO */
    .secciones-con-fondo {
        background-image: url('../img/fondo-tablet-vista-principal.jpg');
    }

    /* DESCUBRE */
    .container-discover {
        padding: 0 60px;
        gap: 60px;
        width: 100%;
        margin: 4% 0% 30px 0%;
    }

    .title-discover {
        font-size: 18px;
        line-height: 22px;
    }

    .title-discover h2 {
        font-size: 30px;
        line-height: 22px;
    }

    .p-cards {
        display: grid;
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 0 20px;
        width: 100%;
        box-sizing: border-box;
        justify-items: center;
    }

    /* Ocultar proyecto después del segundo en tablet - dos cards */
    .card-item:nth-child(n+3) {
        display: none;
    }

    .card-item {
        border-radius: 16px;
        width: 100%;
        max-width: 466px;
        box-sizing: border-box;
    }

    .card-categories {
        font-size: 18px;
        padding: 5px 27px 2px 27px;
    }

    .card-part2 {
        padding: 16px 40px 40px 40px;
    }

    .card-part2 .card-title {
        font-size: 18px;
        line-height: 21px;
        min-height: 40px;
    }

    .card-part2 .card-description {
        font-size: 18px;
        line-height: 21px;
        min-height: 140px;
        max-height: none;
        height: auto;
    }

    .card-part2 .progress-container {
        margin: 20px 0 15px 0;
    }

    .card-part2 .progress-bar {
        height: 6px;
    }

    .card-part2 .progress-text {
        font-size: clamp(10px, 1.3vw, 14px);
    }

    .card-part2 .progress-container .progress-left {
        flex-wrap: nowrap;
        min-height: 38px;
        align-items: center;
        justify-content: center;
    }

    .card-part2 .progress-right {
        font-size: 16px;
        line-height: 19px;
    }

    .card-part2 .btn-apoyar {
        font-size: 19px;
        line-height: 19px;
        padding: 12px 30px;
        margin-top: 15px;
    }

    .cd-button {
        display: flex;
        margin: 80px 0px 90px 0px;
        justify-content: center;
        width: 100%;
    }

    .cd-button .btn-apoyar {
        padding: 15px 30px;
        font-size: 20px;
        line-height: 22px;
    }

    /* CATEGORIAS */
    .container-apoyanos {
        padding: 0 60px;
        gap: 50px;
        margin: 40px auto 150px auto;
    }

    .title-category h2 {
        font-size: 30px;
        line-height: 36px;
    }

    .p-cards-categories {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding: 0 20px;
    }

    .card-item-category {
        border-radius: 16px;
        min-height: 70px;
    }

    .card-part2-category {
        padding: 12px;
    }

    .card-title-category {
        font-size: 18px;
        line-height: 24px;
    }

    .card-description-category {
        font-size: 14px;
        line-height: 18px;
        min-height: 36px;
    }

    /* SOMOS STARTFUND */
    .somos-startfund {
        display: grid;
        grid-template-columns: 1fr 1fr;
        box-sizing: border-box;
        background: linear-gradient(89.88deg, #96B675 -13.32%, #8189D8 114.76%);
        height: 402px;
        align-items: center;
        overflow: hidden;
        width: 100%;
        max-width: 100%;
    }

    .icono-somos-startfund img {
        width: 100%;
        aspect-ratio: 16/9;
        object-fit: contain;
    }

    .right-wrap {
        display: flex;
        grid-column: 2;
        justify-content: flex-start;
        padding-left: 5%;
        overflow: hidden;
        max-width: 100%;
    }

    .right-content {
        display: flex;
        box-sizing: border-box;
        flex-direction: column;
        align-items: flex-start;
        width: 80%;
        gap: 20px;
    }

    .lc-title {
        font-size: 30px;
        line-height: 36px;
    }

    .lc-description {
        font-size: 18px;
        line-height: 22px;
    }
}

/* Móvil (hasta 576px) */
@media screen and (max-width: 576px) {
    .dc-progress-text{
        display: contents;
    }
    .secciones-con-fondo {

        background-image: url('../img/fondo-mobile-vista-principal.jpg');
        background-position: center;
        background-repeat: no-repeat;
    }


    /* SLIDER */
    .overlay {
        display: none;
    }

    .overlay-mobile {
        display: flex;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(180deg,
                rgba(54, 63, 149, 0.2) 4.17%,
                rgba(54, 63, 149, 0.77) 98.91%);
        z-index: 5;
    }

    .slider-btn {
        display: none;
    }

    .slider {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        height: 507px;
    }

    .description-container {
        top: 10px;
        left: 0;
        width: 75%;
        padding: 0px;
        margin-left: 30px;
        align-items: flex-start;
        gap: 0;
    }

    .desc-part1 {
        margin-top: 0px;
        min-height: 200px;
        justify-content: flex-end;
    }

    .initial-phrase {
        font-size: 30px;
        font-weight: 700;
        line-height: 34px;
    }

    .dp-label {
        font-size: 18px;
        padding: 2px 20px;
        margin-top: 10px;
    }

    .dc-progress-container {
        margin: 20px 0;
        width: 100%;
        max-width: 100%;
    }

    .dc-progress-bar {
        width: 100%;
        height: 10px;
    }

    .dc-progress-text {
        align-items: start;
    }

    .dc-progress-text .progress-left p,
    .dc-progress-text .progress-right strong {
        gap: 15px;
        justify-content: space-between;
        font-size: 16px;
    }

    .dc-progress-text .progress-left {
        /* flex-direction: column; */
        margin-bottom: 10px;
        gap: 5px;
        align-items: flex-start;
    }

    .desc-part2 {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        width: 100%;
    }

    .desc-part2 .btn-apoyar {
        display: none;
        padding: 8px 20px;
        font-size: 20px;
        line-height: 22px;
        margin-top: 15px;
    }

    /* DESCUBRE */
    .container-discover {
        padding: 0 30px;
        gap: 40px;
        width: 100%;
        margin: 0px 0% 25px 0%;
    }

    .title-discover {
        font-size: 28px;
        line-height: 32px;
    }

    .title-discover h2 {
        font-size: 24px;
        line-height: 28px;
    }

    .p-cards {
        display: grid;
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 0px;
        width: 100%;
        box-sizing: border-box;
    }

    /* Ocultar proyecto después del segundo en móvil - dos cards */
    .card-item:nth-child(n+3) {
        display: none;
    }

    .card-item {
        border-radius: 14px;
        width: 100%;
        box-sizing: border-box;
    }

    .card-categories {
        font-size: 18px;
        padding-top: 5px;
        padding-bottom: 2px;
    }

    .card-part2 {
        padding: 14px 18px 30px 20px;
    }

    .card-part2 .card-title {
        font-size: 18px;
        line-height: 21px;
        min-height: 35px;
    }

    .card-part2 .card-description {
        font-size: 18px;
        line-height: 21px;
        min-height: 120px;
        max-height: none;
        height: auto;
        margin-bottom: 20px;
    }

    .card-part2 .progress-container {
        margin: 18px 0 12px 0;
    }

    .card-part2 .progress-bar {
        height: 5px;
    }

    .card-part2 .progress-text {
        font-size: clamp(9px, 1.2vw, 13px);
        align-items: start;
        display: contents;
    }

    .card-part2 .progress-container .progress-left {
        gap: 3px;
        align-items: flex-start;
        min-height: 0px;
        margin-bottom: 10px;
    }

    .card-part2 .btn-apoyar {
        font-size: 20px;
        line-height: 23px;
        padding: 10px 15px;
        margin-top: 12px;
    }

    .cd-button {
        display: flex;
        margin-top: 60px;
        margin-bottom: 70px;
        justify-content: center;
        width: 100%;
    }

    .cd-button .btn-apoyar {
        padding: 9px 29px;
        font-size: 20px;
        line-height: 23px;
    }

    /* CATEGORIAS */
    .container-apoyanos {
        padding: 0 30px;
        gap: 40px;
        margin: 30px auto 110px auto;
    }

    .title-category h2 {
        font-size: 24px;
        line-height: 28px;
        text-align: left;
    }

    .p-cards-categories {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 0px;
    }

    .card-item-category {
        border-radius: 14px;
        min-height: 60px;
    }

    .card-part2-category {
        padding: 10px;
    }

    .card-title-category {
        font-size: 18px;
        line-height: 22px;
    }

    .card-description-category {
        font-size: 13px;
        line-height: 16px;
        min-height: 32px;
    }

    /* SOMOS STARTFUND */
    .somos-startfund {
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
        background: linear-gradient(89.88deg, #96B675 -13.32%, #8189D8 114.76%);
        height: 700px;
        justify-content: center;
        align-items: center;
        position: relative;
        gap: 30px;
    }

    .icono-somos-startfund {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }

    .icono-somos-startfund img {
        width: 100%;
        aspect-ratio: 16/9;
        object-fit: contain;
    }

    .right-wrap {
        display: flex;
        width: 80%;
        justify-content: center;
        padding-left: 0;
    }

    .right-content {
        display: flex;
        box-sizing: border-box;
        flex-direction: column;
        align-items: start;
        width: 100%;
        gap: 20px;
        text-align: start;
    }

    .lc-title {
        font-size: 25px;
        line-height: 32px;
        text-align: start;
    }

    .lc-description {
        font-size: 18px;
        line-height: 20px;
    }
}