:root {
    --verde: #009645;
    --verde-escuro: #00532a;
    --verde-luz: #e6f4ea;
    --preto: #14151a;
    --preto-2: #1d1f26;
    --branco: #ffffff;
    --cinza-claro: #f4f5f2;
    --cinza-linha: #e4e5e0;
    --cinza-medio: #666b67;
    --terracota: #b5502e;
    --terracota-luz: #f4e3db;
    --sombra: 0 20px 50px -20px rgba(20, 21, 26, .25);
    --radius: 4px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--preto);
    background: var(--branco);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

h1,
h2,
h3,
h4 {
    font-family: 'Archivo', sans-serif;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.01em;
}

.display {
    font-family: 'Archivo Black', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .01em;
}

.mono {
    font-family: 'IBM Plex Mono', monospace;
}

.eyebrow {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--verde);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    background: var(--terracota);
    display: inline-block;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 15px;
    font-family: 'Archivo', sans-serif;
    letter-spacing: .01em;
    border: 2px solid transparent;
    cursor: pointer;
    transition: .2s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--verde);
    color: #fff;
}

.btn-primary:hover {
    background: var(--verde-escuro);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .55);
}

.btn-ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .08);
}

.btn-dark {
    background: var(--preto);
    color: #fff;
}

.btn-dark:hover {
    background: #000;
    transform: translateY(-2px);
}

.btn-outline-dark {
    background: transparent;
    color: var(--preto);
    border-color: var(--preto);
}

.btn-outline-dark:hover {
    background: var(--preto);
    color: #fff;
}

.btn-block {
    width: 100%;
}

section {
    position: relative;
}

/* corner bracket signature motif */
.brackets {
    position: relative;
}

.brackets::before,
.brackets::after,
.brackets .bk-tr,
.bk-tr,
.bk-bl {
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    z-index: 3;
}

.brackets::before {
    top: -1px;
    left: -1px;
    border-top: 3px solid var(--verde);
    border-left: 3px solid var(--verde);
}

.brackets::after {
    bottom: -1px;
    right: -1px;
    border-bottom: 3px solid var(--verde);
    border-right: 3px solid var(--verde);
}

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 18px 0;
    transition: .3s ease;
}

header.solid {
    background: rgba(20, 21, 26, .94);
    backdrop-filter: blur(8px);
    padding: 12px 0;
    box-shadow: 0 6px 30px rgba(0, 0, 0, .2);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-link img {
    height: 62px;
    width: auto;
    transition: .3s;
}

header.solid .logo-link img {
    height: 50px;
}

.logo-link .lname {
    font-family: 'Archivo Black', sans-serif;
    color: #fff;
    font-size: 19px;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.logo-link .lname span {
    color: var(--verde);
}

.navlinks {
    display: flex;
    align-items: center;
    gap: 34px;
}

.navlinks a {
    color: rgba(255, 255, 255, .88);
    font-size: 14.5px;
    font-weight: 600;
    font-family: 'Archivo', sans-serif;
    position: relative;
    padding: 4px 0;
}

.navlinks a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--verde);
    transition: .25s;
}

.navlinks a:hover::after {
    width: 100%;
}

