/* ==========================================================================
   Cleani Service Detail Pages
   Mockup-inspired responsive poster layout using Cleani orange
   ========================================================================== */

:root {
    --poster-ink: #101115;
    --poster-muted: #5f6368;
    --poster-soft: #fff8ed;
    --poster-cream: #f8f7f1;
    --poster-line: rgba(244, 161, 26, 0.24);
    --poster-shadow: 0 18px 45px rgba(17, 17, 17, 0.08);
}

.service-detail-body {
    background: #ffffff;
    color: var(--text-color);
    font-family: 'Ubuntu', 'Battambang', Arial, sans-serif;
    padding-top: 72px;
}

.service-detail-body .section-title {
    color: var(--accent-orange);
    font-size: clamp(1.7rem, 2.8vw, 2.25rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
    margin-bottom: 10px;
}

.service-detail-body .section-line {
    width: min(360px, 76vw);
    height: 2px;
    margin: 0 auto 34px;
    background: linear-gradient(90deg, transparent 0 15%, var(--accent-orange) 15% 36%, transparent 36% 64%, var(--accent-orange) 64% 85%, transparent 85% 100%);
    position: relative;
}

.service-detail-body .section-line::before,
.service-detail-body .section-line::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-orange);
    transform: translateY(-50%);
}

.service-detail-body .section-line::before {
    left: 31%;
}

.service-detail-body .section-line::after {
    right: 31%;
}

.section-subtitle {
    max-width: 760px;
    margin: -18px auto 34px;
    color: var(--poster-muted);
    text-align: center;
    font-size: 1.04rem;
    line-height: 1.6;
}

/* Hero */
.service-hero {
    min-height: 690px;
    padding: 34px 0 72px;
    background:
        linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.98) 35%, rgba(255, 255, 255, 0.62) 56%, rgba(255, 248, 237, 0.72) 100%),
        radial-gradient(circle at 88% 14%, rgba(244, 161, 26, 0.16), transparent 32%);
    border-bottom: 1px solid rgba(244, 161, 26, 0.12);
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    left: -13vw;
    right: -12vw;
    bottom: -80px;
    height: 178px;
    background: var(--accent-orange);
    border-radius: 50% 50% 0 0 / 82% 82% 0 0;
    z-index: 1;
}

.service-hero::after {
    content: '';
    position: absolute;
    left: -11vw;
    right: -11vw;
    bottom: -58px;
    height: 158px;
    background: #ffffff;
    border-radius: 50% 50% 0 0 / 82% 82% 0 0;
    z-index: 2;
}

.service-hero .container {
    position: relative;
    z-index: 3;
}

.service-hero-grid {
    display: grid;
    grid-template-columns: minmax(400px, 0.86fr) minmax(500px, 1.14fr);
    gap: 18px;
    align-items: stretch;
}

.service-hero-content {
    position: relative;
    z-index: 5;
    padding-top: 8px;
    animation: fadeInL 0.65s ease-out;
}

.service-hero-content::before {
    content: '';
    display: block;
    width: 178px;
    height: 64px;
    margin-bottom: 18px;
    /* background: url('asset/logo-remove-bg.png') left center / contain no-repeat; */
}

@keyframes fadeInL {
    from { opacity: 0; transform: translateX(-24px); }
    to { opacity: 1; transform: translateX(0); }
}

.service-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0;
    color: var(--accent-orange);
    background: transparent;
    padding: 0 0 0 76px;
    border: 0;
    border-radius: 0;
    font-size: clamp(1.12rem, 2vw, 1.45rem);
    font-weight: 800;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 18px;
    position: relative;
}

.service-badge-pill::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 58px;
    height: 4px;
    background: var(--accent-orange);
    transform: translateY(-50%);
}

.service-badge-pill i {
    display: none;
}

.service-hero-title {
    max-width: 780px;
    margin-bottom: 22px;
    color: var(--accent-orange);
    font-size: clamp(3.75rem, 8vw, 4.55rem);
    font-weight: 900;
    line-height: 0.6;
    text-transform: uppercase;
    text-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
}

.service-hero-title span {
    display: inline-block;
    color: var(--poster-ink);
    line-height: 1.9;
}

.service-hero-desc {
    max-width: 565px;
    margin-bottom: 17px;
    color: #242424;
    font-size: 1.04rem;
    line-height: 1.65;
}

.service-hero-desc:first-of-type {
    color: var(--accent-orange);
    font-size: clamp(1.18rem, 2vw, 1.45rem);
    font-weight: 800;
    line-height: 1.35;
}

.service-hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.service-hero .btn {
    min-height: 50px;
    border-radius: 8px;
    padding: 16px 16px;
}

