body {
    background-color: #F8F7F4;
}

.hero-banner__container {
    max-width: 1200px;
    margin: 40px auto 60px auto;
    display: flex;
}

.hero-banner__content {
    flex-basis: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-banner__image {
    display: flex;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hero-banner__image {
    flex-basis: 50%;
}

.hero-banner__image img {
    max-width: 100%;
    height: auto;
}

.title-herobanner__header {
    border-bottom: 2px solid #DCDCDC;
    position: relative;
}

.hero-banner__description {
    margin-top: 24px;
}

.title-herobanner__title {
    font-size: 56px;
    font-weight: 700;
    color: #1C1C1C;
    padding-bottom: 24px;
    line-height: 1.25;
}

.title-herobanner__divider {
    display: flex;
    height: 4px;
    width: 120px;
    background-color: #E9450A;
    position: absolute;
    bottom: -2px;
}

.hero-banner__description {
    margin-top: 24px;
}

/* ===== Main layout: 1200px content + 380px sidebar ===== */
.detective-layout {
    padding-bottom: 60px;
}

.detective-layout__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    column-gap: 32px;
    align-items: flex-start;
}

.detective-layout__main {
    flex: 1 1 auto;
    min-width: 0;
}

.detective-layout__sidebar {
    flex: 0 0 380px;
    position: sticky;
    top: 80px; /* match toc top */
}

/* Sticky box on the right */
.detective-toc {
    position: sticky;
    top: 80px;
    /* chỉnh khoảng cách với top theo chiều cao header của bạn */
    background-color: #FFF7E9;
    border: 1px solid #F1E0C5;
    padding: 20px 20px;
    border-radius: 4px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.detective-toc__label {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.detective-toc__list {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.detective-toc__item {
    padding: 8px 0;
    border-bottom: 1px solid #F2E4D7;
    height: 90px;
}

.detective-toc__item:last-child {
    border-bottom: none;
}

.detective-toc__item a {
    display: block;
    color: #1C1C1C;
    text-decoration: none;
    font-size: 20px;
    line-height: 1.6;
}

.detective-toc__item--active a {
    color: #E9450A;
    font-weight: 700;
}

/* ===== Introduction Section ===== */
.detective-intro {
    margin-bottom: 40px;
    padding: 24px;
    /* background-color: #ffffff; */
    border-radius: 8px;
}

.detective-intro__text {
    font-size: 20px;
    line-height: 1.5;
    color: #1C1C1C;
    margin-bottom: 16px;
}

.detective-intro__text:last-child {
    margin-bottom: 0;
}

/* ===== Detective Agency Card ===== */
.detective-agency {
    background-color: #ffffff;
    padding: 32px;
    margin-bottom: 40px;
}


.detective-agency:last-child {
    margin-bottom: 0;
}


/* Header with Badge and Title */
.detective-agency__header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #E9EDF7;
}

.detective-agency__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    min-width: 80px;
    height: 40px;
    background: #2154B7;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    border-radius: 999px;
}

.detective-agency__badge-icon img {
    display: block;
    width: 18px;
    height: 18px;
}

.detective-agency__badge-text {
    line-height: 1;
    font-size: 18px;
}

.detective-agency__title {
    font-size: 20px;
    font-weight: 700;
    color: #2154B7;
    margin: 0;
    line-height: 1.4;
}

/* Agency Info Bar */
.detective-agency__info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background-color: #F8F7F4;
    border-radius: 6px;
    margin-bottom: 24px;
}

.detective-agency__logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #1C1C1C;
}

.detective-agency__contact {
    display: flex;
    align-items: center;
    gap: 16px;
}

.detective-agency__phone {
    font-size: 24px;
    font-weight: 700;
    color: #E9450A;
    text-decoration: none;
}

.detective-agency__phone:hover {
    text-decoration: underline;
}

.detective-agency__hours {
    font-size: 14px;
    color: #666666;
}

/* Banner Image */
.detective-agency__banner {
    width: 100%;
    margin-bottom: 0;
    overflow: hidden;
}

.detective-agency__banner-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Statistics */
.detective-agency__stats {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #F0F8FF 0%, #E6F3FF 100%);
    border-radius: 8px;
}

.detective-agency__stat-item {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detective-agency__stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #1C1C1C;
}

.detective-agency__stat-label {
    font-size: 14px;
    color: #666666;
}

/* Special Offer */
.detective-agency__offer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, #FF6B6B 0%, #E9450A 100%);
    border-radius: 8px;
    margin-bottom: 24px;
}

