:root {
    --green: #00732E;
    --green-light: #00a843;
    --green-dim: #004d1f;
    --green-mist: #e8f5ed;
    --green-pale: #f0faf4;
    --charcoal: #1c1c1e;
    --slate: #4a4a52;
    --muted: #8a8a94;
    --border: #e2e2e8;
    --white: #ffffff;
    --cream: #fafaf8;
    --radius: 4px;
    --radius-lg: 10px;
    --nav-h: 68px;
}

body {
    animation: pageEnter .8s ease-out;
}

@keyframes pageEnter {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ================================================
RESET & BASE
================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--white);
    color: var(--charcoal);
    overflow-x: hidden;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* ================================================
NAVBAR
================================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    height: var(--nav-h);
    background: var(--white);
    box-shadow: 0 1px 0 var(--border);
    min-width: 0;
    gap: 16px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    text-decoration: none;
}

.nav-logo-mark {
    width: 42px;
    height: 42px;
    background: var(--green);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-logo-mark svg {
    width: 22px;
    height: 22px;
}

.nav-logo-text {
    font-size: 25px;
    font-weight: 400;
    color: var(--slate);
    line-height: 1.3;
}

.nav-logo-text b {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--charcoal);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
    overflow: visible;
}

.nav-links>li>a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--slate);
    border-radius: var(--radius);
    white-space: nowrap;
    transition: color .2s, background .2s;
}

.nav-links>li>a:hover {
    color: var(--green);
    background: var(--green-pale);
}

.nav-cta {
    background: var(--green) !important;
    color: var(--white) !important;
    padding: 8px 18px !important;
    border-radius: var(--radius) !important;
    font-weight: 600 !important;
}

.nav-cta:hover {
    background: var(--green-dim) !important;
}

.dropdown-chevron {
    width: 14px;
    height: 14px;
    transition: transform .3s;
    flex-shrink: 0;
}

.nav-dropdown-wrap {
    position: relative;
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 260px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 8px 0;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .12);
    border: 1px solid var(--border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .25s, transform .25s, visibility .25s;
    z-index: 999;
}

.nav-dropdown-wrap:hover>.nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown li {
    width: 100%;
}

.nav-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    font-size: 13.5px;
    font-weight: 400;
    color: var(--slate);
    transition: background .2s, color .2s;
}

.nav-dropdown a:hover {
    background: var(--green-pale);
    color: var(--green);
}

.dd-icon {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green-light);
    flex-shrink: 0;
}

/* Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    z-index: 1001;
    border-radius: var(--radius);
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: transform .35s, opacity .35s;
    transform-origin: center;
}

.menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ================================================
HERO SLIDESHOW — FULLY RESPONSIVE
- width: 100%, auto height (no fixed height)
- flex column on mobile: image stacks above text
- images use object-fit: contain, no cropping
- font-size via clamp() for smooth scaling
================================================ */
.hero {
    margin-top: var(--nav-h);
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--charcoal);
}

/* Slideshow track — fixed height so layout never jumps */
.hero-slides {
    position: relative;
    width: 100%;
    height: 560px;
}

/* Each slide stacks absolutely so cross-fade works */
.hero-slide {
    display: none;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.hero-slide.active {
    display: block;
    opacity: 1;
}

/* Slide background image panel — fills entire slide */
.hero-slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Dark gradient overlay on image */
.hero-slide-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(0, 0, 0, .65) 0%,
            rgba(0, 0, 0, .3) 55%,
            rgba(0, 0, 0, .05) 100%);
    pointer-events: none;
}

        /* Slide text panel — overlaid on image */
        .hero-slide-text {
            position: absolute;
            top: 50%;
            left: 5%;
            transform: translateY(-50%);
            z-index: 3;
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 0;
            max-width: 580px;
            width: 55%;
            background: none;
        }
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'DM Mono', monospace;
    font-size: clamp(9px, 1.2vw, 11px);
    font-weight: 400;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--green-light);
    margin-bottom: 16px;
}

