/* Visual template shared by the MGL service pages. */
.service-page {
    background: var(--color-black);
}

.service-hero {
    position: relative;
    min-height: 760px;
    background: radial-gradient(circle at 78% 40%, #30251b 0%, #11100e 42%, #050505 78%);
    overflow: hidden;
}

.service-hero .header {
    animation: none;
}

.service-hero-inner,
.service-container {
    width: min(100% - 8rem, 1300px);
    margin-inline: auto;
}

.service-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(3rem, 5vw, 6rem);
    align-items: center;
    min-height: 635px;
    padding: 2.5rem 0 6rem;
}

.service-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    color: #d2c7b7;
    font-size: 0.78rem;
    margin-bottom: 3.5rem;
}

.service-breadcrumb a:hover,
.service-breadcrumb a:focus-visible {
    color: var(--color-gold);
}

.service-eyebrow {
    display: block;
    color: var(--color-gold);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.service-hero h1,
.service-heading h2,
.service-showroom h2 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.07;
}

.service-hero h1 {
    max-width: 620px;
    font-size: clamp(3.3rem, 5vw, 5.4rem);
    letter-spacing: -0.02em;
    margin-bottom: 1.7rem;
}

.service-hero h1 span {
    color: var(--color-gold);
}

.service-hero-lead {
    max-width: 570px;
    color: var(--color-beige);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
}

.service-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.service-primary,
.service-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.service-primary {
    background: var(--color-gold);
    color: #14110e;
    border: 1px solid var(--color-gold);
}

.service-primary:hover,
.service-primary:focus-visible {
    background: var(--color-gold-hover);
    border-color: var(--color-gold-hover);
}

.service-secondary {
    color: var(--color-white);
    border: 1px solid rgba(245, 240, 230, 0.45);
}

.service-secondary:hover,
.service-secondary:focus-visible {
    color: var(--color-gold);
    border-color: var(--color-gold);
}

.service-hero-photo {
    position: relative;
    margin: 0;
    height: 570px;
    border: 1px solid rgba(197, 160, 89, 0.35);
    border-radius: 130px 12px 12px 12px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
}

.service-hero-photo::after {
    content: '';
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(transparent, rgba(5, 5, 5, 0.62));
    pointer-events: none;
}

