/* ==========================================================
   Réalisations commerciales — 2026 redesign
   Loaded only on template-realisations-commercial.php
   ========================================================== */

#commercial-page {
    --slc-primary: #333230;
    --slc-secondary: #b89759;
    --slc-cream: #f6f1e8;
    --slc-paper: #faf7f1;
    --slc-line: rgba(51, 50, 48, 0.14);
    background: #fff;
    color: var(--slc-primary);
}

/* ---------- HERO 50/50 ---------- */
#commercial-page .sl-com-hero {
    position: relative;
    background: var(--slc-paper);
    overflow: hidden;
}

#commercial-page .sl-com-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

#commercial-page .sl-com-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 226px 88px 96px 96px;
    max-width: 720px;
}

#commercial-page .sl-com-hero__eyebrow {
    font-family: futura-pt, sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--slc-secondary);
    margin: 0 0 28px;
}

#commercial-page .sl-com-hero__title {
    font-family: futura-pt, sans-serif;
    font-weight: 500;
    font-size: clamp(56px, 6vw, 92px);
    line-height: 0.96;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    margin: 0 0 32px;
    color: var(--slc-primary);
}

#commercial-page .sl-com-hero__title em {
    font-family: cormorant-garamond, "Cormorant Garamond", serif;
    font-style: italic;
    font-weight: 400;
    text-transform: lowercase;
    letter-spacing: -1px;
    color: var(--slc-secondary);
}

#commercial-page .sl-com-hero__subtitle {
    font-family: futura-pt, sans-serif;
    font-size: 19px;
    line-height: 1.55;
    font-weight: 400;
    margin: 0;
    color: rgba(51, 50, 48, 0.78);
    max-width: 520px;
}

#commercial-page .sl-com-hero__image {
    position: relative;
    overflow: hidden;
    background: var(--slc-primary);
}

#commercial-page .sl-com-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 1024px) {
    #commercial-page .sl-com-hero,
    #commercial-page .sl-com-hero__inner {
        min-height: auto;
    }
    #commercial-page .sl-com-hero__inner {
        grid-template-columns: 1fr;
    }
    #commercial-page .sl-com-hero__content {
        padding: 160px 40px 48px;
        max-width: none;
        text-align: center;
        align-items: center;
    }
    #commercial-page .sl-com-hero__subtitle {
        margin: 0 auto;
    }
    #commercial-page .sl-com-hero__image {
        width: 100vw;
        height: auto;
        aspect-ratio: auto;
        margin-left: calc(-50vw + 50%);
    }
    #commercial-page .sl-com-hero__image img {
        width: 100vw;
        height: auto;
        object-fit: cover;
    }
}

@media (max-width: 767px) {
    #commercial-page .sl-com-hero__content {
        padding: 140px 24px 36px;
    }
    #commercial-page .sl-com-hero__title {
        font-size: 48px;
    }
    #commercial-page .sl-com-hero__subtitle {
        font-size: 15px;
    }
    #commercial-page .sl-com-hero__eyebrow {
        font-size: 11px;
        margin-bottom: 18px;
    }
}

/* ---------- INTRO ---------- */
#commercial-page .sl-com-intro {
    padding: 72px 32px 96px;
    background: #fff;
}

#commercial-page .sl-com-intro__inner {
    max-width: 1080px;
    margin: 0 auto;
    text-align: center;
}

#commercial-page .sl-com-intro__lede {
    font-family: futura-pt, sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.7;
    color: rgba(51, 50, 48, 0.85);
    max-width: 880px;
    margin: 0 auto 56px;
}

#commercial-page .sl-com-intro__rule {
    display: block;
    width: 56px;
    height: 1px;
    background: var(--slc-secondary);
    margin: 0 auto 56px;
    opacity: 0.7;
}

