
/* ==========================================
   SIXILANG - OUR FACTORY
   Imagen izquierda + texto derecha
   ========================================== */

.six-factory-panel {
    display: grid;
    grid-template-columns: minmax(0, 55%) minmax(0, 45%);
    width: 100%;
    max-width: 1120px;
    min-height: 0;
    margin: 42px auto 0;
    background: #eee8df;
    overflow: hidden;
}

/* FOTO */

.six-factory-image {
    width: 100%;
    height: 350px;
    min-width: 0;
    overflow: hidden;
}

.six-factory-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: none;
    filter: none;
}

/* TEXTO */

.six-factory-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    min-width: 0;
    padding: 35px clamp(24px, 4vw, 58px);
    box-sizing: border-box;
    background: #eee8df;
    text-align: left;
}

.six-factory-copy .eyebrow {
    color: #a17a60;
    font-size: 11px;
    letter-spacing: 0.17em;
    line-height: 1.5;
}

.six-factory-copy h3 {
    color: #30261f;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    font-size: clamp(28px, 2.8vw, 42px);
    line-height: 1.18;
    margin: 18px 0;
    overflow-wrap: normal;
}

.six-factory-copy p {
    color: #79695d;
    font-size: 13px;
    line-height: 1.8;
    margin: 0;
}

/* TABLET */

@media (max-width: 900px) {
    .six-factory-panel {
        grid-template-columns: minmax(0, 52%) minmax(0, 48%);
    }

    .six-factory-image {
        height: 320px;
    }

    .six-factory-copy {
        padding: 28px;
    }
}

/* MOVIL */

@media (max-width: 640px) {
    .six-factory-panel {
        grid-template-columns: minmax(0, 1fr);
        margin-top: 28px;
    }

    .six-factory-image {
        height: 260px;
    }

    .six-factory-copy {
        padding: 30px 24px;
    }

    .six-factory-copy h3 {
        font-size: 31px;
    }
}
/* SIXILANG About page: all custom selectors scoped to about for safe integration. */
.about-page {
    overflow: hidden
}

    .about-page em {
        font-weight: 400;
        color: #a77c64
    }

    .about-page h2 {
        font-size: clamp(35px,4vw,55px);
        line-height: 1.2;
        letter-spacing: -1px
    }

    .about-page h3 {
        font-size: 22px
    }

    .about-page p {
        color: #766e66;
        line-height: 1.95;
        font-size: 14px
    }

    .about-page .eyebrow {
        display: inline-block
    }

.about-section {
    padding: 110px 0
}

.links .current {
    color: #a77c64
}

.about-nav-cta {
    display: flex;
    align-items: center;
    gap: 20px
}

    .about-nav-cta > a {
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 1.2px;
        font-weight: 700;
        border-bottom: 1px solid #a77c64;
        padding-bottom: 7px
    }

        .about-nav-cta > a span {
            margin-left: 12px
        }

.about-hero {
    background: #eae5dc
}

.about-hero-grid {
    min-height: 620px;
    display: grid;
    grid-template-columns: 54% 46%
}

.about-hero-text {
    padding: 77px 0 85px;
    position: relative;
    z-index: 1;
    align-self: center
}

.about-crumb {
    font-size: 10px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #7b7068;
    margin-bottom: 63px
}

    .about-crumb span {
        margin: 0 13px;
        color: #ab775d
    }

.about-hero h1 {
    font-size: clamp(45px,5vw,75px);
    line-height: 1.12;
    letter-spacing: -2px;
    margin: 17px 0 25px
}

.about-hero-text p {
    max-width: 490px;
    margin-bottom: 30px
}

.about-hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 55% 44%,#f5f0e8,#d9cbbd 73%,#cfc1b3)
}

    .about-hero-visual img {
        position: relative;
        z-index: 1;
        width: 125%;
        max-width: none;
        transform: none;
        filter: drop-shadow(20px 26px 14px #493c3160)
    }

.about-orbit {
    width: 440px;
    height: 440px;
    border: 1px solid #c8baad;
    border-radius: 50%;
    position: absolute
}

    .about-orbit:after {
        content: '';
        position: absolute;
        inset: 35px;
        border: 1px solid #d6c9bc;
        border-radius: 50%
    }

.about-visual-caption {
    position: absolute;
    bottom: 28px;
    right: 24px;
    font-size: 9px;
    letter-spacing: 2px;
    color: #75685e
}

.about-numbers {
    background: #fff;
    border-bottom: 1px solid var(--line)
}

.about-numbers-inner {
    display: grid;
    grid-template-columns: repeat(4,1fr)
}

    .about-numbers-inner > div {
        padding: 32px 20px;
        border-right: 1px solid var(--line);
        text-align: center
    }

        .about-numbers-inner > div:last-child {
            border: 0
        }

.about-numbers strong {
    font-family: 'Playfair Display',serif;
    font-size: 33px;
    font-weight: 400;
    display: block;
    white-space: nowrap
}

    .about-numbers strong span {
        font-size: 19px;
        color: #ab775d
    }

.about-numbers small {
    text-transform: uppercase;
    color: #8e8279;
    font-size: 10px;
    letter-spacing: 1.3px
}

.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9%;
    align-items: center
}

