/* KYDOSU - Shared sections (Giá trị, Về chúng tôi)
   Layout bám Figma: hero inner, core values, vision/mission, map CTA...
*/

/* ================= HERO VỀ CHÚNG TÔI ================= */
.kd-hero-inner {
    position: relative;
    padding: 80px 0 70px;
    color: #ffffff;
}

.kd-hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.85));
}

.kd-hero-inner .container {
    position: relative;
    z-index: 1;
}

.kd-hero-inner-content {
    text-align: center;
}

.kd-hero-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 10px;
}

.kd-breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
}

.kd-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

/* ================= SUB NAV DƯỚI HERO ================= */
.kd-subnav-strip {
    background: #111111;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.kd-subnav-scroll {
    display: flex;
    overflow-x: auto;
    gap: 6px;
    padding: 10px 0;
}

.kd-subnav-scroll::-webkit-scrollbar {
    display: none;
}

.kd-subnav-item {
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    background: #1b1b1b;
    border-radius: 2px;
    color: #f5f5f5;
    font-size: 13px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.kd-subnav-item:hover {
    background: #222222;
}

.kd-subnav-item-active {
    background: #f37021;
    border-color: #f37021;
}

.kd-subnav-icon {
    font-size: 15px;
}

/* ================= SECTION CHUNG ================= */
.kyd-section {
    padding: 80px 0;
}

.kyd-section-light {
    background-color: #f6f6f6;
}

.kyd-section-white {
    background-color: #ffffff;
}

/* ================= HEADING ================= */
.kd-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.kd-heading-center {
    text-align: center;
}

.kd-heading-center .kd-heading-row,
.kd-heading-center .kd-heading {
    justify-content: center;
}

.kd-heading-label {
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #f37021;
    margin-bottom: 10px;
}

.kyd-section-title,
.kd-heading h1,
.kd-heading h2 {
    font-size: 32px;
    font-weight: 900;
    text-transform: uppercase;
    color: #111111;
    line-height: 1.2;
    margin: 0;
}

.kd-section-divider {
    width: 60px;
    height: 3px;
    background-color: #f37021;
    margin-bottom: 20px;
}

.kyd-section-desc {
    font-size: 15px;
    line-height: 1.7;
    color: #444444;
    margin-bottom: 30px;
}

.kyd-section-desc p {
    margin-bottom: 0;
}

/* ================= BUTTONS ================= */
.kyd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 2px;
    border: 1px solid transparent;
    text-decoration: none;
    transition: all 0.25s ease;
}

.kyd-btn-orange {
    background-color: #f37021;
    border-color: #f37021;
    color: #ffffff;
}

.kyd-btn-orange:hover,
.kyd-btn-orange:focus {
    background-color: #ffffff;
    color: #f37021;
}

.kyd-btn-outline {
    background: transparent;
    border-color: #f37021;
    color: #f37021;
}

.kyd-btn-outline:hover {
    background: #f37021;
    color: #ffffff;
}

/* ================= GIÁ TRỊ THẬT – TRANG GIA TRỊ ================= */
.kyd-giatri {
    position: relative;
}

.kyd-giatri-images {
    position: relative;
    max-width: 520px;
    margin-left: auto;
}

