/* ==========================================================================
   DHEMA BUILDER: Frontend Styles (Isolated)
   ========================================================================== */

/* Utilidades Base del Constructor */
.db-content-wrap {
    width: 100%;
    overflow: hidden;
}

.db-container {
    padding-left: 4%;
    padding-right: 4%;
    margin: 0 auto;
}

.db-section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 600;
    letter-spacing: -1.5px;
    margin: 0;
}

/* ==========================================================================
   1. HERO
   ========================================================================== */
.db-hero {
    position: relative;
    width: 100%;
    min-height: 80vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding-bottom: 6rem;
}

.db-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.db-hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    width: 100%;
}

.db-hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -1px;
    max-width: 800px;
    margin: 0;
}

.db-hero-desc {
    font-size: 1.2rem;
    margin-top: 1rem;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   2. PROYECTOS
   ========================================================================== */
.db-projects-section {
    padding: 8rem 0;
    background-color: #ffffff;
}

.db-projects-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 5rem;
    gap: 4rem;
}

.db-projects-header .db-section-title {
    flex-shrink: 0;
}

.db-projects-desc {
    max-width: 600px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.db-projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem 2rem;
}

.db-project-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.db-project-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #f0f0f0;
}

.db-project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.db-project-card:hover .db-project-thumb img {
    transform: scale(1.04);
}

.db-thumb-placeholder {
    width: 100%;
    height: 100%;
    background-color: #e0e0e0;
}

.db-project-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.db-project-title {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.3px;
    margin: 0;
}

.db-project-title a {
    text-decoration: none;
    color: #111111;
}

.db-project-terms {
    font-size: 0.85rem;
    color: #666666;
    font-weight: 400;
}

/* ==========================================================================
   3. SERVICIOS (Acordeón y Versión 2)
   ========================================================================== */
.db-services {
    padding: 6rem 0;
    background: #ffffff;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.db-services-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

.db-service-item {
    border-bottom: 1px solid #eaeaea;
}

.db-service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
}

.db-service-name {
    font-size: 1.25rem;
    font-weight: 500;
    margin: 0;
}

.db-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.db-service-item.active .db-icon {
    transform: rotate(45deg);
}

.db-service-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
}

.db-service-item.active .db-service-content {
    max-height: 500px;
    opacity: 1;
    padding-bottom: 1.5rem;
}

.db-service-content a {
    position: relative;
    z-index: 5;
    pointer-events: auto;
}

.db-btn-small {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: 1px solid #111111;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 2rem;
    text-decoration: none;
    color: #111111;
    transition: all 0.3s ease;
}

.db-btn-small:hover {
    background: #111111;
    color: #ffffff;
}

/* ESTILOS DE SERVICIOS VERSIÓN 2 (Cajas Flotantes) */
.prb-services-v2-section {
    position: relative;
    z-index: 10;
    margin-top: -80px;
    padding-bottom: 6rem;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Forzamos a que use la misma estructura y márgenes laterales del .db-container global */
.prb-services-v2-section .db-container {
    width: 100%;
    max-width: 1400px; /* O el ancho máximo que usen tus contenedores principales */
    padding-left: 4%;
    padding-right: 4%;
    box-sizing: border-box;
    margin: 0 auto;
}

.prb-services-v2-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    box-sizing: border-box;
    width: 100%;
}

.prb-service-v2-card {
    background: #ffffff;
    padding: 3rem 2.5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: transform 0.3s ease;
    box-sizing: border-box;
    min-width: 0; /* Evita que los elementos hijos con texto largo expandan la grid de forma forzosa */
}

.prb-service-v2-card:hover {
    transform: translateY(-5px);
}

.prb-service-v2-icon {
    margin-bottom: 0.5rem;
}

.prb-service-v2-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
}

.prb-service-v2-sub {
    font-size: 0.8rem;
    color: #888888;
    display: block;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.prb-service-v2-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111111;
    margin: 0 0 1rem 0;
    letter-spacing: -0.3px;
    word-break: break-word; /* Asegura que palabras largas no rompan el layout horizontal */
}

.prb-service-v2-desc {
    font-size: 0.95rem;
    color: #666666;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
    word-break: break-word;
}

