@font-face {
    font-family: 'DDIN';
    src: url('../fonts/D-DINEDIT.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --g: #25D366;
    --gd: #128C7E;
    --gl: #dcf8c6;
    --gp: #f0faf5;
    --dark: #111B21;
    --dark2: #1F2C33;
    --dark3: #2A3942;
    --white: #ffffff;
    --off: #f7f9f8;
    --ink: #111B21;
    --sub: #54656F;
    --muted: #8696A0;
    --border: #e9edef;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DDIN', 'Segoe UI', system-ui, sans-serif;
    background: var(--white);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
}

/* NAV */
nav {
    position: relative;
    z-index: 200;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6%;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.logo {
    display: flex;
    align-items: center;
    gap: .7rem;
    font-size: 1.65rem;
    font-weight: 900;
    letter-spacing: -.5px;
    color: var(--ink);
    text-decoration: none;
}

.logo-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--g);
    flex-shrink: 0;
}

.logo em {
    font-style: normal;
    color: var(--g);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 3.3rem;
    list-style: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    text-decoration: none;
    color: var(--muted);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    transition: color .18s;
}

.nav-links a:hover {
    color: var(--g);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--ink);
    text-decoration: none;
    border: 1px solid var(--border);
    padding: .65rem 1.65rem;
    border-radius: 4px;
    transition: border-color .18s, color .18s;
}

.nav-cta:hover {
    border-color: var(--g);
    color: var(--gd);
}

.nav-cta-arrow {
    display: none;
}

/* HERO */
.hero {
    min-height: calc(100vh - 88px);
    display: flex;
    align-items: center;
    background: var(--white);
}

.hero-inner {
    width: 88%;
    max-width: 1380px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6.5rem;
    align-items: center;
}

.badge {
    display: inline-block;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--g);
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(3.1rem, 5vw, 4.6rem);
    font-weight: 900;
    line-height: 1.07;
    letter-spacing: -.9px;
    color: var(--ink);
    margin-bottom: 1.5rem;
}

.hero h1 em {
    font-style: normal;
    color: var(--g);
}

.hero p {
    font-size: 1.45rem;
    color: var(--sub);
    line-height: 1.8;
    margin-bottom: 2.75rem;
    max-width: 560px;
}

.hero-btns {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1.1rem 2.4rem;
    border-radius: 4px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all .2s;
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    border: none;
}

.btn-p {
    background: var(--g);
    color: white;
}

.btn-p:hover {
    background: var(--gd);
}

.btn-o {
    background: var(--white);
    color: var(--ink);
    border: 1.5px solid var(--border);
}

.btn-o:hover {
    border-color: var(--g);
    color: var(--gd);
}

.btn-p-dark {
    background: var(--g);
    color: white;
}

.btn-p-dark:hover {
    background: var(--gd);
}

.btn-o-dark {
    background: transparent;
    color: rgba(255, 255, 255, .7);
    border: 1px solid rgba(255, 255, 255, .22);
}

.btn-o-dark:hover {
    color: white;
    border-color: rgba(255, 255, 255, .5);
}

/* STATS */
.stats-bar {
    background: var(--dark);
    padding: 1rem 7%;
    border-top: 1px solid rgba(255, 255, 255, .04);
}

.stats-inner {
    max-width: 1380px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    transition: 0.4 ease-in;
}

.stat-item {
    text-align: center;
    padding: 1.1rem 0;
    border-right: 1px solid rgba(255, 255, 255, .06);
}

.stats-item:hover {
    opacity: 0;
    scale: 1.5;
}

.stat-item:last-child {
    border-right: none;
}

.stat-item h3 {
    font-size: 3.3rem;
    font-weight: 900;
    color: white;
    letter-spacing: -1.1px;
    line-height: 1;
}

.stat-item p {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--muted);
    margin-top: .45rem;
    letter-spacing: .6px;
    text-transform: uppercase;
}

/* SECTION HELPERS */
.wrap {
    max-width: 1700px;
    margin: 0 auto;
}

.sec {
    padding: 5rem 4%;
}

.sec-white {
    background: var(--white);
}

.sec-off {
    background: var(--off);
}

.sec-dark {
    background: var(--dark);
}

.sec-dark2 {
    background: var(--dark2);
}

