/* ==========================================================================
   HOME.SCSS — Kashmir Decor homepage (new design)
   Every color / spacing / radius below comes from a token defined in
   styles.css. Nothing here declares its own :root values.
   ========================================================================== */

.kd-home {
    background: var(--color-linen);
    color: var(--color-black);
}

.kd-home img {
    max-width: 100%;
    width: 400px;
    display: block;
    object-fit: contain;
    box-sizing: border-box;

}

.kd-home a {
    color: inherit;
    text-decoration: none;
}

.kd-home h1,
.kd-home h2,
.kd-home h3,
.kd-home h4 {
    font-family: var(--font-display);
    line-height: 1.08;
    letter-spacing: -0.01em;
}

.kd-container {
    width: 90%;
    max-width: var(--global-width);
    margin: 0 auto;
}

.kd-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--dim-8px);
    font-size: var(--font-small);
    letter-spacing: var(--letter-spacing);
    text-transform: uppercase;
    color: var(--color-gold) !important;
    margin-bottom: var(--dim-16px);
}

.kd-eyebrow::before {
    content: "";
    width: 24px;
    height: 1px;
    background: var(--color-gold);
}

.kd-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--dim-10px);
    padding: var(--dim-16px) var(--dim-24px);
    border-radius: var(--roundness-full);

    font-size: var(--font-medium);
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;

}

.kd-btn-primary {
    background: var(--color-emerald);
    color: var(--color-white) !important;
    box-sizing: border-box;
}

.kd-btn-primary:hover {
    background: var(--color-emerald-dark);
    transform: translateY(-3px);
    box-shadow: var(--color-shadow-emerald);
}

.kd-btn-ghost {
    border-color: var(--color-stroke-warm);
    color: var(--color-black);
}

.kd-btn-ghost:hover {
    border-color: var(--color-emerald);
    transform: translateY(-3px);
}

.kd-btn-gold {
    background: var(--color-gold);
    color: var(--color-emerald-dark);
}

.kd-btn-gold:hover {
    background: var(--color-gold-light);
    transform: translateY(-3px);
}

/* --- SWATCH STRIP — signature divider --- */
.kd-swatch-strip {
    display: flex;
    height: var(--dim-12px);
}

.kd-swatch-strip span {
    flex: 1;
}

.kd-swatch-strip span:nth-child(1) {
    background: var(--color-emerald);
}

.kd-swatch-strip span:nth-child(2) {
    background: var(--color-gold);
}

.kd-swatch-strip span:nth-child(3) {
    background: var(--color-brick);
}

.kd-swatch-strip span:nth-child(4) {
    background: var(--color-sand);
}

.kd-swatch-strip span:nth-child(5) {
    background: var(--color-emerald-dark);
}

.kd-swatch-strip span:nth-child(6) {
    background: var(--color-gold-light);
}

.kd-swatch-strip span:nth-child(7) {
    background: var(--color-black);
}

.kd-swatch-strip span:nth-child(8) {
    background: var(--color-emerald);
}

/* --- NAV --- */
.kd-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(246, 241, 231, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-stroke-warm);

}

.kd-nav-inner {
    width: 90%;
    max-width: var(--global-max-width);
    margin: 0 auto;
    height: var(--dim-nav-size);
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.kd-nav-brand {
    font-family: var(--font-display);
    font-size: var(--font-large);
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: var(--dim-16px);
}

.kd-nav-brand>img:nth-child(1) {

    width: 40px;
    height: 40px;

}

.kd-nav-brand>img:nth-child(2) {

    width: fit-content;
    height: 24px;
}

.kd-nav-brand-mark {
    width: 40px;
    height: 40px;
    border-radius: var(--roundness-8px);
    background: var(--color-emerald);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold-light);
    font-size: var(--font-medium);


}

.kd-nav-links {
    display: none;
    align-items: center;
    gap: var(--dim-40px);
    font-size: var(--font-medium);
    ;

}

.kd-nav-links a:hover {
    color: var(--color-emerald);
}

.kd-nav-actions {
    display: flex;
    align-items: center;
    gap: var(--dim-16px);

}

.kd-lang-switch {
    font-size: var(--font-small);
    border: 1px solid var(--color-stroke-warm);
    border-radius: var(--roundness-full);
    padding: var(--dim-8px) var(--dim-12px);
}

.kd-lang-switch:hover {
    border-color: var(--color-emerald);
}

@media only screen and (min-width: 960px) {
    .kd-nav-links {
        display: flex;
    }
}