.prb-service-v2-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: #111111;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
    margin-top: auto;
}

.prb-service-v2-link:hover {
    color: #c5a880;
}

@media (max-width: 992px) {
    .prb-services-v2-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .prb-services-v2-section {
        margin-top: -40px;
    }
}

@media (max-width: 768px) {
    .prb-services-v2-grid {
        grid-template-columns: 1fr;
    }
    .prb-services-v2-section {
        margin-top: 0;
        padding: 4rem 0;
    }
}

/* ==========================================================================
   4. TESTIMONIOS
   ========================================================================== */
.db-testimonials {
    padding: 8rem 0;
    background: #f7f7f7;
    text-align: center;
}

.db-test-item {
    max-width: 900px;
    margin: 0 auto;
    display: none;
}

.db-test-item.active {
    display: block;
    animation: fadeIn 0.8s ease;
}

.db-test-quote {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    line-height: 1.3;
    font-weight: 500;
    margin-bottom: 2rem;
}

.db-test-author {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888888;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ==========================================================================
   5. ABOUT / MÉTRICAS (Estructura Overlap)
   ========================================================================== */
.db-about {
    position: relative;
    min-height: 600px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background: #ffffff;
    padding: 4rem 0;
}

.db-about-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 65%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.db-about-card {
    position: relative;
    z-index: 2;
    background: #ffffff;
    padding: 3rem;
    width: 50%;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    margin-right: 4%;
}

.db-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.db-stat-item {
    border-top: 1px solid #eeeeee;
    padding-top: 1.5rem;
}

.db-stat-num {
    font-size: 1.8rem;
    font-weight: 700;
    display: block;
}

.db-stat-label {
    font-size: 0.85rem;
    color: #888888;
}

/* ==========================================================================
   6. CTA
   ========================================================================== */
.db-cta {
    padding: 6rem 0;
    text-align: center;
    background: #f7f7f7;
}

.db-cta-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
}

.db-cta-sub {
    font-size: 1.2rem;
    color: #666666;
    margin-bottom: 2.5rem;
}

.db-btn-outline {
    display: inline-block;
    padding: 1.2rem 3.5rem;
    border: 2px solid #111111;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    color: #111111;
    transition: all 0.3s ease;
}

.db-btn-outline:hover {
    background: #111111;
    color: #ffffff;
}

/* ==========================================================================
   MEDIA QUERIES (Ajuste exacto al diseño original)
   ========================================================================== */
@media (max-width: 992px) {
    /* Proyectos */
    .db-projects-header {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 3rem;
    }

    /* Servicios */
    .db-services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* About / Métricas - Efecto Overlap en Móvil */
    .db-about {
        padding: 4rem 1rem;
        justify-content: center;
    }

    .db-about-img {
        width: 100%;
        height: 100%;
    }

    .db-about-card {
        width: 92%;
        margin: 0 auto;
        padding: 2.5rem 1.5rem;
        border-radius: 4px;
    }
}

@media (max-width: 768px) {
    /* Reducción global de paddings */
    .db-projects-section,
    .db-testimonials,
    .db-services,
    .db-cta {
        padding: 4rem 0;
    }

    /* Hero */
    .db-hero {
        padding-bottom: 3rem;
        min-height: 70vh;
    }

    .db-hero-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    /* Proyectos Grid Móvil */
    .db-projects-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* Testimonios */
    .db-test-quote {
        font-size: clamp(1.2rem, 5vw, 1.8rem);
    }

    /* Quiénes somos (Métricas en columna única) */
    .db-stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .db-stat-item {
        border: 1px solid #eaeaea;
        border-radius: 6px;
        padding: 1.2rem;
        text-align: center;
        border-top: 1px solid #eaeaea;
    }

    .db-stat-num {
        font-size: 1.5rem;
    }

    /* CTA */
    .db-cta-title {
        font-size: 1.8rem;
    }
}

/* ==========================================================================
   7. CONTACTO (FORMULARIO Y TEXTOS)
   ========================================================================== */
.db-contact-hero {
    background-color: #0D1B2A; /* Azul marino profundo */
    color: #ffffff;
    padding: 2rem 0;
    width: 100%;
}

