/* =========================================================================
   NEXUTO Technologies — frontend stylesheet
   Clean corporate blue / white theme
   ========================================================================= */

:root {
    --c-primary:   #1a6df0;
    --c-primary-d: #0b56cf;
    --c-accent:    #2b8fff;
    --c-ink:       #0f1e3d;
    --c-body:      #55617a;
    --c-muted:     #8a93a6;
    --c-bg:        #ffffff;
    --c-soft:      #f3f7fd;
    --c-soft-2:    #eaf2fe;
    --c-line:      #e5edf7;
    --c-wa:        #25d366;

    --radius:   16px;
    --radius-s: 10px;
    --shadow:   0 10px 30px rgba(16, 45, 90, .08);
    --shadow-h: 0 18px 45px rgba(16, 45, 90, .16);
    --container: 1200px;
    --ease: cubic-bezier(.4, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
    margin: 0;
    overflow-x: clip;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: var(--c-body);
    background: var(--c-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 { color: var(--c-ink); margin: 0; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.accent { color: var(--c-primary); }

section { padding: 72px 0; }
.section-soft { background: var(--c-soft); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 26px; border-radius: var(--radius-s);
    font-weight: 700; font-size: 15px; cursor: pointer;
    border: 1.5px solid transparent; transition: all .2s var(--ease);
    white-space: nowrap;
}
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-primary { background: var(--c-primary); color: #fff; box-shadow: 0 8px 20px rgba(26,109,240,.28); }
.btn-primary:hover { background: var(--c-primary-d); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(26,109,240,.35); }
.btn-ghost { background: #fff; color: var(--c-ink); border-color: var(--c-line); }
.btn-ghost:hover { border-color: var(--c-primary); color: var(--c-primary); }
.btn-outline { background: transparent; color: var(--c-primary); border-color: var(--c-primary); }
.btn-outline:hover { background: var(--c-primary); color: #fff; }
.btn-light { background: #fff; color: var(--c-primary); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.center-cta { text-align: center; margin-top: 40px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--c-ink); color: #cdd7ea; font-size: 13px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; }
.tb-address { display: flex; align-items: center; gap: 6px; }
.tb-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.tb-item { color: #cdd7ea; transition: color .2s; }
.tb-item:hover { color: #fff; }
.tb-social { display: flex; gap: 8px; }
.tb-social a {
    width: 26px; height: 26px; border-radius: 50%;
    display: grid; place-items: center; font-size: 11px; font-weight: 700;
    background: rgba(255,255,255,.1); color: #fff; transition: background .2s;
}
.tb-social a:hover { background: var(--c-primary); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--c-line); }
.nav.scrolled { box-shadow: 0 4px 20px rgba(16,45,90,.08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 20px; }

.logo { display: flex; align-items: center; gap: 11px; }
.logo-mark { width: 44px; height: 44px; display: grid; place-items: center; filter: drop-shadow(0 4px 10px rgba(26,109,240,.28)); }
.logo-mark svg { width: 44px; height: 44px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong { font-size: 21px; color: var(--c-ink); letter-spacing: -.02em; }
.logo-text small { font-size: 10px; letter-spacing: .28em; color: var(--c-muted); font-weight: 600; margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links > a, .drop-trigger { display: inline-flex; align-items: center; gap: 5px; padding: 9px 11px; font-size: 14.5px; font-weight: 600; color: var(--c-ink); border-radius: 8px; transition: color .2s; position: relative; white-space: nowrap; }
.nav-links > a:hover, .drop-trigger:hover { color: var(--c-primary); }
.nav-links > a.active { color: var(--c-primary); }
.nav-links > a.active::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 2px; background: var(--c-primary); border-radius: 2px; }
.caret { font-size: 9px; line-height: 1; }

.has-drop { position: relative; }
.drop-menu {
    position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px;
    background: #fff; border: 1px solid var(--c-line); border-radius: 12px;
    box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden;
    transform: translateY(8px); transition: all .18s var(--ease); z-index: 50;
}
.has-drop:hover .drop-menu, .has-drop.open .drop-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.drop-menu a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--c-body); }
.drop-menu a:hover { background: var(--c-soft); color: var(--c-primary); }

.nav-cta { margin-left: 8px; background: var(--c-primary); color: #fff !important; padding: 11px 18px; border-radius: var(--radius-s); font-weight: 700; white-space: nowrap; box-shadow: 0 8px 18px rgba(26,109,240,.28); }
.nav-cta:hover { background: var(--c-primary-d); }

.nav-toggle { display: none; background: none; border: none; font-size: 26px; cursor: pointer; color: var(--c-ink); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--c-soft-2) 0%, #fff 100%); padding: 64px 0 56px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; color: var(--c-primary); margin-bottom: 16px; }
.hero-copy h1 { font-size: clamp(30px, 4vw, 50px); line-height: 1.1; margin-bottom: 18px; }
.hero-copy .lead { font-size: 17px; color: var(--c-body); max-width: 560px; margin-bottom: 26px; }

.hero-features { display: flex; flex-wrap: wrap; gap: 22px; margin-bottom: 30px; }
.hf { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 82px; text-align: center; font-size: 12.5px; font-weight: 600; color: var(--c-ink); }
.hf-ic { width: 52px; height: 52px; border-radius: 14px; background: #fff; box-shadow: var(--shadow); color: var(--c-primary); display: grid; place-items: center; }
.hf-ic svg { width: 26px; height: 26px; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero dashboard mock */
.hero-visual { position: relative; min-height: 380px; }
.dash-card {
    background: #fff; border-radius: 18px; box-shadow: var(--shadow-h);
    padding: 22px; border: 1px solid var(--c-line); max-width: 400px; margin-left: auto;
}
.dash-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.dash-head strong { font-size: 16px; }
.dash-online { font-size: 12px; color: var(--c-wa); font-weight: 600; }
.dash-sub { font-size: 12px; color: var(--c-muted); margin: 10px 0 8px; }
.dash-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dm { background: var(--c-soft); border-radius: 12px; padding: 12px 10px; }
.dm-k { display: block; font-size: 11px; color: var(--c-muted); }
.dm-v { display: block; font-size: 20px; font-weight: 800; color: var(--c-ink); }
.dm-v i { font-size: 11px; font-weight: 600; color: var(--c-muted); font-style: normal; }
.dash-status { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--c-body); margin: 14px 0 10px; font-weight: 600; }
.dot-ok { width: 9px; height: 9px; border-radius: 50%; background: var(--c-wa); box-shadow: 0 0 0 4px rgba(37,211,102,.15); }
.dash-chart svg { width: 100%; height: 90px; display: block; }

.gauge-card {
    position: absolute; right: -6px; bottom: -18px; width: 172px;
    background: #fff; border-radius: 18px; box-shadow: var(--shadow-h); border: 1px solid var(--c-line);
    padding: 16px; text-align: center;
}
.gauge-card small { font-size: 11px; color: var(--c-muted); font-weight: 600; }
.gauge { position: relative; margin: 6px auto; width: 120px; }
.gauge svg { width: 120px; height: 120px; }
.gauge-val { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.gauge-val strong { font-size: 24px; color: var(--c-ink); }
.gauge-val span { font-size: 10px; color: var(--c-muted); }
.gauge-online { font-size: 11px; color: var(--c-wa); font-weight: 600; }

/* ---------- Stats strip ---------- */
.stats {
    margin-top: -34px; position: relative; z-index: 5;
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
    border: 1px solid var(--c-line);
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; padding: 26px 18px;
}
.stat { display: flex; align-items: center; gap: 12px; justify-content: center; padding: 6px 8px; }
.stat + .stat { border-left: 1px solid var(--c-line); }
.stat-ic { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 11px; background: var(--c-soft-2); color: var(--c-primary); display: grid; place-items: center; }
.stat-ic svg { width: 22px; height: 22px; }
.stat .n { font-size: 22px; font-weight: 800; color: var(--c-primary); line-height: 1.1; }
.stat .l { font-size: 12px; color: var(--c-body); }

/* ---------- Section title ---------- */
.section-title { text-align: center; max-width: 680px; margin: 0 auto 46px; }
.kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .16em; color: var(--c-primary); text-transform: uppercase; margin-bottom: 10px; }
.section-title h2 { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 14px; }
.section-title p { color: var(--c-body); font-size: 16px; }

/* ---------- Services grid ---------- */
.services-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.service-card {
    background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
    padding: 26px 22px; transition: all .25s var(--ease); display: block; color: inherit;
    position: relative; overflow: hidden;
}
.service-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--c-primary), var(--c-accent)); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.service-card:hover { border-color: transparent; box-shadow: var(--shadow-h); transform: translateY(-4px); }
.service-card:hover::before { transform: scaleX(1); }
.service-ic { width: 54px; height: 54px; border-radius: 14px; background: var(--c-soft-2); color: var(--c-primary); display: grid; place-items: center; margin-bottom: 16px; transition: all .25s; }
.service-ic svg { width: 28px; height: 28px; }
.service-card:hover .service-ic { background: var(--c-primary); color: #fff; }
.service-card h3 { font-size: 16px; margin-bottom: 8px; color: var(--c-primary); line-height: 1.3; }
.service-card p { font-size: 13.5px; color: var(--c-body); margin-bottom: 14px; }
.service-link { font-size: 13.5px; font-weight: 700; color: var(--c-ink); }
.service-card:hover .service-link { color: var(--c-primary); }

/* ---------- Products carousel ---------- */
.carousel { position: relative; display: flex; align-items: center; gap: 8px; }
.car-track { display: flex; gap: 18px; overflow-x: auto; scroll-behavior: smooth; padding: 8px 4px 16px; scrollbar-width: none; flex: 1; }
.car-track::-webkit-scrollbar { display: none; }
.product-card { flex: 0 0 180px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; transition: all .25s var(--ease); }
.product-card:hover { box-shadow: var(--shadow-h); transform: translateY(-4px); }
.product-img { height: 130px; background: linear-gradient(135deg, var(--c-soft-2), #d7e8ff); display: grid; place-items: center; color: var(--c-primary); }
.product-img svg { width: 54px; height: 54px; }
.product-name { padding: 14px; text-align: center; font-weight: 700; font-size: 14px; color: var(--c-ink); }
.car-nav { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--c-line); background: #fff; color: var(--c-primary); font-size: 22px; line-height: 1; cursor: pointer; box-shadow: var(--shadow); transition: all .2s; }
.car-nav:hover { background: var(--c-primary); color: #fff; }

/* ---------- Industries ---------- */
.industries-wrap { display: grid; grid-template-columns: 300px 1fr; gap: 26px; align-items: stretch; }
.industries-intro { background: linear-gradient(150deg, var(--c-primary), var(--c-primary-d)); color: #fff; border-radius: var(--radius); padding: 34px 30px; display: flex; flex-direction: column; justify-content: center; }
.industries-intro h3 { color: #fff; font-size: 30px; margin-bottom: 12px; }
.industries-intro p { color: rgba(255,255,255,.85); margin-bottom: 22px; }
.industries-intro .btn-light { align-self: flex-start; }
.industries-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.industry { background: #fff; border: 1px solid var(--c-line); border-radius: 12px; padding: 18px 10px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 12.5px; font-weight: 600; color: var(--c-ink); transition: all .2s var(--ease); }
.industry:hover { border-color: var(--c-primary); box-shadow: var(--shadow); transform: translateY(-3px); }
.industry-ic { width: 42px; height: 42px; border-radius: 11px; background: var(--c-soft-2); color: var(--c-primary); display: grid; place-items: center; }
.industry-ic svg { width: 22px; height: 22px; }

/* ---------- Process + Why choose ---------- */
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: start; }
.col-title { font-size: 24px; margin-bottom: 24px; }
.process { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 26px; }
.p-step { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 92px; text-align: center; font-size: 12px; font-weight: 600; color: var(--c-ink); }
.p-ic { width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 1px solid var(--c-line); color: var(--c-primary); display: grid; place-items: center; box-shadow: var(--shadow); }
.p-ic svg { width: 24px; height: 24px; }
.p-arrow { color: var(--c-primary); font-size: 18px; margin-top: -18px; }
.why-box { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.why-item { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--c-ink); }
.tick { width: 22px; height: 22px; flex: 0 0 22px; border-radius: 50%; background: var(--c-soft-2); color: var(--c-primary); display: grid; place-items: center; font-size: 12px; font-weight: 800; }

/* ---------- CTA banner ---------- */
.cta-banner { background: linear-gradient(135deg, var(--c-primary), var(--c-primary-d)); border-radius: 22px; padding: 40px 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; box-shadow: var(--shadow-h); }
.cta-banner h3 { color: #fff; font-size: 26px; margin-bottom: 6px; }
.cta-banner p { color: rgba(255,255,255,.9); }

/* ---------- Footer ---------- */
.footer { background: var(--c-ink); color: #b9c4d9; padding: 60px 0 24px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr 1.6fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer h5 { color: #fff; font-size: 15px; margin-bottom: 18px; }
.footer ul li { margin-bottom: 10px; }
.footer a { color: #b9c4d9; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer-brand .brand-line { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand .logo-text strong { color: #fff; }
.footer-brand .logo-text small { color: #8a97b3; }
.footer-brand p { margin-bottom: 18px; max-width: 300px; }
.footer .socials { display: flex; gap: 10px; }
.footer .socials a { width: 34px; height: 34px; border-radius: 9px; background: rgba(255,255,255,.08); display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; }
.footer .socials a:hover { background: var(--c-primary); }
.footer-contact li { display: flex; gap: 8px; align-items: flex-start; }
.fc-ic { flex: 0 0 auto; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #8a97b3; }
.footer-legal { display: flex; gap: 20px; }

/* ---------- Floating actions ---------- */
.floating-actions { position: fixed; right: 20px; bottom: 22px; display: flex; flex-direction: column; gap: 12px; z-index: 90; }
.fab { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-h); transition: transform .2s; }
.fab svg { width: 26px; height: 26px; }
.fab:hover { transform: scale(1.08); }
.fab-wa { background: var(--c-wa); }
.fab-call { background: var(--c-primary); }
.fab-top { background: var(--c-ink); font-size: 20px; font-weight: 700; }

/* ---------- Hero industrial background ---------- */
.hero { position: relative; }
.hero-bg {
    position: absolute; top: 0; right: 0; width: 56%; height: 100%;
    z-index: 0; pointer-events: none; overflow: hidden;
    border-bottom-left-radius: 60px;
    mask-image: linear-gradient(90deg, transparent, #000 22%);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%);
}
.hero-bg svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero .container { position: relative; z-index: 2; }
@media (max-width: 960px) { .hero-bg { display: none; } }

/* ---------- Inner page hero (about / services / contact) ---------- */
.page-hero {
    background: linear-gradient(120deg, var(--c-ink) 0%, #16326a 55%, var(--c-primary-d) 100%);
    color: #fff; padding: 54px 0; position: relative; overflow: hidden;
}
.page-hero::after {
    content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(255,255,255,.12), transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 46px); }
.page-hero p { color: #d2e3f5 !important; font-size: 17px; }
.crumbs { font-size: 13.5px; color: #a9c2e6; margin-bottom: 14px; font-weight: 600; }
.crumbs a { color: #d2e3f5; }
.crumbs a:hover { color: #fff; }

/* ---------- Two-column (about story / service overview) ---------- */
.why-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.why-grid .kicker { text-align: left; }
.why-grid p { margin-bottom: 14px; color: var(--c-body) !important; }
.why-illus { min-height: 260px; border-radius: var(--radius); background: linear-gradient(135deg, var(--c-soft-2), #d7e8ff); }
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- Brand cards (about) ---------- */
.brand-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.brand-card { background: #fff; border: 1px solid var(--c-line); border-top: 3px solid var(--c-primary); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); transition: transform .2s var(--ease); }
.brand-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-h); }
.brand-card .tagline { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--c-primary); text-transform: uppercase; margin-bottom: 10px; }
.brand-card h4 { font-size: 18px; margin-bottom: 10px; }
.brand-card p { font-size: 14px; color: var(--c-body); }
@media (max-width: 860px) { .brand-cards { grid-template-columns: 1fr; } }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: start; }
.contact-info { display: grid; gap: 20px; }
.contact-info .item { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-s); padding: 16px 18px; box-shadow: var(--shadow); }
.contact-info .ic { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 11px; background: var(--c-soft-2); display: grid; place-items: center; font-size: 20px; }
.contact-info strong { display: block; color: var(--c-ink); font-size: 15px; margin-bottom: 3px; }
.contact-info small { font-size: 13.5px; color: var(--c-body); line-height: 1.55; }

.contact-form { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .field { margin-bottom: 16px; display: flex; flex-direction: column; }
.contact-form label { font-size: 13.5px; font-weight: 600; color: var(--c-ink); margin-bottom: 7px; }
.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%; padding: 12px 14px; border: 1.5px solid var(--c-line); border-radius: var(--radius-s);
    font: inherit; font-size: 14.5px; color: var(--c-ink); background: var(--c-soft); transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    outline: none; border-color: var(--c-primary); background: #fff; box-shadow: 0 0 0 3px rgba(26,109,240,.12);
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; border-radius: var(--radius-s); padding: 14px 16px; margin-bottom: 18px; font-size: 14.5px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .contact-form .row { grid-template-columns: 1fr; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .industries-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .footer-brand, .footer-contact { grid-column: span 3; }
}
@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { min-height: 320px; margin-top: 20px; }
    .stats { grid-template-columns: repeat(3, 1fr); }
    .stat:nth-child(3n+1) { border-left: none; }
    .two-col { grid-template-columns: 1fr; }
    .nav-toggle { display: block; }
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 84%; max-width: 340px; height: 100vh;
        background: #fff; flex-direction: column; align-items: stretch; gap: 2px;
        padding: 80px 20px 24px; box-shadow: -10px 0 40px rgba(0,0,0,.15);
        transition: right .3s var(--ease); overflow-y: auto; z-index: 120;
    }
    .nav-links.open { right: 0; }
    .nav-links > a, .drop-trigger { padding: 12px 14px; }
    .has-drop { width: 100%; }
    .drop-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; border-left: 2px solid var(--c-line); border-radius: 0; margin: 0 0 6px 14px; padding: 0; max-height: 0; overflow: hidden; transition: max-height .25s; }
    .has-drop.open .drop-menu { max-height: 500px; }
    .nav-cta { margin: 10px 0 0; text-align: center; justify-content: center; }
}
@media (max-width: 720px) {
    section { padding: 52px 0; }
    .topbar-inner { justify-content: center; text-align: center; }
    .tb-address { font-size: 12px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .industries-wrap { grid-template-columns: 1fr; }
    .industries-grid { grid-template-columns: repeat(3, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(odd) { border-left: none; }
    .why-list { grid-template-columns: 1fr; }
    .gauge-card { right: 0; bottom: 0; width: 150px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand, .footer-contact { grid-column: span 2; }
    .cta-banner { padding: 30px 26px; }
}
@media (max-width: 460px) {
    .services-grid { grid-template-columns: 1fr; }
    .industries-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-features { gap: 14px; }
}
