/* Q&J — Colecciones Gourmet v2
   Sin flip. Overlay semitransparente elegante.
*/

#projects {
    background: #F8F5F0;
    padding: 85px 0 95px;
}

#projects .container {
    max-width: 1240px;
}

/* Encabezado */

#projects .qj-colecciones-header {
    text-align: center;
    margin-bottom: 38px;
}

#projects .section-heading {
    text-align: center;
    margin-bottom: 28px;
}

#projects .section-heading h6 {
    color: #A51F2B;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

#projects .section-heading h2 {
    color: #54262A;
    font-family: Georgia, serif;
    font-size: clamp(30px, 3.5vw, 46px);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 15px;
}

#projects .section-heading p {
    color: #76665D;
    font-size: 15px;
    line-height: 1.7;
    max-width: 650px;
    margin: 0 auto;
}

/* Filtros */

#projects .filters {
    width: 100%;
    text-align: center;
    margin-bottom: 18px;
}

#projects .filters ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#projects .filters ul li {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    margin: 0;
    background: #FFFFFF;
    border: 1px solid #E7DCD2;
    border-radius: 30px;
    color: #54262A;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s ease;
}

#projects .filters ul li:hover,
#projects .filters ul li.active {
    background: #A51F2B;
    border-color: #A51F2B;
    color: #FFFFFF;
}

/* Grid */

#projects .qj-colecciones-grid {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
}

#projects .filters-content .grid {
    display: flex;
    flex-wrap: wrap;
}

#projects .filters-content .grid > [class*="col-"] {
    margin-bottom: 26px;
}

/* Tarjetas */

#projects .flip-card {
    position: relative;
    width: 100%;
    height: 345px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(54, 31, 24, .09);
    transition: transform .3s ease, box-shadow .3s ease;
    background: #ddd;
}

#projects .flip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(54, 31, 24, .16);
}

#projects .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    overflow: hidden;
}

#projects .flip-card-front,
#projects .flip-card-back {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
}

#projects .flip-card-front {
    z-index: 1;
}

#projects .flip-card-front img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay */

#projects .flip-card-back {
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    text-align: left;
    padding: 24px;
    background:
        linear-gradient(
            to top,
            rgba(82, 38, 42, 0.88) 0%,
            rgba(120, 43, 59, 0.68) 35%,
            rgba(120, 43, 59, 0.20) 68%,
            rgba(120, 43, 59, 0.02) 100%
        );
    color: #FFFFFF;
    opacity: 0;
    transition: opacity .28s ease;
}

#projects .flip-card:hover .flip-card-back {
    opacity: 1;
}

#projects .flip-card-back h3 {
    color: #FFFFFF;
    font-family: Georgia, serif;
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 8px;
}

#projects .flip-card-back p {
    color: #F8EDE6;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 14px;
    max-width: 90%;
}

#projects .flip-card-back .flip-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    background: #F5C77C;
    color: #54262A;
    border-radius: 999px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: all .22s ease;
}

#projects .flip-card-back .flip-btn:hover {
    background: #FFFFFF;
    color: #782B3B;
}

/* Tablet */

@media (max-width: 991px) {
    #projects {
        padding: 65px 0;
    }

    #projects .flip-card {
        height: 300px;
    }
}

/* Móvil */

@media (max-width: 767px) {
    #projects {
        padding: 55px 0 65px;
    }

    #projects .section-heading h2 {
        font-size: 32px;
    }

    #projects .section-heading p {
        padding: 0 12px;
        font-size: 14px;
    }

    #projects .filters ul {
        gap: 8px;
    }

    #projects .filters ul li {
        padding: 9px 13px;
        font-size: 12px;
    }

    #projects .filters-content .grid > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }

    #projects .flip-card {
        height: 340px;
        max-width: 430px;
        margin: 0 auto;
    }

    /* En móvil dejamos el overlay visible siempre */
    #projects .flip-card-back {
        opacity: 1;
        padding: 20px;
        background:
            linear-gradient(
                to top,
                rgba(82, 38, 42, 0.92) 0%,
                rgba(120, 43, 59, 0.72) 45%,
                rgba(120, 43, 59, 0.15) 100%
            );
    }

    #projects .flip-card-back h3 {
        font-size: 22px;
    }

    #projects .flip-card-back p {
        font-size: 13px;
        margin-bottom: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #projects .flip-card,
    #projects .flip-card-back,
    #projects .filters ul li,
    #projects .flip-btn {
        transition: none;
    }
}

/* ============================================
   Q&J COLECCIONES GOURMET V3
   Corrección definitiva del flip y filtros
   ============================================ */

/* 1. Filtros: texto siempre legible */

#projects .filters ul li {
    color: #54262A !important;
    background-color: #FFFFFF !important;
    border: 1px solid #E7DCD2 !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

#projects .filters ul li.active,
#projects .filters ul li:hover,
#projects .filters ul li:focus-visible {
    color: #FFFFFF !important;
    background-color: #A51F2B !important;
    border-color: #A51F2B !important;
}

/* 2. Desactivar por completo el volteo 3D */

#projects .flip-card,
#projects .flip-card-inner,
#projects .flip-card-front,
#projects .flip-card-back,
#projects .flip-card:hover .flip-card-inner,
#projects .flip-card:focus-within .flip-card-inner {
    transform: none !important;
    transform-style: flat !important;
    perspective: none !important;
    backface-visibility: visible !important;
    -webkit-backface-visibility: visible !important;
}