/* --- HERO --- */
.kd-hero {
    padding: var(--dim-64px) 0 var(--dim-64px);
    overflow: hidden;

}

.kd-hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--dim-64px);
    align-items: center;
}

.kd-hero-copy h1 {
    font-size: clamp(32px, 6vw, 58px);
    color: var(--color-emerald);
    margin-bottom: var(--dim-24px);
}

.kd-hero-copy h1 em {
    font-style: italic;
    color: var(--color-gold);
}

.kd-hero-copy p {
    font-size: var(--font-medium);
    line-height: var(--line-height);
    color: var(--color-gray);
    max-width: 520px;
    margin-bottom: var(--dim-40px);
}

.kd-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--dim-16px);
    margin-bottom: var(--dim-40px);
    box-sizing: border-box;
    width: 100% !important;
}

.kd-hero-actions>a:nth-child(1) {
    box-sizing: border-box !important;
}

.kd-hero-actions>a:nth-child(2) {
    box-sizing: border-box !important;
}


.kd-hero-meta {
    display: flex;
    gap: var(--dim-40px);
    flex-wrap: wrap;

}

.kd-hero-meta div {
    border-inline-start: 2px solid var(--color-gold);
    padding-inline-start: var(--dim-16px);
}

.kd-hero-meta strong {
    display: block;
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--color-emerald);
}

.kd-hero-meta span {
    font-size: var(--font-small);
    color: var(--color-gray);
}

.kd-hero-visual {
    position: relative;
    border-radius: var(--roundness-28px);
    overflow: hidden;
    box-shadow: var(--color-shadow-emerald);
    height: 400px;
    width: fit-content;
    margin-left: auto;

}

.kd-hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kd-hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
}

.kd-hero-visual-tag {
    position: absolute;
    top: var(--dim-24px);
    inset-inline-start: var(--dim-24px);
    z-index: 2;
    background: rgba(255, 255, 255, 0.92);
    border-radius: var(--roundness-8px);
    padding: var(--dim-10px) var(--dim-16px);
    font-size: var(--font-small);
    color: var(--color-emerald);
}

@media only screen and (min-width: 960px) {
    .kd-hero-inner {
        grid-template-columns: 1.1fr 0.9fr;
    }

    .kd-hero-visual {
        width: 100% !important;
        margin-left: 0px;

    }


}

/* --- SECTION HEAD (shared by services / work / faq) --- */
.kd-section-head {
    display: flex;
    flex-direction: column;
    max-width: 640px;
    margin-bottom: var(--dim-64px);
}

.kd-section-head h2 {
    font-size: clamp(30px, 4vw, 44px);
    color: var(--color-emerald);
}

.kd-section-head p {
    margin-top: var(--dim-16px);
    color: var(--color-gray);
    font-size: var(--font-medium);
    line-height: var(--line-height);
}

/* --- ACTIVE PROJECTS (before/after + video) --- */
.kd-lp-projects {
    padding: var(--dim-64px) 0;
    background: var(--color-white);
}

.kd-lp-projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--dim-32px);
}

@media only screen and (min-width: 900px) {
    .kd-lp-projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.kd-lp-project-card {
    background: var(--color-linen);
    border: 1px solid var(--color-stroke-warm);
    border-radius: var(--roundness-28px);
    overflow: hidden;
}

.kd-lp-project-media {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--dim-8px);
    padding: var(--dim-8px);
}

.kd-lp-ba-item {
    position: relative;
    border-radius: var(--roundness);
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.kd-lp-ba-item-initial {
    aspect-ratio: initial !important;
}

.kd-lp-ba-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kd-lp-ba-tag {
    position: absolute;
    top: var(--dim-8px);
    inset-inline-start: var(--dim-8px);
    padding: 4px var(--dim-10px);
    border-radius: var(--roundness-full);
    font-size: var(--font-small);
    font-weight: 700;
    color: var(--color-white) !important;
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing);
}

.kd-lp-ba-before {
    background: rgba(0, 0, 0, 0.6);
}

.kd-lp-ba-after {
    background: var(--color-emerald);
}

.kd-lp-project-video {
    grid-column: span 2;
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--roundness);
    overflow: hidden;
    background: var(--color-emerald-dark);
}

.kd-lp-project-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.kd-lp-project-info {
    padding: var(--dim-16px) var(--dim-20px) var(--dim-20px);
}

