/* =========================================================
   PAPA — Premier Auto Parts Alliance
   MEMA-inspired Design System
   Navy #003A70 / Accent Red #D91812 / Charcoal #323232
   Headings: System UI  |  Body: System UI
   ========================================================= */

:root {
    /* Brand colors (MEMA-inspired) */
    --navy:        #003A70;
    --navy-dark:   #002B5C;
    --navy-light:  #00509E;
    --blue-mid:    #1C5BA6;
    --accent:      #D91812;   /* MEMA red */
    --accent-dark: #B5120D;
    --silver:      #C8CED6;
    --silver-light:#E4E8ED;
    --charcoal:    #323232;
    --gray:        #707070;
    --gray-light:  #9AA0A6;
    --border:      #D8DCE1;
    --bg-light:    #F4F6F8;
    --bg-gray:     #ECEFF2;
    --white:       #FFFFFF;

    /* Typography */
    --font-head: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,.10);
    --shadow-lg: 0 12px 28px rgba(0,29,92,.14);

    --radius: 6px;
    --maxw: 1240px;
}

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

/* ---------- SVG Icons ---------- */
.icon { width:1em; height:1em; display:inline-block; vertical-align:middle; flex-shrink:0; }
.prod-ico { color:var(--navy); }
.prod-ico svg { width:30px; height:30px; }
.adv-ico svg { width:32px; height:32px; }
.cert-ico { color:var(--navy); }
.cert-ico svg { width:34px; height:34px; }
.cinfo-ico svg { width:20px; height:20px; }
.footer-social a svg { width:18px; height:18px; }

html { scroll-behavior:smooth; }

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background: var(--white);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); color: var(--navy); line-height:1.2; }

a { text-decoration:none; color:inherit; }
img { max-width:100%; display:block; }
ul { list-style:none; }

.container { max-width: var(--maxw); margin:0 auto; padding:0 24px; }

