.ck-public {
    --ck-bg: #F5F7FA;
    --ck-card: #FFFFFF;
    --ck-section-green: #EAF1F9; /* xanh nhạt, thay cho kem trùng lặp */
    --ck-section-cream: #fff8e16e; /* kem vàng nhạt, hợp tone vàng logo */
    --ck-border: #E3E8EF;
    --ck-primary: #0B3A7A;
    --ck-primary-dark: #072A5C;
    --ck-footer-bg: #0B2D50;
    --ck-accent: var(--ck-primary);
    --ck-explore-bg: #E5A600; /* vàng đúng màu vòng elip logo */
    --ck-explore-hover: #C98F00;
    --ck-on-explore: var(--ck-primary-dark); /* chữ trên nền vàng, thêm mới */
    --ck-body: #1F2937;
    --ck-secondary-text: #6B7280;
    --ck-on-dark: var(--ck-card);
    --ck-header-bg: color-mix(in srgb, var(--ck-card) 96%, transparent);
    margin: 0;
    background: var(--ck-bg);
    color: var(--ck-body);
    font-family: Arial,Helvetica,sans-serif;
    font-size: 16px;
    line-height: 1.7;
    overflow-wrap: anywhere
}

    .ck-public *, .ck-public *::before, .ck-public *::after {
        box-sizing: border-box
    }

    .ck-public img {
        display: block;
        max-width: 100%;
        object-fit: cover
    }

    /* PhotoSwipe sizes images inside a transformed, zero-width zoom wrapper. */
    .ck-public .pswp img {
        max-width: none;
        object-fit: contain;
    }

    .ck-public a {
        color: var(--ck-primary-dark);
        text-decoration: none
    }

    .ck-public button {
        font: inherit
    }

    .ck-public :focus-visible {
        outline: 3px solid var(--ck-primary);
        outline-offset: 5px
    }

    .ck-public section[id], .ck-public main {
        scroll-margin-top: 100px
    }

    .ck-public h1, .ck-public h2, .ck-public h3 {
        color: var(--ck-body);
        line-height: 1.15;
        margin: 0 0 20px;
        letter-spacing: -.035em
    }

    .ck-public h1, .ck-public h2 {
        font-family: Georgia,'Times New Roman',serif;
        font-weight: 400
    }

    .ck-public h2 {
        font-size: clamp(2rem,3.4vw,3.25rem)
    }

    .ck-public h3 {
        font-size: 1.3rem;
        letter-spacing: -.02em
    }

    .ck-public p {
        margin: 0 0 22px
    }

.ck-container {
    width: min(1180px,calc(100% - 64px));
    margin-inline: auto
}

.ck-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--ck-header-bg);
    border-bottom: 1px solid var(--ck-border);
    backdrop-filter: blur(12px)
}

.ck-header-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px
}

.ck-logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -.05em;
    white-space: nowrap;
    color: var(--ck-primary-dark) !important
}

    .ck-logo span {
        font-weight: 400
    }

    .ck-logo i {
        margin-right: 6px;
        color: var(--ck-primary)
    }

.ck-nav {
    display: flex;
    gap: 30px;
    align-items: center
}

    .ck-nav > a:not(.ck-button) {
        font-size: .9rem;
        font-weight: 600;
        padding: 12px 0
    }

    .ck-nav > a:hover, .ck-footer a:hover {
        text-decoration: underline;
        text-underline-offset: 5px
    }

.ck-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 25px;
    min-height: 48px;
    border-radius: 6px;
    background: var(--ck-primary-dark);
    color: white !important;
    font-weight: 700;
    font-size: .95rem;
    border: 1px solid transparent;
    transition: transform .2s,box-shadow .2s;
    text-align: center
}

    .ck-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 18px #123c4a24
    }

.ck-button-small {
    padding: 11px 18px;
    font-size: .82rem
}

.ck-button-accent {
    background: var(--ck-primary-dark);
    color: var(--ck-on-dark) !important
}

.ck-button-outline {
    border-color: #fff9;
    background: #123c4a30
}

.ck-public #home .ck-button-accent {
    background: var(--ck-explore-bg);
    color: var(--ck-body) !important;
}

    .ck-public #home .ck-button-accent:hover,
    .ck-public #home .ck-button-accent:focus-visible {
        background: var(--ck-explore-hover);
    }

.ck-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap
}