/* 3. Imagen fija */

#projects .flip-card {
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate;
}

#projects .flip-card-inner {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    transition: none !important;
}

#projects .flip-card-front {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 1 !important;
    visibility: visible !important;
}

#projects .flip-card-front img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* 4. Capa semitransparente */

#projects .flip-card-back {
    position: absolute !important;
    inset: 0 !important;
    z-index: 5 !important;

    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: flex-start !important;

    width: 100% !important;
    height: 100% !important;
    padding: 26px !important;

    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;

    background: linear-gradient(
        to top,
        rgba(65, 20, 30, 0.94) 0%,
        rgba(100, 30, 45, 0.72) 45%,
        rgba(100, 30, 45, 0.12) 100%
    ) !important;

    transition:
        opacity .3s ease,
        visibility .3s ease !important;
}

#projects .flip-card:hover .flip-card-back,
#projects .flip-card:focus-within .flip-card-back {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* 5. Textos del overlay */

#projects .flip-card-back h3 {
    color: #FFFFFF !important;
    font-family: Georgia, serif !important;
    font-size: 25px !important;
    margin: 0 0 10px !important;
    text-align: left !important;
}

#projects .flip-card-back p {
    color: #F8EDE6 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin: 0 0 18px !important;
    text-align: left !important;
}

/* 6. Botón Ver más */

#projects .flip-card-back a.flip-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    height: auto !important;

    padding: 12px 25px !important;

    background: #F5C77C !important;
    color: #54262A !important;

    border: 0 !important;
    border-radius: 30px !important;

    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 700 !important;

    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 6 !important;
}

#projects .flip-card-back a.flip-btn:hover {
    background: #FFFFFF !important;
    color: #782B3B !important;
}

/* 7. Móvil: información siempre visible */

@media (max-width: 767px) {

    #projects .flip-card-back {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        padding: 20px !important;
    }

    #projects .flip-card-back h3 {
        font-size: 22px !important;
    }

    #projects .flip-card-back p {
        font-size: 13px !important;
    }
}

/* 8. Accesibilidad: sin animaciones innecesarias */

@media (prefers-reduced-motion: reduce) {
    #projects .flip-card-back {
        transition: none !important;
    }
}


/* ============================================
   Q&J COLECCIONES GOURMET V4
   Compactar espacios verticales
   ============================================ */

/* Menos aire general en la sección */
#projects {
    padding-top: 34px !important;
    padding-bottom: 55px !important;
}

/* Encabezado más compacto */
#projects .qj-colecciones-header {
    margin-bottom: 16px !important;
}

#projects .section-heading {
    margin-bottom: 12px !important;
}

#projects .section-heading h6 {
    margin-bottom: 8px !important;
    line-height: 1.2 !important;
}

#projects .section-heading h2 {
    margin-bottom: 10px !important;
    line-height: 1.08 !important;
}

#projects .section-heading p {
    margin: 0 auto 10px !important;
    line-height: 1.45 !important;
}

/* Filtros más cerca del texto */
#projects .filters {
    margin-top: 4px !important;
    margin-bottom: 8px !important;
}

/* Menos separación entre filtros e imágenes */
#projects .filters-content {
    margin-top: 10px !important;
}

#projects .filters-content .grid {
    margin-top: 0 !important;
}

#projects .filters-content .grid > [class*="col-"] {
    margin-bottom: 18px !important;
}

/* Si el contenedor arrastra márgenes raros */
#projects .container,
#projects .row {
    margin-top: 0 !important;
}

/* Tablet */
@media (max-width: 991px) {
    #projects {
        padding-top: 26px !important;
        padding-bottom: 45px !important;
    }

    #projects .qj-colecciones-header {
        margin-bottom: 14px !important;
    }
}

/* Móvil */
@media (max-width: 767px) {
    #projects {
        padding-top: 22px !important;
        padding-bottom: 38px !important;
    }

    #projects .section-heading h6 {
        margin-bottom: 6px !important;
    }

    #projects .section-heading h2 {
        margin-bottom: 8px !important;
    }

    #projects .section-heading p {
        margin-bottom: 8px !important;
    }

    #projects .filters {
        margin-bottom: 4px !important;
    }
}

/* ==========================================
   Q&J - Compactar beneficios superiores
   ========================================== */

/* Sección inmediatamente anterior a colecciones */

section.section:has(+ #projects) {
    height: auto !important;
    min-height: 0 !important;
    padding-bottom: 25px !important;
    margin-bottom: 0 !important;
}

/* Inicio de las colecciones */

#projects {
    padding-top: 25px !important;
}

/* Móvil */

@media (max-width: 767px) {
    section.section:has(+ #projects) {
        padding-bottom: 18px !important;
    }

    #projects {
        padding-top: 20px !important;
    }
}

/* ==========================================
   Q&J - Beneficios más compactos
   Reduce espacio entre línea dorada y colecciones
   ========================================== */

/* Sección de beneficios inmediatamente antes de #projects */
section.section:has(+ #projects) {
    height: auto !important;
    min-height: 0 !important;
    padding-top: 18px !important;
    padding-bottom: 8px !important;
    margin-bottom: 0 !important;
}

