
:root {
    --black: #080808;
    --black-soft: #111111;
    --white: #F7F7F5;
    --silver: #C7C9CC;
    --gold: #C6A15B;
    --text: #171717;
    --muted: #686868;
    --line: rgba(20, 20, 20, 0.12);
    --max-width: 1240px;
    --page-padding: clamp(22px, 6vw, 90px);
    --ease: cubic-bezier(.22, 1, .36, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--text);
    font-family: "Montserrat", sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

img,
video {
    display: block;
    max-width: 100%;
}

::selection {
    color: var(--black);
    background: var(--gold);
}

.section-shell {
    width: min(100% - var(--page-padding) * 2, var(--max-width));
    margin-inline: auto;
}

.section-light {
    background: var(--white);
}

.section-dark {
    background: var(--black);
    color: var(--white);
}

/* Carregamento inicial */

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-content: center;
    gap: 22px;
    background: var(--black);
    transition: opacity .7s ease, visibility .7s ease;
}

.page-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-brand {
    color: var(--white);
    font-size: clamp(30px, 5vw, 48px);
    font-weight: 700;
    letter-spacing: .18em;
}

.loader-brand span,
.brand span {
    color: var(--gold);
}

.loader-line {
    width: 150px;
    height: 1px;
    overflow: hidden;
    background: #343434;
}

.loader-line span {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    animation: loading 1.1s var(--ease) forwards;
}

@keyframes loading {
    to { transform: scaleX(1); }
}

/* Cabeçalho */

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    display: flex;
    width: 100%;
    min-height: 86px;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 14px var(--page-padding);
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    background: rgba(8, 8, 8, .54);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .08);
    transition: min-height .35s var(--ease), padding .35s var(--ease), background .35s ease, border-color .35s ease, box-shadow .35s ease;
    will-change: min-height, padding;
}

.site-header.is-scrolled {
    min-height: 70px;
    padding-top: 8px;
    padding-bottom: 8px;
    background: rgba(8, 8, 8, .94);
    border-bottom-color: rgba(255, 255, 255, .20);
    box-shadow: 0 10px 35px rgba(0, 0, 0, .22);
}

.brand {
    display: inline-flex;
    min-width: 0;
    flex: 0 0 auto;
    align-items: center;
}

.brand-logo {
    display: block;
    width: clamp(120px, 12vw, 158px);
    height: 54px;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
    transition: width .35s var(--ease), height .35s var(--ease);
}

.site-header.is-scrolled .brand-logo {
    width: clamp(108px, 10.5vw, 140px);
    height: 46px;
}

.main-navigation {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(18px, 3vw, 42px);
}

.main-navigation a {
    white-space: nowrap;
    color: rgba(255, 255, 255, .82);
    font-size: 11px;
    font-weight: 500;
    transition: color .25s ease, opacity .25s ease;
}

.main-navigation a:hover {
    color: var(--gold);
}

.main-navigation .nav-contact {
    display: inline-flex;
    gap: 15px;
    align-items: center;
    padding: 13px 17px;
    border: 1px solid rgba(255, 255, 255, .30);
    border-radius: 3px;
    color: var(--white);
}

.nav-contact span {
    color: var(--gold);
}

.menu-toggle {
    display: none;
}

/* Hero e vídeo */

.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    align-items: center;
    overflow: hidden;
    background: #050505;
    color: var(--white);
}

.hero-video,
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
}

.hero-video {
    object-fit: cover;
    pointer-events: none;
}

.hero-overlay {
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .84) 0%, rgba(0, 0, 0, .54) 43%, rgba(0, 0, 0, .20) 78%, rgba(0, 0, 0, .14) 100%),
        linear-gradient(0deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .08) 48%, rgba(0, 0, 0, .24) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(850px, 100%);
    max-width: 100%;
    padding: clamp(150px, 18vh, 190px) var(--page-padding) clamp(125px, 15vh, 155px);
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 25px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .16em;
    line-height: 1.7;
    text-transform: uppercase;
}