.db-contact-grid {
    max-width: 1200px;
    width: 90%; 
    margin: 0 auto;
    display: grid;
    grid-template-columns: 4fr 5fr;
    gap: 8rem;
    align-items: start;
}

.db-contact-massive-title {
    font-size: clamp(3.5rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #ffffff;
    letter-spacing: -2px;
}

.db-contact-desc {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 3rem;
}

/* Nueva Info de Contacto y Redes */
.db-contact-direct-info,
.db-contact-social {
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.db-social-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.5px;
}

.db-social-links {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.db-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease, transform 0.3s ease;
    width: fit-content;
}

.db-contact-item svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.db-contact-item:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.db-contact-item:hover svg {
    transform: scale(1.1);
}

/* Nota: Los estilos del formulario los hereda automáticamente 
   el shortcode [dhema_form] en su "Modo Oscuro" */

/* ==========================================================================
   8. CONTACTO (BANNER PROYECTOS)
   ========================================================================== */
.db-contact-banner {
    position: relative;
    padding: 8rem 0;
    text-align: center;
    background-color: #000b29;
    width: 100%;
}

.db-banner-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; 
    background-position: center;
    z-index: 1;
}

.db-banner-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 11, 41, 0.7); 
    z-index: 2;
}

.db-banner-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    width: 90%; 
    margin: 0 auto;
}

.db-banner-content h2 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    color: #ffffff;
    margin-bottom: 2.5rem;
    letter-spacing: -1px;
}

.db-btn-outline-white {
    display: inline-block;
    padding: 1rem 3rem;
    border: 1px solid #ffffff;
    border-radius: 30px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.db-btn-outline-white:hover {
    background: #ffffff;
    color: #000b29;
}

/* ==========================================================================
   MEDIA QUERIES PARA LOS NUEVOS BLOQUES DE CONTACTO
   ========================================================================== */
@media (max-width: 992px) {
    .db-contact-grid { gap: 4rem; }
}

@media (max-width: 768px) {
    .db-contact-grid { 
        grid-template-columns: 1fr; 
        gap: 3rem; 
    }
    /* Aumentamos el padding superior para librar el menú fijo, conservando el inferior ajustado */
    .db-contact-hero { padding: calc(var(--header-height, 0px) + 2rem) 0 4rem 0; }
    .db-contact-banner { padding: 5rem 0; }
}

/* ==========================================================================
   HERO VERSIÓN 2 (Ajuste de Altura y Estilo de Botón)
   ========================================================================== */
.prb-hero-v2 {
    position: relative;
    width: 100%;
    min-height: 60vh; /* Altura más compacta y controlada según la referencia */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem 0;
}

.prb-hero-v2-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 11, 41, 0.65);
    z-index: 1;
}

.prb-hero-v2-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.prb-hero-v2-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -1px;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
}

.prb-hero-v2-desc {
    font-size: clamp(0.95rem, 1.2vw, 1.15rem);
    margin: 0 auto 2rem auto;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

/* Estilo exacto del botón con bordes redondeados y tipografía limpia */
.prb-hero-v2-btn-wrap {
    margin-top: 0.5rem;
}

.prb-hero-v2-btn-wrap a.prb-btn-outline-white {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 30px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.prb-hero-v2-btn-wrap a.prb-btn-outline-white:hover {
    background: #ffffff;
    color: #000b29;
    border-color: #ffffff;
}

/* ==========================================================================
   TESTIMONIOS VERSIÓN 2 (Carrusel con superposición de marca)
   ========================================================================== */
.prb-testimonials-v2-section {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    padding: 7rem 0;
    box-sizing: border-box;
    overflow: hidden;
}

/* Superposición con color corporativo de la marca */
.prb-testimonials-v2-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 11, 41, 0.85); /* Color de marca institucional */
    z-index: 1;
}

.prb-testimonials-v2-container {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.prb-testimonials-v2-sub {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-bottom: 0.5rem;
}

.prb-testimonials-v2-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 1rem 0;
    letter-spacing: -0.5px;
}

.prb-testimonials-v2-line {
    width: 60px;
    height: 3px;
    background-color: #ffffff;
    margin: 0 auto 3rem auto;
    border-radius: 2px;
}

