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

.agency-stage5-body {
    padding-bottom: 0;
}

.agency-stage5-skip {
    position: fixed;
    z-index: 10000;
    top: 8px;
    left: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    color: #fff;
    background: #111827;
    transform: translateY(-150%);
}

.agency-stage5-skip:focus {
    transform: translateY(0);
}

.agency-stage5-topbar {
    backdrop-filter: blur(14px);
}

.agency-stage5-hero .agency-hero-content {
    align-items: center;
}

.agency-stage5-profile-card {
    min-width: 260px;
}

.agency-stage5-profile-card .agency-btn {
    margin-top: 12px;
}

.agency-stage5-trustbar {
    position: relative;
    z-index: 3;
    margin-top: -26px;
}

.agency-stage5-trustbar-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid #e3e9e5;
    border-radius: 18px;
    background: #e3e9e5;
    box-shadow: 0 15px 34px rgba(10, 55, 34, .12);
}

.agency-stage5-trustbar-grid > div {
    min-width: 0;
    padding: 17px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fff;
}

.agency-stage5-trustbar-grid > div > span {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: var(--agency-primary);
    font-weight: 900;
}

.agency-stage5-trustbar-grid p,
.agency-stage5-trustbar-grid strong,
.agency-stage5-trustbar-grid small {
    display: block;
    margin: 0;
}

.agency-stage5-trustbar-grid strong {
    font-size: 13px;
    line-height: 1.35;
}

.agency-stage5-trustbar-grid small {
    margin-top: 4px;
    color: #64748b;
    font-size: 10.5px;
    line-height: 1.4;
}

.agency-stage5-about {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 30px;
    align-items: center;
}

.agency-stage5-about-actions {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.agency-stage5-section-intro {
    max-width: 720px;
    color: #64748b;
    line-height: 1.65;
}

.agency-stage5-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.agency-stage5-more-products {
    margin-top: 20px;
}

.agency-stage5-more-products > summary,
.agency-stage5-more-proof > summary,
.agency-stage5-more-faq > summary {
    width: fit-content;
    margin: 0 auto;
    padding: 11px 15px;
    border: 1px solid #d8e1dc;
    border-radius: 999px;
    color: var(--agency-primary);
    background: #fff;
    cursor: pointer;
    font-weight: 850;
}

.agency-stage5-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
    margin-top: 22px;
}

.agency-stage5-feature-grid article {
    padding: 17px;
    border: 1px solid #dfe7e2;
    border-radius: 16px;
    background: #fff;
}

.agency-stage5-feature-grid strong,
.agency-stage5-feature-grid span {
    display: block;
}

.agency-stage5-feature-grid strong {
    margin-top: 10px;
}

.agency-stage5-feature-grid span {
    margin-top: 6px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.55;
}

.agency-stage5-trust-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 22px;
    margin-top: 28px;
}

.agency-stage5-trust-layout h3 {
    margin: 0 0 12px;
}

.agency-stage5-timeline {
    display: grid;
    gap: 10px;
}

.agency-stage5-timeline article {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 11px;
    padding: 13px;
    border: 1px solid #dfe7e2;
    border-radius: 14px;
    background: #fff;
}

.agency-stage5-timeline article > span {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #fff;
    background: var(--agency-primary);
    font-weight: 900;
}

.agency-stage5-timeline strong,
.agency-stage5-timeline p {
    display: block;
    margin: 0;
}

.agency-stage5-timeline p {
    margin-top: 4px;
    color: #64748b;
    font-size: 11px;
    line-height: 1.5;
}

.agency-stage5-proof-tabs {
    display: inline-flex;
    gap: 6px;
    margin-top: 18px;
    padding: 5px;
    border: 1px solid #dfe7e2;
    border-radius: 999px;
    background: #fff;
}

.agency-stage5-proof-tabs button {
    min-height: 42px;
    padding: 8px 16px;
    border: 0;
    border-radius: 999px;
    color: #475569;
    background: transparent;
    cursor: pointer;
    font-weight: 850;
}

.agency-stage5-proof-tabs button[aria-selected="true"] {
    color: #fff;
    background: var(--agency-primary);
}

.agency-stage5-proof-panel {
    margin-top: 22px;
}

.agency-stage5-proof[data-enhanced="true"]
.agency-stage5-proof-panel[hidden] {
    display: none;
}

.agency-stage5-anchor {
    display: block;
    scroll-margin-top: 90px;
}

