/*
 * Lâm Design signature system
 * The gold italic L from the CRM favicon becomes the subtle recurring detail:
 * a practical brand cue, never a decorative layer competing with the work.
 */

:root {
    --lam-ink: #0b0e12;
    --lam-ink-raised: #161b20;
    --lam-gold: #d9b45f;
    --lam-gold-bright: #f1d38b;
    --lam-gold-dim: rgb(217 180 95 / 34%);
    --lam-line: rgb(242 211 139 / 26%);
    --lam-mark-url: url("../images/brand/favicon-a532f3a2ec22.webp");
}

/* Header: turn the style menu trigger into a small, tailored brand control. */
.site-header .desktop-segment-picker__trigger {
    position: relative;
    min-height: 39px;
    overflow: hidden;
    gap: 9px;
    padding: 0 15px 0 12px;
    color: #f8f2e6;
    background: linear-gradient(112deg, rgb(229 190 102 / 17%), rgb(255 255 255 / 5%));
    border: 0px solid rgb(222 184 102 / 34%);
    letter-spacing: .055em;
    transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease;
}

.site-header .desktop-segment-picker__trigger::before {
    position: absolute;
    top: -12px;
    bottom: -12px;
    left: 31px;
    width: 1px;
    content: "";
    pointer-events: none;
    opacity: .6;
    background: linear-gradient(180deg, transparent, rgb(242 211 139 / 52%), transparent);
    transform: rotate(16deg);
}

.site-header .desktop-segment-picker__trigger:hover,
.site-header .desktop-segment-picker__trigger:focus-visible,
.site-header .desktop-segment-picker.is-open .desktop-segment-picker__trigger {
    color: #fffdf8;
    background: linear-gradient(112deg, rgb(230 188 95 / 29%), rgb(255 255 255 / 9%));
    border-color: rgb(242 207 132 / 76%);
    outline: 0;
    transform: translateY(-1px);
}

.lam-brand-mark {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    display: inline-grid;
    width: 18px;
    height: 18px;
    place-items: center;
}

.lam-brand-mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    margin-left: -9px;
    margin-top: -5px;
}

.site-header .lam-brand-mark--picker {
    width: 18px;
    height: 18px;
    filter: drop-shadow(0 0 7px rgb(240 201 117 / 20%));
    transition: transform .28s cubic-bezier(.2, .8, .2, 1), filter .28s ease;
}

.site-header .desktop-segment-picker__trigger:hover .lam-brand-mark--picker,
.site-header .desktop-segment-picker__trigger:focus-visible .lam-brand-mark--picker,
.site-header .desktop-segment-picker.is-open .lam-brand-mark--picker {
    filter: drop-shadow(0 0 9px rgb(244 210 137 / 49%));
    transform: translateY(-1px) scale(1.06);
}

.site-header .desktop-segment-picker__trigger > .icon:last-child {
    position: relative;
    z-index: 1;
    color: var(--lam-gold-bright);
}

.mobile-header .mobile-segment-trigger .lam-brand-mark--mobile-header {
    width: 19px;
    height: 19px;
    filter: drop-shadow(0 0 7px rgb(240 201 117 / 20%));
}

/* Hero: a composed L loader bridges the moment before the film begins. */
.page-home .luxury-hero.has-hero-video {
    background: #080a0d;
}

.page-home .luxury-hero.has-hero-video .luxury-hero__poster {
    display: block !important;
    opacity: .34 !important;
    filter: saturate(.72) contrast(1.06) brightness(.65);
}

.page-home .luxury-hero.has-hero-video.is-video-ready .luxury-hero__poster {
    opacity: 0 !important;
}

.page-home .luxury-hero.has-hero-video.is-video-fallback .luxury-hero__poster {
    opacity: 1 !important;
    filter: none;
}

.hero-l-loader {
    position: absolute;
    z-index: 4;
    top: 50%;
    left: 50%;
    display: grid;
    width: clamp(92px, 8.6vw, 132px);
    aspect-ratio: 1;
    place-items: center;
    pointer-events: none;
    opacity: 1;
    transform: translate(-50%, -50%);
    transition: opacity .55s ease, visibility .55s ease, transform .55s ease;
}

.hero-l-loader::before {
    position: absolute;
    inset: -13px;
    content: "";
    background: radial-gradient(circle, rgb(7 9 12 / 8%) 12%, rgb(7 9 12 / 49%) 66%, transparent 72%);
    border-radius: 50%;
    filter: blur(5px);
}

