.stats-section {
    padding-top: 60px;
    padding-bottom: 20px;
}

.stats-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: stretch;
}

.stats-left {
    display: flex;
    min-width: 0;
}

.stats-globe {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background-image: url('../../images/globe-tech-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    backdrop-filter: none;
    box-shadow: none;
    padding: 20px;
    min-height: 420px;
    overflow: hidden;
    position: relative;
}

.globe-container {
    width: 100%;
    max-width: 420px;
    height: 420px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    width: 100%;
}

.stat-card {
    text-align: center;
    padding: 28px 20px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(3,5,8,0.78) 0%, rgba(2,4,7,0.94) 100%);
    border: 1px solid rgba(255,255,255,0.06);
    backdrop-filter: blur(16px) saturate(120%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 20px 40px rgba(0,0,0,0.45), 0 0 22px rgba(255,140,26,0.05);
}

.stat-number {
    font-size: 46px;
    font-weight: 800;
    background: linear-gradient(90deg, #ff9a2f 0%, #eb9d53 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    color: rgba(230, 237, 243, 0.78);
    letter-spacing: 0.02em;
}

/* tablet */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-layout {
        grid-template-columns: 1fr;
    }

    .stats-globe {
        margin-top: 20px;
        min-height: 360px;
    }

    .globe-container {
        height: 340px;
        max-width: 340px;
    }
}

/* mobile */
@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .stat-card {
        padding: 18px 14px;
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-label {
        font-size: 12px;
    }

    .stats-globe {
        min-height: 280px;
        padding: 14px;
    }

    .globe-container {
        height: 260px;
        max-width: 260px;
    }
}

.globe-container canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}
/* ==============================
   LOWER SECTIONS
================================ */

.hero-section {
    position: relative;
    padding: 118px 0 54px;
    margin-top: 0;
}

.hero-stage {
    position: relative;
    min-height: 560px;
    border-radius: 5px;
    overflow: hidden;
    border: none;
    background: #071019;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
}

.hero-stage-bg {
    position: absolute;
    inset: 0;
}

.hero-stage-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    filter: saturate(0.84) contrast(1.05) brightness(0.70);
}

.hero-stage-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 18% 42%, rgba(255,140,26,0.24) 0%, rgba(255,140,26,0.10) 18%, rgba(255,140,26,0.02) 34%, transparent 48%),
        linear-gradient(
            90deg,
            rgba(7,10,16,0.96) 0%,
            rgba(8,12,18,0.88) 34%,
            rgba(8,12,18,0.52) 58%,
            rgba(8,12,18,0.18) 78%,
            rgba(8,12,18,0.08) 100%
        );
}