.agency-stage5-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.agency-stage5-gallery-grid figure {
    margin: 0;
    overflow: hidden;
    border-radius: 15px;
    background: #e8eeea;
}

.agency-stage5-gallery-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: block;
    object-fit: cover;
}

.agency-stage5-gallery-grid figcaption {
    padding: 9px 11px;
    font-size: 11px;
}

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

.agency-stage5-post-card {
    overflow: hidden;
    border: 1px solid #dfe7e2;
    border-radius: 16px;
    background: #fff;
}

.agency-stage5-post-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    display: block;
    object-fit: cover;
}

.agency-stage5-post-card > div {
    padding: 15px;
}

.agency-stage5-post-card time {
    color: var(--agency-primary);
    font-size: 10px;
    font-weight: 850;
}

.agency-stage5-post-card h3 {
    margin: 7px 0 0;
}

.agency-stage5-post-card h3 a {
    color: inherit;
    text-decoration: none;
}

.agency-stage5-post-card p {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.55;
}

.agency-stage5-testimonial-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 34%);
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
}

.agency-stage5-testimonial-grid blockquote {
    margin: 0;
    padding: 18px;
    border: 1px solid #dfe7e2;
    border-radius: 16px;
    background: #fff;
    scroll-snap-align: start;
}

.agency-stage5-testimonial-grid blockquote p {
    line-height: 1.65;
}

.agency-stage5-testimonial-grid footer strong,
.agency-stage5-testimonial-grid footer span {
    display: block;
}

.agency-stage5-testimonial-grid footer span {
    margin-top: 3px;
    color: #64748b;
    font-size: 11px;
}

.agency-stage5-local-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr);
    gap: 24px;
    align-items: start;
}

.agency-stage5-office {
    overflow: hidden;
    border: 1px solid #dfe7e2;
    border-radius: 18px;
    background: #fff;
}

.agency-stage5-office > img {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    object-fit: cover;
}

.agency-stage5-office > div {
    padding: 18px;
}

.agency-stage5-office h3 {
    margin: 7px 0 0;
}

.agency-stage5-office p {
    color: #64748b;
    line-height: 1.55;
}

.agency-stage5-legal {
    padding: 20px 0;
    color: #fff;
    background: #0b3f2d;
}

.agency-stage5-legal .agency-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.agency-stage5-legal p {
    margin: 0;
    font-weight: 900;
}

.agency-stage5-legal .agency-container > div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.agency-stage5-legal span {
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    font-size: 10.5px;
}