.ck-hero {
    position: relative;
    isolation: isolate;
    min-height: 730px;
    display: flex;
    align-items: center;
    background: var(--ck-primary-dark);
    color: white;
    overflow: hidden
}

    .ck-hero::after {
        content: '';
        position: absolute;
        inset: 0;
        z-index: -1;
        background: linear-gradient(90deg, rgb(11 45 80 / 14%), rgb(11 45 80 / 0%) 48%, rgba(11, 45, 80, .1));
    }

.ck-hero-content {
    padding-block: 96px
}

.ck-public .ck-eyebrow {
    font-size: .72rem;
    letter-spacing: .17em;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 18px;
    color: var(--ck-primary-dark)
}

.ck-hero .ck-eyebrow {
    color: #ffccb4
}

.ck-public .ck-hero h1 {
    color: white;
    font-size: clamp(3.2rem,5.8vw,5.7rem);
    line-height: 1.06;
    max-width: 780px;
    margin-bottom: 26px
}

.ck-hero h1 em {
    color: var(--ck-explore-bg);
    font-weight: 400
}

.ck-hero-content > p:not(.ck-eyebrow) {
    max-width: 510px;
    color: #edf2ed;
    font-size: 1.05rem
}

.ck-hero-note {
    font-size: .8rem;
    margin-top: 45px;
    color: #e3eeea
}

    .ck-hero-note span {
        color: #ffc1a4;
        margin-right: 10px
    }

.ck-hero-caption {
    position: absolute;
    right: 34px;
    bottom: 28px;
    font-size: .65rem;
    letter-spacing: .2em;
    color: #fff
}

    .ck-hero-caption span {
        font-size: 1.3rem;
        margin-left: 15px
    }

.ck-section {
    padding-block: 96px
}

.ck-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 40px;
    margin-bottom: 35px
}

    .ck-section-heading h2 {
        margin-bottom: 0
    }

    .ck-section-heading > p {
        font-size: .9rem;
        margin: 0;
        max-width: 360px
    }

.ck-card-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 26px
}

.ck-card {
    min-width: 0;
    border-radius: 12px;
    overflow: hidden;
    background: var(--ck-card);
    box-shadow: 0 4px 18px #123c4a07;
    border: 1px solid var(--ck-border);
    transition: transform .25s,box-shadow .25s
}

    .ck-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px #123c4a12
    }

.ck-card-image {
    overflow: hidden;
    aspect-ratio: 16/11;
    background: var(--ck-bg)
}

    .ck-card-image img {
        width: 100%;
        height: 100%;
        transition: transform .5s
    }

.ck-card:hover .ck-card-image img {
    transform: scale(1.035)
}

.ck-card-body {
    padding: 25px
}

    .ck-card-body .ck-eyebrow {
        font-size: .63rem;
        margin-bottom: 10px
    }

    .ck-card-body h3 {
        margin-bottom: 14px
    }

.ck-summary {
    font-size: .9rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.ck-card-bottom {
    border-top: 1px solid var(--ck-border);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap
}

    .ck-card-bottom a, .ck-text-link {
        font-size: .84rem;
        font-weight: 700;
        color: var(--ck-primary-dark) !important;
        text-decoration: underline !important;
        text-underline-offset: 5px
    }

.ck-price strong {
    color: var(--ck-primary-dark);
    font-size: 1.25rem
}

.ck-price span {
    font-size: .7rem
}

.ck-price del {
    display: block;
    font-size: .8rem;
    color: var(--ck-secondary-text)
}

.ck-empty {
    padding: 46px 24px;
    text-align: center;
    border: 1px dashed var(--ck-border);
    border-radius: 12px;
    background: var(--ck-card)
}

    .ck-empty p {
        max-width: 580px;
        margin-inline: auto
    }

    .ck-empty i {
        font-size: 2rem;
        color: var(--ck-primary-dark);
        margin-bottom: 22px
    }

.ck-about, .ck-public section[aria-labelledby="story-heading"] {
    background: var(--ck-section-green)
}

.ck-public section[aria-labelledby="reviews-title"] {
    background: var(--ck-section-cream)
}

.ck-public .ck-about-page .ck-stories {
    background: var(--ck-card)
}

.ck-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 85px;
    align-items: center
}

.ck-about-image {
    position: relative
}

    .ck-about-image img {
        width: 100%;
        height: 510px;
        border-radius: 120px 12px 12px 12px;
        object-position: 74% center
    }

    .ck-about-image span {
        position: absolute;
        bottom: 24px;
        left: 24px;
        right: 24px;
        color: #fff;
        font-family: Georgia,serif;
        font-size: 1.3rem;
        background: #123c4adc;
        padding: 15px 20px;
        border-radius: 6px;
        text-align: center
    }

