@keyframes services-hero-zoom {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.035);
    }
}

.services-showcase-hero {
    position: relative;
    isolation: isolate;
    height: 70svh;
    overflow: hidden;
    border-bottom: 1px solid rgba(178, 141, 61, 0.24);
    background: #050505;
}

.services-showcase-shell {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.services-showcase-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    user-select: none;
    animation: services-hero-zoom 20s cubic-bezier(0.37, 0, 0.63, 1) infinite;
    backface-visibility: hidden;
    transform-origin: center;
    will-change: transform;
}

.services-showcase-fade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to top,
        #faf8f4 0%,
        rgba(250, 248, 244, 0.62) 9%,
        rgba(250, 248, 244, 0.1) 20%,
        transparent 36%
    );
    pointer-events: none;
}

.services-page-banner.page-banner {
    padding-top: 2.75rem;
}

@media (min-width: 640px) {
    .services-page-banner.page-banner {
        padding-top: 3rem;
    }
}

@media (min-width: 768px) {
    .services-page-banner.page-banner {
        padding-top: 3.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .services-showcase-image {
        animation: none;
        transform: none;
        will-change: auto;
    }
}

.services-redesign {
    --services-ink: #17140f;
    --services-muted: #706a60;
    --services-gold: #c99a3c;
    --services-gold-light: #edca79;
    position: relative;
    overflow: clip;
    background:
        radial-gradient(circle at 88% 8%, rgba(201, 154, 60, 0.1), transparent 25rem),
        linear-gradient(180deg, #faf8f4 0%, #fff 42%, #f8f3e9 100%);
    color: var(--services-ink);
}

.services-container {
    width: min(calc(100% - 2rem), 72rem);
    margin-inline: auto;
}

.services-intro {
    position: relative;
    z-index: 3;
    margin-top: -4.25rem;
    padding-bottom: 6.5rem;
}

.services-intro__panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(19rem, 0.92fr);
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    overflow: hidden;
    padding: clamp(1.5rem, 4.5vw, 3.35rem);
    border: 1px solid rgba(180, 140, 58, 0.2);
    border-radius: 2rem;
    background: linear-gradient(135deg, #fff 0%, #fffdf9 58%, #fbf5e9 100%);
    box-shadow: 0 24px 60px -40px rgba(38, 29, 14, 0.38);
}

.services-intro__panel::before {
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 154, 60, 0.65), transparent);
    content: "";
}

.services-intro__panel::after {
    position: absolute;
    inset: auto -7rem -8rem auto;
    width: 20rem;
    height: 20rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(224, 183, 93, 0.13), transparent 68%);
    content: "";
    pointer-events: none;
}

.services-intro__copy,
.services-intro__promise {
    position: relative;
    z-index: 1;
}

.services-intro__breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1.65rem;
    color: #958d80;
    font-size: 0.72rem;
}

.services-intro__breadcrumb a {
    color: inherit;
    transition: color 180ms ease;
}

.services-intro__breadcrumb a:hover {
    color: #a87820;
}

.services-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #a97821;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.services-kicker > span {
    width: 2rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(201, 154, 60, 0.25), var(--services-gold));
}

.services-intro h1 {
    max-width: 14ch;
    margin-top: 1.2rem;
    color: var(--services-ink);
    font-size: clamp(2.2rem, 4.25vw, 3.85rem);
    font-weight: 900;
    line-height: 1.28;
    letter-spacing: -0.045em;
}

.services-intro h1 em {
    display: block;
    color: #b68123;
    font-style: normal;
}

.services-intro__copy > p {
    max-width: 38rem;
    margin-top: 1.5rem;
    color: var(--services-muted);
    font-size: 0.9rem;
    line-height: 2;
}

.services-intro__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.9rem 1.25rem;
    margin-top: 1.8rem;
}

.services-intro__link {
    display: inline-flex;
    min-height: 2.9rem;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.75rem 1.35rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #eaca77, #b27b21);
    color: #17130b;
    font-size: 0.75rem;
    font-weight: 800;
    box-shadow: 0 14px 30px -20px rgba(183, 126, 31, 0.75);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.services-intro__link:hover {
    transform: translateY(-0.12rem);
    box-shadow: 0 18px 32px -19px rgba(183, 126, 31, 0.9);
}

.services-intro__link svg,
.services-intro__assurance svg {
    width: 1rem;
    height: 1rem;
}

.services-intro__assurance {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #7b7367;
    font-size: 0.7rem;
    font-weight: 650;
}

.services-intro__assurance svg {
    color: #b78327;
}

.services-intro__promise {
    overflow: hidden;
    padding: 1.35rem;
    border: 1px solid rgba(235, 199, 117, 0.17);
    border-radius: 1.5rem;
    background:
        radial-gradient(circle at 100% 0%, rgba(201, 154, 60, 0.16), transparent 13rem),
        #17140f;
    box-shadow: 0 22px 50px -36px rgba(17, 13, 7, 0.8);
}

.services-intro__promise::before {
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(235, 199, 117, 0.58), transparent);
    content: "";
}