.kd-lp-project-info h3 {
    font-size: var(--font-medium);
    color: var(--color-black);
    margin-bottom: var(--dim-4px);
}

.kd-lp-project-info p {
    font-size: var(--font-small);
    color: var(--color-gray);
    line-height: var(--line-height);
}

@media only screen and (min-width: 900px) {
    .kd-lp-project-media {
        grid-template-columns: 1fr 1fr;
    }

    .kd-lp-project-video {
        aspect-ratio: 4 / 3;
    }
}





/* --- SERVICES --- */
.kd-services {
    padding: var(--dim-92px) 0;
}

.kd-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--dim-24px);
}

.kd-service-card {
    position: relative;
    background: var(--color-white);
    border-radius: var(--roundness-28px);
    overflow: hidden;
    border: 1px solid var(--color-stroke-warm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.kd-service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--color-shadow-emerald);
}

.kd-service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.kd-services-majlis {
    object-position: center;
}

.kd-service-card-body {
    padding: var(--dim-24px);

}

.kd-service-card-num {
    font-family: var(--font-display);
    color: var(--color-gold);
    font-size: var(--font-large);
    font-weight: 700;
    margin-bottom: var(--dim-8px);
}

.kd-service-card h3 {
    font-size: var(--font-large);
    color: var(--color-black);
    margin-bottom: var(--dim-10px);
}

.kd-service-card p {
    color: var(--color-gray);
    font-size: var(--font-medium);
    line-height: var(--line-height);
    margin-bottom: var(--dim-32px);


}

.kd-service-card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--dim-6px);
    font-size: var(--font-medium);
    font-weight: 700;
    color: var(--color-emerald);
    margin-top: auto;
    position: absolute;
    bottom: var(--dim-16px);
    margin-left: var(--dim-16px);
    inset-inline-start: var(--dim-16px);


}

@media only screen and (min-width: 700px) {
    .kd-services-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media only screen and (min-width: 1100px) {
    .kd-services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --- PROCESS (real 4-step sequence) --- */
.kd-process {
    padding: var(--dim-92px) 0;
    background: var(--color-emerald);
    color: var(--color-white);
}

.kd-process .kd-section-head h2 {
    color: var(--color-white);
}

.kd-process .kd-section-head p {
    color: rgba(255, 255, 255, 0.72);
}

.kd-process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--dim-40px);
}

.kd-process-step {
    position: relative;
    padding-inline-start: var(--dim-40px);
    border-inline-start: 1px solid rgba(255, 255, 255, 0.22);
}

.kd-process-step-num {
    font-family: var(--font-display);
    font-size: var(--font-large-extra);
    color: var(--color-gold-light);
    margin-bottom: var(--dim-8px);
}

.kd-process-step h4 {
    font-size: var(--font-large);
    margin-bottom: var(--dim-8px);
    color: var(--color-white);
}

.kd-process-step p {
    font-size: var(--font-medium);
    line-height: var(--line-height);
    color: rgba(255, 255, 255, 0.72);
}

@media only screen and (min-width: 900px) {
    .kd-process-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --- OUR WORK --- */
/* .kd-work {
    padding: var(--dim-92px) 0;
}

.kd-work-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: var(--dim-16px);
    margin-bottom: var(--dim-64px);
}

.kd-work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--dim-16px);
}

.kd-work-item {
    position: relative;
    border-radius: var(--roundness);
    overflow: hidden;
    cursor: pointer;
}

.kd-work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.kd-work-item:hover img {
    transform: scale(1.06);
}

.kd-work-item-tag {
    position: absolute;
    top: var(--dim-16px);
    inset-inline-start: var(--dim-16px);
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-emerald);
    font-size: var(--font-small);
    font-weight: 700;
    padding: var(--dim-6px) var(--dim-12px);
    border-radius: var(--roundness-full);
}

.kd-work-item.tall { grid-row: span 2; aspect-ratio: 3 / 4.4; }
.kd-work-item.wide { grid-column: span 2; aspect-ratio: 16 / 9; }
.kd-work-item.small { aspect-ratio: 1 / 1; }

@media only screen and (min-width: 800px) {
    .kd-work-grid { grid-template-columns: repeat(4, 1fr); }
} */


/* --- OUR WORK --- */
.kd-work {
    padding: var(--dim-92px) 0;
}

.kd-work-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: var(--dim-16px);
    margin-bottom: var(--dim-64px);
}

.kd-project-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--dim-24px);
}

