/* Shared revision components; deliberately leaves the root scale and page URLs intact. */
:root {
    --gd-inquiry-offset: 128px;
}

#forma {
    scroll-margin-top: var(--gd-inquiry-offset);
}

.site-header.is-scrolled .menu-toggle {
    color: #263b31;
}

body.menu-open .site-header .menu-toggle {
    color: #fff;
}

.gd-contact-card {
    display: grid;
    gap: 14px;
    width: 100%;
    min-width: 0;
    max-width: 460px;
    justify-self: end;
    align-self: start;
    padding: clamp(26px, 3vw, 42px);
    background: #f5f5ef;
    color: #263b31;
    box-shadow: 0 20px 55px rgba(12, 38, 27, .08);
}

section[class] .gd-contact-card > .eyebrow {
    margin: 0 0 8px;
    color: #59641c;
    font-size: .8rem;
    line-height: 1.5;
}

section[class] .gd-contact-card > .gd-contact-card__detail,
section[class] .gd-contact-card > .gd-contact-card__address {
    margin: 0;
    color: #263b31;
    font-size: 1.0625rem;
    font-weight: 400;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.gd-contact-card .gd-contact-card__button {
    width: 100%;
    min-height: 52px;
    margin: 14px 0 0;
    padding-inline: 18px;
    background: #59641c;
    color: #fff;
    font-size: .8rem;
}

.gd-contact-card a:focus-visible {
    outline: 3px solid #59641c;
    outline-offset: 5px;
}

.gd-closing-copy {
    min-width: 0;
}

.gd-closing-copy > p {
    max-width: 660px;
    margin: 24px 0 0;
    font-size: 1.0625rem;
    line-height: 1.75;
}

section[class] .gd-cta-offer {
    margin: 0;
    max-width: 680px;
    color: inherit;
    font-size: clamp(2.1rem, 3.3vw, 3.2rem);
    font-weight: 800;
    line-height: 1.12;
    text-transform: uppercase;
}

.gd-detail-cta__grid,
.gd-service-cta__grid,
.gd-about-cta__grid,
.gd-service-branch__cta > .shell {
    align-items: start;
    column-gap: clamp(36px, 7vw, 110px);
}

.gd-news-cta__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    align-items: start;
    gap: clamp(36px, 7vw, 110px);
}

.mega-menu__grid--services .mega-item {
    grid-template-columns: minmax(112px, 35%) minmax(0, 1fr);
    align-items: start;
    gap: 20px;
}

.mega-menu__grid--services .mega-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
}

.mega-menu__grid--two .mega-item {
    grid-template-columns: 1fr;
    align-content: start;
}

.mega-menu__grid--two .mega-item img {
    aspect-ratio: 2 / 1;
    max-height: 180px;
}

.mega-item small,
.mega-service-feature small {
    color: #5e665e;
    font-size: .9375rem;
    line-height: 1.65;
}

.mega-item strong {
    font-size: .9375rem;
    line-height: 1.35;
}

.sg-heading > p,
.sg-product-card__description,
.gd-detail-heading > p,
.gd-service-heading > p,
.gd-detail-system-grid p,
.gd-detail-benefit-grid p,
.gd-service-process__list p,
.gd-service-deliverables__grid p,
.gd-contact-process__grid p,
.gd-category-posts__body p {
    font-size: 1rem;
    line-height: 1.75;
}

.gd-detail-benefit-grid p,
.gd-service-process__list p,
.gd-contact-process__grid p {
    color: rgba(255, 255, 255, .88);
}

.gd-service-projects {
    margin-top: 48px;
}

.gd-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.gd-social-links a {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid currentColor;
}

.gd-social-links svg {
    width: 22px;
    height: 22px;
}

@media (max-width: 1020px) {
    .gd-news-cta__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    :root { --gd-inquiry-offset: 98px; }
    .gd-contact-card { max-width: none; }
    .gd-closing-copy > p { font-size: 1rem; }
    .gd-service-projects { margin-top: 36px; }
    .gd-contact-card .gd-contact-card__button { font-size: .75rem; }
}