.hero-eyebrow::before {
    content: '';
    width: 22px;
    height: 1px;
    background: var(--green-light);
    flex-shrink: 0;
}

.hero-slide-text h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(28px, 3.5vw, 72px);
    font-weight: 300;
    line-height: 1.08;
    color: var(--white);
}

.hero-slide-text h1 em {
    font-style: italic;
    color: var(--green-light);
}

.hero-sub {
    margin-top: 16px;
    font-size: clamp(12px, 1.4vw, 15px);
    font-weight: 300;
    color: rgba(255, 255, 255, .65);
    line-height: 1.75;
    word-wrap: break-word;
}

.hero-btns {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--green);
    color: var(--white);
    padding: 11px 24px;
    border-radius: var(--radius);
    font-size: clamp(12px, 1.2vw, 13.5px);
    font-weight: 600;
    letter-spacing: .4px;
    text-decoration: none;
    transition: background .2s;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--green-dim);
}

.btn-ghost {
    border: 1px solid rgba(255, 255, 255, .3);
    color: rgba(255, 255, 255, .8);
    padding: 11px 22px;
    border-radius: var(--radius);
    font-size: clamp(12px, 1.2vw, 13.5px);
    font-weight: 500;
    text-decoration: none;
    transition: border-color .2s, color .2s;
    display: inline-block;
}

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, .7);
    color: var(--white);
}

/* NEW: Customer Support / Services Button */
.btn-support {
    background: transparent;
    border: 2px solid var(--green-light);
    color: var(--green-light);
    padding: 11px 22px;
    border-radius: var(--radius);
    font-size: clamp(12px, 1.2vw, 13.5px);
    font-weight: 600;
    letter-spacing: .3px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background .2s, color .2s;
}

.btn-support:hover {
    background: var(--green-light);
    color: var(--white);
}

.btn-support svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

/* Slide dots */
.hero-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    /* padding: 14px 0 18px; */
    background: var(--charcoal);
}

.hero-dot {
    width: 28px;
    height: 2px;
    background: rgba(255, 255, 255, .25);
    border: none;
    cursor: pointer;
    transition: background .3s, width .3s;
    padding: 0;
}

.hero-dot.active {
    background: var(--green-light);
    width: 44px;
}

/* Prev / Next arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, .35);
    border: none;
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s;
}

.hero-arrow:hover {
    background: var(--green);
}

.hero-arrow svg {
    width: 18px;
    height: 18px;
}

.hero-arrow-prev {
    left: 16px;
}

.hero-arrow-next {
    right: 16px;
}

/* ================================================
STATS STRIP
================================================ */
.stats-strip {
    background: var(--green);
    padding: 0 5vw;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 3px solid var(--green-dim);
}

.stat-item {
    padding: 28px 16px;
    border-right: 1px solid rgba(255, 255, 255, .15);
    text-align: center;
}

.stat-item:last-child {
    border-right: none;
}

.stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    color: var(--white);
    line-height: 1;
}

.stat-num sup {
    font-size: 22px;
    vertical-align: super;
}

.stat-label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .65);
    margin-top: 5px;
}

/* ================================================
SECTION COMMONS
================================================ */
section {
    padding: 12px  0;
}

.sec-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'DM Mono', monospace;
    font-size: 10.5px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--green);
    font-weight: 500;
    margin-bottom: 14px;
}

.sec-tag::before {
    content: '';
    width: 20px;
    height: 1px;
    background: currentColor;
    flex-shrink: 0;
}

.sec-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(28px, 4vw, 54px);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -.5px;
}

.sec-title em {
    font-style: italic;
    color: var(--green);
}

.sec-body {
    font-size: clamp(13px, 1.4vw, 15.5px);
    font-weight: 300;
    color: var(--slate);
    line-height: 1.85;
    max-width: 560px;
    margin-top: 14px;
}