#commercial-page .sl-com-intro__quote {
    font-family: cormorant-garamond, "Cormorant Garamond", serif;
    font-style: italic;
    font-weight: 500;
    font-size: clamp(32px, 3.6vw, 48px);
    line-height: 1.25;
    letter-spacing: -0.3px;
    color: var(--slc-secondary);
    max-width: 920px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    #commercial-page .sl-com-intro { padding: 80px 24px 64px; }
    #commercial-page .sl-com-intro__lede { font-size: 18px; line-height: 1.65; }
}

/* ---------- FILTER (currently hidden but kept) ---------- */
#commercial-page .sl-com-filter {
    background: var(--slc-paper);
    padding: 64px 32px;
    border-top: 1px solid var(--slc-line);
    border-bottom: 1px solid var(--slc-line);
}

#commercial-page .sl-com-filter__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

#commercial-page .sl-com-filter__label {
    font-family: futura-pt, sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: rgba(51, 50, 48, 0.55);
    margin: 0;
}

#commercial-page .sl-com-select {
    position: relative;
    min-width: 360px;
}

#commercial-page .sl-com-select__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 28px;
    background: #fff;
    border: 1px solid var(--slc-primary);
    font-family: futura-pt, sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--slc-primary);
    cursor: pointer;
    transition: all 0.25s ease;
}

#commercial-page .sl-com-select__trigger:hover {
    background: var(--slc-primary);
    color: #fff;
}

#commercial-page .sl-com-select__chevron {
    width: 12px;
    height: 12px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.25s ease;
    margin-top: -4px;
}

#commercial-page .sl-com-select.is-open .sl-com-select__chevron {
    transform: rotate(-135deg);
    margin-top: 4px;
}

#commercial-page .sl-com-select__menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--slc-primary);
    list-style: none;
    margin: 0;
    padding: 8px 0;
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    box-shadow: 0 18px 40px rgba(51, 50, 48, 0.08);
}

#commercial-page .sl-com-select.is-open .sl-com-select__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#commercial-page .sl-com-select__option {
    padding: 14px 28px;
    font-family: futura-pt, sans-serif;
    font-size: 14px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--slc-primary);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

#commercial-page .sl-com-select__option:hover,
#commercial-page .sl-com-select__option.is-active {
    background: var(--slc-paper);
    color: var(--slc-secondary);
}

#commercial-page .sl-com-filter__count {
    font-family: futura-pt, sans-serif;
    font-size: 14px;
    color: rgba(51, 50, 48, 0.6);
    letter-spacing: 0.4px;
}

#commercial-page .sl-com-filter__count strong {
    color: var(--slc-primary);
    font-weight: 600;
}

@media (max-width: 768px) {
    #commercial-page .sl-com-filter { padding: 48px 24px; }
    #commercial-page .sl-com-filter__inner { flex-direction: column; align-items: flex-start; gap: 20px; }
    #commercial-page .sl-com-select { width: 100%; min-width: 0; }
}

/* ---------- GALLERY 3x3 with bento expand ---------- */
#commercial-page .sl-com-gallery {
    padding: 96px 32px 64px;
    background: #fff;
}

#commercial-page .sl-com-gallery__grid {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 320px;
    grid-auto-flow: dense;
    gap: 24px;
}

#commercial-page .sl-com-card {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--slc-primary);
    cursor: zoom-in;
    transition: box-shadow 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

#commercial-page .sl-com-card.is-expanded {
    grid-column: span 2;
    grid-row: span 2;
    cursor: zoom-out;
    z-index: 5;
    box-shadow: 0 28px 60px rgba(51, 50, 48, 0.22);
}

#commercial-page .sl-com-card__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

#commercial-page .sl-com-card:hover .sl-com-card__image {
    transform: scale(1.06);
}

#commercial-page .sl-com-card.is-expanded .sl-com-card__image {
    transform: none;
}

#commercial-page .sl-com-card__expand {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(51, 50, 48, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.35s ease, transform 0.35s ease, background 0.25s ease;
    z-index: 3;
    pointer-events: none;
}