.prb-testimonials-v2-slider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prb-testimonials-v2-track-wrap {
    width: 100%;
    overflow: hidden;
}

.prb-testimonial-v2-slide {
    display: none;
    flex-direction: column;
    align-items: center;
    animation: prbFadeIn 0.5s ease-in-out;
}

.prb-testimonial-v2-slide.is-active {
    display: flex;
}

.prb-t-quote {
    font-size: clamp(1.25rem, 2.5vw, 1.6rem);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    margin: 0 0 2rem 0;
    font-weight: 400;
}

.prb-t-author-name {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 0.25rem 0;
    color: #ffffff;
}

.prb-t-author-role {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Flechas laterales de navegación */
.prb-t-arrow {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 2.5rem;
    cursor: pointer;
    padding: 0 1.5rem;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 10;
    opacity: 0.7;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.prb-t-arrow:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.prb-t-prev {
    left: -20px;
}

.prb-t-next {
    right: -20px;
}

@keyframes prbFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .db-contact-grid { 
        grid-template-columns: 1fr; 
        gap: 3rem; 
    }
    /* Aumentamos el padding superior para librar el menú fijo, conservando el inferior ajustado */
    .db-contact-hero { padding: calc(var(--header-height, 0px) + 2rem) 0 4rem 0; }
    .db-contact-banner { padding: 5rem 0; }
}

@media (max-width: 768px) {
    .prb-t-arrow {
        font-size: 2rem;
        padding: 0 0.5rem;
    }
    .prb-t-prev { left: -10px; }
    .prb-t-next { right: -10px; }
}

/* ==========================================================================
   SECCIÓN: NUESTROS CURSOS (Corregido desbordamiento)
   ========================================================================== */
.prb-courses-section {
    padding: 6rem 0;
    background-color: #ffffff;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow: hidden; /* Evita cualquier fuga horizontal */
}

.prb-courses-section .db-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    box-sizing: border-box;
}

.prb-courses-header {
    text-align: center;
    margin-bottom: 4rem;
}

.prb-courses-sub {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888888;
    display: block;
    margin-bottom: 0.5rem;
}

.prb-courses-main-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: #111111;
    margin: 0 0 1rem 0;
    letter-spacing: -0.5px;
}

.prb-courses-line {
    width: 60px;
    height: 3px;
    background-color: #000b29;
    margin: 0 auto;
    border-radius: 2px;
}

.prb-courses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

.prb-course-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    box-sizing: border-box;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
}

.prb-course-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: opacity 0.4s ease;
}

.prb-course-card.theme-blue .prb-course-overlay {
    background: rgba(0, 11, 41, 0.82); 
}

.prb-course-card.theme-gold .prb-course-overlay {
    background: rgba(197, 168, 128, 0.88); 
}

.prb-course-content {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    color: #ffffff;
    box-sizing: border-box;
}

.prb-course-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.prb-course-arrow-icon {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.prb-course-arrow-icon svg {
    stroke: #ffffff;
    width: 20px;
    height: 20px;
}

.prb-course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.prb-course-card:hover .prb-course-arrow-icon {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.3);
}

/* Ajustes Responsivos */
@media (max-width: 1200px) {
    .prb-courses-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .prb-courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .prb-courses-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   SECCIÓN: ÚLTIMAS NOTICIAS / BLOG GRID
   ========================================================================== */
.prb-news-section {
    padding: 3rem 0;
    background-color: #ffffff;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow: hidden;
}

.prb-news-section .db-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    box-sizing: border-box;
}

.prb-news-header {
    margin-bottom: 3.5rem;
}

.prb-news-sub {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #444444;
    display: block;
    margin-bottom: 0.5rem;
}

.prb-news-main-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 700;
    color: #111111;
    margin: 0 0 1rem 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.prb-news-line {
    width: 60px;
    height: 3px;
    background-color: #28a745; /* Línea de acento verde a juego con la referencia */
    border-radius: 2px;
}

.prb-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
    box-sizing: border-box;
}

