.service-overview-page {
    --service-text: #2e1c10;
    --service-gold: #a26325;
    background: #24170d;
}

.service-container {
    width: min(1380px, calc(100% - 160px));
    margin-inline: auto;
}

.service-hero {
    position: relative;
    isolation: isolate;
    overflow-wrap: anywhere;
    background: #3c2718;
    border-bottom: 1px solid var(--border-accent);
}

.service-hero-image, .service-hero::before {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.service-hero-image {
    z-index: -2;
    object-fit: cover;
    object-position: center 42%;
}

.service-hero::before {
    content: '';
    z-index: -1;
    background: linear-gradient(90deg, rgb(25 14 7 / 76%), rgb(37 20 8 / 32%) 55%, rgb(37 20 8 / 8%)),
        linear-gradient(0deg, rgb(34 17 6 / 28%), transparent 70%);
}

.service-masthead {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding-top: 16px;
}

.service-masthead .brand { width: 210px; }
.service-masthead .language-switcher { margin: 0; }

.service-hero-copy { padding: 8px 0 24px; }

.service-hero-title {
    margin: 0 0 4px;
    font: italic 400 clamp(42px, 4.5vw, 66px)/1.05 var(--serif);
    text-shadow: 0 2px 18px rgb(0 0 0 / 30%);
}

.service-hero-intro {
    max-width: 820px;
    margin: 0;
    font-size: clamp(15px, 1.4vw, 20px);
    line-height: 1.6;
}

.service-hero-copy::after {
    content: '';
    display: block;
    width: 54px;
    height: 2px;
    margin-top: 14px;
    background: #dfae63;
}

.service-paper {
    color: var(--service-text);
    background: var(--cream-background);
    padding-bottom: 32px;
}

.service-paper a:focus-visible, .service-paper button:focus-visible {
    outline-color: #75471e;
}

.service-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
    margin: 0;
    padding: 12px 0;
    list-style: none;
    font-size: 13px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.service-breadcrumb li { min-width: 0; }
.service-breadcrumb li + li::before { content: '›'; margin-right: 12px; color: #80512a; }
.service-breadcrumb a { display: inline-block; min-width: 44px; min-height: 44px; padding-block: 12px; text-decoration: none; }
.service-breadcrumb .breadcrumb-home { display: inline-flex; align-items: center; gap: 8px; vertical-align: middle; }
.breadcrumb-home img { flex-shrink: 0; }
.service-breadcrumb a:hover { text-decoration: underline; text-underline-offset: 4px; }
.service-breadcrumb [aria-current] { font-weight: 500; }

.service-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(28px, 3.5vw, 54px);
    padding-bottom: 8px;
    overflow-wrap: anywhere;
}

.service-feature-text-only { grid-template-columns: minmax(0, 1fr); }
.service-feature-media { min-width: 0; }

.service-feature-photo {
    margin: 0;
    border-radius: 22px;
    overflow: hidden;
    background: #5c371c;
    box-shadow: 0 1px 0 rgb(255 255 255 / 50%);
}

.service-feature-photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2.4;
    object-fit: cover;
}

.service-feature-content { min-width: 0; padding-block: 12px; }
.service-feature-heading {
    --feature-icon-size: 72px;
    --feature-heading-gap: 22px;
    display: flex;
    align-items: flex-start;
    gap: var(--feature-heading-gap);
    margin-bottom: 20px;
}
.service-feature-heading > div { min-width: 0; }

.service-feature-heading + .service-reservation {
    margin-top: 0;
    margin-bottom: 24px;
}

.service-feature-icon {
    flex-shrink: 0;
    width: var(--feature-icon-size);
    height: var(--feature-icon-size);
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(43%) sepia(61%) saturate(665%) hue-rotate(351deg) brightness(87%) contrast(90%);
}

.service-feature h1 {
    font: 500 clamp(40px, 4.2vw, 64px)/1.04 var(--serif);
    letter-spacing: -.02em;
    text-shadow: none;
}

.service-feature-slogan {
    position: relative;
    margin: 8px 0 0;
    color: #975214;
    font: italic 400 clamp(25px, 2.35vw, 36px)/1.15 var(--serif);
}

.service-feature-icon + div .service-feature-slogan:not(:empty)::before {
    content: '';
    position: absolute;
    inset-inline-start: calc(-1 * (var(--feature-icon-size) + var(--feature-heading-gap)));
    top: .575em;
    width: var(--feature-icon-size);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--service-gold));
}