.eyebrow > span {
    width: 19px;
    height: 1px;
    flex-shrink: 0;
    background: var(--gold);
}

.hero h1,
.section-heading h2,
.intro h2,
.method h2,
.contact h2 {
    max-width: 100%;
    margin: 0;
    font-size: clamp(38px, 6.4vw, 82px);
    font-weight: 500;
    letter-spacing: -.065em;
    line-height: 1.08;
    overflow-wrap: normal;
}

.hero h1 span,
.intro h2 span,
.section-heading h2 span,
.method h2 span {
    color: var(--silver);
}

.hero-description {
    width: min(520px, 100%);
    margin: 27px 0 32px;
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
    line-height: 1.9;
}

.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 25px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    transition: background .3s ease, color .3s ease, border-color .3s ease, transform .3s var(--ease);
}

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

.button-light {
    background: var(--white);
    color: var(--black);
}

.button-light:hover {
    background: var(--gold);
}

.button-dark {
    background: var(--black);
    color: var(--white);
}

.button-dark:hover {
    background: #272727;
}

.button span {
    color: var(--gold);
    font-size: 16px;
}

.hero-bottom {
    position: absolute;
    right: var(--page-padding);
    bottom: 27px;
    left: var(--page-padding);
    z-index: 2;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    pointer-events: none;
    color: rgba(255, 255, 255, .65);
    font-size: 9px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

/* Introdução */

.intro .eyebrow,
.section-heading .eyebrow {
    color: var(--muted);
}

.intro h2,
.section-heading h2 {
    font-size: clamp(36px, 5.2vw, 65px);
}

.intro h2 span,
.section-heading h2 span {
    color: #8A8A87;
}

.intro-copy > p {
    max-width: 650px;
    margin: 28px 0 0;
    color: #626262;
    font-size: 14px;
    line-height: 2;
}

/* Serviços */

.section-heading {
    max-width: 750px;
    margin-bottom: 55px;
}

.section-heading > p:last-child {
    margin-top: 24px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.services-grid > *,
.intro-grid > *,
.method-grid > * {
    min-width: 0;
}

.service-card {
    --card-pad: clamp(22px, 3vw, 34px);
    display: flex;
    min-height: 300px;
    flex-direction: column;
    padding: var(--card-pad);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .55);
}

.service-media {
    width: calc(100% + (var(--card-pad) * 2));
    height: clamp(130px, 13vw, 175px);
    margin: calc(var(--card-pad) * -1) calc(var(--card-pad) * -1) 25px;
    overflow: hidden;
    background: var(--black);
}

.service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .6s var(--ease), filter .6s ease;
}

.service-card:hover .service-media img {
    filter: saturate(1.08);
    transform: scale(1.04);
}

.service-card:hover {
    border-color: rgba(198, 161, 91, .55);
    background: #fff;
}

.service-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #777;
    font-size: 10px;
    letter-spacing: .12em;
}

.service-arrow {
    color: #9A793F;
    font-size: 20px;
    transition: transform .3s ease;
}

.service-card:hover .service-arrow {
    transform: translate(3px, -3px);
}

.service-card h3 {
    margin: 0 0 12px;
    font-size: clamp(17px, 1.6vw, 21px);
    font-weight: 600;
    letter-spacing: -.04em;
}

.service-card > p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: auto;
    padding-top: 28px;
}

.service-tags span {
    padding: 7px 9px;
    border: 1px solid var(--line);
    border-radius: 2px;
    color: #626262;
    font-size: 9px;
}

/* Método */

.method {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-block: clamp(90px, 12vw, 150px);
    background-color: #080808;
}

/* Fundo topográfico OMSAZ: imagem com contraste protegido para os textos. */
.method::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 0;
    background-image: url("../img/fundo-metodo-topografico.png");
    background-position: center right;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: .78;
    pointer-events: none;
}