.kd-project-card {
    background: var(--color-white);
    border-radius: var(--roundness-28px);
    overflow: hidden;
    border: 1px solid var(--color-stroke-warm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.kd-project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--color-shadow-emerald);
}

.kd-project-media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    border: none;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    background: var(--color-emerald-dark);
}

.kd-project-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.kd-project-media:hover img {
    transform: scale(1.06);
}

.kd-project-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-emerald);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-medium);
    pointer-events: none;
}

.kd-project-badge {
    position: absolute;
    bottom: var(--dim-12px);
    inset-inline-start: var(--dim-12px);
    background: rgba(10, 42, 32, 0.82);
    color: var(--color-white);
    font-size: var(--font-small);
    font-weight: 600;
    padding: var(--dim-6px) var(--dim-12px);
    border-radius: var(--roundness-full);
    pointer-events: none;
}

.kd-project-info {
    padding: var(--dim-24px);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.kd-project-info h3 {
    font-size: var(--font-large);
    color: var(--color-black);
    margin-bottom: var(--dim-6px);
    font-family: var(--font-display);
}

.kd-project-loc {
    display: flex;
    align-items: center;
    font-size: var(--font-small);
    font-weight: 700;
    color: var(--color-emerald);
    margin-bottom: var(--dim-10px);
}

.kd-project-detail {
    font-size: var(--font-small);
    color: var(--color-gray);
    line-height: var(--line-height);
    margin-bottom: var(--dim-16px);
    flex: 1;
}

.kd-project-link {
    font-size: var(--font-small);
    font-weight: 700;
    color: var(--color-emerald);
    display: inline-flex;
    align-items: center;
    gap: var(--dim-6px);
}

.kd-project-link:hover {
    color: var(--color-gold);
}

@media only screen and (min-width: 700px) {
    .kd-project-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media only screen and (min-width: 1100px) {
    .kd-project-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- LIGHTBOX --- */
.kd-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 500;
    background: rgba(10, 16, 13, 0.96);
    padding: var(--dim-24px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.kd-lightbox.open {
    display: flex;
}

.kd-lb-stage {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kd-lb-stage img {
    width: 800px;
    height: fit-content;
    max-height: 600px;
    border-radius: var(--roundness);
    box-shadow: var(--color-shadow-emerald);
}

.kd-lb-stage video {
    width: 800px;
    height: fit-content;
    max-height: 600px;
    border-radius: var(--roundness);
    box-shadow: var(--color-shadow-emerald);
}

.kd-lb-close {
    position: absolute;
    top: var(--dim-24px);
    inset-inline-end: var(--dim-24px);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-white);
    font-size: var(--font-medium);
    cursor: pointer;
}

.kd-lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-white);
    font-size: var(--font-large-extra);
    line-height: 1;
    cursor: pointer;
}

.kd-lb-prev {
    inset-inline-start: var(--dim-24px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.kd-lb-prev i {
    display: flex;
}

.kd-lb-next {
    inset-inline-end: var(--dim-24px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.kd-lb-next i {
    display: flex;
}

.kd-lb-footer {
    width: 100%;
    max-width: 1000px;
    margin-top: var(--dim-24px);
}



.kd-lb-nav span {
    font-size: 32px;

}

.kd-lb-close span {
    font-size: 18px;

}

.kd-lb-caption {
    text-align: center;
    margin-bottom: var(--dim-16px);
}

.kd-lb-caption h4 {
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: var(--font-large);
    margin-bottom: var(--dim-4px);
}

.kd-lb-caption p {
    color: rgba(255, 255, 255, 0.65);
    font-size: var(--font-small);
}

.kd-lb-thumbs {
    display: flex;
    gap: var(--dim-8px);
    justify-content: center;
    flex-wrap: wrap;
}

.kd-lb-thumb {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: var(--roundness-8px);
    overflow: hidden;
    border: 2px solid transparent;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
}

.kd-lb-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kd-lb-thumb span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    color: var(--color-white);
    font-size: var(--font-small);
}

.kd-lb-thumb.active {
    border-color: var(--color-gold);
}

@media only screen and (max-width: 700px) {
    .kd-lb-nav {
        width: 38px;
        height: 38px;
        font-size: var(--font-large);
    }

    .kd-lb-prev {
        inset-inline-start: var(--dim-8px);
    }

    .kd-lb-next {
        inset-inline-end: var(--dim-8px);
    }

    .kd-lb-close {
        top: var(--dim-12px);
        inset-inline-end: var(--dim-12px);
    }

    .kd-lb-thumb {
        width: 48px;
        height: 48px;
    }
}
















/* --- BLOG --- */
.kd-blog {
    padding: var(--dim-92px) 0;
    background: var(--color-sand);
}

.kd-blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--dim-24px);
}

.kd-blog-card {
    background: var(--color-white);
    border-radius: var(--roundness);
    overflow: hidden;
    border: 1px solid var(--color-stroke-warm);
    transition: transform 0.3s ease;
}

.kd-blog-card:hover {
    transform: translateY(-5px);
}

.kd-blog-card img {
    height: 190px;
    object-fit: cover;
}

.kd-blog-card-body {
    padding: var(--dim-16px) var(--dim-24px) var(--dim-24px);
}

.kd-blog-card h4 {
    font-size: var(--font-medium);
    line-height: 1.35;
    margin-bottom: var(--dim-8px);
    color: var(--color-black);
}

.kd-blog-card p {
    font-size: var(--font-small);
    color: var(--color-gray);
    line-height: var(--line-height);
    margin-bottom: var(--dim-16px);
}

.kd-blog-card a {
    font-size: var(--font-small);
    font-weight: 700;
    color: var(--color-emerald);
}

@media only screen and (min-width: 700px) {
    .kd-blog-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media only screen and (min-width: 1100px) {
    .kd-blog-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --- FAQ --- */
.kd-faq {
    padding: var(--dim-92px) 0;
}

.kd-faq-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--dim-64px);
}

.kd-faq-list {
    display: flex;
    flex-direction: column;
}

.kd-faq-item {
    border-bottom: 1px solid var(--color-stroke-warm);
}

.kd-faq-question {
    width: 100%;
    text-align: start;
    background: none;
    border: none;
    padding: var(--dim-16px) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--dim-16px);
    font-family: inherit;
    font-size: var(--font-medium);
    color: var(--color-black);
    cursor: pointer;
}

.kd-faq-question .kd-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--color-stroke-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-medium);
    color: var(--color-emerald);
    transition: transform 0.25s ease, background 0.25s ease;
}