/* Contenedor interno de beneficios */
section.section:has(+ #projects) .container {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

section.section:has(+ #projects) .row {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    align-items: flex-start !important;
}

/* Bloques individuales de beneficios */
section.section:has(+ #projects) .features-item,
section.section:has(+ #projects) .service-item,
section.section:has(+ #projects) .item,
section.section:has(+ #projects) .left-icon,
section.section:has(+ #projects) .right-text {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: 0 !important;
}

/* Títulos y textos del bloque */
section.section:has(+ #projects) h4,
section.section:has(+ #projects) h5,
section.section:has(+ #projects) h6,
section.section:has(+ #projects) p {
    margin-top: 0 !important;
    margin-bottom: 6px !important;
    line-height: 1.35 !important;
}

/* Íconos un poco más compactos */
section.section:has(+ #projects) i,
section.section:has(+ #projects) img,
section.section:has(+ #projects) svg {
    margin-bottom: 6px !important;
}

/* Acercar ligeramente la sección gourmet */
#projects {
    padding-top: 12px !important;
}

/* Móvil */
@media (max-width: 767px) {
    section.section:has(+ #projects) {
        padding-top: 12px !important;
        padding-bottom: 4px !important;
    }

    #projects {
        padding-top: 10px !important;
    }
}

/* ==============================================
   Q&J COLECCIONES GOURMET V7
   Espaciado, tipografía y botones dorados
   ============================================== */

/* SECCIÓN DE BENEFICIOS */

/* Sección directamente anterior a colecciones */
body section.section:has(+ #projects) {
    height: auto !important;
    min-height: 0 !important;
    padding-top: 10px !important;
    padding-bottom: 5px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Evitar alturas artificiales */
body section.section:has(+ #projects) .container,
body section.section:has(+ #projects) .row {
    min-height: 0 !important;
}

/* COLECCIONES */

body #projects {
    padding-top: 8px !important;
    padding-bottom: 45px !important;
    margin-top: 0 !important;
}

/* Encabezado */
body #projects .qj-colecciones-header {
    margin-bottom: 14px !important;
}

body #projects .section-heading {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
}

/* Texto superior */
body #projects .section-heading h6 {
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    line-height: 1.5 !important;
    margin-bottom: 8px !important;
    color: #A51F2B !important;
}

/* Título principal */
body #projects .section-heading h2 {
    font-size: clamp(34px, 3.3vw, 48px) !important;
    line-height: 1.15 !important;
    margin-bottom: 10px !important;
    color: #54262A !important;
}

/* Subtítulo */
body #projects .section-heading p {
    font-size: 17px !important;
    line-height: 1.6 !important;
    font-weight: 400 !important;
    color: #66534D !important;
    margin: 0 auto 12px !important;
    max-width: 800px !important;
}

/* FILTROS */

body #projects .filters {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
}

body #projects .filters ul {
    gap: 10px !important;
}

/* Estado normal: fondo blanco */
body #projects .filters ul li {
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    color: #54262A !important;
    border: 1px solid #E1D5C8 !important;
    border-radius: 30px !important;
    padding: 11px 20px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    opacity: 1 !important;
    text-shadow: none !important;
    transition:
        background-color .25s ease,
        color .25s ease,
        border-color .25s ease !important;
}

/* Hover: dorado y blanco */
body #projects .filters ul li:hover,
body #projects .filters ul li:focus-visible {
    background: #B78D4B !important;
    background-color: #B78D4B !important;
    color: #FFFFFF !important;
    border-color: #B78D4B !important;
}

/* Seleccionado: dorado y blanco */
body #projects .filters ul li.active,
body #projects .filters ul li.active:hover,
body #projects .filters ul li.active:focus-visible {
    background: #B78D4B !important;
    background-color: #B78D4B !important;
    color: #FFFFFF !important;
    border-color: #B78D4B !important;
}

/* Tarjetas más cerca de los filtros */
body #projects .filters-content {
    margin-top: 8px !important;
}

/* MÓVIL */

@media (max-width: 767px) {

    body #projects .section-heading h6 {
        font-size: 12px !important;
        letter-spacing: 1.4px !important;
    }

    body #projects .section-heading h2 {
        font-size: 32px !important;
    }

    body #projects .section-heading p {
        font-size: 15px !important;
        line-height: 1.5 !important;
    }

    body #projects .filters ul li {
        padding: 9px 13px !important;
        font-size: 12px !important;
    }

    body #projects {
        padding-top: 8px !important;
    }
}

/* ==========================================
   Q&J - Separación superior de colecciones
   ========================================== */

body #projects {
    padding-top: 38px !important;
}

@media (max-width: 767px) {
    body #projects {
        padding-top: 25px !important;
    }
}

/* QJ AJUSTE TIPOGRAFIA V9 */

body #projects .section-heading h6 {
    font-size: 17px !important;
    font-weight: 700 !important;
    letter-spacing: 1.8px !important;
    line-height: 1.5 !important;
}

body #projects .section-heading h2 {
    font-size: clamp(36px, 3.5vw, 50px) !important;
    line-height: 1.18 !important;
}

body #projects .section-heading p {
    font-size: 19px !important;
    line-height: 1.55 !important;
    max-width: 850px !important;
    color: #66534D !important;
}

/* Botones dorados con texto blanco */

body #projects .filters ul li.active,
body #projects .filters ul li:hover,
body #projects .filters ul li:focus-visible {
    background: #B78D4B !important;
    background-color: #B78D4B !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    border-color: #B78D4B !important;
}

/* Distribución de tres columnas en escritorio */

@media (min-width: 992px) {
    body #projects .filters-content .grid > .col-lg-4 {
        flex: 0 0 33.333333% !important;
        width: 33.333333% !important;
        max-width: 33.333333% !important;
    }
}

/* Adaptación móvil */