.about-copy h2 {
    margin: 14px 0 24px
}

.about-copy p {
    margin-bottom: 17px
}

.about-editorial-image {
    min-height: 520px;
    position: relative;
    background: #c4b5a5;
    overflow: hidden
}

    .about-editorial-image img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover
    }

.about-image-note {
    position: absolute;
    bottom: 0;
    left: 0;
    background: #312a26;
    color: #fff;
    padding: 17px 23px;
    letter-spacing: 2px;
    font-size: 10px
}

.about-textlink {
    display: inline-flex;
    margin-top: 12px;
    gap: 22px;
    border-bottom: 1px solid #a77c64;
    padding-bottom: 8px;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase
}

.about-factory {
    background: #f0ece5
}

.about-center-head {
    text-align: center;
    max-width: 710px;
    margin: 0 auto 45px
}

    .about-center-head h2 {
        margin: 12px 0 16px
    }

.about-factory-visual {
    height: 380px;
    background: linear-gradient(105deg,#302b29d9,#51443b61),linear-gradient(145deg,#665b53 0%,#b7aa99 35%,#75695f 60%,#c5b6a3 100%);
    display: flex;
    align-items: center
}

.about-factory-overlay {
    padding: 60px;
    color: #fff
}

    .about-factory-overlay .eyebrow {
        color: #d9bda4
    }

    .about-factory-overlay h3 {
        font-family: 'Playfair Display',serif;
        font-size: 46px;
        line-height: 1.15;
        margin: 13px 0
    }

    .about-factory-overlay p {
        color: #e8dcd0
    }

.about-asset-note {
    font-size: 11px !important;
    color: #9d8e80 !important;
    margin-top: 15px
}

.about-materials {
    background: #f0ece5;
}

.about-material-art {
    position: relative;
    background: #ede7df;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden
}

.about-material-disc {
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    border: 1px solid #d4c4b5;
    box-shadow: 0 0 0 55px #ddd2c450
}

.about-material-art img {
    width: 100%;
    max-width: none;
    transform: none;
    filter: drop-shadow(16px 22px 12px #4b3d3655)
}

.about-chips {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    margin: 17px 0 22px
}

    .about-chips span {
        padding: 7px 11px;
        border: 1px solid #ded4cb;
        color: #6e6258;
        font-size: 11px
    }

.about-process {
    background: #f6f3ee
}

.about-step-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px
}

    .about-step-grid article {
        border-top: 1px solid #bba58f;
        padding: 26px 6px
    }

    .about-step-grid b {
        color: #a47b62;
        letter-spacing: 3px;
        font: 400 28px 'Playfair Display',serif
    }

    .about-step-grid h3 {
        font-size: 21px;
        margin: 26px 0 13px
    }

    .about-step-grid p {
        font-size: 12px
    }

.about-oem {
    background: #332e2a
}

    .about-oem .eyebrow {
        color: #d5af96
    }

    .about-oem .about-copy h2 {
        color: #fff
    }

    .about-oem .about-copy p {
        color: #c7bcb3
    }

.about-oem-layout {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 13%;
    align-items: center
}

.about-oem .cta {
    border-color: #f3eae0;
    background: #f3eae0;
    color: #302a26;
    margin-top: 14px
}

.about-oem-features article {
    border-bottom: 1px solid #77685d;
    display: flex;
    gap: 32px;
    padding: 19px 0
}

    .about-oem-features article:first-child {
        border-top: 1px solid #77685d
    }

    .about-oem-features article > span {
        color: #c49f83;
        font-size: 12px;
        padding-top: 5px
    }

.about-oem-features h3 {
    font: 400 22px 'Playfair Display',serif;
    color: #fff;
    margin: 0 0 5px
}

.about-oem-features p {
    color: #c4b8ac;
    margin: 0;
    font-size: 12px
}

.about-exhibitions {
    background: #fff
}

.about-exhibition-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px
}