.sec-tag-light {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--g);
    margin-bottom: .9rem;
}

.sec-tag-dark {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--g);
    margin-bottom: .9rem;
}

.sec-h-dark {
    font-size: clamp(2.65rem, 3.85vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -.7px;
    margin-bottom: .75rem;
    color: white;
}

.sec-h-light {
    font-size: clamp(2.65rem, 3.85vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -.7px;
    margin-bottom: .75rem;
    color: var(--ink);
}

.sec-sub-dark {
    font-size: 1.35rem;
    line-height: 1.75;
    max-width: 650px;
    color: var(--muted);
}

.sec-sub-light {
    font-size: 1.35rem;
    line-height: 1.75;
    max-width: 650px;
    color: var(--sub);
}

.sec-hdr {
    margin-bottom: 5rem;
}

/* TABS */
.tabs-row {
    display: flex;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 1rem;
}

.tabs-row::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    scroll-snap-align: start;
    flex-shrink: 0;
}

.tab-btn {
    flex: 1;
    min-width: 155px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .65rem;
    padding: 1.75rem 1.3rem 1.45rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted);
    font-family: inherit;
    transition: color .2s;
}

.tab-btn:hover {
    color: var(--sub);
}

.tab-btn.active {
    color: var(--ink);
}

.tab-icon-wrap {
    font-size: 1.65rem;
    color: inherit;
    transition: color .2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
}

.tab-icon-img {
    height: 42px;
    width: auto;
    display: block;
    object-fit: contain;
    opacity: .55;
    filter: grayscale(.4);
    transition: opacity .2s, filter .2s, transform .2s;
}

.tab-btn:hover .tab-icon-img {
    opacity: .8;
    filter: grayscale(0);
}

.tab-btn.active .tab-icon-img {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.04);
}

.tab-label {
    font-size: 1.1rem;
    font-weight: 600;
}

.tab-slider {
    position: absolute;
    bottom: -1px;
    height: 2.5px;
    background: var(--g);
    transition: left .32s cubic-bezier(.4, 0, .2, 1), width .32s cubic-bezier(.4, 0, .2, 1);
    pointer-events: none;
}

.tab-panel {
    padding: 5.5rem 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5.5rem;
    align-items: center;
    animation: fadeUp .3s ease;
}

.panel-board-img {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
}

.panel-board-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .4s ease;
}

.panel-board-img:hover img {
    transform: scale(1.03);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.panel-eyebrow {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--g);
    margin-bottom: .75rem;
}

.panel-text h3 {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--ink);
    letter-spacing: -.5px;
    margin-bottom: 1.1rem;
}

.panel-text p {
    font-size: 1.35rem;
    color: var(--sub);
    line-height: 1.8;
    margin-bottom: 2.2rem;
}

.panel-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-bottom: 2.4rem;
}

.ptag {
    border: 1px solid var(--border);
    color: var(--sub);
    font-size: 1.05rem;
    font-weight: 600;
    padding: .35rem 1rem;
    border-radius: 3px;
}

/* EQUIPMENT GRID */
.eq-grid {}

/* grid set by PopGrid inline */
.eq-card {
    background: var(--dark3);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 22px;
    padding: 3.3rem 2.65rem 2.85rem;
    transition: border-color .25s, transform .3s ease, box-shadow .3s ease;
}

.eq-card:hover {
    border-color: rgba(37, 211, 102, .3);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}

.eq-img-frame {
    width: 100%;
    height: 260px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.eq-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    filter: brightness(.92) saturate(.85);
    transition: filter .3s ease, transform .3s ease;
}
.eq-card:hover .eq-img {
    filter: brightness(1) saturate(1);
    transform: scale(1.04);
}

.eq-card h4 {
    font-size: 1.35rem;
    font-weight: 700;
    color: white;
    margin-top: 1.5rem;
    margin-bottom: .45rem;
}

.eq-card p {
    font-size: 1.15rem;
    color: var(--muted);
    line-height: 1.65;
}

/* WHY */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6.5rem;
    align-items: stretch;
}

.diag-panel-col {
    display: flex;
    flex-direction: column;
    min-height: 520px;
}

.why-items {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
    margin-top: 3rem;
}