@media (max-width: 767px) {
    body #projects .section-heading h6 {
        font-size: 14px !important;
    }

    body #projects .section-heading h2 {
        font-size: 34px !important;
    }

    body #projects .section-heading p {
        font-size: 16px !important;
    }
}


/* Q&J — Corrección de texto blanco en filtros V10 */

html body #projects .filters ul li.active,
html body #projects .filters ul li.active:hover,
html body #projects .filters ul li:hover,
html body #projects .filters ul li:focus-visible {
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    background-color: #B78D4B !important;
    border-color: #B78D4B !important;
}

html body #projects .filters ul li:not(.active):not(:hover):not(:focus-visible) {
    color: #54262A !important;
    -webkit-text-fill-color: #54262A !important;
    background-color: #FFFFFF !important;
}

/* =================================================
   Q&J - Ajustes de espacio y sección Productos Top
   ================================================= */

/* Reducir espacio inferior de la sección gourmet */
body #projects {
    padding-bottom: 18px !important;
}

body #projects .filters-content {
    margin-bottom: 0 !important;
}

body #projects .filters-content .grid {
    margin-bottom: 0 !important;
}

/* Quitar aire entre colecciones y la siguiente sección */
body #projects + section,
body #testimonials {
    margin-top: 0 !important;
    padding-top: 18px !important;
}

/* Ajuste del encabezado de "Productos Top" */
body #testimonials .section-heading {
    margin-top: 0 !important;
    margin-bottom: 22px !important;
    text-align: center !important;
}

body #testimonials .section-heading h6 {
    font-family: Georgia, serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    color: #A51F2B !important;
    margin-bottom: 14px !important;
    line-height: 1.3 !important;
}

body #testimonials .section-heading h2 {
    font-family: Georgia, serif !important;
    font-size: clamp(38px, 3.4vw, 54px) !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    color: #54262A !important;
    margin-bottom: 10px !important;
    text-align: center !important;
}

/* Compactar la sección siguiente */
body #testimonials {
    padding-bottom: 35px !important;
}

/* Responsive */
@media (max-width: 767px) {
    body #projects {
        padding-bottom: 12px !important;
    }

    body #projects + section,
    body #testimonials {
        padding-top: 14px !important;
    }

    body #testimonials .section-heading h6 {
        font-size: 16px !important;
        letter-spacing: 1.3px !important;
        margin-bottom: 10px !important;
    }

    body #testimonials .section-heading h2 {
        font-size: 32px !important;
        line-height: 1.2 !important;
    }
}

/* ============================================
   Q&J PRODUCTOS TOP V12
   Tarjetas compactas y estética gourmet
   ============================================ */

body #testimonials {
    padding-top: 25px !important;
    padding-bottom: 45px !important;
}

/* Tarjetas */
body #testimonials .owl-carousel .author-item {
    border-radius: 16px;
    overflow: hidden;
    text-align: center;
}

/* Fotografías proporcionadas */
body #testimonials .owl-carousel .member-thumb > img {
    display: block !important;
    width: 100% !important;
    height: 290px !important;
    max-height: 290px !important;
    object-fit: contain !important;
    object-position: center !important;
    margin: 0 auto !important;
}

/* Contenedor de imagen */
body #testimonials .owl-carousel .member-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: #F8F5F0;
}

/* Botones con estética Q&J */
body #testimonials .owl-carousel a.button,
body #testimonials .owl-carousel a.flip-btn,
body #testimonials .owl-carousel a.add_to_cart_button,
body #testimonials .owl-carousel .main-button a,
body #testimonials .owl-carousel a.buy-now {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 40px !important;
    padding: 10px 18px !important;
    border-radius: 30px !important;
    background: #782B3B !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    border: 1px solid #782B3B !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: background-color .2s ease,
                border-color .2s ease !important;
}

body #testimonials .owl-carousel a.button:hover,
body #testimonials .owl-carousel a.flip-btn:hover,
body #testimonials .owl-carousel a.add_to_cart_button:hover,
body #testimonials .owl-carousel .main-button a:hover,
body #testimonials .owl-carousel a.buy-now:hover {
    background: #B78D4B !important;
    border-color: #B78D4B !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

/* Textos de producto */
body #testimonials .owl-carousel .member-info h4,
body #testimonials .owl-carousel .member-info h3 {
    color: #54262A !important;
    font-family: Georgia, serif !important;
    font-size: 19px !important;
    line-height: 1.4 !important;
}

body #testimonials .owl-carousel .member-info span,
body #testimonials .owl-carousel .member-info p {
    color: #76665D !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

/* Tablet */
@media (max-width: 991px) {
    body #testimonials .owl-carousel .member-thumb > img {
        height: 250px !important;
        max-height: 250px !important;
    }
}

/* Móvil */
@media (max-width: 767px) {
    body #testimonials .owl-carousel .member-thumb > img {
        height: 230px !important;
        max-height: 230px !important;
    }
}


/* ==========================================
   Q&J PRODUCTOS TOP V13
   Tarjetas compactas y botones gourmet
   ========================================== */

/* Encabezado */
body #testimonials .section-heading h6 {
    font-family: Georgia, serif !important;
    font-size: 17px !important;
    color: #A51F2B !important;
    letter-spacing: 1.8px !important;
    margin-bottom: 10px !important;
}

body #testimonials .section-heading h2 {
    font-family: Georgia, serif !important;
    font-size: clamp(28px, 3vw, 42px) !important;
    font-weight: 500 !important;
    color: #54262A !important;
    line-height: 1.2 !important;
    max-width: 950px;
    margin: 0 auto 25px !important;
}