.navcta {
    display: flex;
    align-items: center;
    gap: 18px;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.burger span {
    width: 26px;
    height: 2.5px;
    background: #fff;
    display: block;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 120px;
    padding-bottom: 80px;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url('../img/hero.jpg') center 38%/cover no-repeat;
    filter: grayscale(45%) brightness(.62) contrast(1.12);
    transform: scale(1.03);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(125deg, rgba(0, 60, 31, .72) 0%, rgba(10, 11, 14, .55) 42%, rgba(10, 11, 14, .88) 100%);
}

.hero-inner {
    max-width: 760px;
    position: relative;
    z-index: 2;
}

.hero .eyebrow {
    color: #8fe0ab;
}

.hero .eyebrow::before {
    background: var(--terracota);
}

.hero h1 {
    font-size: clamp(38px, 6.2vw, 74px);
    color: #fff;
    margin-bottom: 22px;
}

.hero h1 em {
    font-style: normal;
    color: var(--verde);
}

.hero p.lead {
    color: rgba(255, 255, 255, .86);
    font-size: 18px;
    max-width: 560px;
    margin-bottom: 38px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-facts {
    display: flex;
    gap: 36px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, .22);
    padding-top: 26px;
}

.hero-facts div b {
    display: block;
    font-family: 'IBM Plex Mono', monospace;
    color: #fff;
    font-size: 26px;
}

.hero-facts div span {
    color: rgba(255, 255, 255, .68);
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.scroll-cue {
    position: absolute;
    bottom: 28px;
    right: 40px;
    z-index: 2;
    color: rgba(255, 255, 255, .7);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: .15em;
    writing-mode: vertical-rl;
    display: flex;
    align-items: center;
    gap: 10px;
}

.scroll-cue::after {
    content: "";
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, .5);
}

/* ===== STATS STRIP ===== */
.stats {
    background: var(--preto);
    color: #fff;
    padding: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stats-grid div {
    padding: 46px 28px;
    border-left: 1px solid rgba(255, 255, 255, .1);
    text-align: left;
}

.stats-grid div:first-child {
    border-left: none;
}

.stats-grid b {
    font-family: 'IBM Plex Mono', monospace;
    font-size: clamp(30px, 4vw, 44px);
    color: var(--verde);
    display: block;
}

.stats-grid span {
    font-size: 13px;
    color: rgba(255, 255, 255, .72);
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* ===== SECTION GENERIC ===== */
.section {
    padding: 110px 0;
}

.section-tight {
    padding: 90px 0;
}

.section-head {
    max-width: 640px;
    margin-bottom: 56px;
}

.section-head h2 {
    font-size: clamp(30px, 4vw, 46px);
}

.section-head p {
    color: var(--cinza-medio);
    font-size: 17px;
    margin-top: 16px;
}

.bg-light {
    background: var(--cinza-claro);
}

.bg-dark {
    background: var(--preto);
    color: #fff;
}

.bg-dark .cinza-medio,
.bg-dark p {
    color: rgba(255, 255, 255, .72);
}

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 70px;
    align-items: center;
}

.about-media {
    position: relative;
}

.about-media img {
    border-radius: var(--radius);
    width: 100%;
}

.about-card {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--verde);
    color: #fff;
    padding: 26px 30px;
    border-radius: var(--radius);
    max-width: 250px;
    box-shadow: var(--sombra);
}

.about-card b {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 34px;
    display: block;
}

.about-card span {
    font-size: 13px;
    letter-spacing: .03em;
}

.about-text p {
    color: var(--cinza-medio);
    margin-bottom: 18px;
    font-size: 16px;
}

.about-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 26px;
    margin-top: 30px;
    padding-top: 26px;
    border-top: 1px solid var(--cinza-linha);
}

.about-meta div b {
    display: block;
    font-family: 'Archivo', sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--terracota);
    margin-bottom: 4px;
}

.about-meta div span {
    font-size: 14.5px;
    color: var(--preto);
}

/* MVV cards */
.mvv {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-top: 70px;
}

.mvv-card {
    background: #fff;
    border: 1px solid var(--cinza-linha);
    padding: 34px 30px;
    border-radius: var(--radius);
}

.mvv-card .num {
    font-family: 'IBM Plex Mono', monospace;
    color: var(--verde);
    font-size: 13px;
    letter-spacing: .08em;
    margin-bottom: 18px;
    display: block;
}

.mvv-card h3 {
    font-size: 21px;
    margin-bottom: 14px;
}

.mvv-card p {
    color: var(--cinza-medio);
    font-size: 15px;
}

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--cinza-linha);
    border: 1px solid var(--cinza-linha);
}

.service-card {
    background: #fff;
    padding: 40px 34px;
    transition: .25s;
}

.service-card:hover {
    background: var(--preto);
    color: #fff;
}

.service-card .icon {
    width: 48px;
    height: 48px;
    margin-bottom: 26px;
    color: var(--verde);
}

.service-card:hover .icon {
    color: #8fe0ab;
}