.service-hero .btn-secondary {
    background: #ffffff;
    color: var(--accent-orange);
    border-color: var(--accent-orange);
    box-shadow: 0 10px 24px rgba(244, 161, 26, 0.12);
}

.service-hero .btn-secondary:hover {
    background: var(--poster-soft);
    color: var(--accent-orange);
    border-color: var(--accent-orange);
    transform: translateY(-3px);
}

.service-hero-image-wrapper {
    min-height: 500px;
    margin-left: -74px;
    position: relative;
    align-self: stretch;
    animation: fadeInR 0.65s ease-out;
}

@keyframes fadeInR {
    from { opacity: 0; transform: translateX(24px); }
    to { opacity: 1; transform: translateX(0); }
}

.service-hero-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0 -120px -10px 0;
    background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.76) 18%, rgba(255, 255, 255, 0.18) 43%, rgba(255, 255, 255, 0) 68%);
    z-index: 3;
    pointer-events: none;
}

.service-hero-image-wrapper::after {
    content: '\2726';
    position: absolute;
    top: 36px;
    right: 58px;
    z-index: 4;
    color: var(--primary-orange);
    font-size: 2.7rem;
    text-shadow: 24px 38px 0 rgba(244, 161, 26, 0.22);
}

.service-hero-img {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    z-index: 2;
}

.floating-experience-badge {
    position: absolute;
    right: 54px;
    bottom: 0;
    z-index: 6;
    width: 164px;
    height: 164px;
    display: grid;
    align-content: center;
    justify-items: center;
    color: var(--primary-orange);
    background: #ffffff;
    border: 5px solid var(--primary-orange);
    border-radius: 50%;
    box-shadow: 0 16px 34px rgba(35, 35, 35, 0.16);
    text-align: center;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.floating-experience-badge::before {
    content: '';
    position: absolute;
    inset: 9px;
    border: 1px solid rgba(244, 161, 26, 0.52);
    border-radius: 50%;
}

.floating-experience-badge h4 {
    position: relative;
    font-size: 1.78rem;
    font-weight: 900;
    line-height: 1;
}

.floating-experience-badge p {
    position: relative;
    max-width: 104px;
    color: var(--accent-orange);
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Tabs */
.toggle-container {
    display: flex;
    justify-content: center;
    margin: -22px 0 0;
    position: relative;
    z-index: 8;
}

.tabs-wrapper {
    display: flex;
    gap: 6px;
    padding: 6px;
    background: #ffffff;
    border: 1px solid var(--poster-line);
    border-radius: 8px;
    box-shadow: 0 15px 34px rgba(0, 0, 0, 0.08);
}

.tab-trigger {
    padding: 13px 28px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--poster-muted);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.98rem;
    font-weight: 800;
    transition: var(--transition);
}

.tab-trigger.active {
    background: var(--primary-orange);
    color: #ffffff;
    box-shadow: 0 8px 16px rgba(244, 161, 26, 0.24);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.45s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Detail sections */
.detail-section {
    padding: 54px 0;
    position: relative;
}

.detail-section.bg-light {
    background: linear-gradient(180deg, #ffffff 0%, #fffaf2 100%);
    border-top: 1px solid rgba(244, 161, 26, 0.08);
    border-bottom: 1px solid rgba(244, 161, 26, 0.08);
}

.detail-section > .container > p[style] {
    font-size: 1.02rem;
}

/* Service Includes: mockup icon strip */
.includes-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
}

.includes-grid:not(:has(.include-card:nth-child(4))) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.include-card {
    min-height: 100%;
    padding: 10px 18px 0;
    background: transparent;
    border: 0;
    border-right: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 0;
    box-shadow: none;
    position: relative;
    transition: var(--transition);
}

.include-card:nth-child(6n),
.includes-grid:not(:has(.include-card:nth-child(4))) .include-card:nth-child(3n) {
    border-right: 0;
}

.include-card:hover {
    transform: translateY(-4px);
}

.include-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    text-align: center;
}

.include-icon {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    background: var(--poster-cream);
    color: var(--accent-orange);
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(244, 161, 26, 0.08);
    font-size: 2.15rem;
}

.include-header h3 {
    min-height: 2.5em;
    color: var(--accent-orange);
    font-size: 0.86rem;
    font-weight: 900;
    line-height: 1.25;
    text-transform: uppercase;
}

.include-list {
    list-style: none;
}

.include-list li {
    display: block;
    margin-bottom: 5px;
    color: #333333;
    font-size: 0.78rem;
    line-height: 1.38;
    text-align: center;
}

.include-list li:nth-child(n + 3),
.include-list li i {
    display: none;
}

/* Lower mockup panels */
.features-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    background: #ffffff;
}