/* Tarjetas */
body #testimonials .owl-carousel .author-item {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 16px 16px 22px;
    text-align: center;
    box-shadow: 0 6px 22px rgba(70,35,30,.08);
}

/* Fotografía */
body #testimonials .owl-carousel .member-thumb {
    height: 260px !important;
    position: relative !important;
    background: #F8F5F0 !important;
    border-radius: 12px;
    overflow: hidden;
}

body #testimonials .owl-carousel .member-thumb > img {
    width: 100% !important;
    height: 260px !important;
    max-height: 260px !important;
    object-fit: contain !important;
}

/* Eliminar overlay que cubre las fotografías */
body #testimonials .owl-carousel .hover-effect {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    background: transparent !important;
}

/* Contenedor de botones */
body #testimonials .owl-carousel .hover-content {
    position: static !important;
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100% !important;
    padding: 0 !important;
    transform: none !important;
}

/* Ocultar saltos de línea antiguos */
body #testimonials .owl-carousel .hover-content br {
    display: none !important;
}

/* Botones originales .fcc-btn */
body #testimonials .owl-carousel .hover-content a.fcc-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px;
    min-height: 41px !important;
    padding: 10px 15px !important;
    border-radius: 24px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    transition: background .2s ease !important;
}

/* Comprar ahora */
body #testimonials .owl-carousel .hover-content a.fcc-btn:not(.add_to_cart_button) {
    background: #782B3B !important;
    border: 1px solid #782B3B !important;
}

/* Agregar al carrito */
body #testimonials .owl-carousel .hover-content a.fcc-btn.add_to_cart_button {
    background: #B78D4B !important;
    border: 1px solid #B78D4B !important;
}

/* Hover */
body #testimonials .owl-carousel .hover-content a.fcc-btn:hover {
    background: #54262A !important;
    border-color: #54262A !important;
}

/* Nombre del producto */
body #testimonials .owl-carousel .author-item > h4 {
    font-family: Georgia, serif !important;
    color: #54262A !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    margin: 15px 0 7px !important;
}

/* Descripción */
body #testimonials .owl-carousel .author-item > span {
    display: block !important;
    color: #76665D !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    min-height: 42px;
    opacity: 1 !important;
}

/* Tablet */
@media (max-width: 991px) {
    body #testimonials .owl-carousel .member-thumb,
    body #testimonials .owl-carousel .member-thumb > img {
        height: 230px !important;
        max-height: 230px !important;
    }
}

/* Móvil */
@media (max-width: 767px) {
    body #testimonials .section-heading h2 {
        font-size: 30px !important;
    }

    body #testimonials .owl-carousel .member-thumb,
    body #testimonials .owl-carousel .member-thumb > img {
        height: 220px !important;
        max-height: 220px !important;
    }
}


/* ==========================================
   Q&J PRODUCTOS TOP V14
   Botones sobre imagen con overlay semitransparente
   ========================================== */

body #testimonials {
    padding-top: 25px !important;
    padding-bottom: 45px !important;
}

/* Encabezado */
body #testimonials .section-heading h6 {
    font-family: Georgia, serif !important;
    font-size: 17px !important;
    color: #A51F2B !important;
    letter-spacing: 1.8px !important;
    margin-bottom: 10px !important;
}

body #testimonials .section-heading h2 {
    font-family: Georgia, serif !important;
    font-size: clamp(28px, 3vw, 42px) !important;
    font-weight: 500 !important;
    color: #54262A !important;
    line-height: 1.2 !important;
    max-width: 950px !important;
    margin: 0 auto 25px !important;
}

/* Tarjeta */
body #testimonials .owl-carousel .author-item {
    background: #FFFFFF !important;
    border-radius: 16px !important;
    padding: 16px 16px 22px !important;
    text-align: center !important;
    box-shadow: 0 6px 22px rgba(70,35,30,.08) !important;
}

/* Área de imagen */
body #testimonials .owl-carousel .member-thumb {
    position: relative !important;
    height: 260px !important;
    background: #F8F5F0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

body #testimonials .owl-carousel .member-thumb > img {
    width: 100% !important;
    height: 260px !important;
    max-height: 260px !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
}

/* Overlay semitransparente */
body #testimonials .owl-carousel .hover-effect {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(82, 38, 42, 0.55) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity .25s ease, visibility .25s ease !important;
    z-index: 5 !important;
}

body #testimonials .owl-carousel .author-item:hover .hover-effect,
body #testimonials .owl-carousel .author-item:focus-within .hover-effect {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Contenido del overlay */
body #testimonials .owl-carousel .hover-content {
    position: static !important;
    transform: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    width: auto !important;
    padding: 20px !important;
    z-index: 6 !important;
}

body #testimonials .owl-carousel .hover-content br {
    display: none !important;
}

/* Botones overlay */
body #testimonials .owl-carousel .hover-content a.fcc-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    min-width: 190px !important;
    min-height: 42px !important;
    padding: 10px 18px !important;
    border-radius: 26px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    box-shadow: 0 6px 18px rgba(0,0,0,.18) !important;
    transition: background .2s ease, border-color .2s ease !important;
}

/* Comprar ahora */
body #testimonials .owl-carousel .hover-content a.fcc-btn:not(.add_to_cart_button) {
    background: #782B3B !important;
    border: 1px solid #782B3B !important;
}