.why-row {
    display: flex;
    gap: 1.4rem;
    align-items: flex-start;
}

.why-icon {
    width: 24px;
    flex-shrink: 0;
    color: var(--g);
    font-size: 1.2rem;
    margin-top: .2rem;
}

.why-row h4 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: .35rem;
}

.why-row p {
    font-size: 1.2rem;
    color: var(--sub);
    line-height: 1.7;
}

/* PROCESS */
.steps {
    border-top: 1px solid rgba(255, 255, 255, .07);
}

/* grid set by PopGrid inline */
.step {
    padding: 3.3rem 2rem 2.85rem;
    border-right: 1px solid rgba(255, 255, 255, .07);
}

.step:last-child {
    border-right: none;
}

.step-n {
    font-size: 3.85rem;
    font-weight: 900;
    color: rgba(255, 255, 255, .07);
    line-height: 1;
    margin-bottom: 1.1rem;
}

.step-ico {
    font-size: 1.35rem;
    color: var(--g);
    margin-bottom: .75rem;
}

.step h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: .38rem;
}

.step p {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.6;
}

/* CONTACT */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6.5rem;
    align-items: start;
}

.c-info {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
    margin-top: 3rem;
}

.c-row {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.c-icon {
    width: 24px;
    flex-shrink: 0;
    color: var(--g);
    font-size: 1.2rem;
    margin-top: .2rem;
}

.c-row h4 {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--ink);
    margin-bottom: .15rem;
}

.c-row p {
    color: var(--sub);
    font-size: 1.2rem;
}

.c-form {
    background: var(--off);
    border-radius: 4px;
    padding: 3.5rem;
    border: 1px solid var(--border);
}

.c-form h3 {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 2.2rem;
    letter-spacing: -.35px;
}

.fg {
    margin-bottom: 1.3rem;
}

.fg label {
    display: block;
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .7px;
    text-transform: uppercase;
    margin-bottom: .42rem;
    color: var(--muted);
}

.fg input,
.fg textarea,
.fg select {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: 3px;
    font-size: 1.2rem;
    font-family: inherit;
    color: var(--ink);
    background: var(--white);
    outline: none;
    transition: border-color .2s;
}

.fg input:focus,
.fg textarea:focus,
.fg select:focus {
    border-color: var(--g);
}

.fg textarea {
    resize: vertical;
    min-height: 120px;
}

.fsub {
    width: 100%;
    padding: 1.1rem;
    background: var(--g);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    margin-top: 1.5rem;
}

.fsub:hover {
    background: var(--gd);
}

.form-alt-note {
    text-align: center;
    font-size: .82rem;
    color: rgba(0,0,0,.38);
    margin-top: .9rem;
}
.form-alt-note i {
    color: #25D366;
}
.form-alt-note a {
    color: rgba(0,0,0,.55);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color .2s;
}
.form-alt-note a:hover {
    color: #128C7E;
}

.fsuc {
    text-align: center;
    padding: 3.3rem 2rem;
}

.fsuc i {
    font-size: 2.85rem;
    display: block;
    margin-bottom: .9rem;
    color: var(--g);
}

.fsuc strong {
    color: var(--ink);
    font-size: 1.35rem;
    display: block;
}

.fsuc span {
    font-size: 1.15rem;
    color: var(--sub);
    display: block;
    margin-top: .45rem;
}

/* FOOTER CTA BAND */
.footer-cta-band {
    background: var(--dark2);
    border-top: 1px solid rgba(255, 255, 255, .06);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    padding: 3.85rem 7%;
}

.footer-cta-inner {
    max-width: 1380px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-cta-label {
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--g);
    margin-bottom: .55rem;
}

.footer-cta-inner h3 {
    font-size: 1.95rem;
    font-weight: 900;
    color: white;
    letter-spacing: -.35px;
}

/* FOOTER MAIN */
.footer {
    background: var(--dark);
    position: relative;
    overflow: hidden;
    padding: 6rem 7% 0;
}