.about-event-photo {
    height: 320px;
    display: flex;
    align-items: flex-end;
    padding: 26px;
    background: linear-gradient(140deg,#c8b9a6,#7c7168)
}

    .about-event-photo.event-canton {
        background: linear-gradient(140deg,#b5a594,#645b54)
    }

    .about-event-photo span {
        color: white;
        text-transform: uppercase;
        font-size: 10px;
        letter-spacing: 2px
    }

.about-exhibition-grid h3 {
    margin: 20px 0 5px
}

.about-exhibition-grid p {
    font-size: 12px
}

.about-values {
    background: #f1ece5
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 23px
}

    .about-values-grid article {
        background: #fff;
        padding: 34px 30px;
        min-height: 260px
    }

.about-value-icon {
    font-family: Georgia,serif;
    color: #a47a61;
    font-size: 34px
}

.about-values-grid h3 {
    margin: 13px 0
}

.about-values-grid p {
    font-size: 12px
}

.about-team {
    background: #fff
}

.about-team-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px
}

.about-portrait {
    height: 300px;
    background: linear-gradient(150deg,#e4d9cd,#b9a899);
    display: flex;
    align-items: center;
    justify-content: center
}

.about-team-grid article:nth-child(2) .about-portrait {
    background: linear-gradient(150deg,#e7e3dc,#c8b8a7)
}

.about-team-grid article:nth-child(3) .about-portrait {
    background: linear-gradient(150deg,#d5c7b6,#9b8a7b)
}

.about-portrait span {
    font-family: 'Playfair Display',serif;
    letter-spacing: 4px;
    font-size: 26px;
    color: #fff;
    text-shadow: 0 1px 12px #544a4355
}

.about-team-grid h3 {
    margin: 18px 0 0
}

.about-team-grid p {
    font-size: 12px;
    margin: 0
}

.about-bottom-cta {
    background: #e8e1d7;
    text-align: center;
    padding: 105px 20px
}

    .about-bottom-cta h2 {
        margin: 15px 0 17px
    }

.about-cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 29px
}

    .about-cta-buttons .cta.light {
        background: transparent
    }

        .about-cta-buttons .cta.light:hover {
            background: #292624
        }

@media(max-width:1000px) {
    .about-hero-grid {
        grid-template-columns: 1fr 1fr
    }

    .about-hero h1 {
        font-size: 53px
    }

    .about-orbit {
        width: 300px;
        height: 300px
    }

    .about-split {
        gap: 5%
    }

    .about-section {
        padding: 75px 0
    }

    .about-oem-layout {
        gap: 7%
    }
}

@media(max-width:720px) {
    .about-nav-cta > a {
        display: none
    }

    .about-hero-grid {
        grid-template-columns: 1fr
    }

    .about-hero-text {
        padding: 35px 0 55px
    }

    .about-crumb {
        margin-bottom: 34px
    }

    .about-hero h1 {
        font-size: clamp(40px,10vw,60px)
    }

    .about-hero-visual {
        height: 310px
    }

        .about-hero-visual img {
            width: 100%
        }

    .about-orbit {
        width: 280px;
        height: 280px
    }

    .about-numbers-inner {
        grid-template-columns: 1fr 1fr
    }

        .about-numbers-inner > div:nth-child(2) {
            border-right: 0
        }

        .about-numbers-inner > div {
            border-bottom: 1px solid var(--line);
            padding: 20px 6px
        }

    .about-numbers strong {
        font-size: 27px
    }

    .about-numbers small {
        font-size: 8px
    }

    .about-section {
        padding: 65px 0
    }

    .about-split, .about-oem-layout {
        grid-template-columns: 1fr;
        gap: 35px
    }

    .about-editorial-image {
        min-height: 340px
    }

    .about-material-art {
        height: 310px;
        order: 2
    }

    .about-materials .about-copy {
        order: 1
    }

    .about-step-grid {
        grid-template-columns: 1fr 1fr
    }

    .about-factory-visual {
        height: 290px
    }

    .about-factory-overlay {
        padding: 25px
    }

        .about-factory-overlay h3 {
            font-size: 35px
        }

    .about-exhibition-grid, .about-values-grid {
        grid-template-columns: 1fr
    }

    .about-event-photo {
        height: 250px
    }

    .about-team-grid {
        grid-template-columns: repeat(2,1fr);
        gap: 15px
    }

    .about-portrait {
        height: 230px
    }

    .about-team-grid h3 {
        font-size: 19px
    }

    .about-cta-buttons {
        flex-wrap: wrap
    }
}

@media(max-width:420px) {
    .about-step-grid {
        grid-template-columns: 1fr
    }

    .about-team-grid {
        grid-template-columns: 1fr
    }

    .about-portrait {
        height: 240px
    }

    .about-hero-visual img {
        width: 120%
    }

    .about-numbers strong {
        font-size: 23px
    }
}

/* ============================================================
   MEET OUR PEOPLE - CUATRO RETRATOS IGUALES
   IMPORTANTE: la vista no contiene .about-page, por ello
   se usa .about-team para que estas reglas sí se apliquen.
   ============================================================ */
.about-team .about-team-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 24px !important;
    align-items: start !important;
    width: 100%;
}

    .about-team .about-team-grid > article {
        width: 100%;
        min-width: 0;
        margin: 0;
    }

    .about-team .about-team-grid .about-portrait {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 3 / 4;
        min-height: 0 !important;
        overflow: hidden !important;
        display: block !important;
        border-radius: 4px;
        background: #e8e1d7;
    }

        .about-team .about-team-grid .about-portrait > img {
            display: block !important;
            position: static !important;
            width: 100% !important;
            height: 100% !important;
            max-width: none !important;
            max-height: none !important;
            object-fit: cover !important;
            object-position: center top !important;
            aspect-ratio: 3 / 4;
            margin: 0 !important;
            padding: 0 !important;
            transform: none !important;
            filter: none !important;
        }

    .about-team .about-team-grid h3 {
        margin: 16px 0 5px;
        font-size: 19px;
        line-height: 1.3;
    }

    .about-team .about-team-grid p {
        margin: 0;
        font-size: 12px;
        line-height: 1.6;
    }

/* Tablet: dos fotografías por fila */
@media (min-width: 641px) and (max-width: 1024px) {
    .about-team .about-team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Móvil: una fotografía por fila */
@media (max-width: 640px) {
    .about-team .about-team-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 28px !important;
    }

        .about-team .about-team-grid .about-portrait {
            max-width: 440px;
            margin-inline: auto;
        }
}

/* ==========================================================
   ABOUT HERO V2: Imagen de fondo y texto encima.
   Usa clases independientes para evitar colisiones de versiones.
   ========================================================== */
.about-page section.six-story-banner-v2 {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: 540px !important;
    min-height: 540px !important;
    max-height: 540px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background-color: #254054;
    background-size: cover !important;
    background-position: center 55% !important;
    background-repeat: no-repeat !important;
    isolation: isolate;
}

    .about-page section.six-story-banner-v2::before {
        content: '';
        display: block;
        position: absolute;
        inset: 0;
        pointer-events: none;
        z-index: 0;
        background: linear-gradient(90deg, transparent 0%, rgba(20,30,39,.04) 39%, rgba(20,30,39,.30) 63%, rgba(20,30,39,.73) 100%);
    }

    .about-page section.six-story-banner-v2 > .six-story-banner-copy-v2 {
        position: absolute !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
        z-index: 2 !important;
        top: 50% !important;
        right: max(4.5%, calc((100vw - 1500px) / 2 + 32px)) !important;
        left: auto !important;
        bottom: auto !important;
        transform: translateY(-50%) !important;
        width: min(455px, 41vw) !important;
        max-width: 455px !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        text-align: left !important;
    }

    .about-page section.six-story-banner-v2 .six-story-banner-copy-v2 > .eyebrow {
        color: #ffe8d4 !important;
        font-size: 10px !important;
        letter-spacing: .16em !important;
        line-height: 1.5 !important;
        margin: 0 0 13px !important;
    }

    .about-page section.six-story-banner-v2 .six-story-banner-copy-v2 > h1 {
        font: 400 clamp(33px,3vw,53px)/1.11 'Playfair Display',Georgia,serif !important;
        color: #fff !important;
        letter-spacing: -.035em !important;
        margin: 0 0 17px !important;
        text-shadow: 0 1px 7px rgba(0,0,0,.25);
    }

        .about-page section.six-story-banner-v2 .six-story-banner-copy-v2 > h1 em {
            color: #f3d1b8 !important;
            font-weight: 400 !important;
        }

    .about-page section.six-story-banner-v2 .six-story-banner-copy-v2 > p {
        font-size: 13px !important;
        line-height: 1.75 !important;
        color: #fff !important;
        margin: 0 0 24px !important;
        max-width: 430px !important;
        text-shadow: 0 1px 6px rgba(0,0,0,.36);
    }

    .about-page section.six-story-banner-v2 .six-story-banner-copy-v2 > .cta {
        display: inline-flex !important;
        align-self: flex-start !important;
        color: #322820 !important;
        background: #f4ebe2 !important;
        border-color: #f4ebe2 !important;
        padding: 14px 20px !important;
        font-size: 11px !important;
    }

    .about-page section.six-story-banner-v2 > .six-story-banner-caption-v2 {
        position: absolute !important;
        z-index: 2 !important;
        bottom: 18px !important;
        left: max(20px, calc((100% - 1250px) / 2)) !important;
        font-size: 9px !important;
        color: white !important;
        letter-spacing: .14em !important;
        text-shadow: 0 1px 6px #0009;
    }

@media (max-width: 900px) {
    .about-page section.six-story-banner-v2 {
        height: 500px !important;
        min-height: 500px !important;
        max-height: 500px !important;
    }

        .about-page section.six-story-banner-v2 > .six-story-banner-copy-v2 {
            width: min(420px, 49vw) !important;
            right: 5% !important;
        }

        .about-page section.six-story-banner-v2 .six-story-banner-copy-v2 > h1 {
            font-size: clamp(30px,4vw,42px) !important;
        }
}

@media (max-width: 640px) {
    .about-page section.six-story-banner-v2 {
        height: 590px !important;
        min-height: 590px !important;
        max-height: 590px !important;
        background-position: 45% center !important;
    }

        .about-page section.six-story-banner-v2::before {
            background: linear-gradient(180deg,rgba(20,30,39,.03) 0%,rgba(20,30,39,.14) 25%,rgba(20,30,39,.66) 59%,rgba(20,30,39,.9) 100%);
        }

        .about-page section.six-story-banner-v2 > .six-story-banner-copy-v2 {
            top: auto !important;
            bottom: 53px !important;
            left: 20px !important;
            right: 20px !important;
            transform: none !important;
            width: auto !important;
            max-width: none !important;
        }

        .about-page section.six-story-banner-v2 .six-story-banner-copy-v2 > h1 {
            font-size: clamp(34px,8vw,43px) !important;
        }

        .about-page section.six-story-banner-v2 .six-story-banner-copy-v2 > p {
            font-size: 12px !important;
            line-height: 1.6 !important;
        }

        .about-page section.six-story-banner-v2 > .six-story-banner-caption-v2 {
            left: 20px !important;
            right: 20px !important;
            bottom: 15px !important;
            font-size: 8px !important;
        }
}

/* Seguridad adicional: el Hero ocupa todo el ancho y el texto permanece superpuesto. */
.about-page > section.six-story-banner-v2,
.about-page section.six-story-banner-v2 {
    grid-template-columns: none !important;
    width: 100% !important;
    max-width: none !important;
}

    .about-page section.six-story-banner-v2 > .six-story-banner-copy-v2 {
        position: absolute !important;
        z-index: 3 !important;
    }


/* ==========================================================
   EXHIBITION - SIXILANG
   6 fotografías y subtítulos. 3 columnas / 2 filas en desktop.
   ========================================================== */
.about-page .about-exhibition-showcase,
.about-exhibition-showcase {
    width: 100%;
    background: #ffffff;
    padding: 64px 0 76px;
}

    .about-exhibition-showcase .about-exhibition-title {
        font-family: 'Manrope', Arial, sans-serif;
        font-size: clamp(27px, 3vw, 38px);
        font-style: normal;
        font-weight: 700;
        letter-spacing: -.02em;
        line-height: 1.2;
        color: #211d1a;
        text-align: center;
        margin: 0 0 30px;
    }

    .about-exhibition-showcase .about-exhibition-photos {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 32px 18px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .about-exhibition-showcase .about-exhibition-item {
        min-width: 0;
        margin: 0;
        text-align: center;
    }

        .about-exhibition-showcase .about-exhibition-item img {
            display: block;
            width: 100%;
            height: auto;
            aspect-ratio: 4 / 3;
            object-fit: cover;
            object-position: center;
            border: 0;
            border-radius: 0;
            transform: none;
            filter: none;
            background: #efece7;
        }

        .about-exhibition-showcase .about-exhibition-item figcaption {
            margin-top: 13px;
            font-family: 'DM Sans', Arial, sans-serif;
            font-size: 16px;
            line-height: 1.4;
            font-weight: 500;
            color: #211d1a;
        }

@media (max-width: 900px) {
    .about-exhibition-showcase .about-exhibition-photos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px 16px;
    }
}

@media (max-width: 600px) {
    .about-exhibition-showcase {
        padding: 44px 0 55px;
    }

        .about-exhibition-showcase .about-exhibition-title {
            margin-bottom: 24px;
        }

        .about-exhibition-showcase .about-exhibition-photos {
            grid-template-columns: minmax(0, 1fr);
            gap: 25px;
        }

        .about-exhibition-showcase .about-exhibition-item figcaption {
            font-size: 15px;
        }
}


/* MEET OUR PEOPLE - refuerzo final: reglas aplicadas sin .about-page */
section.about-team .container > .about-team-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 22px !important;
    align-items: start !important;
}

section.about-team .about-team-grid > article {
    min-width: 0 !important;
    width: 100% !important;
}

    section.about-team .about-team-grid > article > .about-portrait {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 3 / 4 !important;
        overflow: hidden !important;
    }

        section.about-team .about-team-grid > article > .about-portrait > img {
            display: block !important;
            width: 100% !important;
            height: 100% !important;
            aspect-ratio: 3 / 4 !important;
            object-fit: cover !important;
            object-position: center top !important;
            max-width: none !important;
            max-height: none !important;
            transform: none !important;
        }

@media (min-width: 641px) and (max-width: 1024px) {
    section.about-team .container > .about-team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    section.about-team .container > .about-team-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}


/* ==============================================================
   ABOUT / OUR STORY - HERO MISMA ESTRUCTURA QUE INDEX Y QUALITY
   La foto es el fondo de LA MISMA sección; el texto nunca queda fuera.
   =============================================================== */
section.six-about-cover-hero {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    box-sizing: border-box !important;
    isolation: isolate !important;
    width: 100% !important;
    height: 540px !important;
    min-height: 540px !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background-color: #294052 !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: 80% auto !important;
}

    section.six-about-cover-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        pointer-events: none;
        background: linear-gradient(90deg, rgba(20,28,33,0) 0%, rgba(20,28,33,.03) 40%, rgba(20,28,33,.30) 64%, rgba(20,28,33,.72) 100%);
    }

    section.six-about-cover-hero > .six-about-cover-content {
        position: relative !important;
        z-index: 2 !important;
        width: min(100% - 70px, 1360px) !important;
        height: 100% !important;
        min-width: 0 !important;
        margin: 0 auto !important;
        padding: 34px 0 !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
    }

    section.six-about-cover-hero .six-about-cover-copy {
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
        flex: 0 1 465px !important;
        width: min(465px, 41vw) !important;
        min-width: 0 !important;
        max-width: 465px !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
        background: transparent !important;
        text-align: left !important;
    }

    section.six-about-cover-hero .six-about-cover-eyebrow {
        display: block !important;
        color: #f8e8dc !important;
        font: 700 11px/1.5 'DM Sans', sans-serif !important;
        letter-spacing: .18em !important;
        text-transform: uppercase !important;
        margin: 0 0 19px !important;
    }

    section.six-about-cover-hero .six-about-cover-copy h1 {
        color: #fff !important;
        font: 400 clamp(36px, 3.4vw, 56px)/1.13 'Playfair Display', Georgia, serif !important;
        letter-spacing: -.035em !important;
        margin: 0 0 20px !important;
    }

        section.six-about-cover-hero .six-about-cover-copy h1 em {
            color: #f0c3a7 !important;
            font-weight: 400 !important;
        }

    section.six-about-cover-hero .six-about-cover-copy p {
        color: #fff !important;
        font-size: 14px !important;
        line-height: 1.75 !important;
        max-width: 450px !important;
        margin: 0 0 24px !important;
    }

    section.six-about-cover-hero .six-about-cover-button {
        position: relative !important;
        margin: 0 !important;
        background: #f6eee7 !important;
        color: #2e251f !important;
        border: 1px solid #f6eee7 !important;
    }

    section.six-about-cover-hero > .six-about-cover-caption {
        position: absolute !important;
        z-index: 2 !important;
        left: max(35px, calc((100vw - 1360px)/2)) !important;
        bottom: 17px !important;
        color: #fff !important;
        font-size: 9px !important;
        letter-spacing: .13em !important;
        text-shadow: 0 1px 8px #0008 !important;
    }