/* ================================================
ABOUT
================================================ */
#about {
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-img-wrap {
    position: relative;
    padding-bottom: 24px;
    padding-right: 24px;
}

.about-img {
    width: 100%;
    aspect-ratio: 2/1;
    object-fit: cover;
    border-radius: var(--radius-lg);
    filter: grayscale(20%);
}

/* .about-accent {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 48%;
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 5px solid var(--white);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .12);
} */

/* .about-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
} */

.about-badge {
    position: absolute;
    top: 24px;
    left: -20px;
    background: var(--green);
    color: var(--white);
    padding: 16px 18px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 115, 46, .4);
    z-index: 2;
}

.about-badge .big {
    font-family: 'Cormorant Garamond', serif;
    font-size: 34px;
    font-weight: 600;
    line-height: 1;
}

.about-badge .sm {
    font-size: 9px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: .85;
    margin-top: 4px;
}

.about-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.pill {
    background: var(--green-mist);
    color: var(--green-dim);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(0, 115, 46, .2);
}

/* ================================================
SERVICES GRID — 3 col desktop, 2 col mobile
================================================ */
#services {
    background: var(--white);
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    max-width: 1200px;
    margin: 0 auto 48px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;

    gap: 10px 15px;
}

.srv {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/2;
    cursor: pointer;
}

/* Desktop: borders between cards */
.srv:nth-child(n+4) {
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.srv:not(:nth-child(3n+1)) {
    border-left: 1px solid rgba(255, 255, 255, .1);
}

.srv img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none;
    transition: filter .5s, transform .5s;
}

.srv:hover img {
    filter: none;
    /*transform: scale(1.05);*/
}

.srv-overlay-base {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .1) 60%, transparent 100%);
}

.srv-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 16px;
}

.srv-num {
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
             "Segoe UI", Roboto, sans-serif;
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--green-light);
    margin-bottom: 6px;
}

.srv-title {
    font-family: Arial;
    font-size: clamp(16px, 1.8vw, 22px);
    
    font-style: bold !important;   /* for bold */
    font-weight: 700;     /* for bold */

    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0,0,0,0.8);
    line-height: 1.2;
}

.srv-desc {
    font-size: clamp(11px, 1.1vw, 12.5px);
    font-weight: 300;
    color: rgba(255, 255, 255, .7);
    line-height: 1.5;
    margin-top: 6px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, opacity .3s;
    opacity: 0;
}

.srv:hover .srv-desc {
    max-height: 80px;
    opacity: 1;
}

.srv-arrow {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: var(--green-light);
    margin-top: 8px;
    opacity: 0;
    transition: opacity .3s;
    text-decoration: none;
}

.srv:hover .srv-arrow {
    opacity: 1;
}

/* ================================================
TECH SECTION
================================================ */
#tech {
    background: var(--charcoal);
}

#tech .sec-tag {
    color: var(--green-light);
}

#tech .sec-tag::before {
    background: var(--green-light);
}

#tech .sec-title {
    color: var(--white);
}

#tech .sec-body {
    color: rgba(255, 255, 255, .5);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    background: rgba(255, 255, 255, 255, .08);
    border: 5px solid rgba(255, 255, 255, 255,.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 48px;
    max-width: 1000px;
}

.tech-card {
    background: var(--charcoal);
    padding: 36px 28px;
    transition: background .3s;
}

.tech-card:hover {
    background: #252527;
}

.tech-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 168, 67, .3);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-icon svg {
    width: 22px;
    height: 22px;
}

.tech-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 400;
    color: var(--white);
    margin-bottom: 10px;
}

.tech-card p {
    font-size: clamp(12px, 1.2vw, 13.5px);
    font-weight: 300;
    color: rgba(255, 255, 255, .48);
    line-height: 1.8;
}

.tech-tag {
    display: inline-block;
    margin-top: 16px;
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--green-light);
    padding: 4px 10px;
    border: 1px solid rgba(0, 168, 67, .25);
    border-radius: 100px;
}