.footer-pcb {
    position: absolute;
    right: -20px;
    top: 60px;
    opacity: .025;
    pointer-events: none;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 5.5rem;
    padding-bottom: 5rem;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.footer-wordmark {
    font-size: 2.4rem;
    font-weight: 900;
    letter-spacing: -.6px;
    color: white;
    line-height: 1;
    margin-bottom: 1.2rem;
}

.footer-wordmark em {
    font-style: normal;
    color: var(--g);
}

.footer-tagline {
    font-size: 1.15rem;
    color: var(--muted);
    line-height: 1.75;
    max-width: 320px;
    margin-bottom: 2.4rem;
}

.footer-certs {
    display: flex;
    flex-direction: column;
    gap: .9rem;
}

.footer-cert {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, .35);
}

.footer-cert i {
    color: var(--g);
    width: 15px;
    font-size: .9rem;
}

.footer-badge {
    display: none;
}

.footer-col h5 {
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .22);
    margin-bottom: 1.75rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.footer-col ul a {
    font-size: 1.15rem;
    color: var(--muted);
    text-decoration: none;
    transition: color .18s;
}

.footer-col ul a:hover {
    color: white;
}

.footer-col-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-info-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.footer-info-row i {
    font-size: 1.05rem;
    color: var(--g);
    margin-top: .2rem;
    width: 17px;
    flex-shrink: 0;
}

.footer-info-row span {
    font-size: 1.15rem;
    color: var(--muted);
    line-height: 1.6;
}

/* FOOTER BOTTOM */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2.4rem 0;
    flex-wrap: wrap;
    gap: 1.3rem;
}

.footer-copy {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, .18);
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 2.75rem;
    flex-wrap: wrap;
}

.footer-compliance {
    font-size: .95rem;
    color: rgba(255, 255, 255, .15);
    letter-spacing: .4px;
}

.footer-legal-links {
    display: flex;
    gap: 2rem;
}

.footer-legal-links a {
    font-size: .95rem;
    color: rgba(255, 255, 255, .2);
    text-decoration: none;
    transition: color .18s;
}

.footer-legal-links a:hover {
    color: rgba(255, 255, 255, .55);
}

.footer-dot-row {
    display: none;
}

/* WHATSAPP BUTTON */
.wa-btn {
    position: fixed;
    bottom: 2.2rem;
    right: 2.2rem;
    z-index: 500;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 30px rgba(37, 211, 102, .45);
    text-decoration: none;
    color: white;
    font-size: 1.9rem;
    transition: transform .2s, box-shadow .2s;
}

.wa-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 38px rgba(37, 211, 101, 0.61);
}

.wa-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgb(37, 211, 101);
    animation: waPulse 1.8s ease infinite;
}

@keyframes waPulse {
    0% {
        transform: scale(1);
        opacity: .65;
    }

    70% {
        transform: scale(1.65);
        opacity: 0;
    }

    100% {
        transform: scale(1.65);
        opacity: 0;
    }
}

/* SCROLL REVEAL */
.s-reveal {
    opacity: 0;
    transform: translateY(55px);
    transition: opacity .75s cubic-bezier(.22, 1, .36, 1), transform .75s cubic-bezier(.22, 1, .36, 1);
}

.s-reveal.in {
    opacity: 1;
    transform: none;
}

.s-reveal-l {
    opacity: 0;
    transform: translateX(-45px);
    transition: opacity .7s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.22, 1, .36, 1);
}

.s-reveal-l.in {
    opacity: 1;
    transform: none;
}

/* POP BOUNCE (cards) */
.pop-item {
    opacity: 0;
    transform: scale(.82);
    transition: opacity .45s ease, transform .5s cubic-bezier(.34, 1.6, .64, 1);
}

.pop-item.in {
    opacity: 1;
    transform: scale(1);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   Breakpoints: 1280 / 1024 / 820 / 640 / 420
═══════════════════════════════════════════════════════════════ */

/* Mobile menu toggle — hidden on desktop */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--ink);
    font-size: 1.45rem;
    cursor: pointer;
    padding: .5rem .65rem;
    border-radius: 6px;
    transition: background .18s;
}
.nav-toggle:hover { background: var(--off); }
.nav-mobile-cta { display: none; }