.detective-agency__offer-text {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.detective-agency__offer-discount {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 6px;
}

/* Feature Tags */
.detective-agency__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.detective-agency__tag {
    display: inline-block;
    padding: 8px 16px;
    background-color: #FAFAFA;
    border: 1px solid #EDEDED;
    color: #101828;
    font-size: 16px;
    font-weight: 600;
    border-radius: 20px;
}

/* Description */
.detective-agency__description {
    margin-bottom: 32px;
}

.detective-agency__desc-text {
    font-size: 20px;
    line-height: 1.5;
    color: #1C1C1C;
    margin-bottom: 16px;
}

.detective-agency__desc-text:last-child {
    margin-bottom: 0;
}

/* Strengths Section */
.detective-agency__strengths {
    padding: 24px;
    /* background-color: #FFF9F0;
    border-left: 4px solid #E9450A; */
    border-radius: 6px;
}

.detective-agency__strengths-title {
    font-size: 20px;
    font-weight: 700;
    color: #1C1C1C;
    margin-bottom: 20px;
}

.detective-agency__strengths-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.detective-toc__list {
    padding-left: 0;
    list-style: none;
}

.detective-agency__strength-item {
    font-size: 20px;
    line-height: 1.5;
    color: #1C1C1C;
    margin-bottom: 12px;
}

.detective-agency__strength-item:last-child {
    margin-bottom: 0;
}

.detective-agency__strength-label {
    color: #1C1C1C;
    font-weight: 700;
}

/* ===== Recommended Points Box ===== */
.detective-agency__points {
    margin-top: 32px;
    margin-bottom: 24px;
    background-color: #FDECE7;
    border-radius: 8px;
    overflow: hidden;
}

.detective-agency__points-header {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    background-color: #FDECE7;
    color: #E9450A;
    font-size: 16px;
    font-weight: 700;
}

.detective-agency__points-icon {
    margin-right: 8px;
}

.detective-agency__points-title {
    letter-spacing: 0.05em;
    font-size: 20px;
}

.detective-agency__points-body {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #ffffff;
}

.detective-agency__points-item {
    padding: 16px 20px;
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    border-right: 1px solid #ffffff;
}

.detective-agency__points-item:last-child {
    border-right: none;
}

/* ===== Comparison Table ===== */
.detective-agency__table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
    font-size: 16px;
}

.detective-agency__table th,
.detective-agency__table td {
    padding: 14px 16px;
    border: 1px solid #EDEDED;
}

.detective-agency__table th {
    width: 33%;
    background-color: #F5F1EA;
    text-align: left;
    font-weight: 700;
    color: #333333;
}

.detective-agency__table td {
    background-color: #ffffff;
    color: #333333;
}

/* ===== CTA Button ===== */
.detective-agency__cta-wrap {
    margin-top: 24px;
}

.detective-agency__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 56px;
    padding: 0 32px;
    background-color: #EB4A00;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

.detective-agency__cta-text {
    flex: 1;
    text-align: center;
}

.detective-agency__cta-right {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.detective-agency__cta-divider {
    width: 1px;
    height: 28px;
    background-color: rgba(255, 255, 255, 0.6);
}

.detective-agency__cta-arrow {
    font-size: 18px;
}

.detective-agency__cta:hover {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .detective-agency__points-body {
        grid-template-columns: 1fr;
        border-top: 1px solid #FFE1C2;
    }

    .detective-agency__points-item {
        border-right: none;
        border-top: 1px solid #FFE1C2;
    }
}

/* Responsive: sidebar xuống dưới khi màn nhỏ */
@media (max-width: 992px) {
    .hero-banner__container {
        flex-direction: column;
        row-gap: 24px;
    }

    .detective-layout__inner {
        flex-direction: column;
    }

    .detective-layout__sidebar {
        width: 100%;
        flex: 0 0 auto;
        margin-top: 24px;
    }

    .detective-toc {
        position: static;
    }
}

/* ===== Guide Section ===== */
.detective-guide {
    background: #ffffff;
    padding: 16px 0 32px;
    border: none;
}

.detective-guide__title {
    position: relative;
    font-size: 32px;
    font-weight: 700;
    color: #1C1C1C;
    margin: 0 0 24px 0;
}

.detective-guide__title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -13px;
    width: 100px;
    height: 3px;
    background-color: #E9450A;
    border-radius: 2px;
}

.guide-content {
    padding: 24px 0;
}

.title-guide__text {
    font-size: 24px;
    font-weight: 700;
    color: #1C1C1C;
    margin: 0 0 24px 0;
}

.content-guide__text {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    color: #1C1C1C;
    margin: 0;
}

.detective-guide__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 18px;
}

.detective-guide__item {
    counter-increment: step;
    counter-reset: substep;
}

.detective-guide__item-title {
    font-size: 16px;
    font-weight: 700;
    color: #1C1C1C;
    margin: 0 0 6px 0;
    line-height: 1.5;
}

.detective-guide__text {
    font-size: 14px;
    line-height: 1.7;
    color: #333333;
    margin: 0;
}

.detective-guide-section {
    padding: 40px 0 0 0;
    background: #FFFFFF;
}

.detective-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.detective-guide__item::before {
    content: counter(step) ".";
    color: #1E4FA8;
    font-weight: 700;
    margin-right: 8px;
}

.faq-tag {
    display: flex;
    justify-content: end;
    padding: 30px 2% 10px 0;
}

.faq-tag__text {
    font-size: 14px;
    font-weight: 500;
    color: #1C1C1C;
}

@media (max-width: 768px) {
    .detective-guide {
        padding: 24px;
    }

    .detective-guide__item {
        grid-template-columns: auto 1fr;
    }
}