@media(max-width: 900px) {
    section.six-about-cover-hero {
        height: 510px !important;
        min-height: 510px !important;
    }

        section.six-about-cover-hero > .six-about-cover-content {
            width: calc(100% - 48px) !important;
        }

        section.six-about-cover-hero .six-about-cover-copy {
            flex-basis: 44% !important;
            width: 44% !important;
        }

            section.six-about-cover-hero .six-about-cover-copy h1 {
                font-size: clamp(32px,4.3vw,46px) !important;
            }
}

@media(max-width: 680px) {
    section.six-about-cover-hero {
        height: 620px !important;
        min-height: 620px !important;
        background-position: center center !important;
        background-size: 92% auto !important;
    }

        section.six-about-cover-hero::before {
            background: linear-gradient(180deg,rgba(22,29,34,.04) 0%,rgba(22,29,34,.18) 30%,rgba(22,29,34,.84) 100%);
        }

        section.six-about-cover-hero > .six-about-cover-content {
            width: calc(100% - 40px) !important;
            align-items: flex-end !important;
            padding: 32px 0 52px !important;
        }

        section.six-about-cover-hero .six-about-cover-copy {
            flex: 1 1 auto !important;
            width: 100% !important;
            max-width: 100% !important;
        }

            section.six-about-cover-hero .six-about-cover-copy h1 {
                font-size: clamp(32px,8vw,45px) !important;
            }

            section.six-about-cover-hero .six-about-cover-copy p {
                font-size: 13px !important;
            }

        section.six-about-cover-hero > .six-about-cover-caption {
            left: 20px !important;
            bottom: 13px !important;
            font-size: 8px !important;
        }
}