/* ================================================
WHY US — 3 col desktop, 2 col mobile
================================================ */
#why {
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 48px auto 0;
}

.why-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 22px;
    transition: box-shadow .25s, transform .25s;
}

.why-card:hover {
    box-shadow: 0 14px 40px rgba(0, 0, 0, .07);
    transform: translateY(-4px);
}

.why-card::before {
    content: '';
    display: block;
    width: 32px;
    height: 3px;
    background: var(--green);
    margin-bottom: 18px;
    border-radius: 2px;
}

.why-card h3 {
    font-size: clamp(15px, 1.5vw, 18px);
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 10px;
}

.why-card p {
    font-size: clamp(12px, 1.2vw, 14px);
    font-weight: 300;
    color: var(--slate);
    line-height: 1.8;
}

/* ================================================
CONTACT
================================================ */
#contact {
    background: var(--green);
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-left .sec-tag {
    color: rgba(255, 255, 255, .7);
}

.contact-left .sec-tag::before {
    background: rgba(255, 255, 255, .5);
}

.contact-left .sec-title {
    color: var(--white);
}

.contact-left .sec-body {
    color: rgba(255, 255, 255, .65);
    max-width: 400px;
}

.contact-items {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ci {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.ci:last-child {
    border-bottom: none;
}

.ci-icon {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, .12);
    border-radius: var(--radius);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ci h5 {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
}

.ci p {
    font-size: 13.5px;
    color: var(--white);
    margin-top: 3px;
}

.contact-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
}

.contact-form h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--charcoal);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.fg {
    margin-bottom: 14px;
}

.fg label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px;
}

.fg input,
.fg select,
.fg textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    color: var(--charcoal);
    background: var(--cream);
    outline: none;
    transition: border-color .2s;
    -webkit-appearance: none;
    appearance: none;
}

.fg input:focus,
.fg select:focus,
.fg textarea:focus {
    border-color: var(--green);
    background: var(--white);
}

.fg textarea {
    height: 80px;
    resize: vertical;
}

.form-btn {
    width: 100%;
    background: var(--green);
    color: var(--white);
    border: none;
    padding: 13px;
    border-radius: var(--radius);
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .5px;
    cursor: pointer;
    transition: background .2s;
}

.form-btn:hover {
    background: var(--green-dim);
}

.form-note {
    font-size: 11px;
    color: var(--muted);
    text-align: center;
    margin-top: 10px;
}