.hero-stage-glow {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.hero-stage-glow-left {
    left: -40px;
    top: 260px;
    width: 340px;
    height: 220px;
    background: radial-gradient(circle, rgba(255,140,26,0.26) 0%, rgba(255,140,26,0) 70%);
    filter: blur(18px);
}

.hero-stage-glow-bottom {
    left: 0;
    right: 0;
    bottom: -30px;
    height: 180px;
    background: radial-gradient(circle at 20% 50%, rgba(255,140,26,0.28) 0%, rgba(255,140,26,0) 32%),
                radial-gradient(circle at 58% 30%, rgba(255,106,0,0.20) 0%, rgba(255,106,0,0) 28%);
    filter: blur(12px);
}

.hero-panel {
    position: relative;
    z-index: 2;
    width: min(560px, calc(100% - 56px));
    margin: 32px 0 0 28px;
    padding: 8px 0 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
}

.hero-badge {
    background: rgba(255,255,255,0.08);
    color: #f5f7fa;
    font-size: 12px;
    letter-spacing: 0.02em;
}

.hero-title {
    margin-top: 10px;
    font-size: 76px;
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.hero-title span {
    display: block;
    margin-top: 8px;
    color: #ff8c1a;
}

.hero-text {
    margin-top: 22px;
    max-width: 420px;
    color: rgba(230, 237, 243, 0.84);
    font-size: 18px;
    line-height: 1.65;
}

.hero-actions {
    margin-top: 28px;
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    align-items: flex-start;
}

.btn {
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
    width: auto;
}

.btn-primary {
    background: linear-gradient(45deg, #ff8c1a, #ff6a00);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(255,140,26,0.35);
}

.btn-secondary {
    background: rgba(255,255,255,0.04);
    border: none;
    color: #ffffff;
}

.hero-service-strip {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 28px;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.hero-service-card {
    display: flex;
    flex-direction: column;
    padding: 12px 12px 16px;
    border-radius: 5px;
    background: rgba(12,18,28,0.55);
    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow:
        0 14px 34px rgba(0,0,0,0.30),
        inset 0 1px 0 rgba(255,255,255,0.08);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.hero-service-image {
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 14px;
    aspect-ratio: 1.7 / 1;
}

.hero-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-service-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.hero-service-body h3 {
    font-size: 22px;
    line-height: 1.1;
    margin-bottom: 10px;
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-service-body p {
    color: rgba(230, 237, 243, 0.78);
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
    word-break: break-word;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;
    text-overflow: ellipsis;
}

.service-preview-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
    color: #ff8c1a;
    text-shadow: 0 0 12px rgba(255,140,26,0.22);
    font-size: 14px;
    font-weight: 700;
}

.service-preview-link::after {
    content: '→';
    font-size: 15px;
}

/* ==============================
   LOWER SECTIONS
================================ */

.home-section {
    padding: 56px 0;
}

.section-heading {
    padding: 20px 22px 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(3,5,8,0.78) 0%, rgba(2,4,7,0.94) 100%);
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 20px 40px rgba(0,0,0,0.45), 0 0 22px rgba(255,140,26,0.05);
    backdrop-filter: blur(16px) saturate(120%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    margin-bottom: 18px;
}

.section-heading h2 {
    display: block;
    padding: 0;
    background: linear-gradient(90deg, #ffb14a 0%, #fff3de 100%);
    color: #f7efe4;
    border-radius: 0;
    font-size: 22px;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-heading p {
    margin-top: 0;
    max-width: 760px;
    color: rgba(232, 236, 242, 0.72);
    font-size: 13px;
    line-height: 1.5;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 7px 12px;
    background: linear-gradient(45deg, #ff8c1a, #ff6a00);
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(255,140,26,0.22);
    margin-bottom: 12px;
}
.feature-grid,
.project-grid,
.references-grid,
.contact-preview-grid {
    display: grid;
    gap: 22px;
}

.feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.project-grid,
.references-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.references-partners {
    margin-top: 28px;
}

.references-partners-title {
    display: inline-block;
    margin: 0 0 22px;
    padding: 14px 26px;
    border-radius: 14px;
    background: linear-gradient(180deg, #1b1e23 0%, #111317 100%);
    color: #ffffff;
    font-size: 22px;
    line-height: 1.15;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 12px 30px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.04);
    -webkit-text-fill-color: initial;
}

.partners-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.partner-card {
    min-height: 96px;
    padding: 10px;
    border-radius: 5px;
    background: rgba(14,20,30,0.55);
    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow:
        0 14px 34px rgba(0,0,0,0.30),
        inset 0 1px 0 rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.partner-card img {
    width: auto;
    max-width: calc(100% - 8px);
    max-height: calc(100% - 20px);
    height: auto;
    object-fit: contain;
    display: block;
    filter: grayscale(100%) brightness(1.2);
    opacity: 0.92;
    transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.partner-card:hover img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: scale(1.03);
}

.contact-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.project-card,
.reference-card,
.contact-preview-card {
    padding: 20px 18px 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(3,5,8,0.78) 0%, rgba(2,4,7,0.94) 100%);
    backdrop-filter: blur(16px) saturate(120%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 20px 40px rgba(0,0,0,0.45), 0 0 22px rgba(255,140,26,0.05);
}

.reference-card,
.contact-preview-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    min-height: 100%;
}

.feature-card h3,
.project-card-body h3,
.reference-card h3,
.contact-preview-card h2 {
    margin-bottom: 10px;
    background: linear-gradient(90deg, #ffb14a 0%, #ffffff 100%);
    font-size: 18px;
    line-height: 1.15;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.reference-card .section-badge,
.contact-preview-card .section-badge {
    margin-bottom: 14px;
}

.feature-card p,
.project-card-body p,
.reference-card p,
.contact-preview-card p {
    color: rgba(230, 237, 243, 0.76);
    font-size: 12px;
    line-height: 1.5;
}

.project-card img {
    width: 100%;
    height: 136px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 14px;
}

.reference-stars {
    color: #ffb038;
    margin-bottom: 10px;
    letter-spacing: 0.08em;
    font-size: 15px;
    text-shadow: 0 0 14px rgba(255,176,56,0.18);
}

.reference-card p,
.contact-preview-card p {
    margin-bottom: 14px;
}

.reference-card p:last-child,
.contact-preview-card p:last-child {
    margin-bottom: 0;
}

/* ==============================
   TABLET
================================ */

@media (max-width: 1200px) {
    .hero-title {
        font-size: 64px;
    }

    .hero-stage {
        min-height: 820px;
    }

    .hero-service-strip {
        left: 24px;
        right: 24px;
    }

    .hero-panel {
        margin-left: 24px;
        width: min(520px, calc(100% - 48px));
    }
}

@media (max-width: 1024px) {
    .hero-stage {
        min-height: auto;
        padding: 30px 24px 24px;
    }

    .hero-stage-bg img {
        object-position: center right;
    }

    .hero-panel {
        width: min(100%, 560px);
        margin: 24px 0 0;
        padding: 24px;
    }

    .hero-title {
        font-size: 54px;
    }

    .hero-text {
        font-size: 17px;
    }

    .hero-section {
        margin-top: 100px;
    }
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 42%, rgba(255,140,26,0.22) 0%, rgba(255,140,26,0.10) 18%, rgba(255,140,26,0.02) 34%, transparent 48%),
        linear-gradient(
            90deg,
            rgba(7,10,16,0.96) 0%,
            rgba(8,12,18,0.88) 34%,
            rgba(8,12,18,0.52) 58%,
            rgba(8,12,18,0.18) 78%,
            rgba(8,12,18,0.08) 100%
        );
    pointer-events: none;
    z-index: 0;
}
    .hero-service-strip {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        margin-top: 190px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .project-grid,
    .references-grid,
    .contact-preview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .partners-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .partner-card {
        padding: 10px;
    }

    .partner-card img {
        max-width: calc(100% - 8px);
        max-height: calc(100% - 20px);
    }
}

/* ==============================
   MOBILE
================================ */

@media (max-width: 767px) {
    .references-partners-title {
        padding: 12px 18px;
        border-radius: 12px;
        font-size: 18px;
        margin-bottom: 16px;
    }
    .hero-section {
        padding: 20px 0 24px;
        margin-top: 90px;
    }
    

    .hero-stage {
        border-radius: 5px;
        padding: 18px 18px 18px;
        min-height: 420px;
    }

    .hero-stage-bg img {
        object-position: 68% center;
        height: 55%;
    }

    .hero-stage-overlay {
        display: none;
    }

    .hero-panel {
        width: 100%;
        margin: 8px 0 0;
        padding: 18px;
        border-radius: 5px;
    }

    .hero-title {
        font-size: 34px;
    }

    .hero-title span {
        margin-top: 4px;
    }

    .hero-text {
        margin-top: 14px;
        font-size: 13px;
        line-height: 1.55;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .btn {
        min-height: 38px;
        padding: 8px 16px;
        font-size: 13px;
    }

    .hero-service-strip {
        margin-top: 22px;
        display: inline-flex;
        align-items: stretch;
        gap: 14px;
        overflow: visible;
        padding-bottom: 6px;
        position: relative;
        width: max-content;
        min-width: max-content;
        max-width: none;
    }

    .hero-service-strip--mobile-carousel {
        will-change: transform;
        transition: transform 0.38s ease;
        transform: translate3d(0, 0, 0);
        backface-visibility: hidden;
    }

    .hero-service-card {
        display: flex;
        flex-direction: column;
        padding: 12px 12px 16px;
        border-radius: 5px;
        transition: transform 0.35s ease, box-shadow 0.35s ease, border 0.35s ease, background 0.35s ease;
    }
    .hero-service-card {
        flex: 0 0 180px;
        min-width: 180px;
        max-width: 180px;
    }

    .hero-service-card.is-center {
        transform: scale(1.05);
        border: 1px solid rgba(255,140,26,0.65);
        box-shadow: 0 0 20px rgba(255,140,26,0.42);
        background: rgba(40,24,12,0.92);
    }

    .hero-service-body h3 {
        font-size: 18px;
        line-height: 1.15;
        display: block;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .hero-service-body p {
        font-size: 13px;
        line-height: 1.45;
        overflow-wrap: anywhere;
        word-break: break-word;

        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;

        overflow: hidden;
        text-overflow: ellipsis;
    }

    .hero-service-strip::-webkit-scrollbar {
        height: 6px;
    }

    .hero-service-strip::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,0.18);
        border-radius: 5px;
    }

    .section-heading {
        padding: 16px 14px 14px;
        border-radius: 14px;
        margin-bottom: 16px;
        background: linear-gradient(180deg, rgba(8,8,10,0.92) 0%, rgba(3,3,4,0.98) 100%);
        border: 1px solid rgba(255,255,255,0.06);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 16px 30px rgba(0,0,0,0.42), 0 0 18px rgba(255,140,26,0.05);
    }

    .section-heading h2 {
        font-size: 22px;
    }

    .feature-grid,
    .project-grid,
    .references-grid,
    .contact-preview-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .partners-strip {
        margin-top: 12px;
        display: inline-flex;
        align-items: stretch;
        gap: 14px;
        overflow: visible;
        padding-bottom: 6px;
        position: relative;
        width: max-content;
        min-width: max-content;
        max-width: none;
        will-change: transform;
        transition: transform 0.38s ease;
        transform: translate3d(0, 0, 0);
        backface-visibility: hidden;
    }

    .partner-card {
        flex: 0 0 180px;
        min-width: 180px;
        max-width: 180px;
        min-height: 64px;
        height: 64px;
        padding: 6px;
        overflow: hidden;
        transition: transform 0.35s ease, box-shadow 0.35s ease, border 0.35s ease, background 0.35s ease;
    }

    .partner-card.is-center {
        transform: none;
        border: none;
        box-shadow: 0 15px 34px rgba(0,0,0,0.32);
        background: rgba(9, 14, 22, 0.82);
    }


    .partner-card img {
        max-width: 165%;
        max-height: 102px;
    }

    .partner-card.is-center img {
        filter: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .partners-strip::-webkit-scrollbar {
        height: 6px;
    }

    .partners-strip::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,0.18);
        border-radius: 5px;
    }

    .home-section {
        padding: 40px 0;
    }

    .feature-card,
    .project-card,
    .reference-card,
    .contact-preview-card {
        padding: 16px 14px 14px;
        border-radius: 14px;
    }

    .feature-card h3,
    .project-card-body h3,
    .reference-card h3,
    .contact-preview-card h2 {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .feature-card p,
    .project-card-body p,
    .reference-card p,
    .contact-preview-card p,
    .section-heading p {
        font-size: 13px;
        line-height: 1.6;
    }
}

@media (max-width: 420px) {
    .hero-service-card {
        flex-basis: 170px;
        min-width: 170px;
        max-width: 170px;
    }

    .partner-card {
        flex-basis: 170px;
        min-width: 170px;
        max-width: 170px;
        min-height: 60px;
        height: 60px;
        padding: 6px;
    }

    .partner-card img {
        max-width: 160%;
        max-height: 92px;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-text {
        font-size: 12px;
    }

    .hero-service-body h3 {
        font-size: 16px;
    }
}

/* DESKTOP ONLY: cards below hero + wider layout */
@media (min-width: 1025px) {
    .hero-section {
        padding-bottom: 300px;
    }

    .hero-section .container,
    .stats-section .container,
    .home-section .container {
        width: calc(100% - 48px);
        max-width: calc(100% - 48px);
    }

    .hero-stage {
        min-height: 560px;
        overflow: visible;
    }

    .hero-service-strip {
        left: 28px;
        right: 28px;
        bottom: -255px;
        gap: 18px;
    }

    .hero-service-card {
        min-height: 300px;
    }

    .partners-strip {
        gap: 14px;
    }

    .partner-card {
        min-height: 78px;
        padding: 8px;
    }

    .partner-card img {
        max-width: calc(100% - 20px);
        max-height: 124px;
        filter: none;
        opacity: 1;
        transform: none;
    }

    .partner-card:hover img {
        filter: none;
        opacity: 1;
        transform: none;
    }
}

/* SAFE DESKTOP OVERRIDE – smaller hero service cards v2 */
@media (min-width: 1025px) {
    .hero-service-strip {
        left: 64px;
        right: 64px;
        bottom: -235px;
        gap: 14px;
    }

    .hero-service-card {
        min-height: 235px;
        padding: 10px 10px 12px;
    }

    .hero-service-image {
        margin-bottom: 10px;
        aspect-ratio: 2 / 1;
    }

    .hero-service-body h3 {
        font-size: 17px;
        margin-bottom: 7px;
    }

    .hero-service-body p {
        font-size: 12px;
        line-height: 1.4;
        -webkit-line-clamp: 2;
    }

    .service-preview-link {
        font-size: 12px;
        padding-top: 6px;
    }
}
/* DESKTOP ONLY – service cards below hero like mobile */
@media (min-width: 1025px) {
    .hero-section {
        margin-top: -120px;
        padding-bottom: 40px;
    }


    .hero-stage {
        min-height: auto;
        padding: 32px 28px 28px;
        overflow: hidden;
    }

    .hero-panel {
        width: min(620px, calc(100% - 56px));
        margin: 32px 0 0 28px;
        padding: 0;
    }

    .hero-service-strip {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        margin-top: 210px;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
    }

    .hero-service-card {
        min-height: 230px;
        padding: 10px 10px 12px;
    }

    .hero-service-image {
        margin-bottom: 10px;
        aspect-ratio: 1.8 / 1;
    }

    .hero-service-body h3 {
        font-size: 18px;
        margin-bottom: 7px;
    }

    .hero-service-body p {
        font-size: 12px;
        line-height: 1.4;
        -webkit-line-clamp: 2;
    }

    .service-preview-link {
        font-size: 12px;
        padding-top: 6px;
    }
}
/* ==============================
   HOME REVEAL ANIMATIONS
================================ */

.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale,
.reveal-fade {
    opacity: 0;
    will-change: transform, opacity;
    transition:
        opacity 0.75s ease,
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-up {
    transform: translate3d(0, -60px, 0);
}

.reveal-left {
    transform: translate3d(-42px, 0, 0);
}

.reveal-right {
    transform: translate3d(70px, 0, 0);
}

.reveal-scale {
    transform: scale(0.94);
}

.reveal-fade {
    transform: none;
}

.reveal-up.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-scale.is-visible,
.reveal-fade.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.reveal-stagger > * {
    opacity: 0;
    transform: translate3d(60px, 0, 0);
    will-change: transform, opacity;
    transition:
        opacity 0.7s ease,
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-stagger.is-visible > * {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.06s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.14s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.22s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.30s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.38s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.46s; }

.home-section .section-heading,
.stats-section .stats-grid,
.stats-section .stats-globe,
.hero-panel,
.hero-service-strip,
.feature-grid,
.project-grid,
.references-grid,
.contact-preview-grid,
.partners-strip {
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

@media (prefers-reduced-motion: reduce) {
    .reveal-up,
    .reveal-left,
    .reveal-right,
    .reveal-scale,
    .reveal-fade,
    .reveal-stagger > * {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