/* ===============================================================
   ABOUT HERO v12 - CORRECCION DEL SECTION Y LA FOTOGRAFIA
   La foto 4:3 se muestra completa dentro de la cabecera.
   El texto y sus estilos permanecen sin cambios.
   =============================================================== */
section.six-about-cover-hero {
    display: block !important;
    position: relative !important;
    isolation: isolate !important;
    background: #294052 !important;
    background-image: none !important;
    overflow: hidden !important;
    height: 540px !important;
    min-height: 540px !important;
}

    section.six-about-cover-hero > img.six-about-cover-photo {
        display: block !important;
        position: absolute !important;
        z-index: 0 !important;
        top: 0 !important;
        left: 0 !important;
        width: min(58vw, 1000px) !important;
        height: 100% !important;
        max-width: none !important;
        max-height: none !important;
        /*       object-fit: contain !important;
        object-position: left center !important;*/
        transform: none !important;
        opacity: 1 !important;
        /* Transicion suave entre imagen y fondo, sin ampliar fotografia. */
        -webkit-mask-image: linear-gradient(to right, #000 0%, #000 80%, transparent 100%);
        mask-image: linear-gradient(to right, #000 0%, #000 80%, transparent 100%);
    }

    section.six-about-cover-hero::before {
        z-index: 1 !important;
        background: linear-gradient(90deg, rgba(20,28,33,0) 0%, rgba(20,28,33,0) 38%, rgba(20,28,33,.20) 53%, rgba(20,28,33,.68) 100%) !important;
    }

    section.six-about-cover-hero > .six-about-cover-content,
    section.six-about-cover-hero > .six-about-cover-caption {
        z-index: 2 !important;
    }

@media (max-width: 900px) {
    section.six-about-cover-hero {
        height: 510px !important;
        min-height: 510px !important;
    }

        section.six-about-cover-hero > img.six-about-cover-photo {
            width: 58% !important;
        }
}

@media (max-width: 680px) {
    section.six-about-cover-hero {
        height: 620px !important;
        min-height: 620px !important;
    }

        section.six-about-cover-hero > img.six-about-cover-photo {
            width: 100% !important;
            height: 53% !important;
            object-fit: contain !important;
            object-position: center top !important;
            -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 70%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 0%, #000 70%, transparent 100%);
        }

        section.six-about-cover-hero::before {
            background: linear-gradient(180deg,rgba(20,28,33,0) 0%,rgba(20,28,33,.16) 30%,rgba(20,28,33,.86) 80%,rgba(20,28,33,.95) 100%) !important;
        }
}

/* ============================================================
   SIXILANG - OUR STORY: HERO SOLO FOTOGRAFIA
   Anula exclusivamente las reglas antiguas de la cabecera.
   Sin textos, mascaras, degradados ni barras laterales.
   ============================================================ */
section#about-hero.six-about-cover-hero {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: clamp(320px, 38vw, 610px) !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #294052 !important;
    background-image: none !important;
}

    section#about-hero.six-about-cover-hero::before,
    section#about-hero.six-about-cover-hero::after {
        content: none !important;
        display: none !important;
        background: none !important;
    }

    section#about-hero.six-about-cover-hero > img.six-about-cover-photo {
        display: block !important;
        position: absolute !important;
        inset: 0 !important;
        z-index: 0 !important;
        width: 100% !important;
        height: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        object-fit: cover !important;
        object-position: center center !important;
        transform: none !important;
        filter: none !important;
        opacity: 1 !important;
        -webkit-mask-image: none !important;
        mask-image: none !important;
    }