/* ================================================
FOOTER
================================================ */
footer {
    background: #111113;
    padding: 48px 5vw 28px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.footer-brand p {
    font-size: 13px;
    font-weight: 300;
    color: rgba(255, 255, 255, .38);
    line-height: 1.8;
    margin-top: 14px;
    max-width: 260px;
}

.footer-col h5 {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .45);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul a {
    font-size: 13px;
    color: rgba(255, 255, 255, .38);
    text-decoration: none;
    font-weight: 300;
    transition: color .2s;
}

.footer-col ul a:hover {
    color: var(--green-light);
}

.footer-bottom {
    padding-top: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: var(--green-light);
    text-align: center;
}

/* ================================================
IMAGE LOADING & FADE-IN
================================================ */
img {
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

img.loaded {
    opacity: 1;
    animation: none;
    background: none;
}

/* ================================================
SCROLL REVEAL WITH STAGGER
================================================ */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .65s ease, transform .65s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

/* Staggered animation for grid items */
.services-grid .reveal,
.tech-grid .reveal,
.why-grid .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .65s ease, transform .65s ease;
}

.services-grid .srv,
.tech-grid .tech-card,
.why-grid .why-card {
    animation: staggerIn .6s ease-out forwards;
}

@keyframes staggerIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* ================================================
RESPONSIVE — LARGE SCREENS (min 1280px)
Keep nav stable and hero at proper height
================================================ */
@media (min-width: 1280px) {
    .nav {
        padding: 0 6%;
    }

    .hero-slides {
        height: 620px;
    }

    .hero-slide-text {
        max-width: 640px;
        left: 6%;
    }

    section {
        padding: 20px 15px;
    }
}

/* ================================================
RESPONSIVE — TABLET (max 1024px)
================================================ */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-img-wrap {
        max-width: 480px;
        margin: 0 auto;
    }

    .about-badge {
        left: 0;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Recalculate borders for 2-col */
    .srv:nth-child(3n+1) {
        border-left: none;
    }

    .srv:nth-child(2n) {
        border-left: 1px solid rgba(255, 255, 255, .1);
    }

    .srv:nth-child(n+3) {
        border-top: 1px solid rgba(255, 255, 255, .1);
    }

    .srv:nth-child(1),
    .srv:nth-child(2) {
        border-top: none;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .tech-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ================================================
RESPONSIVE — MOBILE NAV (max 991px)
================================================ */
@media (max-width: 991px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 12px 20px 40px;
        overflow-y: auto;
        overflow-x: hidden;
        transform: translateX(100%);
        transition: transform .35s cubic-bezier(.4, 0, .2, 1);
        z-index: 999;
    }

    .nav-links.is-open {
        transform: translateX(0);
    }

    .nav-links>li {
        width: 100%;
        border-bottom: 1px solid var(--border);
    }

    .nav-links>li:last-child {
        border-bottom: none;
        margin-top: 10px;
    }

    .nav-links>li>a {
        padding: 13px 4px;
        font-size: 15px;
        justify-content: space-between;
        width: 100%;
        border-radius: 0;
    }

    .nav-links>li>a:hover {
        background: transparent;
        color: var(--green);
    }

    .nav-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--green-pale);
        border-radius: var(--radius);
        border: none;
        border-left: 3px solid var(--green);
        margin: 0 0 6px;
        padding: 2px 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height .35s ease;
        display: block;
    }

    .nav-dropdown-wrap.open>.nav-dropdown {
        max-height: 500px;
    }

    .nav-dropdown-wrap:hover>.nav-dropdown {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-dropdown a {
        padding: 10px 16px;
        font-size: 13px;
    }

    .nav-dropdown-wrap.open .dropdown-chevron {
        transform: rotate(180deg);
    }

    .nav-cta {
        text-align: center;
        justify-content: center !important;
    }
}

/* ================================================
RESPONSIVE — TABLET (max 768px)
================================================ */
@media (max-width: 768px) {
    section {
        padding: 12px 0;
    }

    /* Hero: shorter height on tablet */
    .hero-slides {
        height: 420px;
    }

    .hero-slide-text {
        width: 65%;
        left: 5%;
    }

    .stats-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
    }

    .stat-item:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, .12);
    }

    .stat-item:nth-child(3),
    .stat-item:nth-child(4) {
        border-bottom: none;
    }

    /* Services: 2 cols on tablet */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    /* Why: 2 cols on tablet */
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        margin-top: 32px;
    }

    .contact-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 26px 20px;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