.kyd-giatri-image-main {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.kyd-giatri-image-main img {
    display: block;
    width: 100%;
    height: auto;
}

.kyd-giatri-image-sub {
    position: absolute;
    right: -30px;
    bottom: -30px;
    width: 55%;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.kyd-giatri-image-sub img {
    display: block;
    width: 100%;
    height: auto;
}

/* ================= GIÁ TRỊ CỐT LÕI – TRANG GIỚI THIỆU ================= */
.kd-core-values {
    background: #ffffff url('../assets/img/core-grid.png') center top repeat-y;
    background-size: cover;
}

.kd-core-values-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 30px;
    align-items: center;
}

.kd-core-circle {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 8px solid #f37021;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 900;
    font-size: 18px;
    text-transform: uppercase;
    color: #111;
    margin: 0 auto;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.kd-core-bars {
    position: relative;
    padding-left: 40px;
}

.kd-core-bar-item {
    position: relative;
    margin-bottom: 14px;
}

.kd-core-bar-label {
    display: inline-block;
    background: #f37021;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    padding: 10px 24px;
    border-radius: 0 20px 20px 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    font-size: 13px;
}

.kd-core-bar-desc {
    margin-top: 6px;
    font-size: 13px;
    color: #444;
}

.kd-core-focus {
    margin-top: 24px;
    background: #ffffff;
    border-left: 4px solid #f37021;
    padding: 18px 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.kd-core-focus h3 {
    font-size: 14px;
    text-transform: uppercase;
    color: #111;
    margin: 0 0 8px;
}

.kd-core-focus-content {
    font-size: 13px;
    color: #444;
}

/* ================= TẦM NHÌN / SỨ MỆNH ================= */
.kd-vision-mission {
    background: #f6f6f6;
}

.kd-vm-card {
    background: #ffffff;
    padding: 28px 26px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    position: relative;
}

.kd-vm-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid #f37021;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #f37021;
    margin-bottom: 10px;
}

.kd-vm-heading {
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
    border-bottom: 2px solid #f37021;
    display: inline-block;
    padding-bottom: 4px;
}

.kd-vm-text {
    font-size: 14px;
    color: #444;
    line-height: 1.7;
}

/* ================= ĐỐI TÁC & MAP CTA ================= */
.kd-partner-strip {
    padding: 60px 0;
}

.kd-partner-item {
    border: 1px solid #f37021;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px 16px;
    background: #ffffff;
}

.kd-partner-placeholder {
    font-size: 18px;
    font-weight: 700;
    color: #111;
}

.kd-map-cta {
    background: #ffffff;
    padding: 60px 0 0;
}

.kd-map-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.kd-map-embed {
    background: #f5f5f5;
    padding: 20px 0 0;
}

.kd-map-placeholder {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

/* ================= PARTNERS REDESIGN ================= */
.kd-partners-redesign {
    background: #f5f5f5;
    padding: 80px 0;
}

.kd-partners-badge {
    display: inline-block;
    background: #f37021;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    font-style: italic;
    letter-spacing: 2px;
    padding: 14px 40px;
    text-transform: uppercase;
}

.kd-partner-box {
    background: #fff;
    border: 2px solid #e0e0e0;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    transition: border-color 0.3s ease;
}

.kd-partner-box:hover {
    border-color: #f37021;
}

.kd-partner-name {
    font-size: 22px;
    font-weight: 800;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ================= LOCATOR SECTION ================= */
.kd-locator-section {
    background: #fff;
    padding: 80px 0;
}

.kd-locator-divider {
    width: 120px;
    height: 3px;
    background: #f37021;
    margin: 0 auto 30px;
}

.kd-locator-title {
    font-size: clamp(24px, 3.5vw, 40px);
    font-weight: 800;
    font-style: italic;
    color: #333;
    margin: 0;
}

.kd-locator-map {
    height: 100%;
    min-height: 500px;
}

.kd-locator-map iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border: 0;
}

.kd-locator-info {
    padding: 0 0 0 30px;
}

.kd-locator-select {
    width: 250px;
    padding: 12px 40px 12px 16px;
    font-size: 16px;
    font-weight: 600;
    color: #f37021;
    border: 2px solid #f37021;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23f37021' d='M6 8L0 0h12z'/%3E%3C/svg%3E") no-repeat right 14px center;
    appearance: none;
    cursor: pointer;
    outline: none;
}

.kd-showroom-name {
    font-size: 20px;
    font-weight: 800;
    color: #111;
    margin-bottom: 15px;
}

.kd-showroom-detail p {
    font-size: 13px;
    color: #555;
    margin-bottom: 5px;
    line-height: 1.6;
}

.kd-showroom-detail a {
    color: #f37021;
    text-decoration: underline;
}

.kd-branch-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.kd-branch-item {
    font-size: 12px;
    font-weight: 700;
    color: #555;
    padding: 12px 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.kd-branch-item:hover,
.kd-branch-item.active {
    color: #f37021;
    background: #fff5f0;
}

@media (max-width: 991px) {
    .kd-locator-info {
        padding: 30px 0 0;
    }

    .kd-locator-map {
        min-height: 350px;
    }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 991.98px) {
    .kyd-section {
        padding: 60px 0;
    }

    .kyd-section-title,
    .kd-heading h1,
    .kd-heading h2 {
        font-size: 26px;
    }

    .kyd-giatri-images {
        margin-top: 30px;
        max-width: 100%;
    }

    .kyd-giatri-image-sub {
        right: 10px;
        bottom: -20px;
        width: 60%;
    }

    .kd-core-values-layout {
        grid-template-columns: 1fr;
    }

    .kd-core-bars {
        padding-left: 0;
    }

    .kd-map-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 575.98px) {
    .kyd-section {
        padding: 40px 0;
    }

    .kyd-section-title,
    .kd-heading h1,
    .kd-heading h2 {
        font-size: 22px;
    }

    .kd-section-divider {
        width: 40px;
    }

    .kyd-giatri-image-sub {
        position: static;
        width: 80%;
        margin: 15px auto 0;
    }

    .kd-hero-inner {
        padding: 60px 0 50px;
    }
}

/* ================= SECTION LỊCH SỬ (HISTORY) ================= */
.kd-history-section {
    position: relative;
    background: #000;
    padding: 100px 0 !important;
    overflow: hidden;
}

.kd-history-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    filter: grayscale(100%);
    z-index: 1;
}

.kd-history-header-new {
    position: relative;
    z-index: 2;
}

.kd-section-title-huge {
    color: #fff;
    font-size: clamp(40px, 6vw, 84px);
    font-weight: 950;
    line-height: 0.9;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin: 0;
}

/* Slider wrapper */
.kd-history-slider-wrapper {
    position: relative;
    z-index: 5;
}

/* Each slide card */
.kd-history-card {
    background: #fff;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

/* Text block (left column) */
.kd-history-text-block {
    padding: 50px 40px;
}

.kd-year-label {
    display: block;
    color: #f37021;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.kd-history-card-title {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 950;
    color: #111;
    margin-bottom: 20px;
    line-height: 1.05;
}

.kd-divider-line {
    width: 60px;
    height: 2px;
    background: #111;
    margin-bottom: 25px;
}

.kd-history-card-desc {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

/* Image block (right column) */
.kd-history-img-block {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.kd-history-img-block img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    display: block;
}

/* Nav arrows - positioned on the image area */
.kd-history-custom-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    z-index: 10;
    pointer-events: none;
}

.kd-history-custom-nav button {
    width: 54px;
    height: 54px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.hist-prev {
    background: #fff;
    color: #f37021;
    position: absolute;
    bottom: 20px;
    left: calc(41.666% + 10px);
}

.hist-next {
    background: #f37021;
    color: #fff;
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.kd-history-custom-nav button:hover {
    transform: scale(1.1);
}

/* Slick overrides */
.kd-history-slider .slick-slide {
    outline: none;
}

@media (max-width: 991px) {
    .kd-history-header-new {
        text-align: center !important;
    }

    .kd-history-text-block {
        padding: 30px 25px;
    }

    .kd-history-img-block img {
        min-height: 300px;
    }

    .hist-prev {
        left: 10px;
    }
}