@media (max-width: 680px) {
    section#about-hero.six-about-cover-hero {
        height: clamp(240px, 65vw, 420px) !important;
    }

        section#about-hero.six-about-cover-hero > img.six-about-cover-photo {
            width: 100% !important;
            height: 100% !important;
            object-position: center center !important;
        }
}

/* ================================================
   SIXILANG - OUR STORY
   HERO PANORAMICO RESPONSIVE
   ================================================ */

html body section#about-hero.six-about-cover-hero {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: clamp(440px, 34vw, 650px) !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #e8e8e5 !important;
    background-image: none !important;
}

    html body section#about-hero.six-about-cover-hero > img.six-about-cover-photo {
        position: absolute !important;
        inset: 0 !important;
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        object-fit: cover !important;
        /* Priorizar los edificios frente al cielo */
        object-position: center 70% !important;
        transform: none !important;
        filter: none !important;
        -webkit-mask-image: none !important;
        mask-image: none !important;
    }

    html body section#about-hero.six-about-cover-hero::before,
    html body section#about-hero.six-about-cover-hero::after {
        display: none !important;
        content: none !important;
    }

    html body section#about-hero.six-about-cover-hero > .six-about-cover-content {
        display: none !important;
    }

/* TABLET */
@media (max-width: 900px) {
    html body section#about-hero.six-about-cover-hero {
        height: 420px !important;
    }

        html body section#about-hero.six-about-cover-hero > img.six-about-cover-photo {
            object-position: center 65% !important;
        }
}

