:root {
    --bg: #05080d;
    --bg-light: #080d14;
    --card: #0b111a;

    --text: #f5f7fa;
    --muted: #8a97a8;

    --blue: #2f8cff;
    --blue-light: #67adff;

    --border: rgba(255,255,255,0.08);

    --container: 1180px;
    --radius: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}


/* HEADER */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: .3s ease;
}

.header.scrolled {
    background: rgba(5,8,13,.9);
    backdrop-filter: blur(18px);
    border-color: var(--border);
}

.nav-container {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand-logo {
    width: 135px;
    max-height: 48px;
    object-fit: contain;
}

.nav {
    display: flex;
    align-items: center;
    gap: 23px;
}

.nav a {
    color: #9aa7b7;
    font-size: 11px;
    font-weight: 500;
    transition: .25s;
}

.nav a:hover {
    color: white;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.language-switcher {
    display: flex;
    padding: 4px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: rgba(255,255,255,.025);
}

.lang-btn {
    border: 0;
    padding: 6px 8px;
    border-radius: 6px;
    background: transparent;
    color: #748195;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
}

.lang-btn.active {
    background: var(--blue);
    color: white;
}

.nav-cta {
    padding: 11px 17px;
    border-radius: 8px;
    background: white;
    color: #05080d;
    font-size: 11px;
    font-weight: 800;
    transition: .25s;
}

.nav-cta:hover {
    transform: translateY(-2px);
}

.menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: transparent;
    cursor: pointer;
}

.menu-btn span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: white;
}


/* HERO */

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.hero-grid {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255,255,255,.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.025) 1px,
            transparent 1px
        );

    background-size: 60px 60px;

    mask-image: linear-gradient(
        to bottom,
        black,
        transparent
    );
}

.hero::before {
    content: "";
    position: absolute;
    width: 650px;
    height: 650px;
    right: -200px;
    top: 100px;
    background: rgba(47,140,255,.12);
    filter: blur(130px);
    border-radius: 50%;
}

.hero-container {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;

    gap: 80px;

    padding-top: 100px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 7px 12px;
    margin-bottom: 25px;

    border: 1px solid rgba(47,140,255,.25);
    border-radius: 50px;

    background: rgba(47,140,255,.06);

    color: #79b7ff;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #42a5ff;
    box-shadow: 0 0 12px #42a5ff;
}

.hero h1 {
    max-width: 720px;
    margin-bottom: 25px;

    font-size: 70px;
    line-height: 1;
    letter-spacing: -4px;
    font-weight: 700;
}

.hero p {
    max-width: 590px;
    margin-bottom: 34px;

    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}


/* BUTTONS */

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 50px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;

    padding: 15px 21px;

    border-radius: 10px;

    font-size: 12px;
    font-weight: 800;

    transition: .25s;
}

.btn-primary {
    background: var(--blue);
    color: white;

    box-shadow:
        0 12px 30px rgba(47,140,255,.18);
}

.btn-primary:hover {
    transform: translateY(-3px);
}

.btn-secondary {
    border: 1px solid var(--border);
    background: rgba(255,255,255,.025);
}

.btn-secondary:hover {
    background: rgba(255,255,255,.07);
}

.arrow {
    font-size: 18px;
}


/* TRUST */

.hero-trust {
    display: flex;
    align-items: center;
    gap: 25px;
}

.trust-item {
    display: flex;
    flex-direction: column;
}

.trust-item strong {
    font-size: 22px;
}

.trust-item span {
    color: #657285;
    font-size: 8px;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.trust-line {
    width: 1px;
    height: 35px;
    background: var(--border);
}


/* CAMERA */

.hero-visual {
    display: flex;
    justify-content: center;
}

.camera-card {
    width: 450px;
    max-width: 100%;

    padding: 12px;

    border: 1px solid rgba(255,255,255,.12);
    border-radius: 22px;

    background: rgba(12,18,27,.8);

    box-shadow:
        0 40px 100px rgba(0,0,0,.5),
        0 0 80px rgba(47,140,255,.08);

    transform:
        perspective(1000px)
        rotateY(-6deg)
        rotateX(3deg);
}

.camera-top,
.camera-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 13px 10px;

    color: #718096;

    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1px;
}

.camera-status {
    display: flex;
    align-items: center;
    gap: 7px;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #43e97b;
    box-shadow: 0 0 12px #43e97b;
}

.camera-view {
    height: 300px;
    position: relative;
    overflow: hidden;

    border: 1px solid rgba(255,255,255,.07);
    border-radius: 13px;

    background: #020508;
}

.tashkent-image {
    width: 100%;
    height: 100%;

    object-fit: cover;

    filter:
        brightness(.65)
        contrast(1.1)
        saturate(.85);
}

.camera-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            rgba(8,25,43,.22),
            rgba(0,0,0,.55)
        );
}