/* Agregar al carrito */
body #testimonials .owl-carousel .hover-content a.fcc-btn.add_to_cart_button {
    background: #B78D4B !important;
    border: 1px solid #B78D4B !important;
}

/* Hover de botones */
body #testimonials .owl-carousel .hover-content a.fcc-btn:hover {
    background: #54262A !important;
    border-color: #54262A !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

/* Nombre */
body #testimonials .owl-carousel .author-item > h4 {
    font-family: Georgia, serif !important;
    color: #54262A !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    margin: 15px 0 7px !important;
}

/* Descripción */
body #testimonials .owl-carousel .author-item > span {
    display: block !important;
    color: #76665D !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    min-height: 42px !important;
    opacity: 1 !important;
}

/* Móvil: overlay visible siempre */
@media (max-width: 767px) {
    body #testimonials .section-heading h2 {
        font-size: 30px !important;
    }

    body #testimonials .owl-carousel .member-thumb,
    body #testimonials .owl-carousel .member-thumb > img {
        height: 220px !important;
        max-height: 220px !important;
    }

    body #testimonials .owl-carousel .hover-effect {
        opacity: 1 !important;
        visibility: visible !important;
        background: rgba(82, 38, 42, 0.42) !important;
    }

    body #testimonials .owl-carousel .hover-content a.fcc-btn {
        min-width: 170px !important;
        font-size: 12px !important;
    }
}

/* ============================================
   Q&J PRODUCTOS TOP V15
   Imágenes grandes y botones diferenciados
   ============================================ */

/* Mayor superficie para las fotografías */

body #testimonials .owl-carousel .member-thumb {
    height: 340px !important;
    min-height: 340px !important;
}

body #testimonials .owl-carousel .member-thumb > img {
    height: 340px !important;
    max-height: 340px !important;
    width: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
}

/* Aprovechar mejor el ancho de las tarjetas */

body #testimonials .owl-carousel .author-item {
    padding: 12px 12px 20px !important;
}

body #testimonials .owl-carousel .member-thumb {
    border-radius: 12px !important;
}

/* Película semitransparente */

body #testimonials .owl-carousel .hover-effect {
    background: rgba(82, 38, 42, .48) !important;
}

/* Botón comprar ahora: borgoña */

html body #testimonials .owl-carousel
.hover-content a.fcc-btn:not(.add_to_cart_button) {
    background: #782B3B !important;
    background-color: #782B3B !important;
    border-color: #782B3B !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

/* Hover comprar ahora: borgoña oscuro */

html body #testimonials .owl-carousel
.hover-content a.fcc-btn:not(.add_to_cart_button):hover,
html body #testimonials .owl-carousel
.hover-content a.fcc-btn:not(.add_to_cart_button):focus-visible {
    background: #54262A !important;
    background-color: #54262A !important;
    border-color: #54262A !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

/* Botón agregar al carrito: dorado */

html body #testimonials .owl-carousel
.hover-content a.fcc-btn.add_to_cart_button {
    background: #B78D4B !important;
    background-color: #B78D4B !important;
    border-color: #B78D4B !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

/* Hover agregar al carrito: dorado oscuro */

html body #testimonials .owl-carousel
.hover-content a.fcc-btn.add_to_cart_button:hover,
html body #testimonials .owl-carousel
.hover-content a.fcc-btn.add_to_cart_button:focus-visible {
    background: #947038 !important;
    background-color: #947038 !important;
    border-color: #947038 !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

/* Mantener botones centrados */

body #testimonials .owl-carousel .hover-content {
    gap: 12px !important;
}

/* Tablet */

@media (max-width: 991px) {
    body #testimonials .owl-carousel .member-thumb,
    body #testimonials .owl-carousel .member-thumb > img {
        height: 290px !important;
        min-height: 290px !important;
        max-height: 290px !important;
    }
}

/* Móvil */

@media (max-width: 767px) {
    body #testimonials .owl-carousel .member-thumb,
    body #testimonials .owl-carousel .member-thumb > img {
        height: 280px !important;
        min-height: 280px !important;
        max-height: 280px !important;
    }

    body #testimonials .owl-carousel .hover-effect {
        opacity: 1 !important;
        visibility: visible !important;
        background: rgba(82, 38, 42, .35) !important;
    }
}


/* ============================================
   Q&J PRODUCTOS TOP V16
   Flechas laterales de navegación
   ============================================ */

#testimonials .qj-productos-wrap {
    position: relative;
    width: 100%;
}

/* Los botones se colocan sobre los extremos */
#testimonials .qj-productos-nav {
    position: absolute;
    top: 43%;
    left: 0;
    width: 100%;
    height: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 20;
    pointer-events: none;
}

#testimonials .qj-productos-prev,
#testimonials .qj-productos-next {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #D3AC6A;
    background: #B78D4B;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 5px 18px rgba(0,0,0,.16);
    pointer-events: auto;
    transition:
        background .25s ease,
        transform .25s ease;
}

#testimonials .qj-productos-prev {
    margin-left: 7px;
}

#testimonials .qj-productos-next {
    margin-right: 7px;
}

#testimonials .qj-productos-prev:hover,
#testimonials .qj-productos-next:hover {
    background: #782B3B;
    color: #FFFFFF;
    transform: scale(1.08);
}

#testimonials .qj-productos-prev:focus-visible,
#testimonials .qj-productos-next:focus-visible {
    outline: 3px solid #782B3B;
    outline-offset: 3px;
}