.service-card h3 {
    font-size: 19px;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--cinza-medio);
    font-size: 14.5px;
}

.service-card:hover p {
    color: rgba(255, 255, 255, .72);
}

/* ===== PORTFOLIO / GALLERY ===== */
.filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

.filter-btn {
    padding: 10px 20px;
    border: 1px solid var(--cinza-linha);
    background: #fff;
    border-radius: 30px;
    font-family: 'Archivo', sans-serif;
    font-weight: 600;
    font-size: 13.5px;
    cursor: pointer;
    transition: .2s;
    color: var(--preto);
}

.filter-btn:hover {
    border-color: var(--verde);
}

.filter-btn.active {
    background: var(--preto);
    border-color: var(--preto);
    color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gcard {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
    background: var(--preto);
}

.gcard img {
    width: 100%;
    height: 270px;
    object-fit: cover;
    transition: .5s ease;
    opacity: .92;
}

.gcard:hover img {
    transform: scale(1.07);
    opacity: 1;
}

.gcard .gtag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(20, 21, 26, .75);
    color: #fff;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 20px;
    z-index: 2;
}

.gcard .gcap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 22px 20px 18px;
    background: linear-gradient(0deg, rgba(0, 0, 0, .88), rgba(0, 0, 0, 0));
    color: #fff;
    z-index: 2;
}

.gcard .gcap b {
    font-family: 'Archivo', sans-serif;
    font-size: 16px;
    display: block;
    margin-bottom: 3px;
}

.gcard .gcap span {
    font-size: 12.5px;
    color: rgba(255, 255, 255, .75);
}

.gcard.hide {
    display: none;
}

/* ===== TIMELINE (measuring tape signature) ===== */
.timeline {
    position: relative;
    padding-left: 70px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 26px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: repeating-linear-gradient(180deg, var(--preto) 0 2px, transparent 2px 18px);
}

.t-item {
    position: relative;
    padding-bottom: 64px;
}

.t-item:last-child {
    padding-bottom: 0;
}

.t-year {
    position: absolute;
    left: -70px;
    top: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--verde);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 600;
    font-size: 13.5px;
    z-index: 2;
    box-shadow: 0 0 0 6px #fff;
}

.t-body {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 28px;
    background: var(--cinza-claro);
    border-radius: var(--radius);
    padding: 22px;
    align-items: center;
}

.t-body img {
    border-radius: var(--radius);
    height: 150px;
    width: 100%;
    object-fit: cover;
}

.t-text h4 {
    font-size: 17px;
    margin-bottom: 8px;
}

.t-text p {
    color: var(--cinza-medio);
    font-size: 14.5px;
}

.t-text .loc {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11.5px;
    color: var(--terracota);
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

/* ===== EQUIPMENT strip ===== */
.equip-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: var(--cinza-linha);
}

.equip-item {
    position: relative;
    height: 230px;
    overflow: hidden;
    background: var(--preto);
}

.equip-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .75;
    transition: .4s;
}

.equip-item:hover img {
    opacity: 1;
    transform: scale(1.05);
}

.equip-item span {
    position: absolute;
    left: 16px;
    bottom: 14px;
    color: #fff;
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    font-size: 14.5px;
    z-index: 2;
}

.equip-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, .65), transparent 55%);
}

/* ===== TESTIMONIALS ===== */
.t-note {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: rgba(255, 255, 255, .45);
    margin-top: 36px;
    letter-spacing: .02em;
}

.testi-wrap {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.testi-slide {
    display: none;
}

.testi-slide.active {
    display: block;
    animation: fadein .5s ease;
}

@keyframes fadein {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testi-quote {
    font-family: 'Archivo', sans-serif;
    font-weight: 600;
    font-size: clamp(20px, 2.6vw, 28px);
    line-height: 1.4;
    color: #fff;
    margin-bottom: 28px;
}

.testi-quote::before {
    content: "“";
    color: var(--verde);
}

.testi-quote::after {
    content: "”";
    color: var(--verde);
}

.testi-person b {
    display: block;
    font-family: 'Archivo', sans-serif;
    font-size: 15px;
}

.testi-person span {
    font-size: 13px;
    color: rgba(255, 255, 255, .55);
}

.testi-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.testi-dots button {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .25);
    cursor: pointer;
    padding: 0;
}

.testi-dots button.active {
    background: var(--verde);
    width: 26px;
    border-radius: 6px;
    transition: .25s;
}

/* ===== INVOICE REQUEST ===== */
.invoice-wrap {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 0;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--sombra);
}