/* ── ≤1280: Large desktop tightening ── */
@media (max-width: 1280px) {
    .hero h1            { font-size: clamp(2.6rem, 4.4vw, 4rem); }
    .sec-h-light, .sec-h-dark { font-size: clamp(2.3rem, 3.3vw, 3.1rem); }
    .stat-item h3       { font-size: 2.8rem; }
    .nav-links          { gap: 2.5rem; }
    .why-grid, .contact-grid { gap: 4.5rem; }
    .hero-inner         { gap: 5rem; }
}

/* ── ≤1100: Footer adjustments ── */
@media (max-width: 1100px) {
    .footer-top         { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
    .eq-grid            { grid-template-columns: repeat(4, 1fr) !important; }
}

/* ── ≤1024: Tablet landscape ── */
@media (max-width: 1024px) {
    nav                 { padding: 0 4%; height: 76px; }
    .logo               { font-size: 1.45rem; }
    .nav-links          { gap: 1.8rem; }
    .nav-links a        { font-size: 1rem; letter-spacing: .9px; }
    .nav-cta            { font-size: 1rem; padding: .55rem 1.3rem; }

    .sec                { padding: 4rem 4%; }
    .sec-hdr            { margin-bottom: 3.5rem; }

    .hero               { min-height: calc(100vh - 76px); }
    .hero-inner         { gap: 3rem; }
    .hero h1            { font-size: clamp(2.3rem, 4.2vw, 3.4rem); }
    .hero p             { font-size: 1.2rem; }

    .stat-item h3       { font-size: 2.4rem; }
    .stat-item p        { font-size: .9rem; }

    .why-grid, .contact-grid { gap: 3.5rem; }

    .eq-grid            { grid-template-columns: repeat(3, 1fr); }
    .steps              { grid-template-columns: repeat(3, 1fr); }
    .step               { border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); }

    .panel-text h3      { font-size: 2rem; }
    .panel-text p       { font-size: 1.15rem; }
    .ptag               { font-size: .95rem; }

    .eq-img-frame       { height: 220px; }
    .eq-card            { padding: 2.5rem 2rem 2.2rem; }
    .eq-grid            { grid-template-columns: repeat(3, 1fr) !important; }
    .steps              { grid-template-columns: repeat(3, 1fr) !important; }
}

/* ── ≤820: Tablet portrait ── */
@media (max-width: 820px) {
    /* Mobile nav: hide inline links + CTA, show hamburger + dropdown */
    .nav-links {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: .5rem 0;
        transform: translateX(0);
        max-height: 0;
        overflow: hidden;
        transition: max-height .28s ease;
        z-index: 199;
        position: absolute;
        left: 0; right: 0;
        transform: none;
    }
    .nav-links.nav-links-open {
        max-height: 500px;
    }
    .nav-links li {
        padding: 0;
    }
    .nav-links a {
        display: block;
        padding: 1rem 6%;
        border-bottom: 1px solid var(--border);
    }
    .nav-mobile-cta { display: block; }
    .nav-mobile-cta a {
        color: var(--g);
        font-weight: 800;
    }
    .nav-cta            { display: none; }
    .nav-toggle         { display: inline-flex; align-items: center; justify-content: center; }

    .hero-inner         { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero h1            { font-size: clamp(2.1rem, 5vw, 2.8rem); }
    .hero p             { font-size: 1.05rem; max-width: none; }
    .badge              { font-size: .9rem; }

    .stats-inner        { grid-template-columns: repeat(2, 1fr); gap: .5rem; }
    .stat-item          { border-right: none; padding: .8rem 0; }
    .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.06); }
    .stat-item h3       { font-size: 2rem; }

    .sec                { padding: 3.2rem 4%; }
    .sec-h-light, .sec-h-dark { font-size: clamp(1.9rem, 4.2vw, 2.5rem); }
    .sec-sub-light, .sec-sub-dark { font-size: 1.05rem; }
    .sec-hdr            { margin-bottom: 2.5rem; }

    .tab-panel          { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 3rem; }
    .why-grid           { grid-template-columns: 1fr; gap: 2.5rem; }
    .contact-grid       { grid-template-columns: 1fr; gap: 2.5rem; }
    .diag-panel-col     { min-height: 460px; }

    .eq-grid            { grid-template-columns: repeat(2, 1fr) !important; gap: 1rem !important; }
    .eq-card            { padding: 2rem 1.5rem 1.8rem; }
    .eq-img-frame       { height: 180px; }
    .eq-card h4         { font-size: 1.2rem; }
    .eq-card p          { font-size: 1rem; }

    .steps              { grid-template-columns: repeat(2, 1fr) !important; }
    .step               { padding: 2.2rem 1.5rem; border-right: 1px solid rgba(255,255,255,.07); }
    .step:nth-child(2n) { border-right: none; }

    .c-form             { padding: 2.5rem 1.8rem; }

    .footer             { padding: 4rem 4% 0; }
    .footer-cta-band    { padding: 2.8rem 4%; }
    .footer-cta-inner   { flex-direction: column; align-items: flex-start; gap: 1.4rem; }
    .footer-cta-inner h3 { font-size: 1.55rem; }

    /* Tabs become a grid on mobile — all 8 visible at once, no scrolling */
    .tabs-row {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: .4rem .2rem;
        overflow: visible;
        border-bottom: 1px solid var(--border);
        padding: .6rem 0 1rem;
    }
    .tab-btn            { min-width: 0; padding: .9rem .35rem; gap: .45rem; }
    .tab-icon-wrap, .tab-icon-img { height: 34px; }
    .tab-label          { font-size: .82rem; line-height: 1.15; text-align: center; }

    /* Hide sliding underline — use opacity for active state instead */
    .tab-slider         { display: none; }
    .tab-icon-img       { opacity: .35; filter: grayscale(.7); transition: opacity .2s, filter .2s, transform .2s; }
    .tab-btn            { color: rgba(0,0,0,.35); }
    .tab-btn.active     { color: var(--g); }
    .tab-btn.active .tab-icon-img { opacity: 1; filter: grayscale(0); transform: scale(1.08); }

    .panel-text h3      { font-size: 1.8rem; }
    .panel-text p       { font-size: 1rem; }
    .panel-tags         { gap: .4rem; }
    .ptag               { font-size: .9rem; padding: .3rem .8rem; }
}