.service-rich-text { font-size: 17px; line-height: 1.65; }
.service-rich-text p, .service-rich-text ul, .service-rich-text ol { margin: 0 0 1em; }
.service-rich-text > :last-child { margin-bottom: 0; }
.service-rich-text h2, .service-rich-text h3 { font: 500 30px/1.2 var(--serif); margin: 18px 0 12px; }
.service-rich-text ul, .service-rich-text ol { padding-left: 1.6em; }
.service-rich-text li[data-list="bullet"] { list-style-type: disc; }
.service-rich-text li[data-list="ordered"] { list-style-type: decimal; }
.service-rich-text .ql-indent-1 { padding-left: 1em; }
.service-rich-text .ql-indent-2 { padding-left: 2em; }
.service-rich-text .ql-indent-3 { padding-left: 3em; }
.service-rich-text .ql-indent-4 { padding-left: 4em; }
.service-rich-text .ql-indent-5 { padding-left: 5em; }
.service-rich-text .ql-indent-6 { padding-left: 6em; }
.service-rich-text .ql-indent-7 { padding-left: 7em; }
.service-rich-text .ql-indent-8 { padding-left: 8em; }
.service-rich-text blockquote { margin: 20px 0; padding-left: 20px; border-left: 2px solid var(--service-gold); font-style: italic; }
.service-rich-text a { color: #794618; text-underline-offset: 3px; }

.service-section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 2.5vw, 36px);
    margin: 12px 0 20px;
    font: 500 clamp(26px, 2.2vw, 34px)/1.25 var(--serif);
    text-align: center;
    overflow-wrap: anywhere;
}

.service-section-title::before, .service-section-title::after {
    content: '';
    flex: 0 1 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--service-gold));
}
.service-section-title::after { transform: rotate(180deg); }

.service-carousel { position: relative; margin-inline: -50px; padding-inline: 50px; }

.service-scroll-track {
    --visible-columns: var(--desktop-columns);
    --card-gap: 14px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (var(--visible-columns) - 1) * var(--card-gap)) / var(--visible-columns));
    justify-content: safe center;
    gap: var(--card-gap);
    align-items: stretch;
    margin: 0;
    padding: 6px;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scroll-padding-inline: 6px;
}

.service-scroll-track.is-enhanced { scrollbar-width: none; }
.service-scroll-track.is-enhanced::-webkit-scrollbar { display: none; }
.service-scroll-track > li { display: flex; min-width: 0; scroll-snap-align: start; }
.service-scroll-track a { flex: 1; min-width: 0; text-decoration: none; overflow-wrap: anywhere; }

.subservice-grid {
    --subservice-columns: 4;
    --subservice-gap: 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--subservice-gap);
    margin: 0;
    padding: 6px 0;
    list-style: none;
}

.subservice-grid > li {
    display: flex;
    flex: 0 0 calc((100% - (var(--subservice-columns) - 1) * var(--subservice-gap)) / var(--subservice-columns));
    min-width: 0;
}

.subservice-card {
    display: grid;
    grid-template-columns: 42% minmax(0, 1fr);
    flex: 1;
    min-width: 0;
    min-height: 180px;
    overflow: hidden;
    border: 1px solid #fff4df;
    border-radius: 20px;
    background: var(--cream-background);
    color: var(--service-text);
    text-decoration: none;
    overflow-wrap: anywhere;
    box-shadow: inset 0 0 16px rgb(255 244 218 / 25%);
    transition: box-shadow 180ms ease, border-color 180ms ease;
}