#commercial-page .sl-com-card:hover .sl-com-card__expand,
#commercial-page .sl-com-card.is-expanded .sl-com-card__expand {
    opacity: 1;
    transform: translateY(0);
}

#commercial-page .sl-com-card.is-expanded .sl-com-card__expand {
    background: rgba(51, 50, 48, 0.55);
}

#commercial-page .sl-com-card__expand svg {
    position: absolute;
    width: 16px;
    height: 16px;
    transition: opacity 0.35s ease;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
    stroke-linecap: round;
}

#commercial-page .sl-com-card__expand .sl-icon-close { opacity: 0; }
#commercial-page .sl-com-card.is-expanded .sl-icon-expand { opacity: 0; }
#commercial-page .sl-com-card.is-expanded .sl-icon-close { opacity: 1; }

#commercial-page .sl-com-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(51, 50, 48, 0.85) 0%, rgba(51, 50, 48, 0.15) 50%, rgba(51, 50, 48, 0) 100%);
    opacity: 0.75;
    transition: opacity 0.4s ease;
}

#commercial-page .sl-com-card:hover .sl-com-card__overlay {
    opacity: 0.9;
}

#commercial-page .sl-com-card__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 32px;
    color: #fff;
    z-index: 2;
}

#commercial-page .sl-com-card__type {
    font-family: futura-pt, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0 0 8px;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

#commercial-page .sl-com-card__name {
    font-family: futura-pt, sans-serif;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.4px;
    margin: 0;
    line-height: 1.15;
}

#commercial-page .sl-com-card__location {
    font-family: futura-pt, sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.3px;
    margin: 6px 0 0;
    opacity: 0.85;
}

#commercial-page .sl-com-card.is-expanded .sl-com-card__caption {
    padding: 44px 48px;
}
#commercial-page .sl-com-card.is-expanded .sl-com-card__name {
    font-size: 36px;
    letter-spacing: 0.2px;
}
#commercial-page .sl-com-card.is-expanded .sl-com-card__type {
    font-size: 13px;
}
#commercial-page .sl-com-card.is-expanded .sl-com-card__location {
    font-size: 16px;
    margin-top: 10px;
}

@media (max-width: 1024px) {
    #commercial-page .sl-com-gallery__grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
    }
    #commercial-page .sl-com-card { aspect-ratio: 4 / 3; }
    #commercial-page .sl-com-card.is-expanded {
        grid-column: span 2;
        grid-row: auto;
        aspect-ratio: 16 / 9;
    }
    #commercial-page .sl-com-card.is-expanded .sl-com-card__name { font-size: 28px; }
}
@media (max-width: 640px) {
    #commercial-page .sl-com-gallery { padding: 64px 16px 32px; }
    #commercial-page .sl-com-gallery__grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 16px;
    }
    #commercial-page .sl-com-card {
        aspect-ratio: 4 / 3;
        cursor: default;
    }
    #commercial-page .sl-com-card.is-expanded {
        grid-column: span 1;
        aspect-ratio: 4 / 3;
    }
    #commercial-page .sl-com-card__expand { display: none; }
}

/* ---------- 500+ STAT BAND ---------- */
#commercial-page .sl-com-stat {
    margin: 96px 32px;
    padding: 96px 64px;
    background: var(--slc-primary);
    color: #fff;
    position: relative;
    overflow: hidden;
}

#commercial-page .sl-com-stat__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 80px;
    align-items: center;
}

#commercial-page .sl-com-stat__number {
    font-family: futura-pt, sans-serif;
    font-weight: 500;
    font-size: clamp(96px, 12vw, 180px);
    line-height: 0.92;
    letter-spacing: -3px;
    margin: 0;
    color: #fff;
}