/* ── ≤640: Mobile ── */
@media (max-width: 640px) {
    nav                 { padding: 0 5%; height: 68px; }
    .nav-links          { top: 68px; }
    .logo               { font-size: 1.3rem; }

    .hero               { min-height: auto; padding: 3rem 0 2.5rem; }
    .hero h1            { font-size: 2.05rem; line-height: 1.1; }
    .hero p             { font-size: 1rem; line-height: 1.65; margin-bottom: 1.8rem; }
    .hero-btns          { gap: .8rem; }
    .btn                { font-size: 1rem; padding: .9rem 1.6rem; }

    .stat-item h3       { font-size: 1.7rem; }
    .stat-item p        { font-size: .8rem; }

    .sec                { padding: 2.8rem 5%; }
    .sec-h-light, .sec-h-dark { font-size: 1.85rem; line-height: 1.15; }
    .sec-sub-light, .sec-sub-dark { font-size: 1rem; }
    .sec-tag-light, .sec-tag-dark { font-size: .85rem; }
    .sec-hdr            { margin-bottom: 2rem; }

    .tab-panel          { gap: 2rem; padding-top: 2.2rem; }
    .panel-text h3      { font-size: 1.55rem; }
    .panel-text p       { font-size: .96rem; line-height: 1.6; margin-bottom: 1.5rem; }
    .panel-tags         { margin-bottom: 1.5rem; }
    .ptag               { font-size: .82rem; }

    .why-grid           { gap: 2rem; }
    .why-row h4         { font-size: 1.15rem; }
    .why-row p          { font-size: 1rem; }
    .why-items          { gap: 1.6rem; margin-top: 2rem; }
    .diag-panel-col     { min-height: 420px; }

    .eq-grid            { grid-template-columns: 1fr !important; }
    .eq-card            { padding: 1.8rem 1.5rem; }
    .eq-img-frame       { height: 200px; }

    .steps              { grid-template-columns: 1fr !important; border-top: none; }
    .step               { padding: 1.8rem 1rem; border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); }
    .step:nth-child(2n) { border-right: none; }
    .step:last-child    { border-bottom: none; }

    .c-form             { padding: 2rem 1.4rem; }
    .c-form h3          { font-size: 1.4rem; }
    .fg input, .fg textarea, .fg select { font-size: 1.05rem; padding: .85rem 1rem; }
    .fsub               { font-size: 1.05rem; padding: 1rem; }

    .c-row h4           { font-size: 1.05rem; }
    .c-row p            { font-size: 1rem; }
    .c-info             { gap: 1.6rem; margin-top: 2rem; }

    .footer-top         { grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 3rem; text-align: center; }
    .footer-wordmark    { font-size: 2rem; }
    .footer-tagline     { font-size: 1rem; max-width: none; margin-left: auto; margin-right: auto; }
    .footer-certs       { align-items: center; }
    .footer-col h5      { text-align: center; }
    .footer-col ul      { align-items: center; }
    .footer-col-info    { align-items: center; }
    .footer-info-row    { justify-content: center; text-align: left; }
    .footer-cta-band    { padding: 2.2rem 5%; text-align: center; }
    .footer-cta-inner   { align-items: center !important; text-align: center; }
    .footer-cta-inner h3 { font-size: 1.35rem; }
    .footer-bottom      { flex-direction: column; align-items: center; gap: 1rem; padding: 1.8rem 0; text-align: center; }
    .footer-legal       { justify-content: center; }

    .stats-bar          { padding: .6rem 5%; }

    /* Tabs grid stays 4-col but tighter padding */
    .tabs-row           { padding: .5rem 0 .9rem; gap: .35rem .15rem; }
    .tab-btn            { padding: .8rem .25rem; gap: .4rem; }
    .tab-icon-wrap, .tab-icon-img { height: 30px; }
    .tab-label          { font-size: .76rem; }

    .wa-btn             { width: 56px; height: 56px; font-size: 1.6rem; bottom: 1.3rem; right: 1.3rem; }

    .lb-close           { width: 38px; height: 38px; top: 12px; right: 12px; }
    .lb-arrow           { width: 40px; height: 40px; }
    .lb-prev            { left: 6px; }
    .lb-next            { right: 6px; }
    .lb-img             { max-width: 94vw; max-height: 78vh; }
}