.kd-faq-item.active .kd-faq-question .kd-icon {
    background: var(--color-emerald);
    transform: rotate(45deg);
}

.kd-faq-item.active .kd-faq-question .kd-icon i {
    color: var(--color-white) !important;

}

.kd-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.kd-faq-answer p {
    padding-bottom: var(--dim-16px);
    color: var(--color-gray);
    font-size: var(--font-medium);
    line-height: var(--line-height);
}

.kd-faq-item.active .kd-faq-answer {
    max-height: 300px;
}

@media only screen and (min-width: 960px) {
    .kd-faq-layout {
        grid-template-columns: 0.8fr 1.2fr;
    }
}

/* --- CONTACT --- */
.kd-contact {
    padding: var(--dim-92px) 0;
    background: var(--color-emerald-dark);
    color: var(--color-white);
}

.kd-contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--dim-64px);
}

.kd-contact-copy h2 {
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: var(--dim-16px);
    color: var(--color-white);
}

.kd-contact-copy p {
    color: rgba(255, 255, 255, 0.7);
    line-height: var(--line-height);
    margin-bottom: var(--dim-40px);
    max-width: 460px;
}

.kd-contact-list {
    display: flex;
    flex-direction: column;
    gap: var(--dim-24px);
}

.kd-contact-list-item {
    display: flex;
    align-items: center;
    gap: var(--dim-16px);
}

.kd-contact-list-item .kd-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold-light);
}

.kd-contact-list-item strong {
    display: block;
    font-size: var(--font-medium);
    color: var(--color-white);
}

.kd-contact-list-item span {
    font-size: var(--font-small);
    color: rgba(255, 255, 255, 0.65);
}

.kd-contact-card {
    background: var(--color-white);
    color: var(--color-black);
    border-radius: var(--roundness-28px);
    padding: var(--dim-40px);
    background-color: var(--color-emerald-dark);
}

.kd-contact-field {
    margin-bottom: var(--dim-16px);
}

.kd-contact-field label {
    display: block;
    font-size: var(--font-small);
    font-weight: 700;
    color: var(--color-gray);
    margin-bottom: var(--dim-6px);
}

.kd-contact-field input,
.kd-contact-field select {
    width: 100%;
    border: 1px solid var(--color-stroke-warm);
    border-radius: var(--roundness-8px);
    padding: var(--dim-12px) var(--dim-16px);
    font-family: inherit;
    font-size: var(--font-medium);
    background: var(--color-linen);
}