/* MOVIL */
@media (max-width: 600px) {
    html body section#about-hero.six-about-cover-hero {
        height: 340px !important;
    }

        html body section#about-hero.six-about-cover-hero > img.six-about-cover-photo {
            object-position: center 60% !important;
        }
}

/* =====================================================
   SIXILANG - OUR STORY
   Banner panoramico con letras blancas visibles
   ===================================================== */

html body section#about-hero.six-about-cover-hero {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 630px !important;
    min-height: 0 !important;
    max-height: 650px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

    /* Mantener visible la parte superior de la fotografia */
    html body section#about-hero.six-about-cover-hero > img.six-about-cover-photo {
        position: absolute !important;
        inset: 0 !important;
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        max-height: none !important;
        object-fit: cover !important;
        /* CLAVE: no cortar las letras del cielo */
        object-position: center top !important;
        margin: 0 !important;
        padding: 0 !important;
        -webkit-mask-image: none !important;
        mask-image: none !important;
    }

    /* Sin textos HTML ni degradados adicionales */
    html body section#about-hero.six-about-cover-hero::before,
    html body section#about-hero.six-about-cover-hero::after {
        display: none !important;
        content: none !important;
    }

    html body section#about-hero.six-about-cover-hero > .six-about-cover-content {
        display: none !important;
    }

