/* ==========================================================
   SUPERYACHT GUIDE — SERVICES SHARED
   Phase 5B

   Shared by Service index, Service Landing and Region Landing.
   Contains the existing Service photographic hero and the
   existing Service commercial CTA base rules unchanged.
   ========================================================== */

/*
     * Proper photographic hero for the service-page family.
     *
     * Deliberately uses its own class namespace rather than
     * .syg-listing-hero so the site's boxed listing-header grid
     * cannot turn the hero image into an ordinary content image.
     */
    .syg-service-image-hero {
        position: relative;
        width: 100%;
        min-height: clamp(430px, 42vw, 620px);
        overflow: hidden;
        background: #111d29;
        color: #ffffff;
    }

    .syg-service-image-hero__image {
        position: absolute;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

    .syg-service-image-hero__overlay {
        position: absolute;
        inset: 0;
        z-index: 1;
        background:
            linear-gradient(
                90deg,
                rgba(5, 18, 31, 0.80) 0%,
                rgba(5, 18, 31, 0.60) 42%,
                rgba(5, 18, 31, 0.22) 72%,
                rgba(5, 18, 31, 0.10) 100%
            );
        pointer-events: none;
    }

    .syg-service-image-hero__content {
        position: relative;
        z-index: 2;
        display: flex;
        align-items: flex-end;
        min-height: clamp(430px, 42vw, 620px);
        padding:
            clamp(3rem, 8vw, 6.5rem)
            0
            clamp(2.75rem, 6vw, 5rem);
    }

    .syg-service-image-hero__content > .container {
        width: 96%;
        max-width: 1440px;
    }

    .syg-service-image-hero__copy {
        max-width: 860px;
    }

    .syg-service-image-hero .syg-eyebrow {
        margin-bottom: 0.65rem;
        color: #ffffff !important;
        font-weight: 700;
        letter-spacing: 0.09em;
        text-shadow:
            0 2px 8px
            rgba(0, 0, 0, 0.55);
    }

    .syg-service-image-hero h1 {
        margin: 0 0 1rem;
        max-width: 1000px;
        color: #ffffff !important;
        font-weight: 800;
        letter-spacing: -0.035em;
        text-shadow:
            0 3px 12px
            rgba(0, 0, 0, 0.60);
    }

    .syg-service-image-hero .lead,
    .syg-service-image-hero .lead p {
        max-width: 850px;
        margin-bottom: 0;
        color: #ffffff !important;
        font-size: clamp(
            1.05rem,
            1.8vw,
            1.28rem
        );
        line-height: 1.55;
        text-shadow:
            0 2px 8px
            rgba(0, 0, 0, 0.70);
    }

    .syg-service-image-hero__badges {
        display: flex;
        flex-wrap: wrap;
        gap: 0.55rem;
        margin-top: 1.25rem;
    }

    .syg-service-image-hero__badge {
        display: inline-flex;
        align-items: center;
        min-height: 2rem;
        padding: 0.35rem 0.75rem;
        border:
            1px solid
            rgba(255, 255, 255, 0.50);
        border-radius: 999px;
        background:
            rgba(8, 25, 41, 0.56);
        color: #ffffff;
        font-size: 0.88rem;
        font-weight: 600;
        line-height: 1.2;
        backdrop-filter: blur(3px);
    }

    @media (max-width: 767.98px) {
        .syg-service-image-hero,
        .syg-service-image-hero__content {
            min-height: 400px;
        }

        .syg-service-image-hero__overlay {
            background:
                linear-gradient(
                    180deg,
                    rgba(5, 18, 31, 0.20) 0%,
                    rgba(5, 18, 31, 0.46) 42%,
                    rgba(5, 18, 31, 0.82) 100%
                );
        }

        .syg-service-image-hero__content {
            padding:
                2.75rem
                0
                2.5rem;
        }
    }

.syg-service-category-commercial-cta .syg-service-category-panel {
            border: 1px solid rgba(16, 44, 70, 0.12);
            border-radius: 1.25rem;
            background: linear-gradient(135deg, #eef8f6 0%, #ffffff 58%, #f6fafc 100%);
            box-shadow: 0 1rem 2.5rem rgba(10, 35, 55, 0.07);
            padding: clamp(1.25rem, 3vw, 2rem);
        }

        .syg-service-category-commercial-cta .syg-service-category-eyebrow {
            display: inline-flex;
            padding: 0.25rem 0.65rem;
            border-radius: 999px;
            background: #eaf7d8;
            color: #405f12;
            border: 1px solid rgba(64, 95, 18, 0.12);
            font-size: 0.78rem;
            font-weight: 800;
            letter-spacing: 0.05em;
            text-transform: uppercase;
            margin-bottom: 0.75rem;
        }

        .syg-service-category-commercial-cta .syg-service-category-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 0.65rem;
            margin-top: 1rem;
        }

        .syg-service-category-commercial-cta .btn {
            font-weight: 800;
        }

/* Chauffeur Services: retain the standard SYG listing-hero style with tighter vertical spacing. */
.syg-service-listing-hero {
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
}

@media (max-width: 767.98px) {
    .syg-service-listing-hero {
        padding-top: 1.5rem;
        padding-bottom: 1.25rem;
    }
}

.syg-service-listing-hero__media {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--syg-radius);
}