.kd-contact-field input:focus,
.kd-contact-field select:focus {
    outline: 2px solid var(--color-emerald);
    outline-offset: 1px;
}


@media only screen and (min-width: 960px) {
    .kd-contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- FOOTER --- */
.kd-footer {
    background: var(--color-black);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--dim-64px) 0 var(--dim-16px);
}

.kd-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--dim-40px);
    padding-bottom: var(--dim-40px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.kd-footer-brand {
    font-family: var(--font-display);
    font-size: var(--font-large);
    color: var(--color-white);
    margin-bottom: var(--dim-16px);
}

.kd-footer-col p {
    font-size: var(--font-medium);
    line-height: var(--line-height);
    max-width: 320px;
    color: var(--color-white);
}

.kd-footer-col h5 {
    font-size: var(--font-small);
    font-weight: 700;
    letter-spacing: var(--letter-spacing);
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: var(--dim-16px);
    color: var(--color-white);
}

.kd-footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--dim-10px);
    font-size: var(--font-small);
    color: var(--color-white);
}

.kd-footer-col a {
    color: var(--color-white);
}

.kd-footer-col ul a:hover {
    color: var(--color-gold-light);
}

.kd-footer-social {
    display: flex;
    gap: var(--dim-10px);
    margin-top: var(--dim-16px);
}

.kd-footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.kd-footer-social a:hover {
    background: var(--color-gold);
    color: var(--color-black);
}

.kd-footer-bottom {
    display: flex;
    flex-direction: column;
    gap: var(--dim-16px);
    justify-content: space-between;
    align-items: center;
    padding-top: var(--dim-24px);
    font-size: var(--font-small);
}

.kd-footer-bottom * {
    color: var(--color-white);
}

@media only screen and (min-width: 800px) {
    .kd-footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr 1fr;
    }

    .kd-footer-bottom {
        flex-direction: row;
    }
}

@media (prefers-reduced-motion: reduce) {
    .kd-home * {
        transition: none !important;
    }
}

/* ==========================================================================
   RESPONSIVE TUNING — the 112px / 72px section padding and 84px nav height
   that work on desktop are too heavy on phones; scale them down explicitly
   rather than relying on the fixed global tokens at small widths.
   ========================================================================== */


@media only screen and (max-width: 1350px) {


    .kd-nav-links>a:nth-child(3),
    .kd-nav-links>a:nth-child(4),
    .kd-nav-links>a:nth-child(5) {
        display: none;
    }
}

@media only screen and (max-width: 900px) {
    .kd-hero {
        padding: var(--dim-64px) 0 var(--dim-48px);
    }

    .kd-services,
    .kd-process,
    .kd-work,
    .kd-blog,
    .kd-faq,
    .kd-contact {
        padding: var(--dim-64px) 0;
    }

    .kd-section-head {
        margin-bottom: var(--dim-32px);
    }

    .kd-work-head {
        margin-bottom: var(--dim-32px);
    }

    .kd-lb-stage video {
        width: 90% !important;
    }
}

@media only screen and (max-width: 700px) {
    .kd-nav-inner {
        height: 64px;
        min-height: 64px;
    }

    .kd-nav-brand {
        font-size: var(--font-medium);
    }

    .kd-nav-brand-mark {
        width: 30px;
        height: 30px;
        font-size: var(--font-small);
    }

    .kd-nav-actions .kd-btn {
        padding: var(--dim-10px) var(--dim-16px);
        font-size: var(--font-small);
    }

    .kd-hero {
        padding: var(--dim-48px) 0 var(--dim-32px);
    }

    .kd-hero-copy p {
        font-size: 16px;
    }

    .kd-hero-actions .kd-btn {
        width: 100%;
        justify-content: center;
    }

    .kd-hero-actions {
        flex-direction: column;
    }

    .kd-hero-meta {
        gap: var(--dim-24px);
    }

    .kd-hero-visual {
        /* aspect-ratio: 4 / 3.4; */
    }

    .kd-services,
    .kd-process,
    .kd-work,
    .kd-blog,
    .kd-faq,
    .kd-contact {
        padding: var(--dim-48px) 0;
    }

    .kd-work-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--dim-10px);
    }

    .kd-work-item.wide {
        grid-column: span 2;
    }

    .kd-work-item.tall {
        grid-row: span 1;
        aspect-ratio: 1 / 1;
    }

    .kd-footer {
        padding: var(--dim-40px) 0 var(--dim-16px);
    }

    .kd-hero-inner {
        grid-template-columns: 1;
    }

    .kd-hero-visual {
        width: 100% !important;

    }
}