.prb-news-card {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.prb-news-img-wrap {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    margin-bottom: 1.25rem;
    transition: opacity 0.3s ease;
}

.prb-news-img-wrap:hover {
    opacity: 0.9;
}

.prb-news-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #777777;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.prb-news-meta svg {
    display: inline-block;
    vertical-align: middle;
    margin-right: 2px;
    stroke: #888888;
}

.prb-news-sep {
    color: #cccccc;
}

.prb-news-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 0.75rem 0;
}

.prb-news-title a {
    color: #111111;
    text-decoration: none;
    transition: color 0.2s ease;
}

.prb-news-title a:hover {
    color: #000b29;
}

.prb-news-excerpt {
    font-size: 0.95rem;
    color: #666666;
    line-height: 1.6;
    margin: 0 0 1.25rem 0;
}

.prb-news-readmore {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #111111;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease, gap 0.2s ease;
}

.prb-news-readmore span {
    font-size: 1.1rem;
    line-height: 1;
}

.prb-news-readmore:hover {
    color: #000b29;
    gap: 10px;
}

/* Responsivo para tablets y móviles */
@media (max-width: 992px) {
    .prb-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .prb-news-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   SECCIÓN: PREGUNTAS FRECUENTES (FAQ Acordeón - Corregido Total)
   ========================================================================== */
.prb-faq-section {
    padding: 6rem 0;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.prb-faq-section .db-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    box-sizing: border-box;
}

.prb-faq-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.prb-faq-sub {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.5rem;
}

.prb-faq-main-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 700;
    margin: 0 0 1rem 0;
    letter-spacing: -0.5px;
}

.prb-faq-line {
    width: 60px;
    height: 3px;
    margin: 0 auto;
    border-radius: 2px;
}