.agency-stage5-lead {
    color: #fff;
    background:
        radial-gradient(
            circle at 90% 8%,
            rgba(226, 184, 80, .24),
            transparent 36%
        ),
        linear-gradient(135deg, #075033, #0b7a48);
}

.agency-stage5-lead-layout {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(340px, .75fr);
    gap: 28px;
    align-items: start;
}

.agency-stage5-lead .agency-section-kicker,
.agency-stage5-lead h2,
.agency-stage5-lead > * {
    color: inherit;
}

.agency-stage5-lead p {
    color: rgba(255,255,255,.8);
    line-height: 1.65;
}

.agency-stage5-benefits {
    display: grid;
    gap: 9px;
    margin-top: 18px;
}

.agency-stage5-benefits > div {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.agency-stage5-benefits > div > span {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #075033;
    background: #f4d99e;
    font-weight: 900;
}

.agency-stage5-benefits p,
.agency-stage5-benefits strong,
.agency-stage5-benefits small {
    display: block;
    margin: 0;
}

.agency-stage5-benefits small {
    margin-top: 3px;
    color: rgba(255,255,255,.72);
}

.agency-stage5-lead .agency-lead-form {
    border-radius: 18px;
    background: #fff;
}

.agency-stage5-optional-note {
    margin-top: 4px;
}

.agency-stage5-optional-note > summary {
    color: var(--agency-primary);
    cursor: pointer;
    font-size: 12px;
    font-weight: 850;
}

.agency-stage5-optional-note label {
    margin-top: 10px;
}

.agency-stage5-form-note {
    display: block;
    margin-top: 9px;
    color: #64748b;
    text-align: center;
}

.agency-stage5-floating-wa {
    position: fixed !important;
    z-index: 9999;
    right: 18px;
    bottom: 18px;
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff !important;
    background: #25d366 !important;
    box-shadow: 0 10px 26px rgba(0,0,0,.22);
}

.agency-stage5-floating-wa svg {
    width: 29px;
    height: 29px;
    fill: currentColor;
}

.agency-stage5-mobile-actions {
    display: none;
}

.agency-stage5-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.agency-stage5-socials a {
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    font-size: 11px;
}

.agency-stage5-more-faq {
    margin-top: 15px;
}

.agency-stage5-more-faq .agency-faqs {
    margin-top: 12px;
}

.agency-stage5-article {
    padding: 48px 0 72px;
    background: #f6f8f7;
}

.agency-stage5-article-container {
    max-width: 920px;
}

.agency-stage5-breadcrumb {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    color: #64748b;
    font-size: 12px;
}

.agency-stage5-breadcrumb a {
    color: var(--agency-primary);
    text-decoration: none;
}

.agency-stage5-article-cover {
    width: 100%;
    max-height: 520px;
    display: block;
    object-fit: cover;
    border-radius: 20px;
}

.agency-stage5-article-body {
    max-width: 760px;
    margin: -48px auto 0;
    padding: 30px;
    position: relative;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 15px 38px rgba(10, 55, 34, .12);
}

.agency-stage5-article-body time {
    color: var(--agency-primary);
    font-weight: 850;
}

.agency-stage5-article-body h1 {
    margin: 10px 0 0;
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.15;
}

.agency-stage5-article-content {
    margin-top: 24px;
    color: #334155;
    font-size: 16px;
    line-height: 1.85;
}

.agency-stage5-article-cta {
    margin-top: 30px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-radius: 16px;
    background: #edf7f1;
}

.agency-stage5-article-cta p {
    margin: 5px 0 0;
    color: #64748b;
}

@media (max-width: 980px) {
    .agency-stage5-trustbar-grid,
    .agency-stage5-product-grid,
    .agency-stage5-feature-grid,
    .agency-stage5-gallery-grid,
    .agency-stage5-post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .agency-stage5-trust-layout,
    .agency-stage5-local-layout,
    .agency-stage5-lead-layout {
        grid-template-columns: 1fr;
    }

    .agency-stage5-testimonial-grid {
        grid-auto-columns: minmax(280px, 55%);
    }
}

@media (max-width: 720px) {
    .agency-stage5-body {
        padding-bottom: calc(72px + env(safe-area-inset-bottom));
    }

    .agency-stage5-trustbar {
        margin-top: 0;
        padding: 12px;
        background: #f5f8f6;
    }

    .agency-stage5-trustbar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border-radius: 15px;
    }

    .agency-stage5-about {
        grid-template-columns: 1fr;
    }

    .agency-stage5-about-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .agency-stage5-product-grid,
    .agency-stage5-feature-grid,
    .agency-stage5-gallery-grid,
    .agency-stage5-post-grid {
        grid-template-columns: 1fr;
    }

    .agency-stage5-proof-tabs {
        width: 100%;
        overflow-x: auto;
        border-radius: 14px;
    }

    .agency-stage5-proof-tabs button {
        flex: 1 0 auto;
    }

    .agency-stage5-testimonial-grid {
        grid-auto-columns: 88%;
    }

    .agency-stage5-legal .agency-container {
        align-items: flex-start;
        flex-direction: column;
    }

    .agency-stage5-floating-wa {
        display: none;
    }

    .agency-stage5-mobile-actions {
        position: fixed;
        z-index: 9998;
        right: 0;
        bottom: 0;
        left: 0;
        min-height: 62px;
        padding:
            7px
            10px
            calc(7px + env(safe-area-inset-bottom));
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 1fr;
        gap: 7px;
        border-top: 1px solid #dce5df;
        background: rgba(255,255,255,.96);
        box-shadow: 0 -8px 25px rgba(10,55,34,.10);
        backdrop-filter: blur(14px);
    }

    .agency-stage5-mobile-actions a {
        min-height: 46px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        color: #334155;
        background: #edf3f0;
        text-decoration: none;
        font-size: 12px;
        font-weight: 850;
    }

    .agency-stage5-mobile-actions .is-whatsapp {
        color: #fff;
        background: #25d366;
    }

    .agency-stage5-article {
        padding-top: 22px;
    }

    .agency-stage5-article-cover {
        border-radius: 15px;
    }

    .agency-stage5-article-body {
        margin: -20px 10px 0;
        padding: 20px;
    }

    .agency-stage5-article-cta {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 430px) {
    .agency-stage5-trustbar-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