@media only screen and (max-width: 600px) {


    .kd-nav-brand {
        gap: var(--dim-8px);
    }

    .kd-nav-brand>img:nth-child(1) {
        width: 30px;
        height: 30px;
    }

    .kd-nav-brand>img:nth-child(2) {
        width: fit-content;
        height: 18px;
    }



    .kd-hero-actions>a:nth-child(1) {
        box-sizing: border-box !important;
        width: fit-content !important;
    }

    .kd-hero-actions>a:nth-child(2) {
        box-sizing: border-box !important;
        width: fit-content !important;
    }

    .kd-hero-visual {
        height: 260px !important;
    }

    .kd-hero-visual img {
        height: 260px !important;

    }
}


@media only screen and (max-width: 480px) {
    .kd-work-grid {
        grid-template-columns: 1fr;
    }

    .kd-work-item.wide,
    .kd-work-item.tall,
    .kd-work-item.small {
        grid-column: span 1;
        aspect-ratio: 4 / 3;
    }

    .kd-hero-meta {
        flex-direction: column;
        gap: var(--dim-16px);
    }

    .kd-process-grid {
        gap: var(--dim-24px);
    }

    .kd-footer-bottom {
        text-align: center;
    }

    .kd-nav-actions>a:nth-child(2) {
        display: none;
    }



}

/* ==========================================================================
   RTL — applied when <html dir="rtl"> (Arabic page). Logical properties
   above (inset-inline-start, border-inline-start, padding-inline-start)
   already flip automatically; only these physical exceptions need it.
   ========================================================================== */
[dir="rtl"] .kd-home {
    font-family: var(--font-body-ar);
}

[dir="rtl"] .kd-home h1,
[dir="rtl"] .kd-home h2,
[dir="rtl"] .kd-home h3,
[dir="rtl"] .kd-home h4,
[dir="rtl"] .kd-nav-brand,
[dir="rtl"] .kd-footer-brand {
    font-family: var(--font-display-ar);
}

[dir="rtl"] .kd-faq-question .kd-icon {
    transform: none;
}

[dir="rtl"] .kd-faq-item.active .kd-faq-question .kd-icon {
    transform: rotate(-45deg);
}



/* ==========================================================================
   NEW SECTIONS — Heritage banner, Behind-the-Scenes video scroll,
   Workflow & Guarantee, Trust bar. Append this whole block to the END of
   your shared home.css / home.scss (both EN and AR pages load this same
   file, so nothing here needs to be duplicated per language).
   Every value still traces to a token in global.css.
   ========================================================================== */

/* --- HERITAGE BANNER (40+ years) --- */
.kd-heritage {
    padding: var(--dim-48px) 0;
    background: var(--color-emerald-dark);
    color: var(--color-white);
}

.kd-heritage-inner {
    display: flex;
    flex-direction: column;
    gap: var(--dim-24px);
    align-items: center;
    text-align: center;
}

.kd-heritage-num {
    font-family: var(--font-display);
    font-size: clamp(48px, 8vw, 80px);
    color: var(--color-gold-light);
    line-height: 1;
}

.kd-heritage-copy h2 {
    font-size: clamp(22px, 3vw, 30px);
    color: var(--color-white);
    margin-bottom: var(--dim-8px);
}

.kd-heritage-copy p {
    font-size: var(--font-medium);
    color: rgba(255, 255, 255, 0.72);
    max-width: 520px;
    line-height: var(--line-height);
}

.kd-heritage-link {
    font-size: var(--font-small);
    font-weight: 700;
    color: var(--color-gold-light);
    display: inline-flex;
    align-items: center;
    gap: var(--dim-6px);
    margin-top: var(--dim-8px);
}

.kd-heritage-link:hover {
    color: var(--color-white);
}

@media only screen and (min-width: 900px) {
    .kd-heritage-inner {
        flex-direction: row;
        text-align: start;
        gap: var(--dim-48px);
    }
}

/* --- BEHIND THE SCENES (vertical video scroll) --- */
.kd-bts {
    padding: var(--dim-92px) 0;
    background: var(--color-white);
}

.kd-lp-gallery {
    padding: var(--dim-64px) 0;
    background: var(--color-white);
}