.feature-box {
    padding: 28px 30px;
    background: linear-gradient(135deg, #ffffff 0%, var(--poster-cream) 100%);
    border: 1px solid rgba(244, 161, 26, 0.12);
    border-radius: 8px;
    box-shadow: 0 14px 32px rgba(20, 20, 20, 0.06);
}

.feature-box h2 {
    color: var(--accent-orange);
    font-size: clamp(1.45rem, 2.6vw, 1.95rem);
    font-weight: 900;
    margin-bottom: 12px;
    text-align: center;
    text-transform: uppercase;
}

.feature-box-line {
    width: 72%;
    max-width: 260px;
    height: 2px;
    margin: 0 auto 24px;
    background: linear-gradient(90deg, transparent, var(--accent-orange), transparent);
}

.feature-items-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    list-style: none;
}

.feature-item-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 14px;
    background: transparent;
    border-right: 1px solid rgba(0, 0, 0, 0.10);
    border-bottom: 1px solid rgba(0, 0, 0, 0.10);
    text-align: center;
    transition: var(--transition);
}

.feature-item-row:nth-child(2n) {
    border-right: 0;
}

.feature-item-row:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.feature-item-row:hover {
    background: rgba(244, 161, 26, 0.06);
    border-radius: 8px;
    transform: translateY(-3px);
}

.feature-item-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    color: var(--accent-orange);
    border: 2px solid rgba(244, 161, 26, 0.55);
    border-radius: 50%;
    font-size: 1.35rem;
}

.feature-item-text h4 {
    margin-bottom: 4px;
    color: var(--poster-ink);
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.25;
}

.feature-item-text p {
    color: var(--poster-muted);
    font-size: 0.78rem;
    line-height: 1.45;
}

/* Process strip */
.process-steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    margin-top: 34px;
    background: linear-gradient(135deg, #ffffff 0%, var(--poster-cream) 100%);
    border: 1px solid rgba(244, 161, 26, 0.12);
    border-radius: 8px;
    box-shadow: var(--poster-shadow);
    overflow: hidden;
}

.process-step-card {
    padding: 30px 18px;
    border-right: 1px solid rgba(0, 0, 0, 0.10);
    position: relative;
    text-align: center;
}

.process-step-card:last-child {
    border-right: 0;
}

.process-step-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 58px;
    right: -18px;
    z-index: 2;
    width: 36px;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--accent-orange) 0 5px, transparent 5px 10px);
}

.process-step-num {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin: 0 auto 15px;
    background: var(--accent-orange);
    color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 10px 22px rgba(244, 161, 26, 0.24);
    font-size: 1.2rem;
    font-weight: 900;
}

.process-step-card h4 {
    margin-bottom: 7px;
    color: var(--accent-orange);
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
}

.process-step-card p {
    color: var(--poster-muted);
    font-size: 0.84rem;
    line-height: 1.45;
}

/* Booking footer strip */
.service-cta-banner {
    display: grid;
    grid-template-columns: 72px minmax(320px, 1fr) minmax(320px, 0.72fr);
    align-items: center;
    gap: 14px 42px;
    margin-top: 20px;
    padding: 20px clamp(24px, 4vw, 38px);
    background: linear-gradient(90deg, var(--accent-orange) 0%, #b96f05 60%, var(--poster-cream) 60%, #ffffff 100%);
    color: #ffffff;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    overflow: hidden;
}

.service-cta-banner::before {
    content: '\f095';
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    background: #ffffff;
    color: var(--accent-orange);
    border-radius: 50%;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
    font-family: 'Font Awesome 6 Free';
    font-size: 1.8rem;
    font-weight: 900;
    grid-row: 1 / span 2;
}

.service-cta-banner h2 {
    margin-bottom: 0;
    color: #ffffff;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 900;
    line-height: 1.22;
    text-transform: uppercase;
    overflow-wrap: anywhere;
    padding-right: clamp(18px, 3vw, 44px);
}

.service-cta-banner p {
    max-width: 680px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.96rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
    padding-right: clamp(18px, 3vw, 44px);
}

.service-cta-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
    align-self: center;
    gap: 12px;
    width: 100%;
    min-width: 0;
    grid-column: 3 / 4;
    grid-row: 1 / span 2;
}

.service-cta-btns .btn {
    border-radius: 8px;
    flex: 1 1 210px;
    min-width: 0;
    min-height: 58px;
    padding: 14px 18px;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
    line-height: 1.25;
}

.service-cta-btns .btn-primary {
    background: #ffffff;
    color: var(--accent-orange);
    box-shadow: none;
}

.service-cta-btns .btn-primary:hover {
    background: var(--poster-soft);
    color: var(--accent-orange);
}