.method::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 5, 5, .94) 0%, rgba(5, 5, 5, .76) 42%, rgba(5, 5, 5, .58) 100%),
        linear-gradient(0deg, rgba(5, 5, 5, .72) 0%, transparent 35%, rgba(5, 5, 5, .42) 100%);
    pointer-events: none;
}

.method-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: clamp(45px, 9vw, 120px);
}

.method .eyebrow {
    color: var(--silver);
}

.method h2 {
    font-size: clamp(48px, 7vw, 84px);
}

.method h2 span {
    color: var(--gold);
}

.method-list {
    border-top: 1px solid rgba(255, 255, 255, .2);
}

.method-item {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 18px;
    padding: 28px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.method-item > span {
    padding-top: 4px;
    color: var(--gold);
    font-size: 10px;
}

.method-item h3 {
    margin: 0 0 10px;
    font-size: 19px;
    font-weight: 500;
}

.method-item p {
    max-width: 430px;
    margin: 0;
    color: #ADADAD;
    font-size: 12px;
    line-height: 1.9;
}

/* Contato */

#contato.contact {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 560px;
    padding: clamp(96px, 10vw, 150px) 24px;
    background: #070707;
    color: #f7f7f5;
    text-align: center;
}
#contato.contact::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: -18px;
    pointer-events: none;
    background-image: url("../img/omsaz-cta-inovacao.webp");
    background-position: center 48%;
    background-repeat: no-repeat;
    background-size: cover;
    filter: blur(13px);
    transform: scale(1.035);
    opacity: .62;
}
#contato.contact::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 72% 48%, rgba(190, 145, 59, .16), transparent 48%),
        linear-gradient(90deg, rgba(5, 5, 5, .88) 0%, rgba(5, 5, 5, .68) 52%, rgba(5, 5, 5, .82) 100%),
        linear-gradient(0deg, rgba(5, 5, 5, .60), rgba(5, 5, 5, .28));
}
#contato.contact .section-shell,
#contato.contact .contact-inner {
    position: relative;
    z-index: 1;
    width: min(100%, 1100px);
    margin-inline: auto;
}
#contato.contact .eyebrow {
    display: flex;
    justify-content: center;
    color: #d0ad68;
    margin-bottom: 28px;
}
#contato.contact h2 {
    max-width: 1000px;
    margin: 0 auto;
    color: #fbfaf7;
    font-size: clamp(42px, 6.3vw, 86px);
    line-height: 1.04;
    letter-spacing: -.065em;
    text-wrap: balance;
    text-shadow: 0 2px 24px rgba(255, 255, 255, 0.35);
}
#contato.contact h2 span { color: #c6a15b; }
#contato.contact .contact-inner > p:not(.eyebrow) {
    max-width: 640px;
    margin: 26px auto 32px;
    color: rgba(250, 249, 246, .84);
    font-size: clamp(14px, 1.2vw, 17px);
    line-height: 1.8;
    text-shadow: 0 1px 12px rgba(255, 254, 254, 0.45);
}
#contato.contact .button,
#contato.contact .button-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 54px;
    padding: 0 26px;
    border: 1px solid rgba(214, 178, 105, .58);
    border-radius: 3px;
    background: #c6a15b;
    color: #080808;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .22);
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
#contato.contact .button:hover,
#contato.contact .button-dark:hover {
    background: #e0c181;
    border-color: #e0c181;
    transform: translateY(-2px);
}
#contato.contact .button span { color: #080808; }
@media (max-width: 700px) {
    #contato.contact { min-height: 0; padding: 88px 22px 82px; }
    #contato.contact::before {
        background-position: 60% center;
        filter: blur(10px);
        opacity: .48;
    }
    #contato.contact::after {
        background:
            radial-gradient(ellipse at 70% 42%, rgba(190, 145, 59, .12), transparent 52%),
            rgba(5, 5, 5, .76);
    }
    #contato.contact h2 { font-size: clamp(38px, 10vw, 54px); }
    #contato.contact .contact-inner > p:not(.eyebrow) {
        margin-top: 22px;
        margin-bottom: 28px;
    }
}