#commercial-page .sl-com-stat__plus {
    color: var(--slc-secondary);
    font-family: cormorant-garamond, "Cormorant Garamond", serif;
    font-style: italic;
    font-weight: 400;
    font-size: 0.55em;
    letter-spacing: 0;
    vertical-align: 0.18em;
    margin-left: 8px;
}

#commercial-page .sl-com-stat__label {
    display: block;
    margin-top: 18px;
    font-family: futura-pt, sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--slc-secondary);
}

#commercial-page .sl-com-stat__copy {
    font-family: futura-pt, sans-serif;
    font-size: 19px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

#commercial-page .sl-com-stat__copy strong {
    color: #fff;
    font-weight: 500;
}

#commercial-page .sl-com-stat__quote {
    margin-top: 32px;
    padding-left: 24px;
    border-left: 1px solid var(--slc-secondary);
    font-family: cormorant-garamond, "Cormorant Garamond", serif;
    font-style: italic;
    font-weight: 400;
    font-size: 26px;
    line-height: 1.3;
    color: var(--slc-secondary);
}

@media (max-width: 1024px) {
    #commercial-page .sl-com-stat { margin: 64px 16px; padding: 64px 32px; }
    #commercial-page .sl-com-stat__inner { grid-template-columns: 1fr; gap: 40px; text-align: left; }
}

/* ---------- COMMERCIAL FORM (where the showroom used to be) ---------- */
/* Adopt the gold accent on this page in place of the default brown */
section.quote-form.sl-com-form {
    --quote-secondary: var(--slc-secondary);
    --quote-primary: var(--slc-primary);
    padding: 96px 24px 120px;
    max-width: 980px;
}

.sl-com-form__intro {
    text-align: center;
    margin: 0 auto 56px;
    max-width: 720px;
}

.sl-com-form__eyebrow {
    font-family: futura-pt, sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--slc-secondary);
    margin: 0 0 24px;
}

.sl-com-form__title {
    font-family: futura-pt, sans-serif;
    font-weight: 500;
    font-size: clamp(40px, 4.6vw, 64px);
    line-height: 1.02;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    color: var(--slc-primary);
    margin: 0 0 28px;
}

.sl-com-form__title em {
    font-family: cormorant-garamond, "Cormorant Garamond", serif;
    font-style: italic;
    font-weight: 400;
    text-transform: lowercase;
    letter-spacing: -1px;
    color: var(--slc-secondary);
}

.sl-com-form__lede {
    font-family: futura-pt, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: rgba(51, 50, 48, 0.78);
    margin: 0 auto;
    max-width: 600px;
}

.sl-com-form .quote-form__container {
    margin-top: 16px;
}

.sl-com-form .quote-form__label {
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    section.quote-form.sl-com-form { padding: 72px 20px 88px; }
    .sl-com-form__intro { margin-bottom: 40px; }
    .sl-com-form__title { font-size: 36px; }
    .sl-com-form__lede { font-size: 15px; }
}

/* ---------- TRUST LOGOS (between hero and intro) ---------- */
#commercial-page .sl-com-trust {
    background: #fff;
    padding: 96px 48px 56px;
}

#commercial-page .sl-com-trust__inner {
    max-width: 1320px;
    margin: 0 auto;
    text-align: center;
}

#commercial-page .sl-com-trust__eyebrow {
    font-family: futura-pt, sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--slc-secondary);
    margin: 0 0 64px;
}

#commercial-page .sl-com-trust__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-top: 1px solid var(--slc-line);
    border-left: 1px solid var(--slc-line);
}

#commercial-page .sl-com-trust__cell {
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 32px;
    border-right: 1px solid var(--slc-line);
    border-bottom: 1px solid var(--slc-line);
    background: #fff;
    transition: background 0.35s ease;
}

#commercial-page .sl-com-trust__cell:hover {
    background: var(--slc-paper);
}

#commercial-page .sl-com-trust__cell img {
    max-width: 100%;
    max-height: 64px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.7;
    transition: filter 0.35s ease, opacity 0.35s ease;
}