.camera-view::before {
    content: "";

    position: absolute;
    inset: 0;
    z-index: 2;

    background-image:
        linear-gradient(
            rgba(255,255,255,.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.025) 1px,
            transparent 1px
        );

    background-size: 30px 30px;
}

.scan-line {
    position: absolute;

    z-index: 5;

    left: 0;
    right: 0;

    height: 1px;

    background: rgba(91,174,255,.8);

    box-shadow:
        0 0 10px rgba(91,174,255,.8);

    animation: scan 4s linear infinite;
}

@keyframes scan {

    0% {
        top: 0;
    }

    100% {
        top: 100%;
    }
}

.camera-info {
    position: absolute;
    z-index: 7;

    left: 18px;
    bottom: 16px;

    display: flex;
    gap: 12px;

    color: #b7dcff;

    font-size: 8px;
    font-weight: 800;
}

.camera-location {
    position: absolute;
    z-index: 7;

    top: 16px;
    left: 18px;

    display: flex;
    align-items: center;
    gap: 7px;

    color: white;

    font-size: 7px;
    font-weight: 800;
    letter-spacing: .8px;
}

.location-dot {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #ff5050;

    box-shadow: 0 0 10px #ff5050;
}

.view-corners {
    position: absolute;
    z-index: 7;

    width: 25px;
    height: 25px;

    border-color: rgba(91,171,255,.8);
}

.corner-tl {
    top: 20px;
    left: 20px;
    border-top: 1px solid;
    border-left: 1px solid;
}

.corner-tr {
    top: 20px;
    right: 20px;
    border-top: 1px solid;
    border-right: 1px solid;
}

.corner-bl {
    bottom: 20px;
    left: 20px;
    border-bottom: 1px solid;
    border-left: 1px solid;
}

.corner-br {
    bottom: 20px;
    right: 20px;
    border-bottom: 1px solid;
    border-right: 1px solid;
}

.camera-bottom small {
    display: block;
    margin-bottom: 3px;
    color: #526174;
}

.camera-bottom strong {
    color: #8998a9;
}

.signal-bars {
    display: flex;
    align-items: end;
    gap: 3px;
}

.signal-bars i {
    display: block;
    width: 3px;
    border-radius: 3px;
    background: #4ca3ff;
}

.signal-bars i:nth-child(1) {
    height: 5px;
}

.signal-bars i:nth-child(2) {
    height: 8px;
}

.signal-bars i:nth-child(3) {
    height: 11px;
}

.signal-bars i:nth-child(4) {
    height: 14px;
}


/* SECTIONS */

.section {
    padding: 125px 0;
}

.section-heading {
    max-width: 650px;
    margin-bottom: 55px;
}

.section-heading.centered {
    margin-inline: auto;
    text-align: center;
}

.section-label {
    margin-bottom: 15px;

    color: var(--blue);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
}

.section-heading h2,
.about-content h2,
.contact-content h2 {
    margin-bottom: 17px;

    font-size: clamp(34px,4vw,55px);

    line-height: 1.08;
    letter-spacing: -2.5px;
}

.section-heading p {
    max-width: 570px;
    color: var(--muted);
    font-size: 13px;
}


/* SERVICES */

.services {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 15px;
}

.service-card {
    position: relative;

    min-height: 320px;

    padding: 31px;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: rgba(255,255,255,.018);

    transition: .35s;
}

.service-card:hover {
    transform: translateY(-7px);

    background: #0f1823;

    border-color: rgba(47,140,255,.3);
}

.service-number {
    position: absolute;

    top: 25px;
    right: 27px;

    color: #34404f;

    font-size: 10px;
    font-weight: 800;
}

.service-icon {
    width: 50px;
    height: 50px;

    display: grid;
    place-items: center;

    margin-bottom: 28px;

    border: 1px solid rgba(47,140,255,.2);
    border-radius: 13px;

    background: rgba(47,140,255,.07);

    font-size: 21px;
}

.service-card h3 {
    margin-bottom: 11px;
    font-size: 17px;
}

.service-card > p {
    margin-bottom: 20px;

    color: var(--muted);

    font-size: 11px;
    line-height: 1.7;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    position: relative;

    padding-left: 16px;
    margin-bottom: 7px;

    color: #657285;

    font-size: 9px;
}

.service-card li::before {
    content: "";

    position: absolute;

    top: 7px;
    left: 0;

    width: 4px;
    height: 4px;

    border-radius: 50%;
    background: var(--blue);
}


/* ABOUT */

.about {
    background: #060a10;
}