.services-intro__promise-head {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.services-intro__monogram {
    display: flex;
    width: 3.25rem;
    height: 3.25rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: linear-gradient(145deg, #efce7b, #ad761d);
    color: #18130b;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.services-intro__promise-head strong {
    display: block;
    color: #fff;
    font-size: 0.84rem;
    font-weight: 800;
}

.services-intro__promise-head p {
    margin-top: 0.3rem;
    color: rgba(255, 255, 255, 0.46);
    font-size: 0.66rem;
    line-height: 1.7;
}

.services-intro__facts {
    display: grid;
    gap: 0;
    margin-top: 0.4rem;
}

.services-fact {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    min-width: 0;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 0.2rem;
    text-align: start;
}

.services-fact:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.services-fact__number {
    display: flex;
    width: 2.35rem;
    height: 2.35rem;
    align-items: center;
    justify-content: center;
    margin: 0;
    border: 1px solid rgba(235, 199, 117, 0.22);
    border-radius: 0.8rem;
    background: rgba(235, 199, 117, 0.07);
    color: var(--services-gold-light);
    font-size: 0.63rem;
    font-weight: 800;
}

.services-fact div strong {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.74rem;
    font-weight: 750;
}

.services-fact div span {
    display: block;
    margin-top: 0.22rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.62rem;
    line-height: 1.6;
}

.services-catalog {
    padding-bottom: 6.5rem;
    scroll-margin-top: 7rem;
}

.services-catalog__shell {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(1.5rem, 5vw, 4.5rem);
    border: 1px solid rgba(235, 199, 117, 0.16);
    border-radius: 2.5rem;
    background:
        radial-gradient(circle at 88% -5%, rgba(213, 165, 67, 0.22), transparent 25rem),
        radial-gradient(circle at 4% 105%, rgba(213, 165, 67, 0.1), transparent 22rem),
        #15130f;
    box-shadow: 0 24px 60px -40px rgba(23, 19, 12, 0.7);
}

.services-catalog__shell::before {
    position: absolute;
    inset: 0 0 auto;
    z-index: -1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(235, 199, 117, 0.7), transparent);
    content: "";
}

.services-section-heading {
    max-width: 42rem;
    margin-inline: auto;
    text-align: center;
}

.services-section-heading h2 {
    margin-top: 1.15rem;
    color: var(--services-ink);
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 900;
    line-height: 1.4;
    letter-spacing: -0.035em;
}

.services-section-heading p {
    max-width: 36rem;
    margin: 1rem auto 0;
    color: var(--services-muted);
    font-size: 0.86rem;
    line-height: 1.95;
}

.services-section-heading--light .services-kicker {
    color: var(--services-gold-light);
}

.services-section-heading--light h2 {
    color: #fff;
}

.services-section-heading--light p {
    color: rgba(255, 255, 255, 0.54);
}

.services-cards {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: clamp(2.25rem, 5vw, 3.75rem);
}

.service-card {
    position: relative;
    display: flex;
    min-height: 17rem;
    flex-direction: column;
    overflow: hidden;
    padding: clamp(1.35rem, 2.5vw, 1.8rem);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 1.5rem;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
        rgba(5, 5, 4, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition:
        transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
        border-color 320ms ease,
        box-shadow 320ms ease,
        background-color 320ms ease;
}

.service-card::before {
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(235, 199, 117, 0.65), transparent);
    content: "";
    opacity: 0.28;
    transition: opacity 300ms ease;
}

.service-card::after {
    position: absolute;
    inset: auto auto -7rem -6rem;
    width: 15rem;
    height: 15rem;
    border-radius: 999px;
    background: rgba(201, 154, 60, 0.12);
    content: "";
    opacity: 0;
    pointer-events: none;
    transition: opacity 320ms ease;
}

.service-card:hover,
.service-card:focus-within {
    transform: translateY(-0.4rem);
    border-color: rgba(235, 199, 117, 0.38);
    background-color: rgba(255, 255, 255, 0.025);
    box-shadow: 0 24px 55px -30px rgba(201, 154, 60, 0.55);
}

.service-card:hover::before,
.service-card:hover::after,
.service-card:focus-within::before,
.service-card:focus-within::after {
    opacity: 1;
}

.service-card__top,
.service-card h3,
.service-card > p,
.service-card__link {
    position: relative;
    z-index: 1;
}

.service-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.service-card__number {
    color: rgba(235, 199, 117, 0.5);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.service-card__icon {
    display: flex;
    width: 3.25rem;
    height: 3.25rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(235, 199, 117, 0.25);
    border-radius: 1rem;
    background: rgba(235, 199, 117, 0.08);
    color: var(--services-gold-light);
    box-shadow: 0 12px 30px -18px rgba(235, 199, 117, 0.8);
}

.service-card__icon svg {
    width: 1.3rem;
    height: 1.3rem;
}

.service-card h3 {
    margin-top: 1.5rem;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
}

.service-card > p {
    margin-top: 0.75rem;
    color: rgba(255, 255, 255, 0.54);
    font-size: 0.78rem;
    line-height: 1.95;
}

.service-card__link {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 0.6rem;
    margin-top: auto;
    padding-top: 1.3rem;
    color: var(--services-gold-light);
    font-size: 0.72rem;
    font-weight: 700;
    transition: color 180ms ease;
}

.service-card__link svg {
    width: 0.9rem;
    height: 0.9rem;
    transform: rotate(180deg);
    transition: transform 220ms ease;
}

.service-card__link:hover {
    color: #fff0bd;
}

.service-card__link:hover svg {
    transform: rotate(180deg) translateX(0.25rem);
}

.services-process {
    padding-bottom: 6.5rem;
}

.services-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: clamp(2.75rem, 6vw, 4.5rem);
}

.services-timeline::before {
    position: absolute;
    inset: 2.15rem 8% auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 154, 60, 0.55) 20%, rgba(201, 154, 60, 0.55) 80%, transparent);
    content: "";
}