/* Square-format logos (logomark + badge combo) need more vertical room
   than wordmarks. Without this they render tiny in the 16:9 cell. */
#commercial-page .sl-com-trust__cell--square img,
#commercial-page .sl-com-trust__marquee-cell.sl-com-trust__cell--square img {
    max-height: 110px;
    max-width: 130px;
}

#commercial-page .sl-com-trust__cell:hover img {
    filter: grayscale(0);
    opacity: 1;
}

#commercial-page .sl-com-trust__placeholder {
    font-family: cormorant-garamond, "Cormorant Garamond", serif;
    font-style: italic;
    font-weight: 500;
    font-size: 19px;
    line-height: 1.2;
    letter-spacing: 0.3px;
    color: rgba(51, 50, 48, 0.55);
    text-align: center;
}

#commercial-page .sl-com-trust__placeholder--empty {
    font-style: normal;
    font-family: futura-pt, sans-serif;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(51, 50, 48, 0.3);
}

@media (max-width: 1024px) {
    #commercial-page .sl-com-trust { padding: 72px 24px 80px; }
    #commercial-page .sl-com-trust__eyebrow { margin-bottom: 48px; }
    #commercial-page .sl-com-trust__grid { grid-template-columns: repeat(3, 1fr); }
    #commercial-page .sl-com-trust__placeholder { font-size: 16px; }
}

@media (max-width: 480px) {
    #commercial-page .sl-com-trust { padding: 56px 16px 64px; }
    #commercial-page .sl-com-trust__cell { padding: 18px 12px; }
    #commercial-page .sl-com-trust__placeholder { font-size: 13px; }
    #commercial-page .sl-com-trust__placeholder--empty { font-size: 9px; letter-spacing: 2px; }
}

/* Logo link fills entire cell so the click target is the whole cell */
#commercial-page .sl-com-trust__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

/* White logos: invert so white-on-transparent renders as black on white bg */
#commercial-page .sl-com-trust__cell--invert img {
    filter: invert(1) grayscale(1);
    opacity: 0.7;
}
#commercial-page .sl-com-trust__cell--invert:hover img {
    filter: invert(1);
    opacity: 1;
}

/* ---------- MOBILE MARQUEE (hidden on desktop) ---------- */
#commercial-page .sl-com-trust__marquee {
    display: none;
}

#commercial-page .sl-com-trust__marquee-track {
    display: flex;
    align-items: center;
    gap: 56px;
    width: max-content;
    animation: sl-com-trust-marquee 45s linear infinite;
    will-change: transform;
}

#commercial-page .sl-com-trust__marquee-cell {
    flex: 0 0 auto;
    width: 130px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#commercial-page .sl-com-trust__marquee-cell img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.78;
}

#commercial-page .sl-com-trust__marquee-cell.sl-com-trust__cell--invert img {
    filter: invert(1) grayscale(1);
    opacity: 0.78;
}

@keyframes sl-com-trust-marquee {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    #commercial-page .sl-com-trust__marquee-track {
        animation: none;
    }
    #commercial-page .sl-com-trust__marquee {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* ---------- MORE CLIENTS expandable list ---------- */
#commercial-page .sl-com-trust__more {
    margin: 56px auto 0;
    max-width: 1080px;
    padding-top: 40px;
    border-top: 1px solid var(--slc-line);
    text-align: center;
}

#commercial-page .sl-com-trust__more-trigger {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 18px 32px;
    border: 1px solid var(--slc-primary);
    background: transparent;
    font-family: futura-pt, sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--slc-primary);
    transition: background 0.3s ease, color 0.3s ease;
    user-select: none;
}

#commercial-page .sl-com-trust__more-trigger::-webkit-details-marker { display: none; }
#commercial-page .sl-com-trust__more-trigger::marker { content: ''; display: none; }