/* ── ≤420: Small mobile ── */
@media (max-width: 420px) {
    .logo               { font-size: 1.15rem; }
    .hero h1            { font-size: 1.85rem; }
    .stats-inner        { grid-template-columns: 1fr; }
    .stat-item          { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,.06); }
    .stat-item:last-child { border-bottom: none; }
    .stat-item h3       { font-size: 1.6rem; }

    .hero-btns          { flex-direction: column; align-items: stretch; }
    .btn                { justify-content: center; }

    .footer-cta-inner h3 { font-size: 1.2rem; }
    .footer-cta-inner .btn { width: 100%; justify-content: center; }

    .gallery-grid       { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: .6rem; }

    .tab-icon-wrap, .tab-icon-img { height: 28px; }
    .tab-label          { font-size: .74rem; }

    .panel-tags .ptag   { font-size: .78rem; padding: .25rem .65rem; }

    .form-alt-note      { font-size: .76rem; }
}

/* ── GALLERY ─────────────────────────────────────────────────── */
.gallery-wrap {
  width: 100%;
}

.gallery-empty {
  text-align: center;
  color: rgba(255,255,255,.3);
  font-size: .95rem;
  padding: 3rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.gallery-thumb {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  background: #1a2830;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.gallery-thumb:hover img {
  transform: scale(1.05);
}

/* ── LIGHTBOX ────────────────────────────────────────────────── */
.lb-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0,0,0,.92);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  animation: lb-in .18s ease;
}
@keyframes lb-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lb-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 2;
}
.lb-close:hover { background: rgba(255,255,255,.22); }

.lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 2;
}
.lb-arrow:hover { background: rgba(37,211,102,.35); }
.lb-prev { left: 24px; }
.lb-next { right: 24px; }

.lb-img-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 90vw;
  max-height: 90vh;
}

.lb-img {
  max-width: 88vw;
  max-height: 82vh;
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  animation: lb-pop .22s cubic-bezier(.34,1.4,.64,1);
}
@keyframes lb-pop {
  from { transform: scale(.88); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.lb-counter {
  color: rgba(255,255,255,.55);
  font-size: .88rem;
  letter-spacing: .04em;
}

/* Gallery + lightbox responsive rules now consolidated into the main responsive block above. */