/* Pantallas pequeñas */
@media (max-width: 767px) {

    #testimonials .qj-productos-prev,
    #testimonials .qj-productos-next {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    #testimonials .qj-productos-nav {
        top: 38%;
    }
}


/* ============================================
   Q&J V17 - NOSOTROS Y BENEFICIOS
   Estilo editorial gourmet
   ============================================ */

/* ===== ACERCA DE NOSOTROS ===== */

body #about .section-heading h6 {
    font-family: Georgia, serif !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    letter-spacing: 1.8px !important;
    line-height: 1.4 !important;
    color: #A51F2B !important;
    margin-bottom: 15px !important;
}

/* Título principal */

body #about .section-heading h2,
body #about h2 {
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: clamp(32px, 3vw, 44px) !important;
    font-weight: 400 !important;
    line-height: 1.22 !important;
    letter-spacing: 0 !important;
    color: #54262A !important;
    margin-bottom: 25px !important;
}

/* Párrafos descriptivos */

body #about p {
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    line-height: 1.65 !important;
    letter-spacing: 0 !important;
    color: #54262A !important;
    margin-bottom: 18px !important;
}

/* Mantener los párrafos alineados */

body #about .row {
    align-items: flex-start;
}

/* Fotografía */

body #about img {
    max-width: 100%;
    height: auto;
}

/* ===== BENEFICIOS ===== */

/* Sección inmediatamente anterior a colecciones */

body section.section:has(+ #projects) {
    height: auto !important;
    min-height: 0 !important;
    padding: 24px 0 20px !important;
    margin: 0 !important;
}

/* Títulos de beneficios */

body section.section:has(+ #projects) h4,
body section.section:has(+ #projects) h5,
body section.section:has(+ #projects) h6 {
    font-family: Georgia, serif !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: #54262A !important;
    margin: 0 0 8px !important;
}

/* Descripciones */

body section.section:has(+ #projects) p {
    font-family: Georgia, serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: #66534D !important;
    margin: 0 !important;
}

/* Iconos Font Awesome */

body section.section:has(+ #projects) i.fa,
body section.section:has(+ #projects) i.fas,
body section.section:has(+ #projects) i.far,
body section.section:has(+ #projects) i.fab,
body section.section:has(+ #projects) i[class*="fa-"] {
    font-size: 58px !important;
    line-height: 1 !important;
    color: #B78D4B !important;
}

/* Iconos SVG */

body section.section:has(+ #projects) svg {
    width: 58px !important;
    height: 58px !important;
    max-width: 100%;
    flex-shrink: 0;
}

/* Iconos en formato imagen: bandera, etc. */

body section.section:has(+ #projects) img {
    width: 58px !important;
    height: 58px !important;
    max-width: 100%;
    object-fit: contain !important;
}

/* Espaciado de los bloques de beneficios */

body section.section:has(+ #projects) .features-item,
body section.section:has(+ #projects) .service-item {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 72px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Separación con las colecciones */

body #projects {
    padding-top: 38px !important;
}

/* ===== TABLET ===== */

@media (max-width: 991px) {

    body #about .section-heading h2,
    body #about h2 {
        font-size: 35px !important;
    }

    body section.section:has(+ #projects) i[class*="fa-"] {
        font-size: 48px !important;
    }

    body section.section:has(+ #projects) img,
    body section.section:has(+ #projects) svg {
        width: 48px !important;
        height: 48px !important;
    }
}

/* ===== MÓVIL ===== */

@media (max-width: 767px) {

    body #about .section-heading h2,
    body #about h2 {
        font-size: 30px !important;
    }

    body #about p {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }

    body section.section:has(+ #projects) {
        padding: 18px 0 !important;
    }

    body section.section:has(+ #projects) h4,
    body section.section:has(+ #projects) h5,
    body section.section:has(+ #projects) h6 {
        font-size: 16px !important;
    }

    body section.section:has(+ #projects) p {
        font-size: 14px !important;
    }

    body section.section:has(+ #projects) i[class*="fa-"] {
        font-size: 44px !important;
    }

    body section.section:has(+ #projects) img,
    body section.section:has(+ #projects) svg {
        width: 44px !important;
        height: 44px !important;
    }

    body section.section:has(+ #projects) .features-item,
    body section.section:has(+ #projects) .service-item {
        gap: 14px;
        margin-bottom: 18px !important;
    }

    body #projects {
        padding-top: 25px !important;
    }
}

/* Q&J - NOSOTROS V18 */

/* Reducir espacios exteriores */
html body #about {
    padding-top: 35px !important;
    padding-bottom: 25px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    min-height: 0 !important;
}

/* Títulos */
html body #about .section-heading {
    margin-top: 0 !important;
    margin-bottom: 18px !important;
}

html body #about .section-heading h6 {
    margin-bottom: 12px !important;
}

html body #about .section-heading h2 {
    margin-bottom: 18px !important;
    line-height: 1.18 !important;
}

/* Párrafos más equilibrados */
html body #about p {
    font-size: 17px !important;
    line-height: 1.55 !important;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
}

/* Evitar espacios adicionales */
html body #about .container,
html body #about .row {
    min-height: 0 !important;
}

/* Beneficios: mantener espacio compacto */
html body section.section:has(+ #projects) {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
    margin: 0 !important;
}

/* Móvil */
@media (max-width: 767px) {
    html body #about {
        padding-top: 24px !important;
        padding-bottom: 20px !important;
    }

    html body #about p {
        font-size: 16px !important;
        line-height: 1.5 !important;
    }
}


/* ===========================================
   Q&J BENEFICIOS V19
   Iconos uniformes y distribución equilibrada
   =========================================== */

/* Contenedor general */

html body #features {
    height: auto !important;
    min-height: 0 !important;
    padding: 20px 0 22px !important;
    margin: 0 !important;
}