.syg-service-listing-hero__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Chauffeur Services editorial body */
.syg-service-editorial-content {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

.syg-service-editorial-content .syg-layout-row {
    align-items: center;
}

.syg-service-editorial-feature {
    margin-bottom: clamp(2.75rem, 5vw, 4.5rem);
}

.syg-service-editorial-copy {
    padding: .35rem clamp(.25rem, 2vw, 1.4rem);
}

.syg-service-editorial-copy h2,
.syg-service-editorial-panel h2 {
    color: var(--syg-navy);
    margin-bottom: 1rem;
}

.syg-service-editorial-copy p,
.syg-service-editorial-panel p {
    max-width: 66ch;
    line-height: 1.72;
}

.syg-service-editorial-media .syg-editor-image {
    margin: 0;
}

.syg-service-editorial-media .syg-editor-image img {
    display: block;
    width: 100%;
    height: 340px;
    object-fit: cover;
    object-position: center;
    border: 1px solid var(--syg-border);
    border-radius: var(--syg-radius);
}

.syg-service-editorial-media figcaption {
    padding-left: .1rem;
    padding-right: .1rem;
}

.syg-service-editorial-panel {
    align-self: stretch;
    padding: clamp(1.3rem, 2.4vw, 1.8rem);
    border: 1px solid var(--syg-border);
    border-top: 3px solid var(--syg-gold);
    border-radius: var(--syg-radius);
    background: var(--syg-white);
}

.syg-service-editorial-panel > *:last-child {
    margin-bottom: 0;
}

.syg-service-editorial-note {
    padding: clamp(1.25rem, 2vw, 1.6rem);
    border-radius: var(--syg-radius);
    background: var(--syg-surface-subtle);
    border: 1px solid var(--syg-border);
}

@media (min-width: 768px) {
    .syg-service-editorial-content .syg-layout-row {
        display: flex !important;
        flex-wrap: wrap !important;
    }

    .syg-service-editorial-content .syg-layout-row > .syg-layout-column {
        width: var(--syg-column-width) !important;
        flex: 0 0 var(--syg-column-width) !important;
        max-width: var(--syg-column-width) !important;
    }
}

@media (max-width: 767.98px) {
    .syg-service-editorial-content .syg-layout-row > .syg-layout-column {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .syg-service-editorial-feature {
        margin-bottom: 2.25rem;
    }

    .syg-service-editorial-copy {
        padding: 0;
    }

    .syg-service-editorial-media {
        margin-top: 1rem;
    }

    .syg-service-editorial-media .syg-editor-image img {
        height: auto;
        max-height: none;
    }

    .syg-service-editorial-panel + .syg-service-editorial-panel {
        margin-top: 1rem;
    }
}

/* Service landing page: full-width guide layout */
.syg-service-guide-main {
    width: 100%;
}

.syg-service-guide-card,
.syg-service-guide-summary-card {
    border: 1px solid var(--syg-border);
    border-radius: var(--syg-radius);
    background: var(--syg-white);
    box-shadow: none;
}

.syg-service-guide-card .card-body,
.syg-service-guide-summary-card .card-body {
    padding: clamp(1.25rem, 2.2vw, 1.75rem);
}

.syg-service-guide-card h2,
.syg-service-guide-summary-card h2 {
    color: var(--syg-navy);
}

.syg-service-guide-card p,
.syg-service-guide-card .rich-text,
.syg-service-guide-summary-card p {
    line-height: 1.7;
}

.syg-service-guide-summary-card {
    border-top: 3px solid var(--syg-gold);
    background: var(--syg-surface-subtle);
}

.syg-service-guide-stat {
    display: flex;
    align-items: baseline;
    gap: .55rem;
}

.syg-service-guide-stat strong {
    color: var(--syg-navy);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
}

.syg-service-guide-stat span {
    color: var(--syg-text-muted);
    font-weight: 600;
}

.syg-service-guide-info-grid .syg-service-guide-card {
    border-top: 3px solid var(--syg-gold);
}

.syg-service-guide-mini-list {
    display: grid;
    gap: .75rem;
}

.syg-service-guide-mini-company {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: .7rem;
    border-bottom: 1px solid var(--syg-border);
}

.syg-service-guide-mini-company:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.syg-service-guide-mini-company a,
.syg-service-guide-mini-company strong {
    color: var(--syg-navy);
    font-weight: 700;
    text-decoration: none;
}

.syg-service-guide-mini-company span {
    color: var(--syg-text-muted);
    font-size: .88rem;
    text-align: right;
}

.syg-service-provider-directory .syg-service-provider-card {
    border: 1px solid var(--syg-border);
    border-radius: var(--syg-radius);
    box-shadow: none;
}

@media (max-width: 767.98px) {
    .syg-service-guide-mini-company {
        align-items: flex-start;
        flex-direction: column;
        gap: .2rem;
    }

    .syg-service-guide-mini-company span {
        text-align: left;
    }
}
