.service-detail-page {
    --service-ink: #16312f;
    --service-gold: #d8b354;
    --service-surface: #fffdf9;
    --service-muted: #687572;
    position: relative;
    padding: 0 0 clamp(4rem, 8vw, 7rem);
    background:
        radial-gradient(circle at 8% 8%, rgba(180, 199, 168, 0.2), transparent 28rem),
        linear-gradient(180deg, #f5f1ea 0%, #fbfaf7 32%, #f7f4ee 100%);
}

.service-hero {
    position: relative;
    min-height: clamp(460px, 68vh, 680px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background-position: center;
    background-size: cover;
    isolation: isolate;
}

.service-hero::before,
.service-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.service-hero::before {
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(9, 31, 29, 0.9) 0%, rgba(9, 31, 29, 0.58) 48%, rgba(9, 31, 29, 0.16) 76%),
        linear-gradient(0deg, rgba(8, 25, 24, 0.74) 0%, transparent 55%);
}

.service-hero::after {
    z-index: -1;
    background: linear-gradient(180deg, transparent 76%, #f5f1ea 100%);
}

.service-hero-inner {
    width: 100%;
    padding-top: 7.5rem;
    padding-bottom: clamp(5rem, 10vw, 8rem);
}

.service-back-link {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: clamp(2.5rem, 6vw, 5rem);
    padding: 0.68rem 1.05rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
    font-weight: 500;
}

.service-back-link:hover {
    color: var(--service-ink);
    background: #fff;
    transform: translateX(-3px);
}

.service-hero-copy {
    max-width: 820px;
    color: #fff;
}

.service-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #9ca9a6;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.service-hero .service-eyebrow {
    color: #f0d894;
}

.service-hero-title {
    max-width: 760px;
    margin: 0.75rem 0 1.15rem;
    color: #fff;
    font-size: clamp(2.7rem, 6vw, 5.4rem);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.035em;
    text-wrap: balance;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.service-hero-description {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.8;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.service-content-wrap {
    position: relative;
    z-index: 2;
    margin-top: clamp(-3.8rem, -6vw, -2.5rem);
}

.service-main-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-panel,
.service-gallery-card,
.booking-card {
    background: rgba(255, 253, 249, 0.96);
    border: 1px solid rgba(20, 48, 46, 0.09);
    border-radius: 1.65rem;
    box-shadow: 0 20px 60px rgba(31, 51, 47, 0.09);
}

.service-gallery-card {
    padding: clamp(1rem, 2.5vw, 1.5rem);
}

.service-gallery-heading,
.service-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.service-gallery-heading {
    margin-bottom: 1.15rem;
    padding: 0.25rem 0.3rem 0;
}

.service-gallery-heading h2,
.service-section-heading h2 {
    margin: 0.2rem 0 0;
    color: var(--service-ink);
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    font-weight: 500;
}

.photo-count {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.85rem;
    color: var(--service-ink);
    background: #eef1ea;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
}

.main-image-button {
    position: relative;
    width: 100%;
    display: block;
    padding: 0;
    overflow: hidden;
    background: #dfe4dc;
    border: 0;
    border-radius: 1.25rem;
    cursor: zoom-in;
}

.main-image {
    width: 100%;
    height: clamp(360px, 52vw, 610px);
    object-fit: cover;
    transition: transform 0.65s cubic-bezier(0.2, 0.75, 0.25, 1);
}

.main-image-button:hover .main-image {
    transform: scale(1.025);
}

.main-image-action {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.68rem 0.9rem;
    color: var(--service-ink);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 999px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.13);
    backdrop-filter: blur(8px);
    font-size: 0.82rem;
    font-weight: 600;
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 0.85rem;
}

.thumbnail-button {
    position: relative;
    width: 100%;
    padding: 0;
    overflow: hidden;
    background: #e7e8e2;
    border: 2px solid transparent;
    border-radius: 0.85rem;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.thumbnail-button:hover {
    transform: translateY(-2px);
}

.thumbnail-button.active {
    border-color: var(--service-gold);
    box-shadow: 0 0 0 3px rgba(216, 179, 84, 0.2);
}

.thumbnail {
    width: 100%;
    height: clamp(78px, 10vw, 116px);
    object-fit: cover;
    transition: transform 0.4s ease;
}

.thumbnail-button:hover .thumbnail {
    transform: scale(1.05);
}

.gallery-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 0.85rem;
    padding: 0.78rem;
    color: var(--service-ink);
    background: transparent;
    border: 0;
    border-top: 1px solid rgba(20, 48, 46, 0.1);
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.25s ease, background 0.25s ease;
}

.gallery-toggle:hover {
    color: #9a741f;
    background: rgba(216, 179, 84, 0.06);
}

.gallery-toggle i {
    transition: transform 0.3s ease;
}

.gallery-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.service-panel {
    padding: clamp(1.4rem, 4vw, 2.4rem);
}

.section-heading-icon {
    width: 3rem;
    height: 3rem;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    color: #9a741f;
    background: rgba(216, 179, 84, 0.13);
    border-radius: 1rem;
}

.service-description {
    margin: 1.5rem 0 0;
    color: #4c5b58;
    font-size: clamp(1rem, 1.8vw, 1.12rem);
    line-height: 1.95;
    white-space: pre-line;
}

.service-detail-page .description-collapsible {
    flex: none;
    display: -webkit-box;
    margin-bottom: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.service-detail-page .description-collapsible.is-expanded {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
    line-clamp: unset;
}

.description-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.85rem;
    padding: 0;
    color: #8f6b19;
    background: transparent;
    border: 0;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(143, 107, 25, 0.35);
    text-underline-offset: 0.25rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.description-toggle[hidden] {
    display: none;
}

.description-toggle:hover {
    color: #6f5110;
}

.description-toggle:focus-visible {
    outline: 2px solid rgba(216, 179, 84, 0.65);
    outline-offset: 0.35rem;
    border-radius: 0.2rem;
}

.description-toggle i {
    font-size: 0.72rem;
    transition: transform 0.25s ease;
}

.description-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    margin-top: 1.5rem;
}

.price-card {
    min-height: 154px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem;
    background: #f3f4ef;
    border: 1px solid rgba(20, 48, 46, 0.07);
    border-radius: 1.1rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.price-card:hover {
    transform: translateY(-3px);
    border-color: rgba(216, 179, 84, 0.5);
    box-shadow: 0 14px 30px rgba(27, 48, 44, 0.08);
}

.price-card-icon {
    color: #9a741f;
    font-size: 1.05rem;
}

.price-label {
    display: block;
    color: var(--service-muted);
    font-size: 0.82rem;
    font-weight: 600;
}

.price-value {
    display: block;
    margin-top: 0.25rem;
    color: var(--service-ink);
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 600;
    line-height: 1.2;
}

.price-empty {
    grid-column: 1 / -1;
    min-height: auto;
}

.booking-card {
    position: sticky;
    top: 96px;
    overflow: hidden;
}

.booking-card-top {
    position: relative;
    padding: clamp(1.5rem, 3vw, 2rem);
    color: #fff;
    background:
        radial-gradient(circle at 100% 0, rgba(216, 179, 84, 0.28), transparent 45%),
        var(--service-ink);
}

.booking-card-top::after {
    content: "";
    position: absolute;
    right: -2.5rem;
    bottom: -3.5rem;
    width: 9rem;
    height: 9rem;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;
}

.booking-card-top .service-eyebrow {
    color: #e7cb7d;
}

.booking-card h2 {
    margin: 0.65rem 0 0;
    color: #fff;
    font-size: clamp(1.9rem, 3vw, 2.45rem);
    font-weight: 500;
}

.booking-card-price {
    margin-top: 1.2rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
}

.booking-card-price strong {
    display: block;
    margin-top: 0.2rem;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
}

.booking-card-body {
    padding: clamp(1.25rem, 3vw, 1.75rem);
}

.booking-intro {
    margin-bottom: 1.25rem;
    color: var(--service-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

.btn-booking {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 0.95rem 1.1rem;
    color: #fff;
    background: var(--service-ink);
    border: 1px solid var(--service-ink);
    border-radius: 0.95rem;
    font-size: 0.95rem;
    font-weight: 600;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-booking:hover {
    color: #fff;
    background: #234945;
    border-color: #234945;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(20, 48, 46, 0.2);
}

.btn-booking.secondary {
    color: var(--service-ink);
    background: #fff;
    border-color: rgba(20, 48, 46, 0.17);
}

.btn-booking.secondary:hover {
    color: var(--service-ink);
    background: #f4f2ec;
    border-color: rgba(20, 48, 46, 0.3);
    box-shadow: none;
}

.booking-note {
    display: flex;
    gap: 0.7rem;
    margin: 1.2rem 0 0;
    padding-top: 1.1rem;
    color: #75817f;
    border-top: 1px solid rgba(20, 48, 46, 0.1);
    font-size: 0.78rem;
    line-height: 1.55;
}

.booking-note i {
    margin-top: 0.15rem;
    color: #829a78;
}

.booking-card .dropdown-menu {
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    margin-top: 0.45rem !important;
    padding: 0.5rem;
    border: 1px solid rgba(20, 48, 46, 0.09);
    border-radius: 0.95rem;
    box-shadow: 0 15px 40px rgba(24, 45, 41, 0.15);
}

.booking-card .dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.72rem;
    border-radius: 0.65rem;
    color: var(--service-ink);
    font-size: 0.9rem;
}

.booking-card .dropdown-item:hover {
    background: #f1f3ed;
}

.contact-icon {
    width: 1.35rem;
    height: 1.35rem;
    margin-right: 0.65rem;
    object-fit: contain;
    border-radius: 0.25rem;
}

.service-lightbox[hidden] {
    display: none;
}

.service-lightbox {
    position: fixed;
    z-index: 1090;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 4.5rem 5rem;
    opacity: 0;
    visibility: hidden;
    background: rgba(7, 19, 18, 0.95);
    backdrop-filter: blur(12px);
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.service-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.lightbox-image {
    width: auto;
    max-width: min(1180px, 86vw);
    max-height: 82vh;
    object-fit: contain;
    border-radius: 0.75rem;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    backdrop-filter: blur(8px);
    transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: scale(1.05);
}

.lightbox-close {
    top: 1.25rem;
    right: 1.25rem;
}

.lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-nav:hover {
    transform: translateY(-50%) scale(1.05);
}

.lightbox-prev {
    left: 1.25rem;
}

.lightbox-next {
    right: 1.25rem;
}

.lightbox-counter {
    position: absolute;
    bottom: 1.35rem;
    left: 50%;
    padding: 0.45rem 0.8rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    font-size: 0.82rem;
    transform: translateX(-50%);
}

@media (min-width: 992px) {
    .booking-card-column {
        align-self: stretch;
    }
}

@media (max-width: 991.98px) {
    .service-content-wrap {
        margin-top: -2.5rem;
    }

    .booking-card {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .service-hero {
        min-height: 540px;
    }

    .service-hero::before {
        background:
            linear-gradient(0deg, rgba(9, 31, 29, 0.93) 0%, rgba(9, 31, 29, 0.42) 75%),
            linear-gradient(90deg, rgba(9, 31, 29, 0.32), transparent);
    }

    .service-hero-inner {
        padding-top: 6rem;
        padding-bottom: 5rem;
    }

    .service-back-link {
        margin-bottom: 3.5rem;
    }

    .service-hero-description {
        -webkit-line-clamp: 4;
    }

    .service-gallery-heading {
        align-items: center;
    }

    .main-image {
        height: min(68vw, 430px);
    }

    .thumbnail-grid {
        grid-template-columns: repeat(3, minmax(74px, 1fr));
        gap: 0.55rem;
    }

    .price-grid {
        grid-template-columns: 1fr;
    }

    .price-card {
        min-height: auto;
        flex-direction: row;
        align-items: center;
    }

    .service-lightbox {
        padding: 4rem 1rem;
    }

    .lightbox-image {
        max-width: 96vw;
        max-height: 76vh;
    }

    .lightbox-nav {
        top: auto;
        bottom: 1.1rem;
        transform: none;
    }

    .lightbox-nav:hover {
        transform: scale(1.05);
    }

    .lightbox-counter {
        bottom: 1.7rem;
    }
}

@media (max-width: 479.98px) {
    .service-gallery-card {
        border-radius: 1.25rem;
    }

    .photo-count {
        padding: 0.45rem 0.65rem;
    }

    .photo-count span {
        display: none;
    }

    .main-image-action span {
        display: none;
    }

    .thumbnail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .thumbnail {
        height: 92px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-detail-page *,
    .service-lightbox {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