/* Tres columnas */

html body #features .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch !important;
    justify-content: center;
    row-gap: 20px;
}

/* Separación horizontal */

html body #features .row > [class*="col-"] {
    padding-left: 14px !important;
    padding-right: 14px !important;
}

/* Cada beneficio */

html body #features .features-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 18px !important;
    width: 100% !important;
    min-height: 85px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Espacio idéntico para los tres iconos */

html body #features .features-icon {
    display: flex !important;
    flex: 0 0 70px !important;
    width: 70px !important;
    height: 70px !important;
    min-width: 70px !important;
    align-items: center !important;
    justify-content: center !important;
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Camión y caja */

html body #features .features-icon i.fa-solid,
html body #features .features-icon i[class*="fa-"] {
    display: block !important;
    float: none !important;
    position: static !important;
    font-size: 58px !important;
    line-height: 1 !important;
    color: #B78D4B !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Bandera española */

html body #features .features-icon img {
    display: block !important;
    position: static !important;
    float: none !important;
    width: 58px !important;
    height: 58px !important;
    max-width: none !important;
    object-fit: contain !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Contenedor de textos */

html body #features .features-content {
    position: static !important;
    float: none !important;
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Títulos */

html body #features .features-content h4 {
    font-family: Georgia, serif !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    color: #54262A !important;
    margin: 0 0 7px !important;
    padding: 0 !important;
}

/* Descripciones */

html body #features .features-content p {
    font-family: Georgia, serif !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    color: #66534D !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Tablet */

@media (max-width: 991px) {

    html body #features .features-icon {
        flex-basis: 60px !important;
        width: 60px !important;
        min-width: 60px !important;
        height: 60px !important;
    }

    html body #features .features-icon i[class*="fa-"] {
        font-size: 48px !important;
    }

    html body #features .features-icon img {
        width: 48px !important;
        height: 48px !important;
    }

    html body #features .features-item {
        gap: 13px !important;
    }
}

/* Móvil */

@media (max-width: 767px) {

    html body #features {
        padding: 18px 0 !important;
    }

    html body #features .features-item {
        max-width: 420px;
        margin: 0 auto !important;
        min-height: 70px !important;
    }

    html body #features .features-content h4 {
        font-size: 16px !important;
    }

    html body #features .features-content p {
        font-size: 14px !important;
    }

    html body #features .features-icon {
        flex-basis: 56px !important;
        width: 56px !important;
        min-width: 56px !important;
        height: 56px !important;
    }

    html body #features .features-icon i[class*="fa-"] {
        font-size: 44px !important;
    }

    html body #features .features-icon img {
        width: 44px !important;
        height: 44px !important;
    }
}

/* ==========================================
   QJ NOSOTROS V20
   Título distribuido y altura compacta
   ========================================== */

/* Altura total de la sección */
html body #about {
    height: auto !important;
    min-height: 0 !important;
    padding-top: 26px !important;
    padding-bottom: 12px !important;
    margin-bottom: 0 !important;
}

/* Aprovechar el ancho de la columna del título */
html body #about .section-heading {
    width: 100% !important;
    max-width: none !important;
    margin-bottom: 15px !important;
}

html body #about .section-heading h2 {
    display: block !important;
    width: 100% !important;
    max-width: none !important;

    font-family: Georgia, "Times New Roman", serif !important;
    font-size: clamp(30px, 2.55vw, 39px) !important;
    font-weight: 400 !important;
    line-height: 1.22 !important;
    letter-spacing: -0.4px !important;

    color: #54262A !important;
    margin: 0 0 15px !important;

    text-wrap: balance;
}

/* Alinear el texto descriptivo */
html body #about p {
    font-size: 17px !important;
    line-height: 1.55 !important;
}

/* El texto derecho contiene saltos BR entre párrafos.
   Ajustar su separación sin afectar otras secciones. */
html body #about p br {
    line-height: 1.8 !important;
}

/* Reducir márgenes inferiores */
html body #about .row,
html body #about .container,
html body #about .section-heading {
    min-height: 0 !important;
}

/* Fotografía sin margen inferior adicional */
html body #about img {
    max-width: 100%;
    height: auto;
    margin-bottom: 0 !important;
}

/* Beneficios más próximos a Nosotros */
html body #features {
    margin-top: 0 !important;
    padding-top: 15px !important;
}

/* Tablet */
@media (max-width: 991px) {
    html body #about .section-heading h2 {
        font-size: 34px !important;
    }
}

/* Móvil */
@media (max-width: 767px) {
    html body #about {
        padding-top: 22px !important;
        padding-bottom: 14px !important;
    }

    html body #about .section-heading h2 {
        font-size: 30px !important;
        line-height: 1.25 !important;
    }
}


/* QJ-ENLACES-COLECCIONES-V1 */

#projects .flip-card-front {
    position: relative;
}

#projects .qj-coleccion-enlace-frente {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: block;
    cursor: pointer;
    border-radius: inherit;
}

#projects .qj-coleccion-enlace-frente:focus-visible {
    outline: 3px solid #F5C77C;
    outline-offset: -4px;
}

#projects .flip-btn {
    cursor: pointer;
}