.invoice-side {
    background: var(--preto);
    color: #fff;
    padding: 52px 44px;
}

.invoice-side h3 {
    font-size: 26px;
    margin-bottom: 18px;
}

.invoice-side p {
    color: rgba(255, 255, 255, .7);
    font-size: 15px;
    margin-bottom: 30px;
}

.invoice-steps li {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
    font-size: 14.5px;
    color: rgba(255, 255, 255, .85);
}

.invoice-steps b {
    font-family: 'IBM Plex Mono', monospace;
    color: var(--verde);
    flex: none;
}

.invoice-form {
    padding: 52px 44px;
}

.f-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.field {
    margin-bottom: 20px;
}

.field label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--cinza-medio);
    margin-bottom: 8px;
    font-family: 'Archivo', sans-serif;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid var(--cinza-linha);
    background: var(--cinza-claro);
    border-radius: var(--radius);
    padding: 13px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    color: var(--preto);
    transition: .2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--verde);
    background: #fff;
}

.field textarea {
    resize: vertical;
    min-height: 100px;
}

.form-note {
    font-size: 12.5px;
    color: var(--cinza-medio);
    margin-top: 14px;
}

.form-success {
    display: none;
    background: var(--verde-luz);
    border: 1px solid var(--verde);
    color: var(--verde-escuro);
    padding: 16px 18px;
    border-radius: var(--radius);
    font-size: 14px;
    margin-top: 18px;
}

.form-success.show {
    display: block;
}

/* ===== DOCUMENT / CERTIFICATION CARDS ===== */
.doc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 36px;
}

.doc-grid.cert {
    grid-template-columns: repeat(4, 1fr);
}

.doc-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--cinza-linha);
    border-radius: var(--radius);
    padding: 22px;
    transition: .2s;
}

.doc-card:hover {
    border-color: var(--verde);
    box-shadow: var(--sombra);
    transform: translateY(-2px);
}

.doc-card .doc-ic {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: var(--verde-luz);
    color: var(--verde);
    display: flex;
    align-items: center;
    justify-content: center;
}

.doc-card .doc-ic svg {
    width: 22px;
    height: 22px;
}

.doc-card .doc-body {
    flex: 1;
    min-width: 0;
}

.doc-card .doc-body b {
    display: block;
    font-family: 'Archivo', sans-serif;
    font-size: 15px;
    margin-bottom: 4px;
}

.doc-card .doc-body span {
    font-size: 13px;
    color: var(--cinza-medio);
    display: block;
    margin-bottom: 12px;
}