.hero-l-loader__ring {
    position: absolute;
    display: block;
    border-radius: 50%;
}

.hero-l-loader__ring--outer {
    inset: 0;
    border: 1px solid rgb(244 213 146 / 22%);
    border-top-color: var(--lam-gold-bright);
    border-right-color: rgb(237 202 122 / 63%);
    animation: lam-orbit 1.55s linear infinite;
}

.hero-l-loader__ring--inner {
    inset: 13%;
    border: 1px solid rgb(255 255 255 / 12%);
    border-bottom-color: rgb(240 205 128 / 63%);
    animation: lam-orbit-reverse 2.15s linear infinite;
}

.hero-l-loader__mark {
    position: relative;
    z-index: 1;
    display: grid;
    width: 43%;
    height: 43%;
    place-items: center;
    animation: lam-mark-breathe 1.8s ease-in-out infinite;
}

.hero-l-loader__mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 13px rgb(239 199 113 / 29%));
}

.page-home .luxury-hero.is-video-ready .hero-l-loader,
.page-home .luxury-hero.is-video-fallback .hero-l-loader {
    visibility: hidden;
    opacity: 0;
    transform: translate(-50%, -50%) scale(.86);
}

@keyframes lam-orbit {
    to { transform: rotate(1turn); }
}

@keyframes lam-orbit-reverse {
    to { transform: rotate(-1turn); }
}

@keyframes lam-mark-breathe {
    50% { transform: scale(1.07); }
}

/* The L returns in the small editorial labels rather than becoming wallpaper. */
.page-home .spotlight-mosaic__eyebrow,
.page-home .featured-products__eyebrow,
.page-home .design-craft__eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-home .spotlight-mosaic__eyebrow::before,
.page-home .featured-products__eyebrow::before,
.page-home .design-craft__eyebrow::before {
    display: block;
    width: 13px;
    height: 13px;
    flex: 0 0 13px;
    content: "";
    opacity: .92;
    background: var(--lam-mark-url) center / contain no-repeat;
    filter: drop-shadow(0 0 4px rgb(240 204 124 / 18%));
}

/* Primary actions retain their function but now carry a restrained signature. */
.btn--primary,
.btn--outline,
.page-home .design-craft__detail .design-craft__cta {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-radius: 0 !important;
    transition: color .28s ease, background .28s ease, border-color .28s ease, box-shadow .28s ease, transform .28s ease;
}

.btn--primary::after,
.btn--outline::after,
.page-home .design-craft__detail .design-craft__cta::after {
    position: absolute;
    z-index: -1;
    inset: 0 auto 0 -38%;
    width: 34%;
    content: "";
    opacity: 0;
    background: linear-gradient(108deg, transparent, rgb(255 255 255 / 24%), transparent);
    transform: skewX(-20deg);
    transition: transform .65s ease, opacity .35s ease;
}

.btn--primary:hover,
.btn--primary:focus-visible,
.btn--outline:hover,
.btn--outline:focus-visible,
.page-home .design-craft__detail .design-craft__cta:hover,
.page-home .design-craft__detail .design-craft__cta:focus-visible {
    box-shadow: 0 14px 28px rgb(4 7 10 / 20%);
    transform: translateY(-2px);
}

.btn--primary:hover::after,
.btn--primary:focus-visible::after,
.btn--outline:hover::after,
.btn--outline:focus-visible::after,
.page-home .design-craft__detail .design-craft__cta:hover::after,
.page-home .design-craft__detail .design-craft__cta:focus-visible::after {
    opacity: 1;
    transform: translateX(470%) skewX(-20deg);
}

.page-home .design-craft__detail .design-craft__cta {
    gap: 9px;
    background: linear-gradient(110deg, rgb(237 201 123 / 18%), rgb(255 255 255 / 6%));
}

.page-home .design-craft__detail .design-craft__cta:hover,
.page-home .design-craft__detail .design-craft__cta:focus-visible {
    color: #17140e;
    border-color: #f2ce80;
    background: #efcc84;
}

.lam-brand-mark--cta {
    width: 16px;
    height: 16px;
    margin-right: 1px;
}

.page-home .design-craft__detail .design-craft__cta .icon {
    margin-left: auto;
}

/* Home film: use a full-bleed bespoke poster before playback. This replaces
   YouTube's own pillar-boxed poster without stretching the moving picture. */