.service-hero-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.service-hero-photo figcaption {
    position: absolute;
    z-index: 1;
    right: 2rem;
    bottom: 1.5rem;
    color: #fff;
    font-size: 0.74rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.service-overview,
.service-gallery {
    padding: 6rem 0;
}

.service-overview {
    background: #0b0b0b;
}

.service-heading {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: end;
    margin-bottom: 3rem;
}

.service-heading h2 {
    max-width: 700px;
    font-size: clamp(2.6rem, 4vw, 4rem);
}

.service-heading > p {
    color: var(--color-beige);
    font-size: 0.98rem;
    font-weight: 300;
    line-height: 1.75;
    max-width: 570px;
}

.service-pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.service-pillar {
    min-height: 205px;
    padding: 1.8rem;
    border: 1px solid rgba(197, 160, 89, 0.22);
    border-radius: 10px;
    background: #141414;
}

.service-pillar span {
    display: block;
    color: var(--color-gold);
    font-family: var(--font-serif);
    font-size: 1.9rem;
    margin-bottom: 1.4rem;
}

.service-pillar h3 {
    color: var(--color-white);
    font-size: 0.92rem;
    font-weight: 500;
    margin-bottom: 0.6rem;
}

.service-pillar p {
    color: #d0c8bc;
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.65;
}

.service-process {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem;
    margin-top: 2rem;
    color: #ddd4c7;
    font-size: 0.78rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.service-process span {
    color: var(--color-gold);
}

.service-gallery {
    background: var(--color-black);
}

.service-gallery .service-heading {
    margin-bottom: 2.5rem;
}

.gallery-feature {
    position: relative;
    margin: 0;
    height: clamp(430px, 43vw, 650px);
    overflow: hidden;
    border: 1px solid rgba(197, 160, 89, 0.28);
    border-radius: 16px 70px 16px 16px;
    background: #191919;
}

.gallery-feature img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-feature img.is-detail {
    transform: scale(1.35);
    transform-origin: center 42%;
}

.gallery-feature img.is-detail-right {
    object-position: right center;
    transform: scale(1.25);
    transform-origin: 85% 50%;
}

.gallery-feature::after {
    content: '';
    position: absolute;
    inset: 55% 0 0;
    background: linear-gradient(transparent, rgba(5, 5, 5, 0.8));
    pointer-events: none;
}

.gallery-feature figcaption {
    position: absolute;
    z-index: 1;
    left: 2rem;
    right: 2rem;
    bottom: 1.6rem;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    color: #fff;
}

.gallery-feature figcaption strong {
    font-family: var(--font-serif);
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    font-weight: 400;
}

.gallery-feature figcaption span {
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    white-space: nowrap;
}

.gallery-options {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

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

.gallery-option {
    position: relative;
    display: block;
    height: 145px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    background: #191919;
    color: #fff;
    text-align: left;
    cursor: pointer;
}

.gallery-option[aria-pressed="true"],
.gallery-option:focus-visible {
    border-color: var(--color-gold);
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
}

.gallery-option img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-option:hover img {
    transform: scale(1.04);
}

.gallery-option--detail img,
.gallery-option--detail:hover img {
    transform: scale(1.35);
    transform-origin: center 42%;
}

.gallery-option--detail-right img,
.gallery-option--detail-right:hover img {
    object-position: right center;
    transform: scale(1.25);
    transform-origin: 85% 50%;
}

.gallery-option span {
    position: absolute;
    inset: auto 0 0;
    padding: 2rem 0.85rem 0.75rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
    font-size: 0.78rem;
    font-weight: 500;
}

.service-showroom {
    padding: 5rem 0;
    background: #eee7d9;
    color: #1a1a1a;
}

.service-showroom .service-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
    gap: 4rem;
    align-items: center;
}

.service-showroom h2 {
    max-width: 680px;
    font-size: clamp(2.5rem, 4vw, 4rem);
    margin-bottom: 1.25rem;
}

.service-showroom p {
    max-width: 650px;
    font-size: 0.97rem;
    line-height: 1.75;
    color: #3f3b35;
}

.service-showroom .service-eyebrow {
    color: #72572f;
}

.service-showroom-card {
    padding: 2rem;
    border: 1px solid rgba(77, 62, 39, 0.26);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.4);
}

.service-showroom-card strong {
    display: block;
    margin-bottom: 0.7rem;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.service-showroom-card p {
    margin-bottom: 1.4rem;
}

.service-showroom-card a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.6rem 1.1rem;
    border: 1px solid #1a1a1a;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.service-showroom-card a:hover,
.service-showroom-card a:focus-visible {
    background: #1a1a1a;
    color: var(--color-gold);
}

.service-faq .faq-intro h2 {
    max-width: 550px;
}

@media (max-width: 1024px) {
    .service-hero-inner,
    .service-container {
        width: min(100% - 3rem, 1300px);
    }

    .service-hero-inner {
        gap: 2rem;
    }

    .service-hero-photo {
        height: 500px;
    }
}

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

    .service-hero-inner,
    .service-container {
        width: min(100% - 3rem, 600px);
    }

    .service-hero-inner {
        grid-template-columns: 1fr;
        gap: 2.3rem;
        min-height: 0;
        padding: 140px 0 4rem;
    }

    .service-breadcrumb {
        margin-bottom: 2.4rem;
    }

    .service-hero h1 {
        font-size: clamp(2.9rem, 11vw, 4.4rem);
    }

    .service-hero-photo {
        height: clamp(360px, 115vw, 530px);
        border-radius: 70px 10px 10px 10px;
    }

    .service-hero-photo figcaption {
        right: 1rem;
        bottom: 1rem;
    }

    .service-overview,
    .service-gallery {
        padding: 4rem 0;
    }

    .service-heading,
    .service-showroom .service-container {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .service-heading h2,
    .service-showroom h2 {
        font-size: 2.8rem;
    }

    .service-pillars {
        grid-template-columns: 1fr;
    }

    .service-pillar {
        min-height: 0;
    }

    .service-process {
        line-height: 1.7;
    }

    .gallery-feature {
        height: 360px;
        border-radius: 12px 50px 12px 12px;
    }

    .gallery-feature figcaption {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }

    .gallery-options {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 3px 3px 10px;
        scrollbar-width: none;
    }

    .gallery-options::-webkit-scrollbar {
        display: none;
    }

    .gallery-option {
        flex: 0 0 43%;
        height: 112px;
        scroll-snap-align: start;
    }

    .service-showroom {
        padding: 4rem 0;
    }
}

@media (max-width: 360px) {
    .service-page .header .logo img {
        height: 55px;
    }

    .service-page .header .btn-outline {
        margin-right: 0.5rem;
    }

    .service-page .contato-features {
        flex-direction: column;
    }
}