.ck-about-copy > p:not(.ck-eyebrow) {
    font-size: .95rem
}

.ck-about-copy .ck-text-link {
    display: inline-block;
    margin-top: 10px
}

.ck-centered {
    text-align: center;
    margin: 0 auto 46px
}

.ck-benefits {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 60px;
    text-align: center
}

    .ck-benefits p {
        font-size: .93rem;
        margin: 0
    }

.ck-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: var(--ck-section-green);
    color: var(--ck-primary);
    font-size: 1.5rem;
    margin-bottom: 24px
}

.ck-stories {
    background: var(--ck-card)
}

.ck-card time {
    display: block;
    font-size: .75rem;
    color: var(--ck-secondary-text);
    margin-bottom: 14px
}

.ck-contact {
    padding: 65px 40px;
    background: var(--ck-section-cream);
    border-radius: 16px;
    text-align: center;
    color: var(--ck-body);
    position: relative;
    overflow: hidden
}

    .ck-contact h2 {
        color: var(--ck-body)
    }

    .ck-contact .ck-eyebrow {
        color: var(--ck-primary-dark)
    }

    .ck-contact .ck-actions {
        justify-content: center
    }

.ck-contact-note {
    max-width: 530px;
    margin-bottom: 0 !important;
    font-size: .95rem
}