/* Tablet */
@media (max-width: 900px) {
    html body section#about-hero.six-about-cover-hero {
        height: 460px !important;
        max-height: 460px !important;
    }
}

/* Movil */
@media (max-width: 600px) {
    html body section#about-hero.six-about-cover-hero {
        height: 330px !important;
        max-height: 330px !important;
    }
}

/* =====================================================
   SIXILANG - OUR STORY
   Reducir cielo superior y mostrar más edificio
   ===================================================== */

html body section#about-hero.six-about-cover-hero {
    position: relative !important;
    width: 100% !important;
    height: 650px !important;
    min-height: 0 !important;
    max-height: 650px !important;
    overflow: hidden !important;
}

    /* Desplazar la imagen hacia arriba */
    html body section#about-hero.six-about-cover-hero > img.six-about-cover-photo {
        position: absolute !important;
        top: -75px !important;
        left: 0 !important;
        width: 100% !important;
        height: calc(100% + 75px) !important;
        max-width: none !important;
        max-height: none !important;
        object-fit: cover !important;
        object-position: center top !important;
        margin: 0 !important;
        padding: 0 !important;
        -webkit-mask-image: none !important;
        mask-image: none !important;
    }

/* Tablet */
@media (max-width: 900px) {
    html body section#about-hero.six-about-cover-hero {
        height: 460px !important;
        max-height: 460px !important;
    }

        html body section#about-hero.six-about-cover-hero > img.six-about-cover-photo {
            top: -45px !important;
            height: calc(100% + 45px) !important;
        }
}

/* Móvil */
@media (max-width: 600px) {
    html body section#about-hero.six-about-cover-hero {
        height: 330px !important;
        max-height: 330px !important;
    }

        html body section#about-hero.six-about-cover-hero > img.six-about-cover-photo {
            top: -20px !important;
            height: calc(100% + 20px) !important;
            object-position: center top !important;
        }
}

/* ==========================================
   SIXILANG - OUR FACTORY
   Imagen izquierda + texto derecha
   ========================================== */

.six-factory-panel {
    display: grid;
    grid-template-columns: minmax(0, 55%) minmax(0, 45%);
    width: 100%;
    max-width: 1120px;
    min-height: 0;
    margin: 42px auto 0;
    background: #eee8df;
    overflow: hidden;
}

/* FOTO */

.six-factory-image {
    width: 100%;
    height: 350px;
    min-width: 0;
    overflow: hidden;
}

    .six-factory-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transform: none;
        filter: none;
    }

/* TEXTO */

.six-factory-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    padding: 35px clamp(24px, 4vw, 58px);
    box-sizing: border-box;
    background: #eee8df;
    text-align: left;
}

    .six-factory-copy .eyebrow {
        color: #a17a60;
        font-size: 11px;
        letter-spacing: 0.17em;
        line-height: 1.5;
    }

    .six-factory-copy h3 {
        color: #30261f;
        font-family: 'Playfair Display', Georgia, serif;
        font-weight: 500;
        font-size: clamp(28px, 2.8vw, 42px);
        line-height: 1.18;
        margin: 18px 0;
        overflow-wrap: normal;
    }

    .six-factory-copy p {
        color: #79695d;
        font-size: 13px;
        line-height: 1.8;
        margin: 0;
    }

/* TABLET */

@media (max-width: 900px) {
    .six-factory-panel {
        grid-template-columns: minmax(0, 52%) minmax(0, 48%);
    }

    .six-factory-image {
        height: 320px;
    }

    .six-factory-copy {
        padding: 28px;
    }
}

/* MOVIL */

@media (max-width: 640px) {
    .six-factory-panel {
        grid-template-columns: minmax(0, 1fr);
        margin-top: 28px;
    }

    .six-factory-image {
        height: 260px;
    }

    .six-factory-copy {
        padding: 30px 24px;
    }

        .six-factory-copy h3 {
            font-size: 31px;
        }
}