/* ---------- Buttons ---------- */
.btn {
    display:inline-flex; align-items:center; gap:8px;
    font-family:var(--font-head); font-weight:700;
    font-size:14px; letter-spacing:.03em; text-transform:uppercase;
    padding:14px 28px; border-radius:var(--radius);
    cursor:pointer; border:2px solid transparent; transition:all .25s ease;
}
.btn-primary { background:var(--accent); color:#fff; }
.btn-primary:hover { background:var(--accent-dark); transform:translateY(-2px); box-shadow:0 8px 20px rgba(217,24,18,.3); }
.btn-navy { background:var(--navy); color:#fff; }
.btn-navy:hover { background:var(--navy-dark); transform:translateY(-2px); box-shadow:0 8px 20px rgba(0,58,112,.3); }
.btn-outline { background:transparent; border-color:var(--navy); color:var(--navy); }
.btn-outline:hover { background:var(--navy); color:#fff; }
.btn-outline-white { background:transparent; border-color:#fff; color:#fff; }
.btn-outline-white:hover { background:#fff; color:var(--navy); }

/* ---------- Header / Nav ---------- */
.header {
    position:sticky; top:0; z-index:900;
    background:#fff; border-bottom:1px solid var(--border);
    box-shadow:0 2px 12px rgba(0,0,0,.06);
}
/* Full-bleed header: the bar spans the whole viewport so the brand sits at the
   left edge, while the page sections below keep their centred container. */
.header .container { display:flex; align-items:center; justify-content:space-between; gap:16px; height:90px; max-width:none; padding:0 32px; }
.brand { display:flex; align-items:center; gap:16px; flex:0 1 auto; min-width:0; }
/* logo asset is transparent + padding-free, so it renders at its true size */
.brand-logo { height:54px; width:auto; max-width:210px; object-fit:contain; }
/* Single-line wordmark beside the logo (prominent). It needs a fairly wide
   window on the FR/ES pages, so below 1280px it is dropped and the nav is
   tightened (see the responsive block at the bottom). */
.brand-name {
    font-family:var(--font-head); font-weight:800; font-size:20px;
    color:var(--navy); letter-spacing:0; line-height:1.15; white-space:nowrap;
    border-left:1px solid var(--border); padding-left:16px;
    flex:0 1 auto; min-width:0;
}
/* Language switcher (EN / FR / ES) */
.lang-switch {
    display:flex; align-items:center; flex:0 0 auto; margin-left:14px;
    border:1px solid var(--border); border-radius:8px; overflow:hidden;
}
.lang-switch a {
    font-family:var(--font-head); font-size:11.5px; font-weight:700;
    letter-spacing:.05em; color:var(--gray); padding:6px 8px;
    transition:all .2s ease;
}
.lang-switch a + a { border-left:1px solid var(--border); }
.lang-switch a.active { color:#fff; background:var(--navy); }
.lang-switch a:hover:not(.active) { color:var(--navy); background:var(--bg-gray); }

.nav { display:flex; align-items:center; gap:17px; flex:0 0 auto; margin-left:auto; }
.nav a {
    font-family:var(--font-head); font-weight:600; font-size:14px;
    color:var(--charcoal); letter-spacing:.01em; position:relative; padding:6px 0;
    transition:color .2s;
}
.nav a::after {
    content:''; position:absolute; left:0; bottom:0; width:0; height:3px;
    background:var(--accent); transition:width .3s ease;
}
.nav a:hover, .nav a.active { color:var(--navy); }
.nav a:hover::after, .nav a.active::after { width:100%; }
.nav-cta { background:var(--accent); color:#fff !important; padding:11px 22px !important; border-radius:var(--radius); }
.nav-cta::after { display:none; }
.nav-cta:hover { background:var(--accent-dark); transform:translateY(-1px); }

.menu-toggle { display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:6px; }
.menu-toggle span { width:26px; height:2px; background:var(--navy); transition:.3s; }

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
    background-color:var(--navy-dark);
    background-position:center; background-size:cover; background-repeat:no-repeat;
    color:#fff; padding:64px 0 72px; position:relative; overflow:hidden; min-height:420px; display:flex; align-items:center;
}
/* Scrim overlay — keeps the title legible over the banner image.
   Kept as a pseudo-element so each page can set its banner via an INLINE
   background-image with a PAGE-RELATIVE url (a url() inside a CSS variable
   would resolve against this stylesheet, not the page). */
.page-hero::before {
    content:''; position:absolute; inset:0; z-index:1; pointer-events:none;
    background:linear-gradient(90deg, rgba(0,16,38,.93) 0%, rgba(0,20,46,.80) 36%, rgba(0,30,58,.46) 64%, rgba(0,32,62,.12) 88%, rgba(0,32,62,0) 100%);
}
.page-hero::after {
    content:''; position:absolute; right:-80px; top:-80px; width:340px; height:340px; z-index:1;
    background:radial-gradient(circle, rgba(217,24,18,.18) 0%, transparent 70%);
    border-radius:50%;
}
.page-hero .container { position:relative; z-index:2; }
.page-hero .crumb { font-size:13px; color:#9fb4d1; margin-bottom:14px; letter-spacing:.04em; }
.page-hero .crumb a:hover { color:#fff; }
.page-hero h1 { font-size:clamp(34px,4.5vw,52px); font-weight:800; letter-spacing:.01em; color:#fff; text-transform:uppercase; }
.page-hero p { font-size:17px; color:#cdd9ea; max-width:620px; margin-top:14px; }

/* ---------- Section ---------- */
.section { padding:84px 0; }
.section.alt { background:var(--bg-light); }
.section-head { max-width:720px; margin:0 auto 56px; text-align:center; }
.eyebrow {
    display:inline-block; font-family:var(--font-head); font-weight:700; font-size:12.5px;
    letter-spacing:.16em; text-transform:uppercase; color:var(--accent); margin-bottom:14px;
}
.section-head h2 { font-size:clamp(28px,3.4vw,42px); font-weight:800; letter-spacing:.01em; text-transform:uppercase; }
.section-head p { color:var(--gray); font-size:16.5px; margin-top:14px; }

/* ---------- Home Hero ---------- */
.home-hero {
    background:linear-gradient(120deg, var(--navy) 0%, var(--navy-dark) 55%, #00264f 100%);
    color:#fff; position:relative; overflow:hidden; min-height:88vh; display:flex; align-items:center;
}
.home-hero::before {
    content:''; position:absolute; inset:0; pointer-events:none;
    background-image:linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                     linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size:54px 54px;
}
.home-hero::after {
    content:''; position:absolute; left:-120px; bottom:-160px; width:480px; height:480px; pointer-events:none;
    background:radial-gradient(circle, rgba(217,24,18,.16) 0%, transparent 70%); border-radius:50%;
}
.home-hero .container { position:relative; z-index:2; }
.hero-content {
    display:grid; grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);
    gap:56px; align-items:center; padding:104px 0; width:100%;
}
.hero-lead { max-width:680px; }
.hero-side { border-left:2px solid rgba(255,255,255,.16); padding-left:44px; }
.hero-badge {
    display:inline-flex; align-items:center; gap:8px; background:rgba(217,24,18,.16);
    border:1px solid rgba(217,24,18,.4); color:#ff9d97; font-family:var(--font-head);
    font-weight:700; font-size:12.5px; letter-spacing:.14em; text-transform:uppercase;
    padding:7px 16px; border-radius:50px; margin-bottom:22px;
}
.hero-badge::before { content:''; width:7px; height:7px; border-radius:50%; background:#ff6b62; animation:blink 1.8s infinite; }
@keyframes blink { 50% { opacity:.3; } }
.hero-title { font-size:clamp(40px,5.4vw,68px); font-weight:800; color:#fff; line-height:1.05; letter-spacing:.005em; }
.hero-title .red { color:var(--accent); }
.hero-sub { font-size:20px; font-weight:400; color:#c6d4e8; margin:18px 0 0; }
.hero-desc { color:#9fb2cd; font-size:16.5px; max-width:520px; line-height:1.8; margin:0 0 30px; }
.hero-side .hero-desc { max-width:none; margin-top:0; }
.hero-actions { display:flex; gap:16px; flex-wrap:wrap; }
.hero-visual { display:flex; justify-content:center; align-items:center; }
.hero-logo-box {
    background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.12);
    border-radius:18px; padding:48px; backdrop-filter:blur(6px);
    box-shadow:0 30px 80px rgba(0,0,0,.35);
}
.hero-logo-box img { width:300px; max-width:100%; filter:drop-shadow(0 10px 30px rgba(0,0,0,.4)); }
/* Cards / generic */
.card { background:#fff; border:1px solid var(--border); border-radius:var(--radius); transition:all .25s ease; }
.card:hover { box-shadow:var(--shadow-md); border-color:transparent; transform:translateY(-4px); }

/* Product category grid (home) — real product images */
.prod-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.prod-card { padding:0; overflow:hidden; border-top:4px solid var(--navy); }
.prod-card:hover { border-top-color:var(--accent); }
.prod-img { height:190px; background-size:cover; background-position:center; background-color:var(--bg-gray); position:relative; }
.prod-img::after { content:''; position:absolute; inset:0; background:linear-gradient(180deg, rgba(0,43,92,.05) 0%, rgba(0,43,92,.45) 100%); }
.prod-body { padding:26px 26px 30px; }
.prod-body h3 { font-size:21px; font-weight:700; margin-bottom:10px; }
.prod-body p { color:var(--gray); font-size:14.5px; margin-bottom:16px; }
.prod-card a { font-family:var(--font-head); font-weight:700; font-size:13.5px; color:var(--accent); text-transform:uppercase; letter-spacing:.04em; display:inline-flex; gap:6px; }
.prod-card a:hover { gap:11px; }
.prod-mlist { list-style:none; margin:14px 0 0; display:flex; flex-wrap:wrap; gap:6px; }
.prod-mlist li { background:var(--bg-gray); color:var(--blue-mid); font-family:var(--font-head); font-weight:600; font-size:11.5px; padding:3px 11px; border-radius:50px; }
.prod-mlist-title { font-family:var(--font-head); font-weight:700; font-size:12px; text-transform:uppercase; letter-spacing:.05em; color:var(--gray); margin-top:18px; }

/* Global Network — premium dark map layout */
.netmap-wrap { margin:0 auto 44px; }
.netmap {
    position:relative; width:100%;
    background:transparent;
    border-radius:16px; overflow:hidden;
    box-shadow:0 8px 40px rgba(0,20,45,.25), 0 2px 8px rgba(0,0,0,.08);
}
.worldmap { display:block; width:100%; height:auto; object-fit:cover; }
/* Dynamic connection lines overlay */
.map-lines {
    position:absolute; inset:0; width:100%; height:100%;
    pointer-events:none; z-index:2;
}
.conn-line {
    stroke:url(#lineGrad1); stroke-width:.18; fill:none;
    stroke-dasharray:1.4 2.4; animation:dataFlow 2.4s linear infinite;
}
.conn-line.slow { animation-duration:3.6s; animation-delay:-1.2s; }
@keyframes dataFlow {
    from { stroke-dashoffset:0; }
    to { stroke-dashoffset:-7.6; }
}
.map-pin { position:absolute; transform:translate(-50%,-50%); background:none; border:none; cursor:pointer; padding:0; line-height:0; z-index:5; }
.map-pin .dot {
    display:block; width:22px; height:22px; border-radius:50%;
    background:#00d4ff; border:2px solid rgba(0,212,255,.5);
    box-shadow:0 0 12px rgba(0,212,255,.7), 0 0 24px rgba(0,180,255,.3), 0 2px 6px rgba(0,0,0,.4);
    transition:all .25s ease;
}
.map-pin.hq .dot { width:28px; height:28px; background:var(--accent); border-color:rgba(217,24,18,.6); box-shadow:0 0 16px rgba(217,24,18,.7), 0 0 30px rgba(217,24,18,.3); }
/* dot pulse removed — dynamic effect now lives on the connection lines */
.map-pin:hover .dot, .map-pin.active .dot {
    background:#fff; transform:scale(1.4);
    border-color:#fff; box-shadow:0 0 0 6px rgba(0,212,255,.35), 0 0 20px rgba(0,212,255,.6), 0 4px 12px rgba(0,0,0,.4);
}
.map-pin.active { z-index:8; }
/* permanent location label on the map */
.pin-label {
    position:absolute; top:30px; left:50%; transform:translateX(-50%);
    white-space:nowrap; background:rgba(0,20,40,.9); color:#7dd3fc;
    font-family:var(--font-head); font-weight:700; font-size:15px; letter-spacing:.03em;
    padding:5px 16px; border-radius:50px; opacity:.9; pointer-events:none;
    transition:all .25s ease; box-shadow:0 2px 10px rgba(0,0,0,.3);
    border:1px solid rgba(0,212,255,.2);
}
.map-pin:hover .pin-label, .map-pin.active .pin-label {
    background:var(--accent); color:#fff; opacity:1;
    transform:translateX(-50%) translateY(-3px); box-shadow:0 4px 16px rgba(217,24,18,.4);
    border-color:transparent;
}
.map-pin.hq .pin-label { background:var(--accent); color:#fff; opacity:.95; }
/* @keyframes pulse removed — see dataFlow on .conn-line */

/* floating info panel on the map */
.net-info-panel {
    position:absolute; top:16px; right:16px; z-index:9; min-width:210px; max-width:268px;
    background:rgba(255,255,255,.97); border:none; border-radius:14px;
    padding:18px 22px; box-shadow:0 12px 40px rgba(0,10,30,.3), 0 4px 12px rgba(0,0,0,.1);
    backdrop-filter:blur(8px);
}
.nip-default { display:flex; flex-direction:column; }
.nip-count { font-family:var(--font-head); font-weight:800; font-size:42px; color:var(--navy); line-height:1; }
.nip-label { font-family:var(--font-head); font-weight:700; font-size:14px; color:var(--charcoal); margin-top:8px; }
.nip-sub { font-size:12.5px; color:var(--gray); margin-top:5px; }
.nip-detail .nip-tag {
    display:inline-block; background:var(--accent); color:#fff; font-family:var(--font-head);
    font-weight:700; font-size:10.5px; letter-spacing:.08em; text-transform:uppercase; padding:3px 11px; border-radius:50px; margin-bottom:11px;
}
.nip-detail .nip-name { font-family:var(--font-head); font-size:22px; font-weight:800; color:var(--navy); line-height:1.1; }
.nip-detail .nip-role { font-size:13.5px; color:var(--accent); font-weight:600; margin-top:5px; }
.nip-detail .nip-desc { font-size:13.5px; color:var(--charcoal); line-height:1.6; margin-top:9px; }
.netmap-hint { text-align:center; font-size:13px; color:var(--gray); margin-top:12px; letter-spacing:.02em; }

.net-cards { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.net-card { background:#fff; border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; transition:all .25s ease; }
.net-card:hover, .net-card.active { border-color:var(--navy); box-shadow:var(--shadow-md); transform:translateY(-4px); }
.net-thumb { height:150px; background-size:cover; background-position:center; background-color:var(--bg-gray); position:relative; }
.net-thumb::after { content:''; position:absolute; inset:0; background:linear-gradient(180deg, transparent 45%, rgba(0,43,92,.40)); }
.net-info { padding:16px 18px 20px; }
.net-name { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.net-info h4 { font-family:var(--font-head); font-weight:700; font-size:18px; color:var(--navy); }
.net-info p { font-size:13px; color:var(--gray); margin-top:5px; }
.hq-tag { display:inline-block; background:var(--accent); color:#fff; font-family:var(--font-head); font-weight:700; font-size:10.5px; letter-spacing:.08em; text-transform:uppercase; padding:3px 11px; border-radius:50px; }
.net-expand { display:flex; align-items:center; justify-content:center; border-style:dashed; min-height:226px; background:var(--bg-light); }
.net-expand .net-info { text-align:center; }

/* Sourcing bases — image cards */
.src-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
.src-card { padding:0; overflow:hidden; display:flex; flex-direction:column; }
.src-img { height:215px; background-size:cover; background-position:center; background-color:var(--bg-gray); position:relative; }
.src-img .src-no { position:absolute; top:14px; left:14px; background:var(--accent); color:#fff; font-family:var(--font-head); font-weight:800; font-size:14px; padding:5px 13px; border-radius:6px; letter-spacing:.05em; }
.src-body { padding:28px 28px 30px; }
.src-body h4 { font-family:var(--font-head); font-size:21px; font-weight:700; color:var(--navy); margin-bottom:10px; }
.src-body p { font-size:14.5px; color:var(--gray); line-height:1.7; margin-bottom:14px; }
.src-tags { display:flex; flex-wrap:wrap; gap:8px; }
.src-tags span { background:var(--bg-gray); color:var(--blue-mid); font-family:var(--font-head); font-weight:600; font-size:12px; padding:4px 12px; border-radius:50px; }

/* Advantages */
.adv-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.adv-card { padding:38px 30px; text-align:center; }
.adv-ico { width:70px; height:70px; border-radius:14px; background:var(--navy); color:#fff; display:flex; align-items:center; justify-content:center; margin:0 auto 22px; font-size:30px; }
.adv-card h4 { font-size:19px; font-weight:700; margin-bottom:12px; }
.adv-card p { font-size:14.5px; color:var(--gray); line-height:1.7; }

/* Services */
.svc-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.svc-card { background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:32px 24px; transition:all .25s ease; }
.svc-card:hover { border-color:var(--navy); box-shadow:var(--shadow-md); transform:translateY(-4px); }
.svc-num { font-family:var(--font-head); font-weight:800; font-size:42px; color:var(--silver-light); line-height:1; margin-bottom:14px; }
.svc-card h4 { font-family:var(--font-head); font-size:17px; font-weight:700; color:var(--navy); margin-bottom:8px; }
.svc-card p { font-size:13.5px; color:var(--gray); line-height:1.6; }

/* CTA strip */
.cta-strip { background:var(--navy); color:#fff; text-align:center; padding:60px 0; position:relative; overflow:hidden; }
.cta-strip::before { content:''; position:absolute; inset:0; background:radial-gradient(circle at 50% 120%, rgba(217,24,18,.22), transparent 60%); }
.cta-strip .container { position:relative; z-index:2; }
.cta-strip h2 { color:#fff; font-size:clamp(26px,3.2vw,38px); font-weight:800; text-transform:uppercase; letter-spacing:.01em; }
.cta-strip p { color:#c6d4e8; max-width:560px; margin:14px auto 28px; font-size:16px; }

/* ---------- About page ---------- */
.about-intro { display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.about-intro .lead { font-size:18px; color:var(--charcoal); line-height:1.8; margin-bottom:18px; }
.about-intro p { color:var(--gray); line-height:1.8; margin-bottom:14px; }
.about-fig { background:linear-gradient(135deg,var(--navy),var(--navy-dark)); border-radius:14px; padding:44px; position:relative; overflow:hidden; min-height:320px; display:flex; flex-direction:column; justify-content:center; }
.about-fig::after { content:''; position:absolute; right:-60px; top:-60px; width:240px; height:240px; background:radial-gradient(circle, rgba(217,24,18,.25), transparent 70%); border-radius:50%; }
.about-fig .big { font-family:var(--font-head); font-weight:800; font-size:96px; color:rgba(255,255,255,.07); line-height:1; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); }
.about-fig .metrics { display:grid; grid-template-columns:1fr 1fr; gap:18px; position:relative; z-index:2; }
.metric { background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.14); border-radius:10px; padding:20px; }
.metric .v { font-family:var(--font-head); font-weight:800; font-size:32px; color:#fff; line-height:1; }
.metric .k { font-size:12px; color:#c6d4e8; text-transform:uppercase; letter-spacing:.06em; margin-top:6px; }

/* ========== About — Brand Mission & Core Concept ========== */
.mission-grid { display:grid; grid-template-columns:1fr 1fr; gap:28px; align-items:stretch; }
.mission-block { border-radius:14px; padding:38px 36px; display:flex; flex-direction:column; justify-content:center; }
.mission-mission { background:linear-gradient(135deg,var(--navy),var(--navy-dark)); color:#fff; position:relative; overflow:hidden; }
.mission-mission::after { content:''; position:absolute; right:-50px; top:-50px; width:200px; height:200px; background:radial-gradient(circle, rgba(217,24,18,.22), transparent 70%); border-radius:50%; }
.mission-mission .eyebrow { color:#7dd3fc; position:relative; z-index:2; }
.mission-mission p { font-size:18px; line-height:1.7; color:#eaf1fa; margin-top:12px; position:relative; z-index:2; }
.mission-concept { background:var(--bg-light); border:1px solid var(--border); }
.mission-concept .eyebrow { color:var(--accent); }
.concept-pills { display:flex; flex-wrap:wrap; gap:12px; margin-top:18px; }
.concept-pill {
    background:#fff; border:1px solid var(--border); color:var(--navy);
    font-family:var(--font-head); font-weight:700; font-size:14px;
    padding:10px 18px; border-radius:50px;
    box-shadow:0 2px 8px rgba(0,0,0,.04);
}
@media (max-width:768px){
    .mission-grid { grid-template-columns:1fr; }
}

/* ========== Company Strength — minimal strip: numbers + glowing tech bg + CTA ========== */
.strength-module {
    position:relative; overflow:hidden;
    padding:0; margin:0;
}
.strength-bg {
    position:absolute; inset:0;
    background:
        linear-gradient(135deg, rgba(0,20,50,.95) 0%, rgba(0,12,35,.97) 50%, rgba(0,8,25,.98) 100%),
        url('../img/stats-bg.jpg') center/cover no-repeat;
}
/* tech glow animation overlay */
.strength-bg::before {
    content:''; position:absolute; inset:0;
    background:
        radial-gradient(ellipse 700px 400px at 15% 50%, rgba(0,180,255,.10) 0%, transparent 70%),
        radial-gradient(ellipse 500px 350px at 85% 40%, rgba(217,24,18,.08) 0%, transparent 65%);
    animation:techGlow 6s ease-in-out infinite alternate;
}
@keyframes techGlow {
    0%   { opacity:.7; }
    100% { opacity:1; }
}
/* subtle scan line effect */
.strength-bg::after {
    content:''; position:absolute; inset:0;
    background:repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0,200,255,.02) 2px,
        rgba(0,200,255,.02) 4px
    );
    pointer-events:none;
}
.strength-module > .container { position:relative; z-index:2; }

.strength-strip {
    display:flex; align-items:center; justify-content:center; gap:48px;
    padding:52px 24px;
}
.sstat { text-align:center; color:#fff; min-width:100px; }
.snum {
    display:block; font-family:var(--font-head); font-weight:800;
    font-size:44px; line-height:1; letter-spacing:-.02em; color:#fff;
}
.sp { font-size:22px; color:#7dd3fc; margin-left:1px; }
.slbl {
    display:block; font-family:var(--font-head); font-weight:600;
    font-size:11px; color:#8fa8c7; text-transform:uppercase;
    letter-spacing:.08em; margin-top:8px; white-space:nowrap;
}

.btn-scta {
    background:var(--accent); color:#fff; border-color:var(--accent);
    margin-left:16px; flex-shrink:0;
}
.btn-scta:hover { background:var(--accent-dark); transform:translateY(-2px); box-shadow:0 8px 24px rgba(217,24,18,.4); }

/* ========== Hub Service Flow (About page) ========== */
.hub-flow { display:flex; flex-direction:column; gap:28px; }
.hub-item {
    display:grid; grid-template-columns:280px 1fr auto; gap:28px; align-items:center;
    background:#fff; border:1px solid var(--border); border-radius:var(--radius);
    padding:28px; transition:all .3s ease; position:relative; overflow:hidden;
}
.hub-item:hover { border-color:var(--navy); box-shadow:var(--shadow-lg); transform:translateY(-3px); }
.hub-img { width:100%; height:180px; object-fit:cover; border-radius:8px; background:var(--bg-gray); }
.hub-info h4 { font-family:var(--font-head); font-size:20px; font-weight:700; color:var(--navy); margin-bottom:6px; }
.hub-info .hub-role { font-size:13px; color:var(--accent); font-weight:600; margin-bottom:10px; text-transform:uppercase; letter-spacing:.04em; }
.hub-info p { font-size:14px; color:var(--gray); line-height:1.7; }
.hub-services { display:flex; flex-direction:column; gap:8px; min-width:200px; }
.hub-svc {
    display:flex; align-items:center; gap:8px; font-size:13px; color:var(--charcoal);
    padding:8px 14px; background:var(--bg-light); border-radius:6px;
    font-family:var(--font-head); font-weight:600;
}
.hub-svc svg { width:16px; height:16px; color:var(--blue-mid); flex-shrink:0; }
.hub-arrow {
    width:48px; height:48px; border-radius:50%; background:var(--navy); color:#fff;
    display:flex; align-items:center; justify-content:center; flex-shrink:0;
    align-self: center;
}
.hub-arrow svg { width:20px; height:20px; }

/* ========== Certificate Cards with Lightbox ========== */
.cert-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:28px; }
.cert-card {
    background:#fff; border:1px solid var(--border); border-radius:var(--radius);
    overflow:hidden; transition:all .3s ease; cursor:pointer;
}
.cert-card:hover { border-color:var(--navy); box-shadow:var(--shadow-lg); transform:translateY(-4px); }
.cert-card-img {
    width:100%; height:220px; object-fit:cover; background:var(--bg-gray);
    transition:transform .4s ease;
}
.cert-card:hover .cert-card-img { transform:scale(1.03); }
.cert-card-body { padding:22px 24px 26px; }
.cert-card-body h4 { font-family:var(--font-head); font-size:18px; font-weight:700; color:var(--navy); margin-bottom:6px; }
.cert-card-body p { font-size:13.5px; color:var(--gray); line-height:1.6; }
.cert-badge {
    display:inline-block; background:var(--accent); color:#fff;
    font-family:var(--font-head); font-weight:700; font-size:10px;
    letter-spacing:.08em; text-transform:uppercase; padding:3px 10px; border-radius:50px; margin-bottom:10px;
}

/* Lightbox */
.lightbox-overlay {
    position:fixed; inset:0; z-index:9999; background:rgba(0,0,0,.85);
    display:flex; align-items:center; justify-content:center; opacity:0; visibility:hidden;
    transition:opacity .3s ease, visibility .3s ease; backdrop-filter:blur(8px);
}
.lightbox-overlay.active { opacity:1; visibility:visible; }
.lightbox-overlay img {
    max-width:90vw; max-height:85vh; object-fit:contain; border-radius:8px;
    box-shadow:0 20px 60px rgba(0,0,0,.5); transform:scale(.9); transition:transform .3s ease;
}
.lightbox-overlay.active img { transform:scale(1); }
.lightbox-close {
    position:absolute; top:24px; right:24px; width:44px; height:44px; border-radius:50%;
    background:rgba(255,255,255,.15); border:none; color:#fff; font-size:24px;
    cursor:pointer; display:flex; align-items:center; justify-content:center;
    transition:background .2s;
}
.lightbox-close:hover { background:rgba(255,255,255,.3); }

/* Process steps */
.process { display:grid; grid-template-columns:repeat(5,1fr); gap:0; position:relative; }
.step { text-align:center; padding:0 14px; position:relative; }
.step .dot { width:60px; height:60px; border-radius:50%; background:var(--navy); color:#fff; font-family:var(--font-head); font-weight:800; font-size:22px; display:flex; align-items:center; justify-content:center; margin:0 auto 18px; position:relative; z-index:2; }
.step:not(:last-child)::before { content:''; position:absolute; top:30px; left:50%; width:100%; height:2px; background:linear-gradient(90deg,var(--navy),var(--silver-light)); z-index:1; }
.step h4 { font-family:var(--font-head); font-weight:700; font-size:16px; color:var(--navy); margin-bottom:8px; }
.step p { font-size:13.5px; color:var(--gray); line-height:1.6; }

/* Cert grid */
.cert-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.cert-card { padding:38px 24px; text-align:center; }
.cert-ico { width:78px; height:78px; border-radius:50%; background:var(--bg-gray); display:flex; align-items:center; justify-content:center; margin:0 auto 18px; font-size:34px; }
.cert-card h4 { font-size:16px; font-weight:700; color:var(--navy); margin-bottom:8px; }
.cert-card p { font-size:13px; color:var(--gray); line-height:1.55; }

/* FAQ accordion */
.faq-list { max-width:820px; margin:0 auto; }
.faq-item { border:1px solid var(--border); border-radius:var(--radius); margin-bottom:12px; overflow:hidden; background:#fff; transition:border-color .25s; }
.faq-item.open { border-color:var(--navy); }
.faq-q { width:100%; background:none; border:none; padding:20px 24px; text-align:left; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:16px; font-family:var(--font-head); font-weight:700; font-size:16px; color:var(--navy); }
.faq-q .ic { font-size:22px; color:var(--accent); transition:transform .3s; flex-shrink:0; }
.faq-item.open .faq-q .ic { transform:rotate(45deg); }
.faq-a { max-height:0; overflow:hidden; transition:max-height .35s ease; }
.faq-a .inner { padding:0 24px 20px; color:var(--gray); font-size:15px; line-height:1.75; }

/* ---------- Products page ---------- */
.prod-layout { display:grid; grid-template-columns:260px 1fr; gap:40px; align-items:start; }
.prod-side { position:sticky; top:100px; }
.search-box { margin-bottom:24px; }
.search-box label { display:block; font-family:var(--font-head); font-weight:700; font-size:13px; text-transform:uppercase; letter-spacing:.05em; color:var(--navy); margin-bottom:10px; }
.search-input { width:100%; padding:13px 16px; border:1px solid var(--border); border-radius:var(--radius); font-family:var(--font-body); font-size:14.5px; outline:none; transition:border-color .2s; background:#fff; }
.search-input:focus { border-color:var(--navy); box-shadow:0 0 0 3px rgba(0,58,112,.1); }
.filter-title { font-family:var(--font-head); font-weight:700; font-size:13px; text-transform:uppercase; letter-spacing:.05em; color:var(--navy); margin-bottom:12px; }
.cat-filter { display:flex; flex-direction:column; gap:6px; }
.cat-filter button { text-align:left; background:none; border:1px solid var(--border); border-radius:var(--radius); padding:11px 14px; font-family:var(--font-body); font-size:14px; color:var(--charcoal); cursor:pointer; transition:all .2s; }
.cat-filter button:hover { border-color:var(--navy); background:var(--bg-light); }
.cat-filter button.active { background:var(--navy); color:#fff; border-color:var(--navy); font-weight:600; }
.cat-filter button .cnt { float:right; color:var(--gray-light); font-size:12px; }
.cat-filter button.active .cnt { color:#bcd0ec; }

.prod-results-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:22px; }
.prod-results-head h3 { font-family:var(--font-head); font-weight:700; font-size:18px; color:var(--navy); }
.prod-results-head .count { font-size:13.5px; color:var(--gray); }
.item-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.item-card { background:#fff; border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; transition:all .25s ease; display:flex; flex-direction:column; }
.item-card:hover { box-shadow:var(--shadow-md); transform:translateY(-4px); border-color:transparent; }
.item-thumb { height:160px; background-size:cover; background-position:center; background-color:var(--bg-gray); position:relative; overflow:hidden; cursor:zoom-in; transition:transform .35s ease; }
.item-thumb:hover { transform:scale(1.06); }
.item-thumb::after { content:''; position:absolute; inset:0; background:linear-gradient(180deg, transparent 50%, rgba(0,43,92,.45) 100%); opacity:0; transition:opacity .3s ease; pointer-events:none; }
.item-thumb:hover::after { opacity:1; }
.item-thumb .cat-badge { position:absolute; top:10px; left:10px; background:var(--navy); color:#fff; font-family:var(--font-head); font-weight:700; font-size:10.5px; text-transform:uppercase; letter-spacing:.05em; padding:3px 10px; border-radius:4px; }
.item-body { padding:18px 18px 20px; flex:1; display:flex; flex-direction:column; }
.item-body h4 { font-family:var(--font-head); font-size:16px; font-weight:700; color:var(--navy); margin-bottom:6px; line-height:1.3; }
.item-brand { font-size:12.5px; color:var(--accent); font-weight:600; margin-bottom:4px; }
.item-model { font-size:13px; color:var(--gray); margin-bottom:12px; line-height:1.5; }
.item-cta { margin-top:auto; font-family:var(--font-head); font-weight:700; font-size:12.5px; color:var(--navy); text-transform:uppercase; letter-spacing:.04em; display:inline-flex; gap:5px; }
.item-cta:hover { color:var(--accent); gap:9px; }
.no-result { grid-column:1/-1; text-align:center; padding:60px 20px; color:var(--gray); }
.no-result .big { font-size:48px; margin-bottom:12px; }

/* Product image hover preview (magnifier) */
.img-preview-popup {
    position:fixed; z-index:9999; pointer-events:none;
    width:320px; height:320px; border-radius:12px;
    overflow:hidden; box-shadow:0 20px 60px rgba(0,0,0,.35), 0 4px 16px rgba(0,0,0,.15);
    background:#fff; opacity:0; transform:scale(.85);
    transition:opacity .25s ease, transform .25s ease;
    border:1px solid var(--border);
}
.img-preview-popup.active { opacity:1; transform:scale(1); }
.img-preview-popup img { width:100%; height:100%; object-fit:cover; }

/* ---------- News page ---------- */
.news-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.news-card { background:#fff; border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; transition:all .25s ease; }
.news-thumb { height:180px; background-size:cover; background-position:center; background-color:var(--navy); display:flex; align-items:center; justify-content:center; position:relative; }
.news-thumb .pin { position:absolute; top:12px; left:12px; background:var(--accent); color:#fff; font-family:var(--font-head); font-weight:700; font-size:10.5px; text-transform:uppercase; letter-spacing:.06em; padding:4px 12px; border-radius:4px; }
.news-body { padding:26px; }
.news-date { font-family:var(--font-head); font-weight:700; font-size:12.5px; color:var(--accent); text-transform:uppercase; letter-spacing:.05em; margin-bottom:10px; }
.news-card h3 { font-family:var(--font-head); font-size:19px; font-weight:700; color:var(--navy); line-height:1.3; margin-bottom:10px; }
.news-card p { font-size:14px; color:var(--gray); line-height:1.65; }
.news-more { display:inline-block; margin-top:16px; font-family:var(--font-head); font-weight:700; font-size:13px; color:var(--navy); text-transform:uppercase; letter-spacing:.03em; }

/* News layout: left sidebar + right grid */
.news-layout { display:flex; gap:48px; align-items:flex-start; }
.news-sidebar { width:180px; flex-shrink:0; }
.news-cat-title {
    font-family:var(--font-head); font-weight:700; font-size:11px;
    color:var(--gray-light); text-transform:uppercase; letter-spacing:.12em;
    margin-bottom:16px; padding-bottom:10px;
    border-bottom:1px solid var(--border);
}
.news-cat-filter { display:flex; flex-direction:column; gap:2px; }
.news-cat-filter button {
    display:flex; justify-content:space-between; align-items:center;
    width:100%; padding:10px 4px 10px 0;
    background:none; border:none; border-radius:0;
    font-family:var(--font-head); font-weight:600; font-size:14.5px;
    color:var(--gray); cursor:pointer; transition:all .2s ease;
    position:relative;
}
.news-cat-filter button:hover { color:var(--navy); }
.news-cat-filter button.active {
    color:var(--navy); font-weight:700;
}
.news-cat-filter button.active::after {
    content:''; position:absolute; left:-18px; top:50%; transform:translateY(-50%);
    width:3px; height:18px; border-radius:2px; background:var(--accent);
}
.ncnt { font-size:11.5px; color:var(--silver); font-weight:400; }
.news-cat-filter button.active .ncnt { color:var(--accent); }
.news-main { flex:1; min-width:0; }

/* Make entire news card clickable */
.news-card-link { display:block; text-decoration:none; color:inherit; }
.news-card-link:hover .news-card { box-shadow:var(--shadow-md); transform:translateY(-4px); }

/* News pagination */
.news-pagination { display:flex; justify-content:center; gap:10px; margin-top:36px; }
.page-btn {
    width:44px; height:44px; border-radius:50%; border:2px solid var(--border);
    background:#fff; font-family:var(--font-head); font-weight:700;
    font-size:15px; color:var(--charcoal); cursor:pointer;
    transition:all .25s ease; display:flex; align-items:center; justify-content:center;
}
.page-btn:hover { border-color:var(--navy); color:var(--navy); }
.page-btn.active { background:var(--navy); border-color:var(--navy); color:#fff; }
.news-card.hidden { display:none; }

/* Detail article page */
.detail-article { font-size:16px; color:var(--charcoal); line-height:1.8; }
.detail-article h2 { font-family:var(--font-head); font-size:24px; font-weight:800; color:var(--navy); margin:36px 0 16px; }
.detail-article h2:first-child { margin-top:0; }
.detail-article p { margin-bottom:18px; }
.detail-article ul { margin:16px 0 24px 24px; padding:0; }
.detail-article li { margin-bottom:10px; line-height:1.7; }
.detail-article a { color:var(--accent); text-decoration:none; border-bottom:1px solid transparent; transition:border-color .2s; }
.detail-article a:hover { border-color:var(--accent); }
.detail-article strong { color:var(--navy); }

/* ---------- Contact page ---------- */
.contact-layout { display:grid; grid-template-columns:.9fr 1.1fr; gap:48px; align-items:start; }
.contact-info h3 { font-family:var(--font-head); font-size:24px; font-weight:800; color:var(--navy); text-transform:uppercase; margin-bottom:14px; }
.contact-info > p { color:var(--gray); line-height:1.75; margin-bottom:30px; }
.cinfo-item { display:flex; gap:16px; margin-bottom:24px; }
.cinfo-ico { width:46px; height:46px; min-width:46px; border-radius:10px; background:var(--bg-gray); display:flex; align-items:center; justify-content:center; font-size:18px; color:var(--navy); }
.cinfo-text h5 { font-family:var(--font-head); font-weight:700; font-size:15px; color:var(--charcoal); margin-bottom:3px; }
.cinfo-text p { font-size:14px; color:var(--gray); line-height:1.5; }
.cinfo-text a:hover { color:var(--accent); }

.inq-card { background:#fff; border:1px solid var(--border); border-radius:14px; padding:40px; box-shadow:var(--shadow-sm); }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.fgroup { margin-bottom:16px; }
.fgroup label { display:block; font-family:var(--font-head); font-weight:700; font-size:12.5px; text-transform:uppercase; letter-spacing:.05em; color:var(--navy); margin-bottom:8px; }
.fgroup input, .fgroup select, .fgroup textarea {
    width:100%; padding:13px 15px; border:1px solid var(--border); border-radius:var(--radius);
    font-family:var(--font-body); font-size:14.5px; color:var(--charcoal); outline:none; background:#fff; transition:border-color .2s, box-shadow .2s;
}
.fgroup input:focus, .fgroup select:focus, .fgroup textarea:focus { border-color:var(--navy); box-shadow:0 0 0 3px rgba(0,58,112,.1); }
.fgroup textarea { min-height:120px; resize:vertical; }
.fgroup select { cursor:pointer; }
.submit-btn { width:100%; margin-top:8px; justify-content:center; }

/* ---------- Footer ---------- */
.footer { background:var(--navy-dark); color:#cdd6e3; padding:64px 0 0; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:44px; padding-bottom:48px; border-bottom:1px solid rgba(255,255,255,.1); }
.footer-brand img { height:44px; margin-bottom:18px; filter:brightness(0) invert(1); opacity:.92; }
.footer-brand p { font-size:14px; color:#9fb0c8; line-height:1.7; max-width:300px; }
.footer-social { display:flex; gap:10px; margin-top:20px; }
.footer-social a { width:38px; height:38px; border-radius:9px; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.12); display:flex; align-items:center; justify-content:center; font-size:15px; color:#cdd6e3; transition:all .25s; }
.footer-social a:hover { background:var(--accent); border-color:var(--accent); color:#fff; transform:translateY(-2px); }
.footer-col h4 { font-family:var(--font-head); font-weight:700; font-size:14px; text-transform:uppercase; letter-spacing:.06em; color:#fff; margin-bottom:18px; }
.footer-col ul li { margin-bottom:11px; }
.footer-col ul a { font-size:14px; color:#9fb0c8; transition:color .2s; }
.footer-col ul a:hover { color:#fff; }
.footer-bottom { padding:22px 0; display:flex; justify-content:space-between; align-items:center; font-size:13px; color:#7e90ac; }
.footer-bottom a { color:#7e90ac; margin-left:22px; }
.footer-bottom a:hover { color:#fff; }

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

/* ---------- Testimonials page ---------- */
.brand-wall {
    display:grid; grid-template-columns:repeat(6,1fr); gap:16px;
    max-width:1080px; margin:0 auto;
}
.brand-logo-img {
    display:block; width:100%; height:auto; border-radius:var(--radius);
    transition:all .25s ease;
}
.brand-logo-img:hover { box-shadow:var(--shadow-md); transform:translateY(-3px); }

.case-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:26px; }
.case-card {
    background:#fff; border:1px solid var(--border); border-radius:var(--radius);
    border-top:4px solid var(--navy); transition:all .25s ease; overflow:hidden;
    display:flex; flex-direction:column; padding:0;
}
.case-card:hover { border-top-color:var(--accent); box-shadow:var(--shadow-md); transform:translateY(-4px); }
.case-media { position:relative; aspect-ratio:16/9; overflow:hidden; background:var(--navy); }
.case-media img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .6s ease; }
.case-card:hover .case-media img { transform:scale(1.06); }
.case-body { padding:26px 30px 26px; display:flex; flex-direction:column; flex:1; }
.case-kicker {
    display:inline-flex; align-items:center; gap:8px; align-self:flex-start;
    font-family:var(--font-head); font-weight:700; font-size:11.5px; text-transform:uppercase;
    letter-spacing:.08em; color:var(--accent); margin-bottom:14px;
}
.case-kicker .icon { width:15px; height:15px; }
.case-card h3 { font-size:21px; font-weight:700; margin-bottom:12px; }
.case-card p { color:var(--gray); font-size:14.5px; line-height:1.7; margin-bottom:0; }
.case-stats {
    display:flex; flex-wrap:wrap; gap:26px;
    margin-top:auto; padding-top:22px; border-top:1px solid var(--border);
}
.case-stat { display:flex; flex-direction:column; }
.case-stat strong { font-family:var(--font-head); font-size:24px; font-weight:800; color:var(--navy); line-height:1.1; }
.case-stat span { font-size:12px; color:var(--gray); margin-top:3px; }

.testi-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.testi-card {
    position:relative;
    background:#fff; border:1px solid var(--border); border-radius:var(--radius);
    padding:30px 28px 26px; margin:0; display:flex; flex-direction:column;
    transition:all .25s ease;
}
.testi-flag {
    position:absolute; top:24px; right:26px; width:36px; height:24px;
    border-radius:4px; object-fit:cover; box-shadow:0 1px 4px rgba(8,28,56,.18);
}
.testi-card:hover { box-shadow:var(--shadow-md); transform:translateY(-4px); border-color:transparent; }
.testi-stars { display:flex; gap:3px; color:#F5A623; margin-bottom:16px; }
.testi-stars .icon { width:16px; height:16px; }
.testi-card blockquote { font-size:15px; line-height:1.72; color:var(--charcoal); flex:1; margin:0 0 22px; }
.testi-card blockquote::before { content:'\201C'; }
.testi-card blockquote::after { content:'\201D'; }
.testi-author { display:flex; align-items:center; gap:13px; margin:0; padding-top:18px; border-top:1px solid var(--border); }
.testi-av {
    width:50px; height:50px; border-radius:50%; flex-shrink:0; overflow:hidden;
    background:var(--bg-gray); border:2px solid #fff;
    box-shadow:0 2px 8px rgba(8,28,56,.18); display:block;
}
.testi-av img { width:100%; height:100%; object-fit:cover; display:block; }
.testi-meta { display:flex; flex-direction:column; min-width:0; }
.testi-meta strong { font-family:var(--font-head); font-size:14.5px; color:var(--navy); }
.testi-meta small { font-size:12.5px; color:var(--gray); line-height:1.4; }

/* ---------- Responsive ---------- */
/* --- Responsive header: the FR/ES nav labels are much longer than the English
   ones, so tighten the nav on mid-size windows and drop the wordmark when a
   single line of it no longer fits beside the nav. --- */
@media (max-width:1440px) {
    .nav { gap:12px; }
    .nav a { font-size:12.5px; }
}
@media (max-width:1260px) {
    .brand-name { display:none; }
}
@media (max-width:1024px) {
    .hero-content { grid-template-columns:1fr; gap:30px; padding:84px 0; }
    .hero-lead { max-width:none; }
    .hero-side { border-left:0; padding-left:0; }
    .about-intro { grid-template-columns:1fr; gap:40px; }
    .prod-grid, .adv-grid { grid-template-columns:repeat(2,1fr); }
    .net-cards { grid-template-columns:repeat(2,1fr); }
    .src-grid { grid-template-columns:1fr; }
    .news-layout { flex-direction:column; gap:32px; }
    .news-sidebar { width:100%; }
    .news-cat-filter { flex-direction:row; flex-wrap:wrap; gap:8px; }
    .news-cat-filter button {
        padding:8px 18px; border:1px solid var(--border); border-radius:50px;
        background:#fff; font-size:13px;
    }
    .news-cat-filter button.active { background:var(--navy); color:#fff; border-color:var(--navy); }
    .news-cat-filter button.active::after { display:none; }
    .news-cat-filter button .ncnt { background:var(--bg-gray); padding:1px 8px; border-radius:50px; margin-left:6px; }
    .news-cat-filter button.active .ncnt { background:rgba(255,255,255,.2); color:#fff; }
    .svc-grid { grid-template-columns:repeat(2,1fr); }
    .cert-grid { grid-template-columns:repeat(2,1fr); }
    .news-grid { grid-template-columns:repeat(2,1fr); }
    .brand-wall { grid-template-columns:repeat(4,1fr); }
    .case-grid { grid-template-columns:1fr; }
    .testi-grid { grid-template-columns:repeat(2,1fr); }
    .process { grid-template-columns:repeat(2,1fr); gap:30px 0; }
    .step:not(:last-child)::before { display:none; }
    .prod-layout { grid-template-columns:1fr; }
    .prod-side { position:static; }
    .item-grid { grid-template-columns:repeat(2,1fr); }
    .contact-layout { grid-template-columns:1fr; gap:36px; }
    .nav { display:none; }
    .menu-toggle { display:flex; }
    .nav.open { display:flex; position:absolute; top:90px; left:0; right:0; background:#fff; flex-direction:column; gap:0; padding:10px 24px 20px; border-bottom:1px solid var(--border); box-shadow:var(--shadow-md); }
    .nav.open a { padding:14px 0; border-bottom:1px solid var(--border); }
    .footer-grid { grid-template-columns:1fr 1fr; }
    .net-info-panel { top:auto; bottom:14px; right:14px; min-width:200px; padding:14px 16px; }
    .pin-label { font-size:10px; padding:2px 8px; }
    .brand-logo { height:44px; max-width:180px; }
    .brand-name { display:none; }
}
@media (max-width:640px) {
    .section { padding:56px 0; }
    .prod-grid, .adv-grid, .net-cards, .src-grid, .svc-grid, .cert-grid, .news-grid, .item-grid { grid-template-columns:1fr; }
    .brand-wall { grid-template-columns:repeat(2,1fr); }
    .testi-grid { grid-template-columns:1fr; }
    .case-body { padding:22px 22px 22px; }
    .strength-strip { flex-wrap:wrap; gap:28px 36px; padding:40px 20px; }
    .sstat { min-width:80px; }
    .snum { font-size:34px; }
    .btn-scta { margin-left:0; width:100%; justify-content:center; }
    .hub-item { grid-template-columns:1fr; }
    .hub-services { min-width:0; flex-direction:row; flex-wrap:wrap; }
    .form-row { grid-template-columns:1fr; }
    .about-fig .metrics { grid-template-columns:1fr; }
    .footer-grid { grid-template-columns:1fr; }
    .footer-bottom { flex-direction:column; gap:12px; text-align:center; }
    .footer-bottom a { margin:0 11px; }
    .inq-card { padding:26px 20px; }
    .net-info-panel { position:static; min-width:0; max-width:none; margin:14px 14px 0; backdrop-filter:none; }
    .pin-label { display:none; }
}