.about-grid {
    display: grid;

    grid-template-columns: .9fr 1.1fr;

    align-items: center;

    gap: 100px;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.about-box {
    width: 370px;
    height: 430px;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 25px;

    background:
        linear-gradient(
            145deg,
            rgba(47,140,255,.08),
            transparent
        ),
        #080e17;
}

.about-box::before {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    border: 1px solid rgba(47,140,255,.15);

    border-radius: 50%;
}

.about-logo-image {
    position: relative;
    z-index: 2;

    width: 180px;
    max-height: 100px;

    object-fit: contain;
}

.about-lines {
    position: absolute;

    left: 25px;
    right: 25px;
    bottom: 25px;
}

.about-lines div {
    height: 1px;

    margin-top: 8px;

    background: var(--border);
}

.about-lines div:nth-child(2) {
    width: 70%;
}

.about-lines div:nth-child(3) {
    width: 45%;
}

.about-content > p {
    max-width: 620px;

    margin-bottom: 18px;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.9;
}

.about-features {
    display: grid;

    grid-template-columns: repeat(2,1fr);

    gap: 12px;

    margin-top: 30px;
}

.about-features div {
    display: flex;
    align-items: center;

    gap: 10px;
}

.about-features span {
    width: 22px;
    height: 22px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: rgba(47,140,255,.1);

    color: var(--blue);

    font-size: 10px;
}

.about-features p {
    color: #8793a3;
    font-size: 10px;
}


/* STATS */

.stats-section {
    padding: 70px 0;

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    background: #070b11;
}

.stats-grid {
    display: grid;

    grid-template-columns: repeat(4,1fr);

    gap: 20px;
}

.stat {
    text-align: center;

    border-right: 1px solid var(--border);
}

.stat:last-child {
    border: none;
}

.stat strong {
    font-size: 48px;
    letter-spacing: -3px;
}

.stat > span {
    color: var(--blue);

    font-size: 25px;
    font-weight: 700;
}

.stat p {
    color: #687587;

    font-size: 9px;

    letter-spacing: 1px;

    text-transform: uppercase;
}


/* PROJECTS */

.projects {
    background: var(--bg);
}

.projects-grid {
    display: grid;

    grid-template-columns: repeat(2,1fr);

    gap: 16px;
}

.project-card {
    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: #080d14;

    transition: .3s;
}

.project-card:hover {
    transform: translateY(-5px);

    border-color: rgba(47,140,255,.25);
}

.project-image {
    height: 300px;

    position: relative;

    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: .5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.06);
}

.project-overlay {
    position: absolute;

    left: 20px;
    bottom: 20px;

    padding: 7px 10px;

    border: 1px solid rgba(255,255,255,.12);
    border-radius: 5px;

    background: rgba(0,0,0,.55);

    color: #a5d1ff;

    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1px;
}

.project-info {
    display: flex;
    align-items: center;

    gap: 17px;

    padding: 22px;
}

.project-info > span {
    color: #475365;
    font-size: 9px;
}

.project-info h3 {
    font-size: 13px;
}


/* CLIENTS */

.clients {
    background: var(--bg-light);
}

.clients-grid {
    display: grid;

    grid-template-columns: repeat(4,1fr);

    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);

    margin-bottom: 40px;
}

.client-logo {
    height: 120px;

    display: grid;
    place-items: center;

    padding: 25px;

    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    transition: .3s;
}

.client-logo:hover {
    background: rgba(47,140,255,.04);
}

.client-logo img {
    max-width: 150px;
    max-height: 55px;

    object-fit: contain;

    opacity: .65;

    filter: grayscale(100%);

    transition: .3s;
}

.client-logo:hover img {
    opacity: 1;
    filter: grayscale(0);
}

.more-clients {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 15px;

    padding: 25px;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: rgba(47,140,255,.035);
}

.more-clients strong {
    color: var(--blue);

    font-size: 34px;

    letter-spacing: -2px;
}

.more-clients span {
    color: #8793a3;
    font-size: 11px;
}


/* TECHNOLOGY */

.technologies {
    background: #060a10;

    border-bottom: 1px solid var(--border);
}

.tech-content {
    display: grid;

    grid-template-columns: .8fr 1.2fr;

    align-items: center;

    gap: 80px;
}