.services-step {
    position: relative;
    text-align: center;
}

.services-step__marker {
    position: relative;
    z-index: 1;
    display: flex;
    width: 4.25rem;
    height: 4.25rem;
    align-items: center;
    justify-content: center;
    margin-inline: auto;
    border: 1px solid rgba(201, 154, 60, 0.24);
    border-radius: 999px;
    background: #fffdf9;
    box-shadow: 0 14px 35px -22px rgba(60, 42, 13, 0.55);
}

.services-step__marker span {
    display: flex;
    width: 3.15rem;
    height: 3.15rem;
    align-items: center;
    justify-content: center;
    border-radius: inherit;
    background: linear-gradient(145deg, #e8c26a, #a9761e);
    color: #fff;
    font-size: 0.74rem;
    font-weight: 800;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.services-step__body {
    min-height: 11rem;
    margin-top: 1.25rem;
    padding: 1.5rem 1.2rem;
    border: 1px solid rgba(178, 141, 61, 0.15);
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 22px 50px -38px rgba(45, 33, 14, 0.4);
}

.services-step__label {
    color: #ad7c25;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.services-step h3 {
    margin-top: 0.7rem;
    color: var(--services-ink);
    font-size: 0.98rem;
    font-weight: 850;
}

.services-step p {
    margin-top: 0.7rem;
    color: var(--services-muted);
    font-size: 0.74rem;
    line-height: 1.9;
}

.services-cta-wrap {
    padding-bottom: 6.5rem;
}

.services-cta {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(15rem, 0.75fr);
    align-items: center;
    gap: 2rem;
    overflow: hidden;
    padding: clamp(2rem, 5vw, 4.25rem);
    border: 1px solid rgba(235, 199, 117, 0.19);
    border-radius: 2.25rem;
    background:
        radial-gradient(circle at 8% 100%, rgba(201, 154, 60, 0.22), transparent 23rem),
        linear-gradient(135deg, #1a1711, #0d0c0a);
    box-shadow: 0 35px 85px -48px rgba(16, 13, 8, 0.82);
}

.services-cta::before {
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(235, 199, 117, 0.7), transparent);
    content: "";
}

.services-cta__glow {
    position: absolute;
    z-index: -1;
    inset: -9rem auto auto -7rem;
    width: 22rem;
    height: 22rem;
    border: 1px solid rgba(235, 199, 117, 0.13);
    border-radius: 999px;
    box-shadow:
        0 0 0 3rem rgba(235, 199, 117, 0.025),
        0 0 0 6rem rgba(235, 199, 117, 0.02);
}

.services-cta .services-kicker {
    color: var(--services-gold-light);
}

.services-cta h2 {
    max-width: 15ch;
    margin-top: 1rem;
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 900;
    line-height: 1.4;
    letter-spacing: -0.035em;
}

.services-cta__copy > p {
    max-width: 40rem;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.84rem;
    line-height: 1.95;
}

.services-cta__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
}

.services-button {
    display: inline-flex;
    min-height: 3.25rem;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    transition:
        transform 220ms ease,
        border-color 220ms ease,
        background-color 220ms ease,
        box-shadow 220ms ease;
}

.services-button:hover {
    transform: translateY(-0.15rem);
}

.services-button svg {
    width: 1rem;
    height: 1rem;
    transform: rotate(180deg);
}

.services-button--gold {
    background: linear-gradient(135deg, #f0cf7e, #bb8327);
    color: #17130b;
    box-shadow: 0 16px 34px -18px rgba(226, 181, 82, 0.85);
}

.services-button--gold:hover {
    box-shadow: 0 20px 38px -16px rgba(226, 181, 82, 0.95);
}

.services-button--ghost {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.035);
    color: rgba(255, 255, 255, 0.78);
}

.services-button--ghost:hover {
    border-color: rgba(235, 199, 117, 0.36);
    background: rgba(255, 255, 255, 0.065);
    color: #fff;
}

@media (min-width: 1024px) {
    .service-card:nth-child(-n + 2) {
        grid-column: span 2;
        min-height: 18rem;
    }

    .service-card:nth-child(-n + 2) h3 {
        font-size: 1.28rem;
    }

    .service-card:nth-child(-n + 2) > p {
        max-width: 46rem;
        font-size: 0.82rem;
    }
}

@media (max-width: 1023px) {
    .services-intro__panel {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-intro h1 {
        max-width: 16ch;
    }

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

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

    .services-timeline::before {
        display: none;
    }

    .services-cta {
        grid-template-columns: 1fr;
    }

    .services-cta__actions {
        max-width: 24rem;
        flex-direction: row;
    }

    .services-button {
        flex: 1;
    }
}

@media (max-width: 639px) {
    .services-container {
        width: min(calc(100% - 1.5rem), 72rem);
    }

    .services-intro {
        margin-top: -2.25rem;
        padding-bottom: 4.75rem;
    }

    .services-intro__panel {
        gap: 1.5rem;
        padding: 1.5rem;
        border-radius: 1.5rem;
    }

    .services-intro__breadcrumb {
        margin-bottom: 1.35rem;
    }

    .services-intro h1 {
        font-size: clamp(2rem, 10vw, 2.7rem);
    }

    .services-intro__copy > p {
        font-size: 0.82rem;
    }

    .services-intro__actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .services-intro__promise {
        padding: 1.15rem;
    }

    .services-intro__promise-head {
        align-items: flex-start;
    }

    .services-catalog,
    .services-process,
    .services-cta-wrap {
        padding-bottom: 4.75rem;
    }

    .services-catalog__shell {
        padding: 2rem 1rem 1rem;
        border-radius: 1.75rem;
    }

    .services-section-heading {
        padding-inline: 0.35rem;
    }

    .services-section-heading h2,
    .services-cta h2 {
        font-size: 1.85rem;
    }

    .services-cards {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 15.5rem;
    }

    .services-timeline {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .services-timeline::before {
        display: block;
        top: 2.15rem;
        bottom: 2.15rem;
        right: auto;
        left: auto;
        width: 1px;
        height: auto;
        background: linear-gradient(to bottom, transparent, rgba(201, 154, 60, 0.5) 10%, rgba(201, 154, 60, 0.5) 90%, transparent);
        inset-inline-start: 2.125rem;
    }

    .services-step {
        display: grid;
        grid-template-columns: 4.25rem minmax(0, 1fr);
        align-items: start;
        gap: 1rem;
        text-align: start;
    }

    .services-step__marker {
        margin: 0;
    }

    .services-step__body {
        min-height: 0;
        margin-top: 0;
        padding: 1.3rem;
    }

    .services-cta {
        padding: 2rem 1.35rem;
        border-radius: 1.75rem;
    }

    .services-cta__actions {
        max-width: none;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-card,
    .services-button,
    .service-card__link svg {
        transition: none;
    }
}