/* Control dinámico de colores limpios (Sin bordes blancos extraños) */
.prb-faq-section.prb-faq-light .prb-faq-sub { color: #666666; }
.prb-faq-section.prb-faq-light .prb-faq-main-title { color: #111111; }
.prb-faq-section.prb-faq-light .prb-faq-line { background-color: #000b29; }
.prb-faq-section.prb-faq-light .prb-faq-item { background-color: #ffffff; border-color: #e0e0e0; }
.prb-faq-section.prb-faq-light .prb-faq-question { color: #111111; }
.prb-faq-section.prb-faq-light .prb-faq-icon { color: #555555; }
.prb-faq-section.prb-faq-light .prb-faq-answer { background-color: #fafafa; border-top-color: #e0e0e0; }
.prb-faq-section.prb-faq-light .prb-faq-answer-inner p { color: #555555; }

.prb-faq-section.prb-faq-dark .prb-faq-sub { color: #a0aec0; }
.prb-faq-section.prb-faq-dark .prb-faq-main-title { color: #ffffff; }
.prb-faq-section.prb-faq-dark .prb-faq-line { background-color: #ffffff; }
.prb-faq-section.prb-faq-dark .prb-faq-item { background-color: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.15); }
.prb-faq-section.prb-faq-dark .prb-faq-question { color: #ffffff; }
.prb-faq-section.prb-faq-dark .prb-faq-icon { color: #cbd5e0; }
.prb-faq-section.prb-faq-dark .prb-faq-answer { background-color: rgba(0, 0, 0, 0.25); border-top-color: rgba(255, 255, 255, 0.1); }
.prb-faq-section.prb-faq-dark .prb-faq-answer-inner p { color: #e2e8f0; }

.prb-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.prb-faq-item {
    border: 1px solid;
    border-radius: 6px;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.prb-faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.prb-faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.25rem 1.5rem;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    box-sizing: border-box;
    gap: 1rem; /* Evita que el texto y el icono colisionen */
}

.prb-faq-q-text {
    flex: 1;
    overflow-wrap: break-word;
    word-break: break-word;
}

.prb-faq-icon {
    font-size: 1.5rem;
    font-weight: 400;
    flex-shrink: 0;
    transition: transform 0.3s ease, color 0.3s ease;
    line-height: 1;
}

.prb-faq-answer {
    display: none; /* Oculto por defecto de forma segura */
    border-top: 0px solid transparent;
    box-sizing: border-box;
    width: 100%;
}

.prb-faq-answer-inner {
    padding: 1.25rem 1.5rem;
    box-sizing: border-box;
    width: 100%;
}

.prb-faq-answer-inner p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Estados Activos del Acordeón (Controlados por clase limpia) */
.prb-faq-item.is-open {
    border-color: currentColor;
}

.prb-faq-item.is-open .prb-faq-icon {
    transform: rotate(45deg);
}

.prb-faq-item.is-open .prb-faq-answer {
    display: block; /* Muestra el contenido instantáneamente sin bloqueos de JS */
    border-top-width: 1px;
}

/* ==========================================================================
   Contacto V2 - Tarjetas + Formulario Minimalista Integrado
   ========================================================================== */

.prb-contact-v2-section {
    padding: 60px 20px;
    background-color: transparent;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.prb-contact-v2-container {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 40px;
    align-items: start;
}

/* Columna Izquierda */
.prb-contact-v2-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.prb-c2-card {
    background-color: #f3f4f6;
    border-radius: 24px;
    padding: 30px;
}

.prb-c2-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 20px 0;
}

.prb-c2-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.prb-c2-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #111827;
}

.prb-c2-icon {
    fill: #111827;
    flex-shrink: 0;
}

.prb-c2-link {
    color: #111827;
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.prb-c2-link:hover {
    opacity: 0.7;
}

/* Botones Inferiores Izquierda */
.prb-c2-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 5px;
}

.prb-c2-btn {
    background-color: #f3f4f6;
    color: #111827;
    text-align: center;
    padding: 14px 20px;
    border-radius: 50px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.prb-c2-btn:hover {
    background-color: #e5e7eb;
}

/* Columna Derecha - Contenedor sin fondo */
.prb-contact-v2-right {
    width: 100%;
}

.prb-c2-form-wrapper {
    background: transparent;
    padding: 10px 0;
}

.prb-c2-placeholder {
    color: #6b7280;
    text-align: center;
    padding: 40px 0;
}

/* Formulario: Líneas inferiores e integración limpia */
.prb-c2-form-wrapper form p,
.prb-c2-form-wrapper .wpcf7-form-control-wrap {
    margin-bottom: 24px;
    display: block;
}

.prb-c2-form-wrapper label {
    display: block;
    color: #111827;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.prb-c2-form-wrapper input[type="text"],
.prb-c2-form-wrapper input[type="email"],
.prb-c2-form-wrapper input[type="tel"],
.prb-c2-form-wrapper textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #d1d5db;
    color: #111827;
    padding: 10px 0;
    font-size: 1rem;
    border-radius: 0;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.prb-c2-form-wrapper input[type="text"]:focus,
.prb-c2-form-wrapper input[type="email"]:focus,
.prb-c2-form-wrapper input[type="tel"]:focus,
.prb-c2-form-wrapper textarea:focus {
    border-bottom-color: #111827;
}

.prb-c2-form-wrapper textarea {
    resize: vertical;
    min-height: 100px;
}

/* Botón de Envío Gradiente */
.prb-c2-form-wrapper input[type="submit"],
.prb-c2-form-wrapper button[type="submit"] {
    width: 100%;
    background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 16px 30px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 15px;
    transition: opacity 0.2s ease, transform 0.1s ease;
}

.prb-c2-form-wrapper input[type="submit"]:hover,
.prb-c2-form-wrapper button[type="submit"]:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

@media (max-width: 992px) {
    .prb-contact-v2-container {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   SECCIÓN: NOSOTROS / PERFIL
   ========================================================================== */
.prb-about-section {
    padding: 80px 0;
    background-color: #ffffff;
    width: 100%;
    box-sizing: border-box;
}

.prb-about-section .db-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.prb-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Orientación: Texto a la Izquierda / Imagen a la Derecha */
.prb-about-text-left .prb-about-grid {
    grid-template-columns: 1fr 1fr;
}
.prb-about-text-left .prb-about-image-col {
    order: 2;
}
.prb-about-text-left .prb-about-content-col {
    order: 1;
}

/* Estilo de la Imagen con esquinas redondeadas suaves */
.prb-about-image-col img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    display: block;
}

/* Tipografía del Título: Playfair Display */
.prb-about-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.2;
    color: #111111;
    margin-bottom: 24px;
    font-weight: 700;
}

/* Tipografía de los Textos y Listas: Lato */
.prb-about-text {
    font-family: 'Lato', sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: #444444;
}

.prb-about-text p {
    margin-bottom: 16px;
}

/* Estilos personalizados para listas o viñetas con iconos check */
.prb-about-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.prb-about-text ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 14px;
}

.prb-about-text ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #111111;
    font-weight: bold;
    font-size: 18px;
}

/* Reducir el padding general de las secciones en mobile */
@media (max-width: 992px) {
    .prb-about-section {
        padding: 20px 0; /* Bajamos el padding de 80px a 40px para acercar las secciones */
    }

    .prb-about-grid {
        grid-template-columns: 1fr;
        gap: 20px; /* Reducimos el espacio entre la imagen y el texto interno */
        display: flex;
        flex-direction: column;
    }

    /* Orden vertical por defecto: Texto arriba, Imagen abajo */
    .prb-about-image-col {
        order: 2;
        margin-top: 10px; /* Evita que la imagen deje un espacio fantasma abajo */
    }
    .prb-about-content-col {
        order: 1;
    }

    /* Si se usa la variante invertida (text_left): Imagen arriba, Texto abajo */
    .prb-about-text-left .prb-about-image-col {
        order: 1;
        margin-top: 0;
        margin-bottom: 10px;
    }
    .prb-about-text-left .prb-about-content-col {
        order: 2;
    }

    .prb-about-title {
        font-size: 2rem;
        margin-bottom: 16px;
    }
}

/* ==========================================================================
   ESTILOS DEL BOTÓN EN SECCIÓN NOSOTROS / PERFIL
   ========================================================================== */
.prb-about-action {
    margin-top: 24px;
}

.prb-about-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background-color: #d79e20; /* Naranja vibrante de referencia */
    color: #000000; /* Texto en negro fuerte */
    padding: 14px 24px;
    border-radius: 4px;
    font-family: 'Lato', sans-serif;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.25s ease, transform 0.2s ease;
    box-sizing: border-box;
}

.prb-about-btn:hover {
    background-color: #e03d00;
    transform: translateY(-2px);
}

.prb-about-btn .btn-text {
    line-height: 1;
}

.prb-about-btn .btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.prb-about-btn .btn-icon svg {
    stroke: #000000;
}

/* ==========================================================================
   SECCIÓN: BANNER CON FONDO Y TEXTOS SUPUESTOS (HERO BANNER)
   ========================================================================== */
.prb-hero-banner {
    position: relative;
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #111111;
    color: #ffffff;
    overflow: hidden;
}

/* Capa oscura semitransparente para legibilidad del texto sobre la imagen */
.prb-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.45) 60%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.prb-hero-banner .db-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.prb-banner-content {
    max-width: 700px;
}

/* Subtítulos */
.prb-banner-sub {
    font-family: 'Lato', sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    line-height: 1.4;
    display: block;
    color: #f1f1f1;
}

.prb-banner-sub.top {
    margin-bottom: 12px;
}

.prb-banner-sub.bottom {
    margin-top: 12px;
    margin-bottom: 30px;
}

/* Título principal grande */
.prb-banner-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

/* Botón interactivo */
.prb-banner-action {
    margin-top: 10px;
}

.prb-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 12px 28px;
    border-radius: 4px;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.prb-banner-btn:hover {
    background: #ffffff;
    color: #111111;
    border-color: #ffffff;
}

.prb-banner-btn .arrow {
    font-weight: bold;
    font-size: 18px;
}

/* Adaptación Responsive para Móviles */
@media (max-width: 992px) {
    .prb-hero-banner {
        padding: 60px 0;
    }
    
    .prb-banner-overlay {
        background: rgba(0, 0, 0, 0.65); /* Capa más uniforme en mobile */
    }

    .prb-banner-content {
        max-width: 100%;
        text-align: left;
    }

    .prb-banner-title {
        font-size: 2.3rem;
    }
}

/* ==========================================================================
   BLOQUE: ESPACIADOR RESPONSIVO
   ========================================================================== */
.prb-spacer {
    width: 100%;
    height: var(--spacer-desktop, 40px);
    background-color: transparent;
    pointer-events: none;
}

@media (max-width: 992px) {
    .prb-spacer {
        height: var(--spacer-mobile, 20px);
    }
}

/* ==========================================================================
   SECCIÓN: TARJETA CON CAPAS Y FRANJA OSCURA ENCAJADA (CARD FEATURE - FINAL)
   ========================================================================== */
.prb-card-section {
    padding: 30px 0;
    background-color: #ffffff;
    width: 100%;
    box-sizing: border-box;
}

.prb-card-section .db-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Contenedor principal gris con el desborde superior izquierdo */
.prb-card-wrapper {
    background-color: #eaece5;
    border-radius: 24px;
    padding: 80px 60px 60px 60px;
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
}

/* Inversión de columnas si se selecciona text_left */
.prb-card-text-left .prb-card-image-col {
    order: 2;
}
.prb-card-text-left .prb-card-content-col {
    order: 1;
}

/* Columna de imagen que sobresale por encima del contenedor gris */
.prb-card-img-container {
    position: relative;
    width: 100%;
    margin-top: -110px;
    margin-bottom: 0;
    overflow: hidden; /* Mantiene la franja perfectamente contenida dentro de los límites de la imagen */
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.prb-card-img-container img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
}

/* Franja oscura translúcida perfectamente encajada abajo sobre la imagen (en desktop y móvil) */
.prb-card-dark-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(38, 42, 48, 0.88);
    backdrop-filter: blur(8px);
    color: #ffffff;
    /* Redondeo elegante: esquina superior derecha pronunciada y las demás adaptadas */
    border-radius: 16px 45px 0 0; 
    padding: 22px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    align-items: center;
    box-shadow: 0 -10px 25px rgba(0,0,0,0.2);
    z-index: 3;
}

.dark-badge-left {
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    line-height: 1.4;
    color: #e0e0e0;
}

.dark-badge-right {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
}

/* Columna de contenidos de texto */
.prb-card-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 1.15;
    color: #111111;
    margin-bottom: 20px;
    font-weight: 700;
}

.prb-card-text {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #444444;
}

.prb-card-text p {
    margin-bottom: 16px;
}

/* Botón corporativo estilo naranja con icono */
.prb-card-action {
    margin-top: 30px;
}

.prb-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background-color: #df9b27;
    color: #000000;
    padding: 14px 24px;
    border-radius: 6px;
    font-family: 'Lato', sans-serif;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.25s ease, transform 0.2s ease;
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(223, 155, 39, 0.3);
}

.prb-card-btn:hover {
    background-color: #c9881d;
    transform: translateY(-2px);
}

.prb-card-btn .btn-text {
    line-height: 1;
}

.prb-card-btn .btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.prb-card-btn .btn-icon svg {
    stroke: #000000;
}

/* Adaptación Responsive para Móviles y Tablets */
@media (max-width: 992px) {
    .prb-card-wrapper {
        grid-template-columns: 1fr;
        /* Quitamos el padding superior e izquierdo/derecho. Solo dejamos abajo (30px) */
        padding: 0 0 30px 0; 
        margin-top: 15px;
        gap: 20px;
        overflow: hidden; /* Esto corta la imagen exactamente con la forma redondeada del contenedor gris */
        border-radius: 24px;
    }

    .prb-card-text-left .prb-card-image-col,
    .prb-card-text-left .prb-card-content-col {
        order: unset;
    }

    /* La imagen ahora se pega arriba del todo */
    .prb-card-img-container {
        margin-top: 0;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        border-radius: 0; /* El recorte superior lo hace el contenedor padre automáticamente */
        box-shadow: none;
    }

    .prb-card-img-container img {
        border-radius: 0;
        width: 100%;
        height: auto;
        display: block;
    }

    /* Padding exclusivo para el contenido de texto para que no toque los bordes laterales */
    .prb-card-content-col {
        padding: 0 20px;
    }

    /* Franja oscura translúcida encajada abajo de la imagen en móvil */
    .prb-card-dark-badge {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        margin-top: 0;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 16px 18px;
        border-radius: 12px 35px 0 0;
    }

    .dark-badge-right {
        font-size: 1.2rem;
    }

    .prb-card-section {
        padding: 30px 0;
    }
}