.tech-grid {
    display: grid;

    grid-template-columns: repeat(2,1fr);

    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.tech-item {
    min-height: 120px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 14px;

    padding: 20px;

    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    color: #7c899a;

    font-size: 12px;
    font-weight: 800;

    transition: .3s;
}

.tech-item:hover {
    color: white;

    background: rgba(47,140,255,.05);
}

.tech-item img {
    width: 48px;
    height: 48px;

    object-fit: contain;
}


/* WHY */

.why {
    background: var(--bg);
}

.why-grid {
    display: grid;

    grid-template-columns: repeat(4,1fr);

    gap: 15px;
}

.why-card {
    padding: 30px;

    border: 1px solid var(--border);
    border-radius: 16px;

    transition: .3s;
}

.why-card:hover {
    background: rgba(255,255,255,.025);

    border-color: rgba(47,140,255,.25);
}

.why-icon {
    margin-bottom: 45px;

    color: var(--blue);

    font-size: 10px;
    font-weight: 800;
}

.why-card h3 {
    margin-bottom: 10px;
    font-size: 13px;
}

.why-card p {
    color: var(--muted);

    font-size: 10px;

    line-height: 1.7;
}


/* CONTACT */

.contact {
    background:
        radial-gradient(
            circle at 70% 40%,
            rgba(47,140,255,.1),
            transparent 30%
        ),
        #070c13;
}

.contact-grid {
    display: grid;

    grid-template-columns: 1.1fr .9fr;

    align-items: center;

    gap: 100px;
}

.contact-content > p {
    max-width: 550px;

    margin-bottom: 40px;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.8;
}

.contact-links {
    display: grid;

    grid-template-columns: repeat(2,1fr);

    gap: 15px;
}

.contact-link {
    display: flex;
    align-items: center;

    gap: 13px;

    padding: 15px;

    border: 1px solid var(--border);
    border-radius: 12px;

    background: rgba(255,255,255,.02);

    transition: .25s;
}

.contact-link:hover {
    transform: translateY(-2px);

    border-color: rgba(47,140,255,.3);
}

.contact-icon {
    width: 37px;
    height: 37px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 9px;

    background: rgba(47,140,255,.08);

    color: var(--blue);
}

.contact-link small {
    display: block;

    color: #596677;

    font-size: 8px;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.contact-link strong {
    display: block;

    color: #d7dee8;

    font-size: 10px;
}


/* CONTACT CARD */

.contact-card {
    min-height: 440px;

    position: relative;

    overflow: hidden;

    border: 1px solid rgba(47,140,255,.25);

    border-radius: 25px;

    background:
        linear-gradient(
            145deg,
            rgba(47,140,255,.1),
            transparent
        ),
        #080f19;
}

.contact-card::before {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    right: -100px;
    bottom: -100px;

    border: 1px solid rgba(47,140,255,.2);

    border-radius: 50%;
}

.contact-card-top {
    display: flex;

    justify-content: space-between;

    padding: 22px;

    color: #526174;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 1px;
}

.contact-card-content {
    height: 360px;

    position: relative;
    z-index: 2;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;
}

.contact-logo {
    width: 150px;
    max-height: 80px;

    object-fit: contain;

    margin-bottom: 28px;
}

.contact-card h3 {
    margin-bottom: 8px;

    font-size: 28px;

    letter-spacing: -1px;
}

.contact-card p {
    margin-bottom: 22px;

    color: #687587;

    font-size: 11px;
}


/* FOOTER */

.footer {
    border-top: 1px solid var(--border);

    background: #04070b;
}

.footer-top {
    min-height: 160px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.footer-logo {
    width: 125px;
    max-height: 45px;

    object-fit: contain;
}

.footer-brand p {
    margin-top: 12px;

    color: #5e6a7a;

    font-size: 9px;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: #667386;

    font-size: 9px;

    transition: .2s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    min-height: 65px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    border-top: 1px solid var(--border);

    color: #4e5a69;

    font-size: 8px;
}


/* REVEAL */

.reveal {
    opacity: 0;

    transform: translateY(25px);

    transition:
        opacity .7s ease,
        transform .7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   MYNETX — FINAL RESPONSIVE SYSTEM
   Desktop/base styles above remain unchanged.
   ========================================================= */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

img,
video,
svg,
iframe {
    max-width: 100%;
}


/* =========================================================
   851px — 1100px
   ========================================================= */

@media (min-width: 851px) and (max-width: 1100px) {

    .nav {
        gap: 14px;
    }

    .nav a {
        font-size: 9px;
    }

    .hero-container {
        gap: 40px;
    }

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

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

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


/* =========================================================
   601px — 850px
   ========================================================= */

@media (min-width: 601px) and (max-width: 850px) {

    .nav {
        position: fixed;
        top: 82px;
        left: 14px;
        right: 14px;

        width: auto;
        max-height: calc(100vh - 96px);
        overflow-y: auto;

        padding: 10px;

        flex-direction: column;
        align-items: stretch;
        gap: 0;

        background: rgba(7, 11, 17, .98);

        border: 1px solid var(--border);
        border-radius: 16px;

        box-shadow: 0 20px 60px rgba(0,0,0,.45);

        transform: translateY(-12px) scale(.98);
        opacity: 0;
        pointer-events: none;

        transition: .25s ease;
    }

    .nav.open {
        transform: translateY(0) scale(1);
        opacity: 1;
        pointer-events: auto;
    }

    .nav a {
        display: flex;
        align-items: center;

        min-height: 48px;
        padding: 13px 14px;

        font-size: 12px;

        border-bottom: 1px solid var(--border);
        border-radius: 9px;
    }

    .nav a:last-child {
        border-bottom: 0;
    }

    .nav-cta {
        display: none;
    }

    .menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 4px;

        width: 42px;
        height: 42px;
        flex: 0 0 42px;
    }

    .menu-btn span {
        width: 19px;
        height: 2px;
        margin: 0;
    }

    .nav-container {
        height: 72px;
        min-height: 72px;
    }

    .brand {
        min-width: 0;
    }

    .brand-logo {
        width: 118px;
        max-width: 118px;
        max-height: 42px;
    }

    .nav-right {
        margin-left: auto;
        gap: 8px;
        flex: 0 0 auto;
    }

    .hero-container {
        grid-template-columns: minmax(0, 1fr);
        padding-top: 125px;
        padding-bottom: 80px;
    }

    .hero-content,
    .hero-visual {
        min-width: 0;
    }

    .hero-visual {
        width: 100%;
        max-width: 500px;
        margin-inline: auto;
    }

    .about-grid,
    .tech-content,
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 50px;
    }

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

    .stat:nth-child(2) {
        border: none;
    }

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

    body.menu-open {
        overflow: hidden;
    }
}


/* =========================================================
   401px — 600px
   Main mobile layout
   ========================================================= */

@media (min-width: 401px) and (max-width: 600px) {

    .container {
        width: calc(100% - 30px);
        max-width: var(--container);
    }

    /* Header */
    .nav-container {
        height: 68px;
        min-height: 68px;
        gap: 8px;
    }

    .brand {
        min-width: 0;
        flex: 1 1 auto;
        overflow: hidden;
    }

    .brand-logo {
        width: 108px;
        max-width: 108px;
        max-height: 38px;
    }

    .nav-right {
        flex: 0 0 auto;
        margin-left: auto;
        gap: 7px;
    }

    .language-switcher {
        flex: 0 0 auto;
    }

    .lang-btn {
        min-width: 32px;
        padding: 6px;
    }

    .menu-btn {
        display: flex;
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 4px;
    }

    .menu-btn span {
        width: 18px;
        height: 2px;
        margin: 0;
    }

    .nav {
        position: fixed;
        top: 68px;
        left: 10px;
        right: 10px;

        width: auto;
        max-height: calc(100vh - 80px);
        overflow-y: auto;

        padding: 10px;
        gap: 0;

        flex-direction: column;
        align-items: stretch;

        background: rgba(7,11,17,.98);

        border: 1px solid var(--border);
        border-radius: 15px;

        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;

        transition: .25s ease;
    }

    .nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav a {
        min-height: 46px;
        padding: 12px 13px;
        font-size: 11px;
        border-bottom: 1px solid var(--border);
    }

    .nav a:last-child {
        border-bottom: 0;
    }

    .nav-cta {
        display: none;
    }

    /* Hero */
    .hero-container {
        grid-template-columns: minmax(0, 1fr);
        width: calc(100% - 30px);
        padding-top: 108px;
        padding-bottom: 65px;
        gap: 36px;
    }

    .hero-content,
    .hero-visual {
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }

    .hero h1 {
        max-width: 100%;
        font-size: clamp(36px, 9vw, 46px);
        line-height: 1.04;
        letter-spacing: -1.8px;
        overflow-wrap: break-word;
    }

    .hero p {
        max-width: 100%;
        font-size: 12px;
        line-height: 1.65;
    }

    .hero-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .hero-buttons .btn {
        flex: 1 1 150px;
        width: auto;
        min-width: 0;
    }

    .camera-card {
        width: 100%;
        max-width: 100%;
        transform: none;
    }

    .camera-view {
        height: 245px;
    }

    /* Sections */
    .section {
        padding: 85px 0;
    }

    .section-heading h2,
    .about-content h2,
    .contact-content h2 {
        max-width: 100%;
        font-size: clamp(30px, 7vw, 38px);
        line-height: 1.08;
        letter-spacing: -1px;
        overflow-wrap: break-word;
    }

    .section-heading p {
        max-width: 100%;
        font-size: 12px;
        line-height: 1.65;
    }

    /* Preserve balanced cards */
    .services-grid,
    .projects-grid,
    .why-grid,
    .tech-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services-grid,
    .projects-grid,
    .why-grid {
        gap: 12px;
    }

    .service-card,
    .project-card,
    .why-card,
    .tech-item {
        min-width: 0;
    }

    .project-image {
        height: 225px;
    }

    /* Clients */
    .clients-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .client-logo {
        height: 125px;
        padding: 14px;
    }

    .client-logo img {
        width: auto;
        max-width: 90%;
        max-height: 76px;
        object-fit: contain;
    }
/* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 10px;
    }

    .stat {
        min-width: 0;
        border: none !important;
    }

    /* Footer */
    .footer-top,
    .footer-bottom {
        gap: 20px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 15px;
    }

    /* Reels */
    .instagram-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}


/* =========================================================
   331px — 400px
   ========================================================= */

@media (min-width: 331px) and (max-width: 400px) {

    .container {
        width: calc(100% - 20px);
    }

    /* Header */
    .nav-container {
        width: calc(100% - 16px);
        height: 64px;
        min-height: 64px;
        gap: 5px;
    }

    .brand {
        min-width: 0;
        flex: 1 1 auto;
        overflow: hidden;
    }

    .brand-logo {
        width: 92px;
        max-width: 92px;
        max-height: 35px;
    }

    .nav-right {
        flex: 0 0 auto;
        gap: 5px;
        margin-left: auto;
    }

    .language-switcher {
        padding: 2px;
        gap: 1px;
    }

    .lang-btn {
        width: 29px;
        min-width: 29px;
        height: 28px;
        padding: 0;
        font-size: 8px;
        line-height: 28px;
    }

    .menu-btn {
        width: 37px;
        min-width: 37px;
        height: 37px;
        flex: 0 0 37px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 4px;
    }

    .menu-btn span {
        width: 17px;
        height: 2px;
        margin: 0;
    }

    .nav {
        position: fixed;
        top: 64px;
        left: 8px;
        right: 8px;
        width: auto;
        max-height: calc(100vh - 76px);
        overflow-y: auto;
        padding: 9px;
        gap: 0;
    }

    .nav a {
        min-height: 45px;
        padding: 11px 12px;
        font-size: 10px;
    }

    .nav-cta {
        display: none;
    }

    /* Hero */
    .hero-container {
        width: calc(100% - 20px);
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
        padding-top: 92px;
        padding-bottom: 50px;
    }

    .hero-content,
    .hero-visual {
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }

    .eyebrow {
        max-width: 100%;
        white-space: normal;
        font-size: 7px;
        padding: 6px 9px;
    }

    .hero h1 {
        width: 100%;
        max-width: 100%;
        font-size: 32px;
        line-height: 1.04;
        letter-spacing: -1.4px;
        overflow-wrap: anywhere;
    }

    .hero p {
        width: 100%;
        max-width: 100%;
        font-size: 11px;
        line-height: 1.6;
        overflow-wrap: anywhere;
    }

    .hero-buttons {
        width: 100%;
        flex-direction: column;
        gap: 9px;
    }

    .hero-buttons .btn,
    .btn {
        width: 100%;
        min-width: 0;
    }

    .hero-trust {
        gap: 7px;
    }

    .trust-item {
        min-width: 0;
        flex: 1 1 0;
    }

    .trust-item strong {
        font-size: 17px;
    }

    .trust-item span {
        font-size: 6px;
        line-height: 1.3;
        overflow-wrap: anywhere;
    }

    .trust-line {
        flex: 0 0 1px;
        height: 28px;
    }

    .camera-card {
        width: 100%;
        max-width: 100%;
        padding: 8px;
        border-radius: 16px;
    }

    .camera-view {
        height: 190px;
    }

    /* Sections */
    .section {
        padding: 72px 0;
    }

    .section-heading h2,
    .about-content h2,
    .contact-content h2 {
        max-width: 100%;
        font-size: 27px;
        line-height: 1.1;
        letter-spacing: -.8px;
        overflow-wrap: break-word;
    }

    .section-heading p {
        font-size: 11px;
        line-height: 1.6;
    }

    /* Balanced cards */
    .services-grid,
    .projects-grid,
    .why-grid,
    .tech-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .service-card,
    .project-card,
    .why-card,
    .tech-item {
        min-width: 0;
    }

    .project-image {
        height: 180px;
    }

    .why-card {
        padding: 16px;
    }

    /* Clients */
    .clients-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .client-logo {
        height: 108px;
        padding: 10px;
    }

    .client-logo img {
        max-width: 90%;
        max-height: 62px;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 8px;
    }

    .stat {
        min-width: 0;
        border: none !important;
    }

    .stat strong {
        font-size: 30px;
    }

    /* Instagram */
    .instagram-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .instagram-video-card {
        border-radius: 12px;
    }
}


/* =========================================================
   330px AND BELOW
   ========================================================= */

@media (max-width: 330px) {

    .container {
        width: calc(100% - 14px);
    }

    .nav-container {
        width: calc(100% - 12px);
        height: 62px;
        min-height: 62px;
        gap: 3px;
    }

    .brand-logo {
        width: 80px;
        max-width: 80px;
        max-height: 32px;
    }

    .nav-right {
        gap: 3px;
    }

    .lang-btn {
        width: 25px;
        min-width: 25px;
        height: 27px;
        font-size: 7px;
    }

    .menu-btn {
        width: 33px;
        min-width: 33px;
        height: 33px;
        flex-basis: 33px;
    }

    .nav {
        top: 62px;
        left: 6px;
        right: 6px;
    }

    .hero-container {
        width: calc(100% - 14px);
        padding-top: 86px;
        padding-bottom: 44px;
        gap: 26px;
    }

    .hero h1 {
        font-size: 28px;
        line-height: 1.04;
        letter-spacing: -1.1px;
    }

    .hero p {
        font-size: 10px;
    }

    .eyebrow {
        font-size: 6px;
    }

    .trust-item strong {
        font-size: 15px;
    }

    .trust-item span {
        font-size: 5px;
    }

    .camera-view {
        height: 170px;
    }

    .section {
        padding: 62px 0;
    }

    .section-heading h2,
    .about-content h2,
    .contact-content h2 {
        font-size: 23px;
    }

    .client-logo {
        height: 92px;
        padding: 8px;
    }

    .client-logo img {
        max-height: 52px;
    }

    .project-image {
        height: 155px;
    }
}


/* =========================================================
   REELS — SAME SIZE EVERYWHERE
   ========================================================= */

.instagram-videos {
    background: #05080d;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

    width: 100%;
    max-width: 100%;

    align-items: start;
}

.instagram-video-card {
    width: 100%;
    min-width: 0;
    max-width: 100%;

    padding: 0;
    margin: 0;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 18px;

    background: #080d14;

    box-sizing: border-box;
}

.instagram-video-wrap {
    position: relative;

    width: 100%;
    height: auto;

    aspect-ratio: 9 / 16;

    overflow: hidden;

    background: #02050a;

    box-sizing: border-box;
}

.instagram-video {
    display: block;

    width: 100%;
    height: 100%;

    min-width: 0;
    min-height: 0;

    margin: 0;
    padding: 0;

    border: 0;

    background: #02050a;

    object-fit: cover;
    object-position: center;

    box-sizing: border-box;
}

.video-muted-badge {
    position: absolute;

    top: 10px;
    right: 10px;

    z-index: 3;

    padding: 5px 8px;

    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;

    background: rgba(0,0,0,.55);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    color: #fff;

    font-size: 7px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 1px;

    pointer-events: none;
}

.instagram-button-wrap {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;
    margin-top: 32px;
}


/* Reel tablet */
@media (min-width: 601px) and (max-width: 850px) {

    .instagram-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
    }

    .instagram-video-card {
        border-radius: 16px;
    }
}


/* Reel 401–600 */
@media (min-width: 401px) and (max-width: 600px) {

    .instagram-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .instagram-video-card {
        border-radius: 14px;
    }

    .video-muted-badge {
        top: 8px;
        right: 8px;
        padding: 5px 7px;
        font-size: 6px;
    }
}


/* Reel 331–400 */
@media (min-width: 331px) and (max-width: 400px) {

    .instagram-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .instagram-video-card {
        border-radius: 12px;
    }

    .video-muted-badge {
        top: 7px;
        right: 7px;
        padding: 4px 6px;
        font-size: 6px;
    }
}


/* Reel 330 and below */
@media (max-width: 330px) {

    .instagram-video-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .instagram-video-card {
        border-radius: 12px;
    }

    .video-muted-badge {
        top: 7px;
        right: 7px;
        padding: 4px 6px;
        font-size: 5.5px;
    }

    .instagram-button-wrap .btn {
        width: 100%;
    }
}


/* =========================================================
   CONTACT — FINAL RESPONSIVE FIX
   Keeps the original desktop design and prevents the
   400–600px layout from becoming cramped.
   ========================================================= */

@media (max-width: 850px) {

    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 42px;
        align-items: start;
    }

    .contact-content {
        width: 100%;
        min-width: 0;
    }

    .contact-content > p {
        max-width: 620px;
        margin-bottom: 28px;
    }

    .contact-links {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .contact-link {
        min-width: 0;
        width: 100%;
    }

    .contact-link strong,
    .contact-link small {
        min-width: 0;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .contact-card {
        width: 100%;
        max-width: 100%;
        min-height: 390px;
    }

    .contact-card-content {
        width: 100%;
        height: 310px;
        padding: 20px;
        box-sizing: border-box;
    }

    .contact-logo {
        max-width: 145px;
    }

    .contact-card h3 {
        max-width: 100%;
        font-size: 25px;
        line-height: 1.1;
        overflow-wrap: break-word;
    }

    .contact-card p {
        max-width: 100%;
        overflow-wrap: break-word;
    }
}


@media (min-width: 401px) and (max-width: 600px) {

    .contact {
        overflow: hidden;
    }

    .contact-grid {
        width: 100%;
        gap: 38px;
    }

    .contact-content {
        width: 100%;
    }

    .contact-content > p {
        font-size: 12px;
        line-height: 1.7;
        margin-bottom: 28px;
    }

    .contact-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .contact-link {
        padding: 13px;
        gap: 10px;
        border-radius: 11px;
    }

    .contact-icon {
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
    }

    .contact-link small {
        font-size: 7px;
        line-height: 1.3;
    }

    .contact-link strong {
        font-size: 9px;
        line-height: 1.35;
    }

    .contact-card {
        min-height: 390px;
        border-radius: 20px;
    }

    .contact-card-top {
        padding: 18px;
    }

    .contact-card-content {
        height: 300px;
        padding: 18px;
    }

    .contact-logo {
        width: 135px;
        max-height: 70px;
        margin-bottom: 22px;
    }

    .contact-card h3 {
        font-size: 24px;
        letter-spacing: -.7px;
    }

    .contact-card p {
        font-size: 10px;
        line-height: 1.55;
        margin-bottom: 18px;
    }
}


@media (min-width: 331px) and (max-width: 400px) {

    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .contact-links {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .contact-link {
        width: 100%;
        padding: 12px;
    }

    .contact-card {
        min-height: 350px;
        border-radius: 18px;
    }

    .contact-card-top {
        padding: 16px;
    }

    .contact-card-content {
        height: 270px;
        padding: 15px;
    }

    .contact-logo {
        width: 120px;
        max-height: 65px;
        margin-bottom: 18px;
    }

    .contact-card h3 {
        font-size: 22px;
    }

    .contact-card p {
        font-size: 9px;
    }
}


@media (max-width: 330px) {

    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 25px;
    }

    .contact-links {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .contact-link {
        width: 100%;
        padding: 11px;
    }

    .contact-card {
        min-height: 330px;
        border-radius: 16px;
    }

    .contact-card-top {
        padding: 14px;
    }

    .contact-card-content {
        height: 245px;
        padding: 12px;
    }

    .contact-logo {
        width: 105px;
        max-height: 58px;
        margin-bottom: 15px;
    }

    .contact-card h3 {
        font-size: 20px;
    }

    .contact-card p {
        font-size: 8px;
        line-height: 1.5;
    }
}


/* =========================================================
   CONTACT CARD — MOBILE HIDDEN
   Desktop and tablet only
   ========================================================= */
@media (max-width: 600px) {
    .contact-card {
        display: none !important;
    }
}


/* =========================================================
   TECHNOLOGIES — FINAL MOBILE FIX
   Text stays on top, technology brands move below it.
   ========================================================= */

@media (max-width: 850px) {

    .tech-content {
        grid-template-columns: minmax(0, 1fr);
        gap: 38px;
        width: 100%;
    }

    .tech-content > * {
        min-width: 0;
        width: 100%;
    }

    .tech-grid {
        width: 100%;
        max-width: 100%;

        grid-template-columns: repeat(3, minmax(0, 1fr));

        border-top: 1px solid var(--border);
        border-left: 1px solid var(--border);

        overflow: hidden;
    }

    .tech-item {
        min-width: 0;
        min-height: 105px;

        padding: 14px 8px;

        gap: 8px;

        flex-direction: column;

        text-align: center;

        border-right: 1px solid var(--border);
        border-bottom: 1px solid var(--border);

        overflow: hidden;
    }

    .tech-item img {
        width: 42px;
        height: 42px;

        flex: 0 0 auto;
    }

    .tech-item span {
        min-width: 0;
        max-width: 100%;

        font-size: 9px;
        line-height: 1.25;

        overflow-wrap: anywhere;
        word-break: break-word;
    }
}


/* 401px — 600px */
@media (min-width: 401px) and (max-width: 600px) {

    .tech-content {
        gap: 34px;
    }

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

    .tech-item {
        min-height: 112px;
        padding: 14px 8px;
    }

    .tech-item img {
        width: 44px;
        height: 44px;
    }

    .tech-item span {
        font-size: 9px;
    }
}


/* 331px — 400px */
@media (min-width: 331px) and (max-width: 400px) {

    .tech-content {
        gap: 28px;
    }

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

    .tech-item {
        min-height: 105px;
        padding: 13px 7px;
    }

    .tech-item img {
        width: 40px;
        height: 40px;
    }

    .tech-item span {
        font-size: 8px;
        line-height: 1.25;
    }
}


/* 330px and below */
@media (max-width: 330px) {

    .tech-content {
        gap: 25px;
    }

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

    .tech-item {
        min-height: 96px;
        padding: 11px 6px;
    }

    .tech-item img {
        width: 36px;
        height: 36px;
    }

    .tech-item span {
        font-size: 7px;
        line-height: 1.2;
    }
}

@media (max-width: 850px) {

    .tech-item img,
    .client-logo img {
        filter: none !important;
        opacity: 1 !important;
    }

}