.ck-footer {
    background: var(--ck-footer-bg);
    color: #dce4ed;
    padding: 56px 0 calc(32px + env(safe-area-inset-bottom, 0px));
}
.ck-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, .7fr);
    gap: 48px;
}
.ck-footer-grid > * { min-width: 0; }
.ck-public .ck-footer-grid h2 {
    font: 700 1rem/1.5 Arial, Helvetica, sans-serif;
    letter-spacing: 0;
    margin-bottom: 16px;
}
.ck-public .ck-footer-brand h2 { font-size: 1.25rem; line-height: 1.4; }
.ck-footer-logo {
    display: inline-block;
    width: 150px;
    max-width: 100%;
    padding: 10px 14px;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 8px;
}
.ck-footer-logo img { width: 100%; height: auto; object-fit: contain; }
.ck-footer-grid p { font-size: .95rem; }
.ck-footer .ck-footer-slogan { color: #E8B323; font-weight: 700; }
.ck-footer-grid nav > a { display: flex; align-items: center; min-height: 44px; padding: 8px 0; }
.ck-footer-contact-link { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; padding: 8px 0; }
.ck-footer-contact-link > span { min-width: 0; }
.ck-footer-contact-link i, .ck-footer-social i { color: #E8B323; width: 18px; flex: 0 0 18px; text-align: center; }
.ck-footer-label { display: block; font-size: .8rem; color: #bdcbd9; }
.ck-footer-phone strong { font-size: 1.35rem; color: #fff; }
.ck-footer-social { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-right: 16px; }
.ck-footer-bottom { border-top: 1px solid #ffffff30; font-size: .8rem; padding-top: 24px; margin-top: 36px; }
.ck-public .ck-footer a { color: #dce4ed; }
.ck-public .ck-footer a:hover { color: #E8B323; }
.ck-public .ck-footer :focus-visible, .ck-public .ck-floating a:focus-visible { outline: 3px solid #E8B323; outline-offset: 4px; }
.ck-floating {
    position: fixed;
    right: max(16px, env(safe-area-inset-right, 0px));
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    z-index: 15;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ck-public .ck-floating a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    box-shadow: 0 3px 12px #0003;
    text-decoration: none;
}
.ck-public .ck-floating-zalo { background: #0068ff; color: #fff; }
.ck-zalo-mark { background: #fff; color: #0060df; font-size: 13px; font-weight: 800; border-radius: 50% 50% 50% 4px; padding: 3px; }
.ck-public .ck-floating-phone { background: #E8B323; color: #0B2D50; }
.ck-floating i { font-size: 21px; }
.ck-floating-label { position: absolute; right: 64px; background: #0B2D50; color: #fff; padding: 5px 12px; border-radius: 5px; white-space: nowrap; font-size: .85rem; opacity: 0; pointer-events: none; }
.ck-floating a:hover .ck-floating-label, .ck-floating a:focus-visible .ck-floating-label { opacity: 1; }
.ck-floating-phone > i { animation: ck-phone-shake 5.6s ease-in-out infinite; }
.ck-floating-zalo > .ck-zalo-mark { animation: ck-zalo-shake 5.6s ease-in-out 2.8s infinite; }
.ck-public .ck-floating-phone { isolation: isolate; overflow: visible; }
.ck-floating-phone::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border: 2px solid #E8B323;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    animation: ck-phone-ring 5.6s ease-out infinite;
}
/* Both icons restart together after interaction, preserving the stagger. */
.ck-floating:is(:hover, :focus, :focus-within, :active) .ck-floating-phone > i,
.ck-floating:is(:hover, :focus, :focus-within, :active) .ck-floating-zalo > .ck-zalo-mark,
.ck-floating:is(:hover, :focus, :focus-within, :active) .ck-floating-phone::before {
    animation: none;
}
@keyframes ck-phone-shake {
    0%, 12.5%, 100% { transform: rotate(0deg); }
    2.5%, 7.5% { transform: rotate(-12deg); }
    5%, 10% { transform: rotate(12deg); }
}
@keyframes ck-zalo-shake {
    0%, 12.5%, 100% { transform: rotate(0deg); }
    2.5%, 7.5% { transform: rotate(-5deg); }
    5%, 10% { transform: rotate(5deg); }
}
@keyframes ck-phone-ring {
    0% { transform: scale(1); opacity: .35; }
    12.5%, 100% { transform: scale(1.35); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .ck-floating-phone > i,
    .ck-floating-zalo > .ck-zalo-mark,
    .ck-floating-phone::before { animation: none !important; }
    .ck-floating-phone::before { opacity: 0; }
}
html { scroll-padding-bottom: 152px; }
.ck-public:has(.ck-floating) #main-content { padding-bottom: 24px; }
.ck-public:has(.ck-floating) .ck-footer-bottom { padding-right: calc(80px + env(safe-area-inset-right, 0px)); }
@media (max-width: 900px) {
    .ck-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ck-footer-brand { grid-column: 1 / -1; max-width: 580px; }
    .ck-public:has(.ck-floating) .ck-footer-grid nav { padding-right: calc(80px + env(safe-area-inset-right, 0px)); }
}
@media (max-width: 600px) {
    .ck-footer-grid { grid-template-columns: minmax(0, 1fr); text-align: left; }
    .ck-footer-brand { grid-column: auto; }
    .ck-floating-label { display: none; }
}

.ck-review {
    margin: 0;
    padding: 30px
}

    .ck-review blockquote {
        margin: 0
    }

    .ck-review figcaption {
        font-weight: 700
    }

.ck-menu-toggle {
    border: 1px solid var(--ck-border);
    background: transparent;
    color: var(--ck-primary-dark);
    border-radius: 5px;
    padding: 8px 12px;
    min-height: 44px
}

.ck-skip {
    position: fixed;
    left: 12px;
    top: -100px;
    z-index: 50;
    background: var(--ck-card);
    padding: 12px 20px
}

    .ck-skip:focus {
        top: 12px
    }

.ck-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0
}

.ck-public .ck-footer a, .ck-public .ck-footer h2,
.ck-public .ck-hero a:not(.ck-button) {
    color: var(--ck-on-dark)
}

.ck-public .ck-footer .ck-logo {
    color: var(--ck-on-dark) !important
}

.ck-public .ck-hero .ck-eyebrow {
    color: var(--ck-section-green)
}

.ck-public .ck-button:hover {
    background: var(--ck-primary-dark)
}

@media(min-width:901px) {
    .ck-menu-toggle {
        display: none
    }

    .ck-public:has(.ck-floating) .ck-footer-bottom {
        padding-right: 140px
    }
}

@media(max-width:1050px) {
    .ck-nav {
        gap: 18px
    }

    .ck-split {
        gap: 45px
    }

    .ck-card-body {
        padding: 20px
    }

    .ck-benefits {
        gap: 30px
    }
}

@media(max-width:900px) {
    .ck-header-inner {
        flex-wrap: wrap;
        gap: 0;
        padding-block: 16px;
        min-height: 76px
    }

    .ck-menu-toggle:not([hidden]) {
        display: block
    }

    .ck-nav {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding-top: 14px
    }

        .ck-nav > a {
            text-align: center
        }



    .ck-hero {
        min-height: 640px
    }

    .ck-hero-content {
        padding-block: 70px
    }

    .ck-card-grid {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

    .ck-split {
        gap: 32px
    }

    .ck-about-image img {
        height: 460px
    }

    .ck-section {
        padding-block: 70px
    }

    .ck-section-heading {
        align-items: start
    }


    .ck-footer-grid {
        gap: 30px
    }
}

@media(max-width:600px) {
    .ck-container {
        width: calc(100% - 36px)
    }

    .ck-logo {
        font-size: 1.3rem
    }

    .ck-hero {
        min-height: 650px
    }

    .ck-hero-image {
        object-position: 66% center
    }

    .ck-hero::after {
        background: linear-gradient(90deg,#092e3ae8,#103845a8)
    }

    .ck-hero-content {
        padding-block: 60px 80px
    }

    .ck-public .ck-hero h1 {
        font-size: clamp(2.8rem,12vw,4rem)
    }

    .ck-hero-content > p:not(.ck-eyebrow) {
        font-size: 1rem
    }

    .ck-actions {
        gap: 12px
    }

        .ck-actions .ck-button {
            width: 100%
        }

    .ck-hero-note {
        margin-top: 28px
    }

    .ck-hero-caption {
        left: 18px;
        right: auto;
        font-size: .6rem
    }

    .ck-section {
        padding-block: 55px
    }

    .ck-section-heading {
        display: block;
        margin-bottom: 28px
    }

        .ck-section-heading > p {
            margin-top: 18px
        }

    .ck-card-grid, .ck-benefits, .ck-split {
        grid-template-columns: 1fr
    }

    .ck-card-grid {
        gap: 24px
    }

    .ck-about-image img {
        height: 380px;
        border-top-left-radius: 90px
    }

    .ck-about-copy {
        padding-top: 6px
    }

    .ck-benefits {
        gap: 38px
    }

        .ck-benefits article {
            max-width: 370px;
            margin-inline: auto
        }

    .ck-centered {
        margin-bottom: 32px
    }

    .ck-contact {
        padding: 45px 23px
    }

        .ck-contact p br {
            display: none
        }

    .ck-footer-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px
    }

        .ck-footer-grid > div:first-child {
            grid-column: auto
        }

    .ck-footer {
        padding-top: 44px
    }

    .ck-public h3 {
        line-height: 1.3
    }

    .ck-empty {
        padding: 32px 20px
    }
}

@media(prefers-reduced-motion:reduce) {
    .ck-public * {
        transition: none !important;
        scroll-behavior: auto !important
    }
}

.ck-public .ck-guest-reviews {
    --ck-review-background: #F8F4EA;
    --ck-review-text: #17261E;
    --ck-review-muted: #5B6B61;
    --ck-review-stars: #E0A83B;
    background: var(--ck-review-background);
    color: var(--ck-review-text);
}

    .ck-public .ck-guest-reviews h2 {
        color: var(--ck-primary);
    }

.ck-public .ck-guest-reviews-note {
    color: var(--ck-review-muted);
    font-size: .9rem;
}

.ck-public .ck-guest-review-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.ck-public .ck-guest-review-card {
    margin: 0;
    padding: 28px;
    min-width: 0;
    background: var(--ck-card);
    border: 1px solid var(--ck-border);
    border-radius: 16px;
    box-shadow: 0 6px 24px rgb(31 77 58 / 5%);
}

.ck-public .ck-guest-review-person {
    display: flex;
    align-items: center;
    gap: 16px;
}

    .ck-public .ck-guest-review-person img {
        width: 64px;
        height: 64px;
        flex: 0 0 64px;
        border-radius: 50%;
        object-fit: cover;
    }

    .ck-public .ck-guest-review-person h3 {
        margin: 0;
        font-size: 1rem;
        color: var(--ck-review-text);
    }

    .ck-public .ck-guest-review-person p {
        margin: 2px 0 0;
        color: var(--ck-review-muted);
        font-size: .9rem;
    }

.ck-public .ck-guest-review-stars {
    margin: 18px 0 12px;
    color: var(--ck-review-stars);
    font-size: 1.35rem;
    letter-spacing: 3px;
}

.ck-public .ck-guest-review-card blockquote {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--ck-review-text);
}

    .ck-public .ck-guest-review-card blockquote p {
        margin: 0;
    }

@media (max-width: 1024px) {
    .ck-public .ck-guest-review-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .ck-public .ck-guest-review-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ck-public .ck-guest-review-card {
        padding: 24px;
    }
}

/* No base hiding: only successfully initialized, below-fold opt-in blocks animate.
   Independent translate leaves existing card hover transforms/transitions intact. */
@supports (translate: 0 20px) {
    .ck-public .scroll-reveal.is-reveal-ready {
        opacity: 0;
        translate: 0 20px;
    }

    .ck-public .scroll-reveal.is-reveal-running {
        animation: ck-scroll-reveal 600ms ease-out var(--scroll-reveal-delay, 0ms) backwards;
    }

    @keyframes ck-scroll-reveal {
        from {
            opacity: 0;
            translate: 0 20px;
        }

        to {
            opacity: 1;
            translate: 0 0;
        }
    }
}

@media (prefers-reduced-motion: reduce) {
    .ck-public .scroll-reveal.is-reveal-ready,
    .ck-public .scroll-reveal.is-reveal-running {
        opacity: 1 !important;
        translate: none !important;
        animation: none !important;
    }
}

/* VNCDOOR public components; legacy gallery/lightbox layout remains unchanged. */
.ck-header {
    background: var(--ck-card);
    backdrop-filter: none;
}

.ck-header-inner {
    justify-content: space-between;
}

.ck-header .ck-logo {
    flex: 0 0 180px;
}

    .ck-header .ck-logo img {
        width: 180px;
        height: auto;
        object-fit: contain;
    }

@media (max-width: 600px) {
    .ck-header .ck-logo { flex-basis: 130px; }
    .ck-header .ck-logo img { width: 130px; }
}

.ck-public h1, .ck-public h2 {
    font-family: inherit;
    font-weight: 700;
}

.ck-public h2 {
    font-size: clamp(1.8rem,3vw,2.6rem);
    color: var(--ck-primary);
}

.ck-public .ck-button, .ck-public .ck-button-accent {
    background: var(--ck-explore-bg);
    color: var(--ck-primary) !important;
    border: 1px solid var(--ck-explore-bg);
}

    .ck-public .ck-button:hover, .ck-public .ck-button-accent:hover {
        background: var(--ck-explore-hover);
        border-color: var(--ck-explore-hover);
    }

.ck-public .ck-button-outline {
    background: transparent;
    border-color: var(--ck-primary);
    color: var(--ck-primary) !important;
}

    .ck-public .ck-button-outline:hover {
        background: var(--ck-primary-dark);
        color: white !important;
    }

.ck-public .ck-hero .ck-button-outline {
    border-color: white;
    color: white !important;
}

.ck-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    object-fit: fill !important;
    object-position: center;
}

.ck-hero-content {
    padding-block: 70px;
}

.ck-public .ck-hero h1 {
    font-size: clamp(2.2rem,4.3vw,4rem);
    max-width: 700px;
}

.ck-public .ck-hero .ck-eyebrow {
    color: var(--ck-explore-bg);
}

.ck-hero-content > p:not(.ck-eyebrow) {
    max-width: 600px;
}

.ck-about-intro {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    align-items: center;
    gap: clamp(24px,4vw,64px);
    text-align: left;
}

.ck-about-intro-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.ck-about-intro-tagline {
    font-weight: 700;
    color: var(--ck-primary);
}

.ck-featured-grid, .ck-reason-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 24px;
}

.ck-reasons {
    background: var(--ck-section-cream);
}

.ck-reason-grid i {
    display: inline-grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--ck-card);
    color: var(--ck-primary);
    font-size: 26px;
    margin-bottom: 20px;
}

.ck-reason-grid h3 {
    color: var(--ck-primary);
}

.ck-review-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 24px;
}

.ck-review {
    margin: 0;
    padding: 28px;
    background: var(--ck-card);
    border: 1px solid var(--ck-border);
    border-radius: 12px;
}

    .ck-review blockquote {
        margin: 0 0 20px;
    }

.ck-partners {
    overflow: hidden;
}

.ck-partner-track {
    display: flex;
    width: max-content;
}

.ck-partner {
    flex: 0 0 220px;
    padding: 16px 20px;
}

    .ck-partner img {
        width: 180px;
        height: 90px;
        object-fit: contain;
    }

.ck-partners.is-moving .ck-partner-track {
    animation: ck-partners 35s linear infinite;
}

.ck-partners:hover .ck-partner-track, .ck-partners:focus-within .ck-partner-track {
    animation-play-state: paused;
}

@keyframes ck-partners {
    to {
        transform: translateX(var(--partner-distance));
    }
}

.ck-drawer-header, .ck-menu-close, .ck-menu-overlay {
    display: none;
}

.ck-public .ck-footer :focus-visible, .ck-public .ck-hero :focus-visible {
    outline-color: var(--ck-explore-bg);
}

@media(max-width:1100px) and (min-width:901px) {
    .ck-nav {
        gap: 16px;
    }

        .ck-nav .ck-button {
            display: none;
        }
}

@media(max-width:900px) {
    .ck-about-intro {
        grid-template-columns: 1fr;
    }

    .ck-featured-grid, .ck-reason-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .ck-public .ck-hero {
        min-height: 480px;
    }

    .ck-hero-content {
        padding-block: 48px;
    }

    .ck-header-inner {
        gap: 12px;
    }

    /* A filtered ancestor makes fixed drawer layers header-relative, not viewport-relative. */
    .ck-public.ck-js .ck-header { backdrop-filter: none; }

    .ck-public.ck-js .ck-menu-overlay:not([hidden]) {
        display: block;
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        padding: 0;
        border: 0;
        appearance: none;
        background: rgba(11,45,80,.65);
        opacity: 0;
        transition: opacity 300ms cubic-bezier(.22,.61,.36,1);
        z-index: 30;
    }
    .ck-public.ck-js .ck-menu-overlay.is-open { opacity: 1; }
    .ck-public.ck-js .ck-nav {
        display: flex;
        position: fixed;
        inset: 0 auto 0 0;
        height: 100vh;
        height: 100dvh;
        width: min(84vw,360px);
        padding: calc(16px + env(safe-area-inset-top, 0px)) calc(16px + env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) calc(16px + env(safe-area-inset-left, 0px));
        overflow-y: auto;
        overscroll-behavior: contain;
        background: var(--ck-card);
        z-index: 31;
        align-items: stretch;
        visibility: hidden;
        pointer-events: none;
        transform: translateX(-100%);
        transition: transform 300ms cubic-bezier(.22,.61,.36,1);
    }
    .ck-public.ck-js .ck-nav.is-active { visibility: visible; pointer-events: auto; }
    .ck-public.ck-js .ck-nav.is-open { transform: translateX(0); }
    .ck-public.ck-js .ck-nav > a { text-align: left; padding: 14px 8px; flex-shrink: 0; }
    .ck-public.ck-js .ck-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        flex-shrink: 0;
        margin-bottom: 16px;
    }
    .ck-public .ck-drawer-logo { min-width: 0; }
    .ck-public .ck-drawer-logo img { display: block; width: 150px; max-width: 100%; height: auto; }
    .ck-public.ck-js .ck-menu-close {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 48px;
        width: 48px;
        height: 48px;
        margin: 0;
        padding: 0;
        border: 0;
        appearance: none;
        line-height: 1;
        background: transparent;
        color: var(--ck-primary);
        cursor: pointer;
    }
    .ck-public .ck-menu-close svg { display: block; width: 24px; height: 24px; flex: none; }

    .ck-review-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ck-public.ck-js .ck-nav, .ck-public.ck-js .ck-menu-overlay { transition: none; }
}

@media(max-width:560px) {
    .ck-featured-grid, .ck-reason-grid {
        grid-template-columns: 1fr;
    }

    .ck-public .ck-hero {
        min-height: 480px;
    }

    .ck-hero-image {
        object-position: 62% center;
    }

    .ck-hero-content {
        padding-block: 42px;
    }

    .ck-public .ck-hero h1 {
        font-size: 2.2rem;
    }

    .ck-hero::after {
        background: linear-gradient(90deg, rgb(11 45 80 / 14%), rgb(11 45 80 / 0%) 48%, rgba(11, 45, 80, .1));
    }
}

@media(prefers-reduced-motion:reduce) {
    .ck-public *, .ck-public *::before, .ck-public *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .ck-partner-track {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        transform: none;
    }
}

/* Homepage introduction, benefits and verified customer feedback. */
.ck-about-section, .ck-reviews {
    background: var(--ck-section-cream);
}

.ck-about-intro {
    gap: clamp(32px,5vw,80px);
}

.ck-about-intro-visual {
    position: relative;
    isolation: isolate;
    margin: 0;
    overflow: hidden;
    border-radius: 120px 12px 12px 12px;
    background: var(--ck-primary-dark);
}

.ck-about-intro-image {
    aspect-ratio: 1.07 / 1;
    object-fit: cover;
    border-radius: 0;
}

.ck-about-intro-caption {
    position: absolute;
    inset: auto 24px 24px;
    z-index: 2;
    padding: 18px 16px;
    border-radius: 6px;
    background: rgba(18,60,74,.85);
    text-align: center;
    font-size: clamp(1rem,1.6vw,1.4rem);
    line-height: 1.4;
    font-weight: 700;
    color: white;
}

.ck-about-intro-content {
    min-width: 0;
}

.ck-public .ck-about-intro-link {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    min-height: 44px;
    color: var(--ck-primary);
    font-weight: 700;
    border-bottom: 1px solid currentColor;
}

.ck-public .ck-about-intro-link:hover {
    text-decoration: none;
}

.ck-about-intro-link span {
    font-size: 1.5rem;
}

.ck-home-section-heading {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.ck-home-section-heading > p:last-child:not(.ck-eyebrow) {
    margin-bottom: 0;
    color: var(--ck-secondary-text);
}

.ck-reasons {
    background: var(--ck-card);
}

.ck-reason-grid article {
    min-width: 0;
    text-align: center;
    padding: 8px 12px;
}

.ck-reason-grid p {
    margin-bottom: 0;
    color: var(--ck-secondary-text);
}

.ck-reason-grid i {
    width: 80px;
    height: 80px;
    background: var(--ck-section-cream);
}

.ck-reviews .ck-review-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
}

@media (max-width: 560px) {
    .ck-reviews .ck-review-grid {
        grid-template-columns: 1fr;
    }
}

.ck-reviews .ck-review {
    border-radius: 20px;
    min-width: 0;
    box-shadow: 0 8px 28px rgb(7 31 56 / 4%);
}

.ck-reviews img.ck-review-avatar {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 50%;
}

.ck-review-person {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 0;
    color: var(--ck-primary);
}

.ck-reviews .ck-review-person-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    overflow-wrap: anywhere;
}

.ck-reviews .ck-review-person-name {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
}

.ck-reviews .ck-review-person-address {
    color: var(--ck-secondary-text);
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.5;
}

.ck-reviews .ck-review-stars {
    display: flex;
    gap: 4px;
    margin: 24px 0 16px;
    color: #E8B323;
    font-size: 1rem;
}

.ck-review-avatar {
    display: inline-grid;
    place-items: center;
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--ck-bg);
    color: var(--ck-primary);
    font-size: 22px;
}

.ck-reviews .ck-review blockquote {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 1rem;
    line-height: 1.8;
}

.ck-review-preview {
    border-style: dashed;
}

.ck-public .ck-review-preview-label {
    font-size: .8rem;
    font-weight: 700;
    color: var(--ck-secondary-text);
    margin-bottom: 12px;
}

.ck-review > p:last-child {
    margin-bottom: 0;
}

@media (min-width: 561px) and (max-width: 900px) {
    .ck-reviews .ck-review-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (max-width: 560px) {
    .ck-about-intro-caption {
        inset: auto 24px 24px;
    }
}

@media (max-width: 1024px) {
    .ck-public #home.ck-hero,
    .ck-public .ck-services-page section.svc-hero,
    .ck-public .ck-contact-page section.ck-contact-intro {
        height: 380px;
        min-height: 0;
        padding: 0;
    }

    .ck-public #home.ck-hero > .ck-hero-image,
    .ck-public .ck-services-page section.svc-hero > .ck-contact-banner,
    .ck-public .ck-contact-page section.ck-contact-intro > .ck-contact-banner {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: fill;
        object-position: center;
    }
}

@media (max-width: 600px) {
    .ck-public #home.ck-hero,
    .ck-public .ck-services-page section.svc-hero,
    .ck-public .ck-contact-page section.ck-contact-intro {
        height: 250px;
    }
}

.ck-projects { background: #F4F7FA; }
.ck-project-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.ck-project-card { position: relative; min-width: 0; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 20px; background: #0B2D50; box-shadow: 0 10px 28px -12px rgb(11 45 80 / 28%); }
.ck-project-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgb(7 31 56 / 55%) 65%, rgb(7 31 56 / 96%) 100%); pointer-events: none; }
.ck-project-card img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.ck-project-card figcaption { position: absolute; z-index: 1; inset: auto 0 0; padding: 24px; color: #fff; font-size: 1.2rem; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; text-shadow: 0 2px 8px rgb(0 0 0 / 30%); }
.ck-project-card figcaption::before { content: ""; display: block; width: 36px; height: 3px; margin-bottom: 12px; border-radius: 2px; background: #E8B323; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .ck-project-card:hover img { transform: scale(1.04); }
}
@media (max-width: 1024px) {
    .ck-project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .ck-project-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .ck-project-card { aspect-ratio: 4 / 3; }
}