/* Rodapé */

.site-footer {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 38px var(--page-padding) 25px;
    background: var(--black);
    color: var(--white);
}

.site-footer .brand {
    font-size: 20px;
}

.site-footer .brand-logo {
    width: 150px;
    height: 64px;
}

.site-footer p,
.back-to-top {
    color: #B0B0B0;
    font-size: 10px;
}

.back-to-top {
    justify-self: end;
}

.site-footer small {
    grid-column: 1 / -1;
    padding-top: 22px;
    border-top: 1px solid #292929;
    color: #777;
    font-size: 9px;
}

/* Animações de entrada */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity .8s var(--ease),
        transform .8s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Cards de serviço: .reveal (declarada depois de .service-card) sobrescrevia a
   transição e o transform do :hover. Estas regras, mais específicas, unem os dois. */

.service-card.reveal {
    transition:
        opacity .8s var(--ease),
        transform .8s var(--ease),
        background .35s ease,
        border-color .35s ease;
}

.service-card.reveal.is-visible:hover {
    transform: translateY(-5px);
}

/* Modal de saída */

.exit-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}

.exit-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.exit-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .76);
    backdrop-filter: blur(8px);
}

.exit-panel {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: min(760px, 100%);
    max-height: calc(100svh - 40px);
    overflow: auto;
    background: var(--white);
    transform: translateY(15px);
    transition: transform .4s var(--ease);
}

.exit-modal.is-open .exit-panel {
    transform: translateY(0);
}

.exit-visual {
    min-height: 350px;
    overflow: hidden;
    background: var(--black);
}

.exit-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.exit-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(24px, 4vw, 45px);
}

.exit-copy .eyebrow {
    margin-bottom: 16px;
    color: var(--muted);
}

.exit-copy h2 {
    margin: 0;
    font-size: clamp(23px, 3vw, 34px);
    font-weight: 500;
    letter-spacing: -.05em;
    line-height: 1.2;
}

.exit-copy > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

.exit-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: grid;
    width: 35px;
    height: 35px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .08);
    color: var(--black);
    font-size: 25px;
    cursor: pointer;
}

/* Responsividade */