.subservice-card-media { position: relative; min-width: 0; }
.subservice-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.subservice-card-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, var(--cream-color)); }
.subservice-card-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 18px 16px 12px 4px;
    background: linear-gradient(110deg, var(--cream-color), #f2d8b8 48%, #e6b98d);
}
.subservice-card h3 { margin: 0 0 8px; font: 500 23px/1.15 var(--serif); }
.subservice-card p { margin: 0; font-size: 13px; line-height: 1.5; }
/* Keep the combined arrow height and top margin unchanged. */
.subservice-card-arrow { display: grid; place-items: center; align-self: flex-end; flex-shrink: 0; width: 40px; height: 40px; margin-top: 6px; border: 1px solid #80512a; border-radius: 50%; }
.subservice-card-content p { margin-bottom: auto; }
.subservice-card-arrow .arrow-icon { width: 24px; height: 24px; }
.subservice-card:hover, .subservice-card:focus-visible { border-color: #bc782c; box-shadow: inset 0 0 22px rgb(255 244 218 / 40%), 0 0 5px #b47a41; }
.subservice-card:hover .subservice-card-arrow { background: #80512a; color: #fff4df; }
.subservice-card-text-only { grid-template-columns: minmax(0, 1fr); }
.subservice-card-text-only .subservice-card-content { padding-left: 18px; }

.service-scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #9e652d;
    border-radius: 50%;
    background: var(--cream-background);
    color: #73451e;
    cursor: pointer;
    transition: background 180ms ease, color 180ms ease;
}

.service-scroll-previous { left: 0; }
.service-scroll-next { right: 0; }
.service-scroll-arrow .arrow-icon { width: 19px; height: 19px; }
.service-scroll-previous .arrow-icon { transform: rotate(180deg); }
.service-scroll-arrow:hover:not(:disabled) { background: #9c6027; color: #fff4df; }
.service-scroll-arrow:disabled { opacity: .35; cursor: default; }
.service-scroll-arrow[hidden] { display: none; }

.service-related {
    padding: 4px 0 32px;
    border-top: 1px solid var(--border-accent);
    background: radial-gradient(ellipse at center, #57351d, transparent 70%), #28190e;
}

.service-related .service-section-title { margin: 12px 0 20px; }
.service-related .service-section-title::before, .service-related .service-section-title::after { background: linear-gradient(90deg, transparent, #e7b762); }
.service-related .service-scroll-arrow { border-color: #e7b762; background: #35200f; color: #f3d19a; }

.related-service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding-top: 40%;
    overflow: hidden;
    border: 1px solid #ac763c;
    border-radius: 17px;
    background: linear-gradient(120deg, #4f311b, #28190e);
    box-shadow: inset 0 -3px 14px rgb(208 146 66 / 15%);
    transition: box-shadow 180ms ease, border-color 180ms ease;
}

.related-service-card:hover, .related-service-card:focus-visible, .related-service-card[aria-current="page"] { border-color: #ffcf87; box-shadow: 0 0 5px #ffc16c, inset 0 0 8px #a7672b; }
.related-service-photo { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.related-service-caption { position: relative; display: flex; flex: 1; align-items: center; justify-content: center; gap: 14px; padding: 10px 12px; background: rgb(40 25 14 / 75%); }
.related-service-caption img { flex: 0 0 36px; width: 36px; height: 36px; object-fit: contain; filter: drop-shadow(0 1px 3px #1a1008); }
.related-service-caption h3 { min-width: 0; margin: 0; font-size: 16px; font-weight: 400; line-height: 1.4; text-shadow: 0 1px 4px #1a1008, 0 0 10px #1a1008; }

@media (max-width: 1100px) {
    .service-container { width: calc(100% - 112px); }
    .service-feature { gap: 28px; }
    .service-feature-heading { --feature-icon-size: 54px; --feature-heading-gap: 16px; }
    .service-rich-text { font-size: 15px; }
    .subservice-grid { --subservice-columns: 2; }
    .related-service-track { --visible-columns: min(var(--desktop-columns), 4); }
}

@media (max-width: 760px) {
    .service-container { width: calc(100% - 48px); }
    .service-masthead .brand { width: 180px; }
    .service-hero-copy { padding-top: 20px; }
    .service-feature { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .service-feature-photo img { aspect-ratio: 2; }
    .service-feature-content { padding: 0; }
    .service-rich-text { font-size: 16px; }
    .service-options { padding-top: 20px; }
    .service-carousel { margin-inline: -14px; padding-inline: 44px; }
    .related-service-track { --visible-columns: min(var(--desktop-columns), 3); }
    .related-service-caption { gap: 8px; }
    .related-service-caption img { width: 28px; height: 28px; flex-basis: 28px; }
    .related-service-caption h3 { font-size: 14px; }
    .service-section-title::before, .service-section-title::after { flex-basis: 50px; }
}

@media (max-width: 600px) {
    .service-container { width: calc(100% - 36px); }
    .service-masthead { align-items: center; flex-direction: column; gap: 8px; }
    .service-masthead .brand { width: 168px; }
    .service-hero-copy { padding: 16px 0 26px; }
    .service-hero-intro { font-size: 15px; }
    .service-breadcrumb ol { font-size: 12px; gap: 4px 8px; }
    .service-breadcrumb li + li::before { margin-right: 8px; }
    .service-feature-heading { --feature-icon-size: 48px; margin-bottom: 16px; }
    .service-carousel { margin-inline: -10px; padding-inline: 44px; }
    .subservice-grid { --subservice-columns: 1; }
    .related-service-track { --visible-columns: min(var(--desktop-columns), 2); }
    .service-section-title { gap: 12px; }
    .service-section-title::before, .service-section-title::after { flex-basis: 26px; }
    .service-rich-text [class^="ql-indent-"] { padding-left: 1em; }
    .subservice-card p { font-size: 14px; }
}

@media (max-width: 400px) {
    .related-service-track { --visible-columns: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .service-overview-page *, .service-overview-page *::before { transition: none; }
}