#commercial-page .sl-com-trust__more-trigger:hover {
    background: var(--slc-primary);
    color: #fff;
}

/* Plus / minus icon — vertical bar collapses on open */
#commercial-page .sl-com-trust__more-icon {
    width: 14px;
    height: 14px;
    position: relative;
    flex: 0 0 auto;
}
#commercial-page .sl-com-trust__more-icon::before,
#commercial-page .sl-com-trust__more-icon::after {
    content: '';
    position: absolute;
    background: currentColor;
    transition: transform 0.3s ease;
}
#commercial-page .sl-com-trust__more-icon::before {
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    transform: translateY(-50%);
}
#commercial-page .sl-com-trust__more-icon::after {
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    transform: translateX(-50%);
}
#commercial-page .sl-com-trust__more[open] .sl-com-trust__more-icon::after {
    transform: translateX(-50%) scaleY(0);
}

#commercial-page .sl-com-trust__more-content {
    padding-top: 56px;
}

#commercial-page .sl-com-trust__more-intro {
    font-family: futura-pt, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(51, 50, 48, 0.7);
    max-width: 760px;
    margin: 0 auto 56px;
    text-align: center;
}

#commercial-page .sl-com-trust__more-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 48px;
    row-gap: 14px;
    text-align: left;
}

#commercial-page .sl-com-trust__more-item {
    margin: 0;
}

#commercial-page .sl-com-trust__more-link {
    font-family: cormorant-garamond, "Cormorant Garamond", serif;
    font-style: italic;
    font-weight: 500;
    font-size: 19px;
    line-height: 1.35;
    color: var(--slc-primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s ease, color 0.25s ease;
}

#commercial-page .sl-com-trust__more-link:hover {
    color: var(--slc-secondary);
    border-bottom-color: var(--slc-secondary);
}

#commercial-page .sl-com-trust__more-link--nourl {
    cursor: default;
    color: rgba(51, 50, 48, 0.72);
}

#commercial-page .sl-com-trust__more-link--nourl:hover {
    color: rgba(51, 50, 48, 0.72);
    border-bottom-color: transparent;
}

@media (max-width: 1024px) {
    #commercial-page .sl-com-trust__more { margin-top: 64px; padding-top: 48px; }
    #commercial-page .sl-com-trust__more-list { grid-template-columns: repeat(3, 1fr); column-gap: 32px; }
}

@media (max-width: 700px) {
    #commercial-page .sl-com-trust__more-list { grid-template-columns: repeat(2, 1fr); column-gap: 24px; row-gap: 12px; }
    #commercial-page .sl-com-trust__more-link { font-size: 17px; }
}

@media (max-width: 420px) {
    #commercial-page .sl-com-trust__more-list { grid-template-columns: 1fr; }
    #commercial-page .sl-com-trust__more-trigger { font-size: 11px; letter-spacing: 2px; padding: 14px 22px; }
}

/* ---------- MOBILE: swap grid for marquee at <=640px ---------- */
@media (max-width: 640px) {
    #commercial-page .sl-com-trust {
        padding: 64px 0 40px;
    }
    #commercial-page .sl-com-trust__inner {
        padding: 0;
    }
    #commercial-page .sl-com-trust__eyebrow {
        margin: 0 24px 40px;
    }
    /* Hide the grid; marquee takes over */
    #commercial-page .sl-com-trust__grid {
        display: none;
    }
    #commercial-page .sl-com-trust__marquee {
        display: block;
        overflow: hidden;
        position: relative;
        width: 100%;
        -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
                mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
    }
    /* Pause on tap so users can read a logo */
    #commercial-page .sl-com-trust__marquee:active .sl-com-trust__marquee-track {
        animation-play-state: paused;
    }
    /* Restore inner padding around the expandable block */
    #commercial-page .sl-com-trust__more {
        margin: 48px 24px 0;
        padding-top: 32px;
    }
}