/* ================================================
RESPONSIVE — SMALL MOBILE (max 576px)
================================================ */
@media (max-width: 576px) {
    :root {
        --nav-h: 58px;
    }

    .nav {
        padding: 0 14px;
    }

    .nav-logo-text {
        font-size: 12px;
    }

    .nav-logo-text b {
        font-size: 13px;
    }

    .nav-logo-mark {
        width: 36px;
        height: 36px;
    }

    section {
        padding: 10px 0;
    }

    /* Hero mobile: compact fixed height */
    .hero-slides {
        height: 300px;
    }

    .hero-slide-text {
        width: 50%;
        left: 5%;
        max-width: unset;
    }

    .hero-eyebrow {
        font-size: 6px;
        letter-spacing: 1.8px;
        margin-bottom: 10px;
    }

    .hero-slide-text h1 {
        font-size: clamp(12px, 6.5vw, 34px);
        letter-spacing: -.3px;
    }

    .hero-sub {
        font-size: clamp(8px, 3.2vw, 13px);
        margin-top: 10px;
        line-height: 1.65;
        /* Shorten text on mobile */
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
    }

    .hero-btns {
        gap: 8px;
        margin-top: 16px;
    }

    .btn-primary,
    .btn-ghost,
    .btn-support {
        padding: 9px 16px;
        font-size: 12px;
    }

    .hero-dots {
        padding: 10px 0 14px;
    }

    .hero-dot {
        width: 22px;
    }

    .hero-dot.active {
        width: 36px;
    }

    .hero-arrow {
        width: 32px;
        height: 32px;
    }

    .hero-arrow svg {
        width: 14px;
        height: 14px;
    }

    /* Stats: 2 per row */
    .stats-strip {
        grid-template-columns: 1fr 1fr;
    }

    .stat-item {
        padding: 18px 10px;
    }

    .stat-num {
        font-size: 30px;
    }

    .stat-num sup {
        font-size: 16px;
    }

    .stat-label {
        font-size: 9px;
        letter-spacing: 1.2px;
    }

    /* About: single col, compact */
    .about-grid {
        gap: 32px;
    }

    .about-badge {
        left: 0;
        top: 10px;
        padding: 12px 14px;
    }

    .about-badge .big {
        font-size: 28px;
    }

    .pill {
        font-size: 11px;
        padding: 5px 12px;
    }

    /* Services: 2 per row on mobile */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .srv {
        aspect-ratio: 1/1;
    }

    /* Reset borders for 2-col */
    .srv {
        border-left: none !important;
        border-top: none !important;
    }

    .srv:nth-child(2n) {
        border-left: 1px solid rgba(255, 255, 255, .1) !important;
    }

    .srv:nth-child(n+3) {
        border-top: 1px solid rgba(255, 255, 255, .1) !important;
    }

    .srv-title {
        font-size: 14px;
    }

    .srv-content {
        padding: 12px 10px;
    }

    .srv-num {
        font-size: 9px;
        margin-bottom: 4px;
    }

    /* Why cards: 2 per row */
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: 24px;
    }

    .why-card {
        padding: 18px 14px;
    }

    .why-card::before {
        width: 24px;
        height: 2px;
        margin-bottom: 12px;
    }

    .why-card h3 {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .why-card p {
        font-size: 11.5px;
        line-height: 1.65;
    }

    /* Tech: 2 per row */
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 28px;
    }

    .tech-card {
        padding: 20px 16px;
    }

    .tech-icon {
        width: 38px;
        height: 38px;
        margin-bottom: 14px;
    }

    .tech-card h3 {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .tech-card p {
        font-size: 11.5px;
        line-height: 1.65;
    }

    .tech-tag {
        font-size: 9px;
        margin-top: 10px;
        padding: 3px 8px;
    }

    /* Contact form: compact */
    .contact-form {
        padding: 20px 16px;
    }

    .contact-form h3 {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .fg {
        margin-bottom: 10px;
    }

    .fg input,
    .fg select,
    .fg textarea {
        padding: 9px 10px;
        font-size: 13px;
    }

    .fg textarea {
        height: 64px;
    }

    .form-btn {
        padding: 11px;
        font-size: 13px;
    }

    /* Footer: 2-col grid */
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    /* brand spans full width */
    footer {
        padding: 36px 4vw 24px;
    }
}

/* ================================================
EXTRA SMALL (max 380px)
================================================ */
@media (max-width: 380px) {
    .why-grid {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .srv {
        border-left: none !important;
        border-top: 1px solid rgba(255, 255, 255, .1) !important;
    }

    .srv:first-child {
        border-top: none !important;
    }

    .stats-strip {
        grid-template-columns: 1fr 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }
}