.kd-lp-video-track {
    display: flex;
    gap: var(--dim-12px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: var(--dim-12px);
    -webkit-overflow-scrolling: touch;
}

.kd-lp-video-track::-webkit-scrollbar {
    height: 5px;
}

.kd-lp-video-track::-webkit-scrollbar-thumb {
    background: var(--color-stroke-warm);
    border-radius: var(--roundness-full);
}

.kd-lp-video-card {
    position: relative;
    flex: 0 0 auto;
    width: 200px;
    aspect-ratio: 9 / 16;
    border-radius: var(--roundness-28px);
    overflow: hidden;
    scroll-snap-align: start;
    background: var(--color-emerald-dark); 
}

.kd-lp-video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.kd-lp-video-mute-btn {
    position: absolute;
    bottom: var(--dim-12px);
    inset-inline-end: var(--dim-12px);
    z-index: 2;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
}

.kd-lp-video-mute-btn:hover {
    background: rgba(0, 0, 0, 0.75);
}

@media only screen and (min-width: 700px) {
    .kd-lp-video-card {
        width: 240px;
    }
}

/* --- WORKFLOW & GUARANTEE --- */
.kd-workflow {
    padding: var(--dim-92px) 0;
    background: var(--color-sand);
}

.kd-workflow-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--dim-24px);
    margin-bottom: var(--dim-48px);
}

.kd-workflow-step {
    background: var(--color-white);
    border: 1px solid var(--color-stroke-warm);
    border-radius: var(--roundness-28px);
    padding: var(--dim-24px);
    position: relative;
}

.kd-workflow-step-num {
    font-family: var(--font-display);
    font-size: var(--font-large-extra);
    color: var(--color-gold);
    margin-bottom: var(--dim-8px);
}

.kd-workflow-step h4 {
    font-size: var(--font-large);
    color: var(--color-black);
    margin-bottom: var(--dim-8px);
}

.kd-workflow-step p {
    font-size: var(--font-small);
    color: var(--color-gray);
    line-height: var(--line-height);
}

@media only screen and (min-width: 700px) {
    .kd-workflow-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media only screen and (min-width: 1100px) {
    .kd-workflow-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.kd-guarantee {
    display: flex;
    flex-direction: column;
    gap: var(--dim-24px);
    align-items: flex-start;
    justify-content: space-between;
    background: var(--color-emerald);
    color: var(--color-white);
    border-radius: var(--roundness-28px);
    padding: var(--dim-40px);
}

.kd-guarantee-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--color-gold);
    color: var(--color-emerald-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-large);
    flex-shrink: 0;
    margin-bottom: var(--dim-16px);
}

.kd-guarantee h3 {
    font-family: var(--font-display);
    font-size: var(--font-large-extra);
    color: var(--color-white);
    margin-bottom: var(--dim-8px);
}

.kd-guarantee p {
    font-size: var(--font-medium);
    color: rgba(255, 255, 255, 0.8);
    line-height: var(--line-height);
    max-width: 640px;
}

@media only screen and (min-width: 900px) {
    .kd-guarantee {
        flex-direction: row;
        align-items: center;
    }
}

/* --- TRUST BAR --- */
.kd-trust {
    padding: var(--dim-64px) 0;
    background: var(--color-emerald-dark);
    color: var(--color-white);
}

.kd-trust-head {
    text-align: center;
    margin-bottom: var(--dim-40px);
}

.kd-trust-head h2 {
    font-size: clamp(24px, 3.5vw, 34px);
    color: var(--color-white);
}

.kd-trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--dim-32px);
    text-align: center;
}

.kd-trust-stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 40px);
    color: var(--color-gold-light);
    margin-bottom: var(--dim-8px);
}

.kd-trust-stat span {
    font-size: var(--font-small);
    color: rgba(255, 255, 255, 0.72);
}

@media only screen and (min-width: 700px) {
    .kd-trust-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --- RESPONSIVE --- */
@media only screen and (max-width: 700px) {
    .kd-heritage {
        padding: var(--dim-32px) 0;
    }

    .kd-bts,
    .kd-workflow {
        padding: var(--dim-48px) 0;
    }

    .kd-workflow-step,
    .kd-guarantee {
        padding: var(--dim-24px);
    }

    .kd-trust {
        padding: var(--dim-48px) 0;
    }
}

/* --- RTL --- */
[dir="rtl"] .kd-heritage-copy h2,
[dir="rtl"] .kd-guarantee h3 {
    font-family: var(--font-display-ar);
}