.doc-card .doc-dl {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    font-size: 12.5px;
    color: var(--verde);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.doc-dl svg {
    width: 14px;
    height: 14px;
    flex: none;
}

.doc-card .doc-meta {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10.5px;
    color: var(--cinza-medio);
    margin-left: 8px;
    text-transform: none;
    letter-spacing: 0;
}

.cert-card {
    text-align: center;
    background: #fff;
    border: 1px solid var(--cinza-linha);
    border-radius: var(--radius);
    padding: 32px 20px;
    transition: .2s;
}

.cert-card:hover {
    border-color: var(--verde);
    box-shadow: var(--sombra);
    transform: translateY(-2px);
}

.cert-card .cert-ic {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--verde-luz);
    color: var(--verde);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.cert-card .cert-ic svg {
    width: 26px;
    height: 26px;
}

.cert-card b {
    display: block;
    font-family: 'Archivo', sans-serif;
    font-size: 14.5px;
    margin-bottom: 6px;
    line-height: 1.3;
}

.cert-card span {
    font-size: 12.5px;
    color: var(--cinza-medio);
    display: block;
    margin-bottom: 16px;
}

.cert-card .doc-dl {
    justify-content: center;
}

.cert-note {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: var(--terracota-luz);
    border: 1px solid #e3c3b3;
    border-radius: var(--radius);
    padding: 16px 18px;
    margin-top: 32px;
}

.cert-note svg {
    flex: none;
    width: 18px;
    height: 18px;
    color: var(--terracota);
    margin-top: 2px;
}

.cert-note p {
    font-size: 13px;
    color: #7a3c22;
    margin: 0;
}


.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-list li {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.contact-list li .ic {
    width: 22px;
    height: 22px;
    color: var(--verde);
    flex: none;
    margin-top: 2px;
}

.contact-list li b {
    display: block;
    font-family: 'Archivo', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: rgba(255, 255, 255, .5);
    margin-bottom: 4px;
}

.contact-list li span,
.contact-list li a {
    font-size: 15.5px;
    color: #fff;
}

.map-frame {
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    min-height: 340px;
    border: 1px solid rgba(255, 255, 255, .15);
    filter: grayscale(.3) contrast(1.05);
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 340px;
    border: 0;
    display: block;
}

footer {
    background: var(--preto);
    color: rgba(255, 255, 255, .55);
    padding: 36px 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
}

.footer-bottom .flogo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-family: 'Archivo Black', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
}

.footer-bottom .flogo img {
    height: 26px;
}

/* back to top */
.totop {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--verde);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: var(--sombra);
    opacity: 0;
    pointer-events: none;
    transition: .3s;
    z-index: 90;
}

.totop.show {
    opacity: 1;
    pointer-events: auto;
}

/* lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 12, .94);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.lightbox.open {
    display: flex;
}

.lightbox img {
    max-width: 92vw;
    max-height: 82vh;
    border-radius: 4px;
}

.lightbox .lb-close {
    position: absolute;
    top: 26px;
    right: 30px;
    color: #fff;
    font-size: 32px;
    background: none;
    border: none;
    cursor: pointer;
}

.lightbox .lb-cap {
    position: absolute;
    bottom: 34px;
    left: 0;
    right: 0;
    text-align: center;
    color: rgba(255, 255, 255, .8);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
}

/* reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media(max-width:980px) {
    .navlinks {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 78%;
        max-width: 320px;
        background: var(--preto-2);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 34px 34px;
        gap: 26px;
        transform: translateX(100%);
        transition: .35s ease;
        box-shadow: -10px 0 40px rgba(0, 0, 0, .3);
    }

    .navlinks.open {
        transform: translateX(0);
    }

    .burger {
        display: flex;
    }

    .navcta .btn-primary {
        padding: 12px 18px;
        font-size: 13.5px;
    }

    .about-grid,
    .contact-grid,
    .invoice-wrap {
        grid-template-columns: 1fr;
    }

    .about-card {
        position: static;
        margin-top: -40px;
        margin-left: 20px;
        max-width: 220px;
    }

    .mvv {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-grid div {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, .1);
    }

    .stats-grid div:nth-child(1),
    .stats-grid div:nth-child(2) {
        border-top: none;
    }

    .equip-strip {
        grid-template-columns: 1fr 1fr;
    }

    .doc-grid {
        grid-template-columns: 1fr;
    }

    .doc-grid.cert {
        grid-template-columns: 1fr 1fr;
    }

    .t-body {
        grid-template-columns: 1fr;
    }

    .timeline {
        padding-left: 56px;
    }

    .t-year {
        left: -56px;
        width: 44px;
        height: 44px;
        font-size: 11px;
    }

    .f-row {
        grid-template-columns: 1fr;
    }

    .scroll-cue {
        display: none;
    }

    .hero {
        min-height: auto;
        padding-bottom: 56px;
    }
}

@media(max-width:640px) {
    .section {
        padding: 76px 0;
    }

    .services-grid,
    .gallery-grid,
    .equip-strip {
        grid-template-columns: 1fr;
    }

    .doc-grid.cert {
        grid-template-columns: 1fr;
    }

    .hero-facts {
        gap: 24px;
    }

    .invoice-side,
    .invoice-form {
        padding: 36px 26px;
    }
}