.page-home .video-showcase__player {
    position: relative;
    overflow: hidden;
    background: #090b0e;
    aspect-ratio: 16 / 9;
}

.page-home .video-showcase__player > iframe,
.page-home .video-showcase__player > noscript > iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.page-home .video-showcase__facade {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    overflow: hidden;
    color: #fff;
    cursor: pointer;
    background: #090b0e;
    border: 0;
}

/* A playing YouTube iframe must replace the facade completely. The facade's
   display:block declaration otherwise overrides the browser's [hidden] rule,
   leaving the thumbnail above an actively playing iframe on PC and mobile. */
.page-home .video-showcase__facade[hidden],
.page-home .video-showcase__player > iframe[hidden] {
    display: none !important;
}

.page-home .video-showcase__player > iframe:not([hidden]) {
    position: absolute;
    z-index: 1;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

/* Match the red YouTube-style main play control at thumbnail scale.
   Keep it decorative: the existing thumbnail button remains clickable. */
.page-home .video-thumb__play {
    z-index: 1;
    width: 38px;
    height: 27px;
    background: #f00;
    border: 0;
    border-radius: 7px;
    box-shadow: 0 2px 9px rgb(0 0 0 / 38%);
    pointer-events: none;
    transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.page-home .video-thumb__play .icon {
    display: none;
}

.page-home .video-thumb__play::after {
    display: block;
    width: 0;
    height: 0;
    margin-left: 2px;
    content: "";
    border-block: 6px solid transparent;
    border-left: 9px solid #fff;
}

.page-home .video-thumb:hover .video-thumb__play,
.page-home .video-thumb:focus-visible .video-thumb__play {
    background: #f00;
    box-shadow: 0 3px 11px rgb(0 0 0 / 48%);
    transform: translate(-50%, -50%) scale(1.06);
}

@media (max-width: 760px) {
    .page-home .video-thumb__play {
        width: 34px;
        height: 24px;
        border-radius: 6px;
    }

    .page-home .video-thumb__play::after {
        border-block-width: 5px;
        border-left-width: 8px;
    }
}

.page-home .video-showcase__facade::before,
.page-home .video-showcase__facade::after {
    position: absolute;
    z-index: 1;
    content: "";
    pointer-events: none;
}

.page-home .video-showcase__facade::before {
    inset: 0;
    background: linear-gradient(180deg, rgb(6 8 11 / 12%), transparent 56%, rgb(6 8 11 / 38%));
}

.page-home .video-showcase__facade::after {
    display: none;
}

.page-home .video-showcase__facade > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(.94) contrast(1.03);
    transform: scale(1.10);
    transform-origin: center;
    will-change: transform;
    transition: transform .7s cubic-bezier(.2, .75, .2, 1), filter .35s ease;
}

.page-home .video-showcase__facade-play {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    display: grid;
    width: 68px;
    height: 48px;
    place-items: center;
    background: #f00;
    border-radius: 12px;
    box-shadow: 0 3px 13px rgb(0 0 0 / 36%);
    transform: translate(-50%, -50%);
    transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.page-home .video-showcase__facade-play .icon {
    display: none;
}

.page-home .video-showcase__facade-play::after {
    width: 0;
    height: 0;
    margin-left: 4px;
    content: "";
    border-block: 10px solid transparent;
    border-left: 15px solid #fff;
}

.page-home .video-showcase__facade:hover::after,
.page-home .video-showcase__facade:focus-visible::after {
    background: rgb(233 194 105 / 82%);
    border-color: #fff1c9;
    box-shadow: 0 0 0 14px rgb(12 14 16 / 23%), 0 22px 42px rgb(0 0 0 / 36%);
    transform: translate(-50%, -50%) scale(1.05);
}

.page-home .video-showcase__facade:hover > img,
.page-home .video-showcase__facade:focus-visible > img {
    filter: saturate(1.02) contrast(1.06);
    transform: scale(1.10);
}

.page-home .video-showcase__facade:hover .video-showcase__facade-play,
.page-home .video-showcase__facade:focus-visible .video-showcase__facade-play {
    background: #f00;
    box-shadow: 0 5px 16px rgb(0 0 0 / 43%);
    transform: translate(-50%, -50%) scale(1.05);
}

.page-home .video-showcase__facade:focus-visible {
    outline: 2px solid #f3cf83;
    outline-offset: -5px;
}

/* Floating contact: one calm charcoal rail, with official icons untouched. */
.floating-contact {
    z-index: 80;
    right: 30px;
    bottom: 30px;
    display: grid;
    gap: 12px;
}

.floating-contact::before {
    position: absolute;
    top: 8px;
    right: 8px;
    left: 8px;
    height: 1px;
    content: "";
    opacity: .85;
    background: linear-gradient(90deg, transparent, rgb(239 201 120 / 70%), transparent);
}

.floating-contact .floating-contact__item, .floating-contact .floating-contact__item:nth-child(n) {
    display: grid;
    width: 48px;
    height: 48px;
    padding: 0 !important;
    overflow: visible;
    color: #f8f0df;
    border: 0px solid #555;
    text-align: center;
    border-radius: 50% !important;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 9%), 0 6px 14px rgb(0 0 0 / 24%);
    place-items: center;
    animation: none;
    transition: color .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.floating-contact .floating-contact__item::before {
    position: absolute;
    inset: -4px;
    content: "";
    pointer-events: none;
    opacity: 0;
    border: 1px solid rgb(241 204 124 / 65%);
    border-radius: inherit;
    transform: scale(.84);
    transition: opacity .25s ease, transform .25s ease;
}

.floating-contact .floating-contact__item:hover,
.floating-contact .floating-contact__item:focus-visible {
    color: #16130d;
    background: linear-gradient(145deg, #f1d38b, #c99643) !important;
    border-color: #f8dc98;
    box-shadow: 0 12px 23px rgb(0 0 0 / 34%);
    outline: 0;
    transform: translateY(-2px);
}

.floating-contact .floating-contact__item:hover::before,
.floating-contact .floating-contact__item:focus-visible::before {
    opacity: .72;
    transform: scale(1);
}

.floating-contact .floating-contact__item .icon {
    width: 30px;
    height: 30px;
    color: currentColor;
    stroke: currentColor;
    font-size: 22px;
    margin-top: 8px;
}

.floating-contact .floating-contact__brand-icon,
.floating-contact .floating-contact__zalo-logo,
.floating-contact .floating-contact__messenger-logo {
    display: block;
    width: 48px;
    height: 48px;
    max-width: none;
    object-fit: contain;
    border-radius: 50%;
    transition: transform .25s ease, filter .25s ease;
}

.floating-contact .floating-contact__item:hover .floating-contact__brand-icon,
.floating-contact .floating-contact__item:focus-visible .floating-contact__brand-icon {
    filter: saturate(.2) contrast(1.12);
    transform: scale(.92);
}

.floating-contact .floating-contact__item em {
    position: absolute;
        display: none;
    right: calc(100% + 13px);
    visibility: hidden;
    min-width: max-content;
    padding: 7px 10px;
    color: #fff9eb;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    opacity: 0;
    background: #11151a;
    border: 1px solid rgb(241 204 124 / 27%);
    border-radius: 0;
    box-shadow: 0 10px 20px rgb(0 0 0 / 25%);
    transform: translateX(7px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.floating-contact .floating-contact__item:hover em,
.floating-contact .floating-contact__item:focus-visible em {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
}

/* The compact bottom navigation is visible through the tablet breakpoint. */
@media (max-width: 1024px) {
    .floating-contact {
        display: none !important;
    }
}

@media (max-width: 760px) {
    .lam-brand-mark img {
        margin-left: 0px;
    }
    .hero-l-loader { width: 92px; }
    .page-home .spotlight-mosaic__eyebrow,
    .page-home .featured-products__eyebrow,
    .page-home .design-craft__eyebrow { gap: 6px; }
    .page-home .spotlight-mosaic__eyebrow::before,
    .page-home .featured-products__eyebrow::before,
    .page-home .design-craft__eyebrow::before { width: 11px; height: 11px; flex-basis: 11px; }
.mobile-bottom-nav .mobile-bottom-nav__segment .lam-brand-mark--mobile-segment {
    grid-row: 1;
    align-self: center;
    justify-self: center;
    width: 30px;
    height: 30px;
    filter: drop-shadow(0 0 6px rgb(240 201 117 / 22%));
}
.mobile-bottom-nav .mobile-bottom-nav__segment .lam-brand-mark--mobile-segment img {
    margin-top: 0px;
}
}

@media (prefers-reduced-motion: reduce) {
    .hero-l-loader__ring,
    .hero-l-loader__mark { animation: none; }
    .btn--primary::after,
    .btn--outline::after,
    .page-home .design-craft__detail .design-craft__cta::after { display: none; }
}

/*
 * Editorial heading lockups
 *
 * The monogram is allowed to carry the height of the eyebrow and headline
 * together.  This replaces the tiny repeated icon with one clear brand cue,
 * while the typography stays intentionally quiet and architectural.
 */
.page-home .spotlight-mosaic__section-copy,
.page-home .featured-products__bridge-copy,
.page-home .design-craft__heading-copy {
    --lam-heading-mark-size: clamp(50px, 4vw, 64px);
    position: relative;
    display: grid;
    align-content: center;
    gap: 7px;
    min-height: 66px;
    padding-left: 60px;
}

.page-home .spotlight-mosaic__section-copy {
    border-left: 0;
}

.page-home .spotlight-mosaic__section-copy::before,
.page-home .featured-products__bridge-copy::before,
.page-home .design-craft__heading-copy::before {
    position: absolute;
    top: 50%;
    left: 0;
    width: var(--lam-heading-mark-size);
    aspect-ratio: 1;
    content: "";
    opacity: .98;
    margin-top: -7px;
    background: var(--lam-mark-url) center / contain no-repeat;
    filter: drop-shadow(0 0 9px rgb(240 204 124 / 19%));
    transform: translateY(-50%);
}

.page-home .spotlight-mosaic__eyebrow,
.page-home .featured-products__eyebrow,
.page-home .design-craft__eyebrow {
    display: block;
    margin: 0;
    color: #e9c373;
    font-size: clamp(9px, .78vw, 11px);
    font-weight: 400;
    letter-spacing: .145em;
    line-height: 1.15;
}

.page-home .spotlight-mosaic__eyebrow::before,
.page-home .featured-products__eyebrow::before,
.page-home .design-craft__eyebrow::before {
    display: none;
    content: none;
}

.page-home .spotlight-mosaic__title,
.page-home .featured-products__bridge h2,
.page-home .design-craft__heading h2 {
    color: #fffdfa;
    font-weight: 500;
    text-shadow: 0 1px 18px rgb(0 0 0 / 16%);
}

.page-home h2#spotlight-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.23;
    margin-bottom: 0;
}

.page-home .featured-products__bridge {
    grid-template-columns: minmax(0, 1.16fr) minmax(230px, .7fr);
    gap: clamp(22px, 3vw, 46px);
}

.page-home .featured-products__index {
    display: none;
}

.page-home .featured-products__bridge h2 {
    font-size: 20px;
    line-height: 1.25;
}

.page-home .featured-products__bridge > p {
    grid-column: 2;
}


.page-home .design-craft__heading h2 {
    font-size: 20px;
    line-height: 1.2;
}

@media (max-width: 980px) {
    .page-home .featured-products__bridge {
        grid-template-columns: minmax(0, 1fr);
    }

    .page-home .featured-products__bridge > p {
        grid-column: 1;
    }
}

@media (max-width: 760px) {
    .page-home .spotlight-mosaic__section-copy,
    .page-home .featured-products__bridge-copy,
    .page-home .design-craft__heading-copy {
        --lam-heading-mark-size: 39px;
        gap: 5px;
        min-height: 56px;
        padding-left: 39px;
    }
    .service-item strong {
    font-size: 11px;
}

    .page-home .spotlight-mosaic__eyebrow,
    .page-home .featured-products__eyebrow,
    .page-home .design-craft__eyebrow {
        font-size: 8px;
        letter-spacing: .13em;
    }

.page-home h2#spotlight-title {
    font-size: 15px !important;
    line-height: 1.28;
}

    .page-home .featured-products__bridge {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        padding: 22px 0 5px 0;
    }

    .page-home .featured-products__bridge h2 {
        font-size: 15px;
        line-height: 1.3;
        margin-bottom: 0;
    }

    .page-home .featured-products__bridge > p {
        grid-column: 1;
    }

    .page-home .design-craft__heading h2 {
        font-size: 15px;
        line-height: 1.23;
    }
}

@media (max-width: 370px) {
    .page-home .spotlight-mosaic__section-copy,
    .page-home .featured-products__bridge-copy,
    .page-home .design-craft__heading-copy {
        --lam-heading-mark-size: 46px;
        padding-left: 57px;
    }
}