@media (max-width: 1024px) {
    .main-navigation {
        gap: 20px;
    }

    .main-navigation .nav-contact {
        padding-inline: 14px;
    }

    .method-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

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

@media (max-width: 700px) {
    :root {
        --page-padding: 23px;
    }

    .brand {
        font-size: 21px;
    }

    .menu-toggle {
        position: relative;
        z-index: 52;
        display: flex;
        width: 42px;
        height: 42px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        border: 1px solid rgba(255, 255, 255, .25);
        background: transparent;
        cursor: pointer;
    }

    .menu-toggle span {
        width: 17px;
        height: 1px;
        background: white;
        transition: transform .25s ease;
    }

    .menu-toggle[aria-expanded="true"] span:first-child {
        transform: translateY(3.5px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:last-child {
        transform: translateY(-3.5px) rotate(-45deg);
    }

    .main-navigation {
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 90px var(--page-padding) 25px;
        background: #080808;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
    }

    .main-navigation.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .main-navigation a {
        padding: 17px 0;
        border-bottom: 1px solid #252525;
        font-size: 12px;
    }

    .main-navigation .nav-contact {
        justify-content: space-between;
        margin-top: 12px;
        padding: 15px;
        border: 1px solid #383838;
    }

    .hero-video {
        object-position: 58% center;
    }

    .hero-overlay {
        background:
            linear-gradient(90deg, rgba(0, 0, 0, .76), rgba(0, 0, 0, .35)),
            linear-gradient(0deg, rgba(0, 0, 0, .6), transparent 55%);
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-bottom {
        bottom: 20px;
        flex-wrap: wrap;
        font-size: 8px;
    }

    .scroll-indicator {
        margin-left: auto;
        text-align: right;
    }

    .intro h2,
    .section-heading h2 {
        font-size: clamp(35px, 9vw, 48px);
    }

    .service-card {
        min-height: 260px;
    }

    .service-card h3 {
        margin-top: 35px;
        font-size: 21px;
    }

    .method h2 {
        font-size: 58px;
    }

    .site-footer {
        grid-template-columns: 1fr auto;
        gap: 14px;
    }

    .site-footer p {
        grid-column: 1 / -1;
        grid-row: 2;
        margin: 0;
    }

    .back-to-top {
        grid-column: 2;
        grid-row: 1;
    }

    .exit-panel {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .exit-visual {
        min-height: 150px;
        max-height: 200px;
    }

    .exit-copy {
        padding: 25px;
    }

    .exit-copy h2 {
        font-size: 27px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Correções finais de estabilidade/responsividade */
.hero-content,
.section-shell,
.site-header,
.site-footer,
.exit-panel {
    min-width: 0;
}

.service-media img,
.exit-visual img {
    max-width: none;
}

@media (max-width: 700px) {
    html {
        scroll-padding-top: 72px;
    }

    .site-header {
        min-height: 72px;
        padding: 9px var(--page-padding);
    }

    .site-header.is-scrolled {
        min-height: 64px;
        padding-top: 7px;
        padding-bottom: 7px;
    }

    .brand-logo,
    .site-header.is-scrolled .brand-logo {
        width: 116px;
        height: 46px;
    }

    .hero {
        align-items: flex-start;
    }

    .hero-content {
        width: 100%;
        padding-top: 145px;
        padding-bottom: 145px;
    }

    .hero h1 {
        max-width: 560px;
        font-size: clamp(40px, 11vw, 58px);
    }

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

}

/* =====================================================
   OMSAZ — SEÇÕES COM IMAGENS 3D (introdução e serviços)
   Layout, escala e responsividade consolidados
   ===================================================== */
.intro {
    padding-block: clamp(54px, 7vw, 92px);
}

.intro-grid {
    display: grid;
    grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
    align-items: center;
    gap: clamp(28px, 4.5vw, 68px);
}

.intro-art,
.services-art {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    background: transparent;
    overflow: visible;
}

.intro-art img {
    display: block;
    width: 100%;
    max-width: 410px;
    height: auto;
    object-fit: contain;
}

.intro-copy {
    min-width: 0;
    max-width: 100%;
}

.services {
    padding-top: clamp(42px, 5vw, 72px);
    padding-bottom: clamp(90px, 10vw, 140px);
}

.services-heading-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    align-items: center;
    gap: clamp(28px, 4vw, 60px);
    margin-bottom: clamp(38px, 5vw, 64px);
}

.services-heading-layout .section-heading {
    min-width: 0;
    max-width: 100%;
    margin: 0;
}

.services-art img {
    display: block;
    width: 100%;
    max-width: 455px;
    height: auto;
    object-fit: contain;
}

@media (max-width: 900px) {
    .intro-grid {
        grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
        gap: 28px;
    }

    .intro-art img {
        max-width: 340px;
    }

    .services-heading-layout {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
        gap: 24px;
    }

    .services-art img {
        max-width: 360px;
    }
}

@media (max-width: 700px) {
    .intro {
        padding-block: 64px;
    }

    .intro-grid,
    .services-heading-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .intro-art {
        order: 0;
    }

    .intro-copy {
        order: 1;
    }

    .intro-art img,
    .services-art img {
        width: min(100%, 330px);
        max-width: 330px;
        margin-inline: auto;
    }

    .services {
        padding-top: 40px;
    }

    .services-heading-layout {
        margin-bottom: 36px;
    }
}