.service-cta-btns .btn-secondary {
    background: var(--accent-orange);
    color: #ffffff;
    border-color: var(--accent-orange);
}

/* Responsive */
@media (max-width: 1240px) {
    .service-cta-banner {
        grid-template-columns: 72px minmax(0, 1fr);
        background: linear-gradient(90deg, var(--accent-orange) 0%, #b96f05 100%);
    }

    .service-cta-btns {
        grid-column: 2 / 3;
        grid-row: auto;
        justify-content: flex-start;
        max-width: 640px;
    }

    .service-cta-banner h2,
    .service-cta-banner p {
        padding-right: 0;
    }
}

@media (max-width: 1180px) {
    .service-hero-grid {
        grid-template-columns: minmax(360px, 0.88fr) minmax(430px, 1.12fr);
    }

    .service-hero-title {
        font-size: clamp(3.25rem, 7vw, 5.7rem);
    }

    .includes-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 28px;
    }

    .include-card:nth-child(3n) {
        border-right: 0;
    }

}

@media (max-width: 900px) {
    .service-hero {
        min-height: auto;
        padding-top: 40px;
    }

    .service-hero-grid {
        grid-template-columns: 1fr;
    }

    .service-hero-content::before {
        width: 150px;
        height: 56px;
        margin-bottom: 16px;
    }

    .service-hero-image-wrapper {
        min-height: auto;
        margin-left: 0;
    }

    .service-hero-image-wrapper::before,
    .service-hero-image-wrapper::after {
        display: none;
    }

    .service-hero-img {
        height: clamp(280px, 56vw, 420px);
        min-height: 0;
        border-radius: 8px;
    }

    .floating-experience-badge {
        width: 118px;
        height: 118px;
        right: 14px;
        bottom: -18px;
        border-width: 4px;
    }

    .floating-experience-badge h4 {
        font-size: 1.35rem;
    }

    .floating-experience-badge p {
        font-size: 0.62rem;
    }

    .features-split,
    .process-steps-grid {
        grid-template-columns: 1fr;
    }

    .process-step-card,
    .process-step-card:last-child {
        border-right: 0;
    }

    .process-step-card + .process-step-card {
        border-top: 1px solid rgba(0, 0, 0, 0.10);
    }

    .process-step-card:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 640px) {
    .service-detail-body {
        padding-top: 68px;
    }

    .service-hero {
        padding: 34px 0 62px;
    }

    .service-hero-title {
        font-size: clamp(2.45rem, 15vw, 3.45rem);
    }

    .service-badge-pill {
        padding-left: 52px;
        font-size: 1rem;
    }

    .service-badge-pill::before {
        width: 40px;
    }

    .service-hero-desc {
        font-size: 0.98rem;
    }

    .service-hero-btns,
    .service-hero-btns .btn,
    .service-cta-btns,
    .service-cta-btns .btn {
        width: 100%;
    }

    .service-hero-btns .btn,
    .service-cta-btns .btn {
        justify-content: center;
    }

    .floating-experience-badge {
        display: none;
    }

    .tabs-wrapper {
        width: calc(100% - 32px);
    }

    .tab-trigger {
        flex: 1;
        padding: 12px 10px;
        font-size: 0.9rem;
    }

    .detail-section {
        padding: 48px 0;
    }

    .section-subtitle {
        margin-bottom: 28px;
    }

    .includes-grid,
    .includes-grid:not(:has(.include-card:nth-child(4))) {
        grid-template-columns: 1fr;
        row-gap: 0;
    }

    .include-card,
    .include-card:nth-child(3n),
    .include-card:nth-child(6n) {
        border-right: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.10);
        padding: 18px 10px;
    }

    .include-card:last-child {
        border-bottom: 0;
    }

    .include-icon {
        width: 68px;
        height: 68px;
        font-size: 1.7rem;
    }

    .include-header h3 {
        min-height: 0;
    }

    .include-list li:nth-child(n + 3) {
        display: block;
    }

    .feature-box {
        padding: 26px 20px;
    }

    .feature-items-list {
        grid-template-columns: 1fr;
    }

    .feature-item-row,
    .feature-item-row:nth-child(2n),
    .feature-item-row:nth-last-child(-n + 2) {
        border-right: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.10);
    }

    .feature-item-row:last-child {
        border-bottom: 0;
    }

    .service-cta-banner {
        grid-template-columns: 1fr;
        padding: 30px 22px;
        background: linear-gradient(180deg, var(--accent-orange) 0%, #b96f05 100%);
        text-align: center;
    }

    .service-cta-banner::before,
    .service-cta-banner h2,
    .service-cta-banner p,
    .service-cta-btns {
        grid-column: auto;
        grid-row: auto;
        margin-left: auto;
        margin-right: auto;
    }
}
