/* ═══════════════════════════════════════════════════
   PORTFOLIO STYLESHEET — Khaled Bin Islam (Phase 2)
   ═══════════════════════════════════════════════════ */

/* ─── Reset & Base ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary:      var(--primary-color,  #0A1628);
    --accent:       var(--secondary-color, #2D7FF9);
    --green:        #10b981;
    --accent-dim:   rgba(45,127,249,.12);
    --accent-glow:  rgba(45,127,249,.28);
    --green-dim:    rgba(16,185,129,.12);
    --card-bg:      #0f1f3a;
    --card-dark:    #132038;
    --bg-base:      #0d1b2e;
    --bg-alt:       #091424;
    --text:         #ffffff;
    --text-muted:   #94a3b8;
    --text-dim:     #64748b;
    --border:       rgba(255,255,255,.08);
    --border-hover: rgba(45,127,249,.35);
    --transition:   all .3s cubic-bezier(.4,0,.2,1);
    --radius:       14px;
    --radius-sm:    8px;
    --shadow:       0 4px 24px rgba(0,0,0,.25);
    --shadow-lg:    0 12px 48px rgba(0,0,0,.4);
    --font:         var(--font-family, 'Inter', sans-serif);
}

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
    font-family: var(--font);
    background: var(--bg-base);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

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

/* ─── Scrollbar ─────────────────────────────────────── */
::-webkit-scrollbar       { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 6px; }
::selection { background: var(--accent); color: #fff; }

/* ─── Container ─────────────────────────────────────── */
.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── Utilities ─────────────────────────────────────── */
.d-none  { display: none !important; }
.d-block { display: block !important; }
.ms-1    { margin-left: .25rem; }
.me-1    { margin-right: .25rem; }
.fs-4    { font-size: 1.5rem; }

.grad-text {
    background: linear-gradient(135deg, var(--accent) 0%, var(--green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.section {
    padding: 96px 0;
}
.section-alt {
    background: var(--bg-alt);
}

/* eyebrow label */
.eyebrow {
    display: flex; align-items: center; gap: 10px;
    font-size: 12px; font-weight: 600;
    color: var(--accent);
    text-transform: uppercase; letter-spacing: 2px;
    margin-bottom: 12px;
}
.eyebrow-line {
    display: inline-block;
    width: 28px; height: 2px;
    background: var(--accent);
    border-radius: 2px;
    flex-shrink: 0;
}

.sec-title {
    font-family: 'Poppins', var(--font);
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.6px;
    margin-bottom: 12px;
}
.sec-sub {
    font-size: 16px; color: var(--text-muted);
    margin-bottom: 48px; max-width: 540px;
}
.accent-link { color: var(--accent); }
.accent-link:hover { text-decoration: underline; }

.sec-header {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 48px; gap: 16px;
}

.btn-ghost {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--accent); font-size: 14px; font-weight: 600;
    padding: 8px 18px; border: 1px solid rgba(45,127,249,.3);
    border-radius: 8px; transition: var(--transition);
    white-space: nowrap;
}
.btn-ghost:hover { background: var(--accent-dim); border-color: var(--accent); }

.text-green { color: var(--green) !important; }

/* ═══════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════ */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: 68px;
    background: rgba(10,22,40,.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
.navbar.scrolled {
    background: rgba(10,22,40,.97);
    box-shadow: 0 4px 24px rgba(0,0,0,.3);
}
.navbar .container,
.nav-inner {
    height: 100%; display: flex; align-items: center; justify-content: space-between;
}

.nav-brand {
    display: flex; align-items: center; gap: 10px;
    font-size: 17px; font-weight: 700; color: #fff;
    letter-spacing: -.3px;
}
.brand-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:.35; } }

.nav-links {
    display: flex; align-items: center; gap: 2px; list-style: none;
}
.nav-link-item {
    padding: 8px 14px; border-radius: 8px; font-size: 14px; font-weight: 500;
    color: var(--text-muted); transition: var(--transition); cursor: pointer;
}
.nav-link-item:hover, .nav-link-item.active {
    color: #fff; background: var(--accent-dim);
}

.hamburger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 6px;
}
.hamburger span {
    display: block; width: 24px; height: 2px;
    background: #fff; border-radius: 2px; transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ═══════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex; align-items: center;
    position: relative; overflow: hidden;
    padding: 110px 0 80px;
    background: var(--primary);
}

.hero-mesh {
    position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(45,127,249,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45,127,249,.05) 1px, transparent 1px);
    background-size: 56px 56px;
}

.hero-orb {
    position: absolute; border-radius: 50%; pointer-events: none;
    filter: blur(60px);
}
.hero-orb-1 {
    width: 480px; height: 480px;
    background: radial-gradient(circle, rgba(45,127,249,.18) 0%, transparent 70%);
    top: -120px; right: -80px;
    animation: orbFloat 8s ease-in-out infinite;
}
.hero-orb-2 {
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(16,185,129,.12) 0%, transparent 70%);
    bottom: 60px; left: -60px;
    animation: orbFloat 10s ease-in-out infinite reverse;
}
@keyframes orbFloat {
    0%,100% { transform: translateY(0) scale(1); }
    50%      { transform: translateY(-30px) scale(1.06); }
}

.hero-body {
    position: relative; z-index: 2;
    max-width: 820px;
}

.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.25);
    color: var(--green); padding: 6px 14px; border-radius: 100px;
    font-size: 13px; font-weight: 500; margin-bottom: 28px;
}
.eyebrow-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--green);
    animation: pulse 1.5s ease-in-out infinite;
}

.hero-title {
    font-family: 'Poppins', var(--font);
    font-size: clamp(34px, 5.5vw, 62px);
    font-weight: 800; line-height: 1.1;
    letter-spacing: -1.5px; margin-bottom: 20px;
}
.hero-name {
    display: block;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-role {
    display: block; color: var(--accent);
    min-height: 1.2em;
}
.typed-cursor {
    display: inline-block;
    color: var(--accent);
    animation: blink .8s step-end infinite;
}
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0; } }

.hero-desc {
    font-size: clamp(15px, 2vw, 19px);
    color: var(--text-muted); max-width: 620px;
    margin-bottom: 14px;
}
.hero-loc {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--text-muted); font-size: 14px; margin-bottom: 36px;
}
.hero-loc .bi { color: var(--accent); }

.hero-actions {
    display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px;
}
.cta-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--accent); color: #fff;
    padding: 14px 28px; border-radius: 10px;
    font-size: 15px; font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 20px var(--accent-glow);
}
.cta-primary:hover {
    background: #1a6ee8; transform: translateY(-2px);
    box-shadow: 0 10px 32px var(--accent-glow);
}
.cta-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.07); color: #fff;
    border: 1px solid var(--border);
    padding: 14px 28px; border-radius: 10px;
    font-size: 15px; font-weight: 600;
    transition: var(--transition);
}
.cta-secondary:hover {
    background: rgba(255,255,255,.13); transform: translateY(-2px);
    border-color: rgba(255,255,255,.2);
}

.hero-social {
    display: flex; flex-wrap: wrap; gap: 10px;
}
.social-pill {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(255,255,255,.06); border: 1px solid var(--border);
    color: var(--text-muted); padding: 7px 14px;
    border-radius: 100px; font-size: 13px; font-weight: 500;
    transition: var(--transition);
}
.social-pill:hover {
    color: #fff; border-color: var(--accent);
    background: var(--accent-dim);
}

.hero-scroll-hint {
    position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
    width: 28px; height: 44px; border: 2px solid rgba(255,255,255,.25);
    border-radius: 14px; display: flex; align-items: flex-start; justify-content: center;
    padding-top: 7px;
}
.hero-scroll-hint span {
    display: block; width: 3px; height: 8px;
    background: var(--accent); border-radius: 2px;
    animation: scrollPulse 1.6s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%   { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(14px); opacity: 0; }
}

/* ═══════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════ */
.two-col {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 64px; align-items: start;
}
.two-col-text { }

.about-content {
    font-size: 16px; color: #cbd5e1; line-height: 1.9;
    margin-bottom: 28px;
}
.about-content p { margin-bottom: 16px; }
.about-content strong { color: #fff; }
.about-content a { color: var(--accent); }

.about-tags {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin-top: 24px;
}
.tag {
    background: var(--accent-dim); border: 1px solid rgba(45,127,249,.2);
    color: #93c5fd;
    padding: 4px 12px; border-radius: 100px;
    font-size: 12px; font-weight: 500;
    transition: var(--transition);
}
.tag:hover { background: rgba(45,127,249,.2); border-color: var(--accent); }

.about-cards {
    display: flex; flex-direction: column; gap: 12px;
}
.about-info-card {
    display: flex; align-items: center; gap: 14px;
    background: var(--card-dark); border: 1px solid var(--border);
    padding: 14px 18px; border-radius: 12px;
    transition: var(--transition);
}
.about-info-card:hover {
    border-color: var(--border-hover); transform: translateX(4px);
}
.info-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--accent-dim);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent); font-size: 18px; flex-shrink: 0;
}
.info-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .8px; display: block; }
.info-val    { font-size: 14px; font-weight: 600; display: block; margin-top: 2px; }

/* ═══════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.svc-card {
    display: block;
    background: var(--card-dark); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 28px 24px;
    transition: var(--transition); position: relative; overflow: hidden;
    color: inherit;
}
.svc-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--green));
    transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.svc-card:hover { border-color: var(--border-hover); transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.svc-card:hover::before { transform: scaleX(1); }

.svc-icon {
    width: 52px; height: 52px; border-radius: 12px;
    background: var(--accent-dim); color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; margin-bottom: 18px; transition: var(--transition);
}
.svc-card:hover .svc-icon { background: var(--accent); color: #fff; box-shadow: 0 8px 24px var(--accent-glow); }

.svc-name { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.svc-desc { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin-bottom: 16px; }
.svc-arrow { font-size: 16px; color: var(--accent); opacity: 0; transform: translateX(-6px); transition: var(--transition); display: inline-block; }
.svc-card:hover .svc-arrow { opacity: 1; transform: translateX(0); }
.svc-img-wrap { width: 100%; height: 140px; border-radius: 10px; overflow: hidden; margin-bottom: 18px; }
.svc-img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.svc-card:hover .svc-img { transform: scale(1.04); }

/* ═══════════════════════════════════════════════════
   PORTFOLIO
   ═══════════════════════════════════════════════════ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.proj-card {
    background: var(--card-dark); border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden;
    transition: var(--transition);
}
.proj-card:hover { border-color: var(--border-hover); transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.proj-img {
    position: relative; overflow: hidden; height: 200px; background: var(--primary);
}
.proj-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.proj-card:hover .proj-img img { transform: scale(1.06); }

.proj-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #132038, #0a1628);
}
.proj-placeholder .bi { font-size: 48px; color: rgba(45,127,249,.25); }

.proj-overlay {
    position: absolute; inset: 0;
    background: rgba(10,22,40,.75); backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
    gap: 8px; color: #fff; font-size: 15px; font-weight: 600;
    opacity: 0; transition: opacity .3s;
}
.proj-card:hover .proj-overlay { opacity: 1; }

.proj-video-badge {
    position: absolute; bottom: 12px; right: 12px;
    background: rgba(0,0,0,.6); backdrop-filter: blur(4px);
    color: #fff; border-radius: 6px; padding: 4px 8px; font-size: 18px;
}

.proj-body { padding: 22px; }
.proj-name { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.proj-desc { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin-bottom: 14px; }

.proj-tools { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.tool-badge {
    background: var(--accent-dim); border: 1px solid rgba(45,127,249,.2);
    color: #93c5fd; padding: 3px 10px; border-radius: 100px;
    font-size: 12px; font-weight: 500;
}

.proj-link {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--accent); font-size: 13px; font-weight: 600;
    padding: 8px 16px; border: 1px solid rgba(45,127,249,.3);
    border-radius: 8px; transition: var(--transition);
}
.proj-link:hover { background: var(--accent-dim); border-color: var(--accent); }

/* ═══════════════════════════════════════════════════
   CASE STUDIES
   ═══════════════════════════════════════════════════ */
.cs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.cs-card {
    display: block; color: inherit;
    background: var(--card-dark); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 28px;
    transition: var(--transition); position: relative;
}
.cs-card:hover { border-color: var(--border-hover); transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.cs-industry {
    display: inline-block;
    background: var(--green-dim); border: 1px solid rgba(16,185,129,.2);
    color: var(--green); padding: 3px 10px; border-radius: 100px;
    font-size: 11px; font-weight: 600; text-transform: uppercase;
    letter-spacing: .8px; margin-bottom: 14px;
}
.cs-title  { font-size: 18px; font-weight: 700; margin-bottom: 8px; line-height: 1.35; }
.cs-client { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }

.cs-metrics { display: flex; gap: 16px; margin-bottom: 20px; }
.cs-metric  { text-align: center; }
.cs-mval    { display: block; font-size: 22px; font-weight: 800; color: var(--accent); line-height: 1; }
.cs-mlabel  { display: block; font-size: 11px; color: var(--text-muted); margin-top: 4px; }

.cs-read {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 600; color: var(--accent);
    transition: gap .2s;
}
.cs-card:hover .cs-read { gap: 10px; }

/* ═══════════════════════════════════════════════════
   STATS BAND
   ═══════════════════════════════════════════════════ */
.stats-band {
    background: linear-gradient(135deg, #071020 0%, #0a1f3a 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 72px 0;
}
.stats-row {
    display: flex; align-items: center; justify-content: center;
    gap: 0; flex-wrap: wrap;
}
.stat-unit {
    flex: 1; min-width: 160px;
    text-align: center; padding: 24px 16px;
    position: relative;
}
.stat-divider {
    width: 1px; height: 80px;
    background: var(--border); flex-shrink: 0;
}
.stat-num {
    display: inline-block;
    font-family: 'Poppins', var(--font);
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 800; line-height: 1;
    background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-unit sup {
    font-size: 1.4rem; font-weight: 700; color: var(--accent);
    vertical-align: top; margin-top: .5rem;
    -webkit-text-fill-color: var(--accent);
}
.stat-rate {
    display: inline-block;
    font-family: 'Poppins', var(--font);
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 800; line-height: 1;
    background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-lbl {
    display: block; font-size: 13px; color: var(--text-muted);
    margin-top: 8px; font-weight: 500;
}

/* ═══════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════ */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px; margin-top: 48px;
}
.testi-card {
    background: var(--card-dark); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 28px;
    transition: var(--transition);
    display: flex; flex-direction: column;
}
.testi-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }

.testi-stars {
    display: flex; gap: 3px; color: #f59e0b;
    font-size: 15px; margin-bottom: 16px;
}
.testi-quote {
    font-size: 15px; color: #cbd5e1; line-height: 1.75;
    font-style: italic; flex: 1; margin-bottom: 20px;
}
.testi-author {
    display: flex; align-items: center; gap: 12px;
    padding-top: 16px; border-top: 1px solid var(--border);
}
.testi-avatar-img {
    width: 42px; height: 42px; border-radius: 50%; object-fit: cover;
}
.testi-avatar-init {
    width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
    background: var(--accent-dim); color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; font-weight: 700;
}
.testi-name { display: block; font-size: 14px; font-weight: 700; }
.testi-role { font-size: 12px; color: var(--text-muted); }

/* ═══════════════════════════════════════════════════
   BLOG CARDS
   ═══════════════════════════════════════════════════ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.blog-card {
    background: var(--card-dark); border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden;
    transition: var(--transition);
}
.blog-card:hover { border-color: var(--border-hover); transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.blog-img-wrap {
    position: relative; overflow: hidden; height: 200px; background: var(--primary);
}
.blog-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-card:hover .blog-img-wrap img { transform: scale(1.05); }

.blog-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #0f1f3a, #071020);
}
.blog-placeholder .bi { font-size: 44px; color: rgba(45,127,249,.2); }

.blog-cat {
    position: absolute; top: 14px; left: 14px;
    background: var(--accent); color: #fff;
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .8px; padding: 3px 10px; border-radius: 6px;
}

.blog-body { padding: 22px; }
.blog-title {
    font-size: 17px; font-weight: 700; margin-bottom: 8px; line-height: 1.4;
}
.blog-title a { color: inherit; transition: color .2s; }
.blog-title a:hover { color: var(--accent); }
.blog-excerpt { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin-bottom: 14px; }
.blog-meta {
    display: flex; gap: 16px; font-size: 12px; color: var(--text-dim);
}
.blog-meta .bi { color: var(--accent); }

/* ═══════════════════════════════════════════════════
   FAQ ACCORDION
   ═══════════════════════════════════════════════════ */
.faq-layout {
    display: grid; grid-template-columns: 1fr 1.4fr;
    gap: 64px; align-items: start;
}
.faq-list { display: flex; flex-direction: column; gap: 10px; }

.faq-item {
    background: var(--card-dark); border: 1px solid var(--border);
    border-radius: var(--radius-sm); overflow: hidden;
    transition: border-color .2s;
}
.faq-item.open { border-color: rgba(45,127,249,.3); }

.faq-q {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: 18px 20px; background: none; border: none; cursor: pointer;
    font-size: 15px; font-weight: 600; color: #fff; text-align: left; gap: 12px;
    transition: var(--transition);
}
.faq-q:hover { color: var(--accent); }
.faq-icon {
    font-size: 18px; color: var(--accent); flex-shrink: 0;
    transition: transform .3s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-a {
    max-height: 0; overflow: hidden;
    transition: max-height .35s ease, padding .25s ease;
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner {
    padding: 0 20px 18px;
    font-size: 14px; color: var(--text-muted); line-height: 1.75;
}

/* ═══════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════ */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px; margin-top: 48px;
}
.contact-card {
    display: flex; align-items: center; gap: 18px;
    background: var(--card-dark); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 24px 22px;
    transition: var(--transition); color: inherit;
    position: relative;
}
.contact-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow); }

.cc-icon {
    width: 52px; height: 52px; border-radius: 12px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
}
.cc-body { flex: 1; }
.cc-body h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.cc-body p  { font-size: 13px; color: var(--text-muted); margin-bottom: 6px; }
.cc-cta     { font-size: 12px; font-weight: 600; color: var(--accent); }
.cc-arrow   { font-size: 16px; color: var(--text-dim); transition: var(--transition); }
.contact-card:hover .cc-arrow { color: var(--accent); transform: translate(3px,-3px); }

/* ═══════════════════════════════════════════════════
   NEWSLETTER BAND
   ═══════════════════════════════════════════════════ */
.newsletter-band {
    background: linear-gradient(135deg, #071828 0%, #0d1b2e 50%, #071828 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 72px 0;
}
.nl-inner {
    max-width: 640px; margin: 0 auto; text-align: center;
}
.nl-text h3 { font-size: clamp(20px, 3vw, 28px); font-weight: 700; margin-bottom: 10px; }
.nl-text p  { color: var(--text-muted); margin-bottom: 28px; }

.nl-form { display: flex; gap: 10px; max-width: 500px; margin: 0 auto 12px; }
.nl-input {
    flex: 1; background: rgba(255,255,255,.06); border: 1px solid var(--border);
    color: #fff; padding: 12px 16px; border-radius: 10px;
    font-size: 14px; outline: none; transition: var(--transition);
}
.nl-input::placeholder { color: var(--text-dim); }
.nl-input:focus { border-color: var(--accent); background: rgba(255,255,255,.09); }
.nl-btn {
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--accent); color: #fff; border: none; cursor: pointer;
    padding: 12px 22px; border-radius: 10px;
    font-size: 14px; font-weight: 600; transition: var(--transition);
    white-space: nowrap;
}
.nl-btn:hover { background: #1a6ee8; transform: translateY(-1px); box-shadow: 0 6px 20px var(--accent-glow); }
.nl-msg { font-size: 14px; margin-top: 10px; color: var(--green); }

/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */
.footer {
    background: #060e1a;
    border-top: 1px solid var(--border);
    padding: 56px 0 24px;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px; margin-bottom: 48px;
    padding-bottom: 48px; border-bottom: 1px solid var(--border);
}
.footer-brand { }
.footer-tagline { font-size: 14px; color: var(--text-muted); margin: 10px 0 20px; line-height: 1.6; }
.footer-social  { display: flex; gap: 8px; }
.footer-social a {
    width: 36px; height: 36px; border-radius: 8px;
    background: rgba(255,255,255,.05); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); font-size: 15px; transition: var(--transition);
}
.footer-social a:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-2px); }

.footer-links-group h4 {
    font-size: 13px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; color: var(--text-muted); margin-bottom: 16px;
}
.footer-links-group a {
    display: block; font-size: 14px; color: var(--text-muted);
    padding: 5px 0; transition: color .2s;
}
.footer-links-group a:hover { color: #fff; }

.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 8px;
}
.footer-bottom p  { font-size: 13px; color: var(--text-dim); }
.footer-credit    { font-size: 12px; color: var(--text-dim); }

/* ═══════════════════════════════════════════════════
   WHATSAPP FLOAT
   ═══════════════════════════════════════════════════ */
.whatsapp-float {
    position: fixed; bottom: 28px; right: 28px; z-index: 999;
    width: 56px; height: 56px; border-radius: 16px;
    background: #25d366; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; box-shadow: 0 6px 24px rgba(37,211,102,.4);
    transition: var(--transition);
    animation: floatWA 3s ease-in-out infinite;
}
.whatsapp-float:hover { background: #128c7e; transform: scale(1.1) translateY(-3px); animation: none; }
@keyframes floatWA { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ═══════════════════════════════════════════════════
   INNER PAGES — shared
   ═══════════════════════════════════════════════════ */
.page-hero {
    padding: 140px 0 60px;
    background: var(--primary);
    border-bottom: 1px solid var(--border);
}
.page-hero .eyebrow { margin-bottom: 10px; }
.page-hero h1 {
    font-family: 'Poppins', var(--font);
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 800; line-height: 1.2; margin-bottom: 12px;
}
.page-hero p { font-size: 17px; color: var(--text-muted); max-width: 560px; }

.page-hero-meta {
    display: flex; flex-wrap: wrap; gap: 16px;
    margin-top: 16px; font-size: 13px; color: var(--text-muted);
}
.page-hero-meta span { display: flex; align-items: center; gap: 6px; }
.page-hero-meta .bi { color: var(--accent); }

/* ═══════════════════════════════════════════════════
   BLOG LISTING PAGE
   ═══════════════════════════════════════════════════ */
.cat-filter {
    display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px;
}
.cat-btn {
    padding: 7px 16px; border-radius: 100px;
    font-size: 13px; font-weight: 500;
    background: rgba(255,255,255,.05); border: 1px solid var(--border);
    color: var(--text-muted); transition: var(--transition); cursor: pointer;
}
.cat-btn:hover, .cat-btn.active {
    background: var(--accent); border-color: var(--accent); color: #fff;
}

.pagination-wrap { margin-top: 56px; }
.pagination-wrap nav {
    display: flex; justify-content: center; gap: 6px; flex-wrap: wrap;
}
.pagination-wrap .page-link {
    padding: 8px 14px; border-radius: 8px; font-size: 14px;
    background: var(--card-dark); border: 1px solid var(--border);
    color: var(--text-muted); transition: var(--transition);
}
.pagination-wrap .page-link:hover { border-color: var(--accent); color: var(--accent); }
.pagination-wrap .page-item.active .page-link { background: var(--accent); border-color: var(--accent); color: #fff; }
.pagination-wrap .page-item.disabled .page-link { opacity: .4; cursor: default; }

/* ═══════════════════════════════════════════════════
   BLOG SINGLE POST
   ═══════════════════════════════════════════════════ */
.post-layout {
    display: grid; grid-template-columns: 1fr 300px;
    gap: 48px; align-items: start;
}
.post-img {
    width: 100%; border-radius: var(--radius); overflow: hidden;
    margin-bottom: 36px; max-height: 420px;
}
.post-img img { width: 100%; height: 100%; object-fit: cover; }

.post-content {
    font-size: 16px; color: #cbd5e1; line-height: 1.9;
}
.post-content h2, .post-content h3 {
    font-family: 'Poppins', var(--font); color: #fff;
    margin: 32px 0 14px;
}
.post-content h2 { font-size: 26px; }
.post-content h3 { font-size: 20px; }
.post-content p  { margin-bottom: 20px; }
.post-content a  { color: var(--accent); }
.post-content a:hover { text-decoration: underline; }
.post-content ul, .post-content ol { padding-left: 24px; margin-bottom: 20px; }
.post-content li { margin-bottom: 8px; }
.post-content blockquote {
    border-left: 3px solid var(--accent); padding-left: 20px;
    margin: 24px 0; color: var(--text-muted); font-style: italic;
}
.post-content img { border-radius: 10px; margin: 24px 0; }
.post-content code { background: var(--card-dark); padding: 2px 7px; border-radius: 4px; font-size: 13px; color: #93c5fd; }
.post-content pre  { background: var(--card-dark); border: 1px solid var(--border); border-radius: 10px; padding: 20px; overflow-x: auto; margin: 24px 0; }

.post-share {
    display: flex; align-items: center; gap: 12px;
    padding: 20px 0; border-top: 1px solid var(--border); margin-top: 36px;
}
.post-share span { font-size: 14px; font-weight: 600; }
.share-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 14px; border-radius: 8px; font-size: 13px;
    background: rgba(255,255,255,.06); border: 1px solid var(--border);
    color: var(--text-muted); transition: var(--transition);
}
.share-btn:hover { color: #fff; background: var(--accent); border-color: var(--accent); }

/* Sidebar */
.post-sidebar { position: sticky; top: 88px; }
.sidebar-card {
    background: var(--card-dark); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 22px; margin-bottom: 20px;
}
.sidebar-card h4 {
    font-size: 14px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .8px; color: var(--text-muted); margin-bottom: 16px;
}
.sidebar-post {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 10px 0; border-bottom: 1px solid var(--border);
}
.sidebar-post:last-child { border-bottom: none; }
.sidebar-post img { width: 56px; height: 44px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.sidebar-post-title { font-size: 13px; font-weight: 600; line-height: 1.4; color: inherit; }
.sidebar-post-title:hover { color: var(--accent); }
.sidebar-post-date { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

/* ═══════════════════════════════════════════════════
   CASE STUDIES PAGE
   ═══════════════════════════════════════════════════ */
.case-study-full {
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    gap: 28px;
}
.cs-full-card {
    background: var(--card-dark); border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden;
    transition: var(--transition); display: flex; flex-direction: column;
}
.cs-full-card:hover { border-color: var(--border-hover); transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.cs-full-card .card-img { height: 180px; background: var(--primary); overflow: hidden; }
.cs-full-card .card-img img { width:100%; height:100%; object-fit: cover; }
.cs-full-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }

/* ═══════════════════════════════════════════════════
   CASE STUDY DETAIL PAGE
   ═══════════════════════════════════════════════════ */
.cs-detail-grid {
    display: grid; grid-template-columns: 1fr 320px;
    gap: 48px; align-items: start;
}
.cs-section-block {
    background: var(--card-dark); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 28px; margin-bottom: 20px;
}
.cs-section-block h3 {
    font-size: 16px; font-weight: 700; color: var(--accent);
    text-transform: uppercase; letter-spacing: .8px;
    margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
}
.cs-section-block p { font-size: 15px; color: #cbd5e1; line-height: 1.85; }

.cs-metrics-large { display: flex; gap: 20px; flex-wrap: wrap; margin: 28px 0; }
.cs-metric-lg {
    flex: 1; min-width: 120px; text-align: center;
    background: var(--card-dark); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 22px 14px;
}
.cs-metric-lg .val {
    font-family: 'Poppins', var(--font); font-size: 36px; font-weight: 800;
    color: var(--accent); display: block; line-height: 1;
    background: linear-gradient(135deg, var(--accent), var(--green));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.cs-metric-lg .lbl { font-size: 13px; color: var(--text-muted); margin-top: 8px; display: block; }

.cs-testimonial {
    background: var(--card-dark); border: 1px solid rgba(45,127,249,.25);
    border-radius: var(--radius); padding: 28px; margin-top: 20px;
    position: relative;
}
.cs-testimonial::before {
    content: '"'; position: absolute; top: 14px; left: 20px;
    font-size: 60px; color: var(--accent); opacity: .2;
    font-family: Georgia, serif; line-height: 1;
}
.cs-testimonial blockquote { font-size: 16px; font-style: italic; color: #cbd5e1; line-height: 1.75; margin-bottom: 14px; }
.cs-testimonial cite { font-size: 13px; color: var(--text-muted); font-style: normal; }

.video-embed {
    position: relative; padding-bottom: 56.25%; height: 0;
    overflow: hidden; border-radius: var(--radius); margin: 24px 0;
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.others-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px; margin-top: 24px;
}
.other-card {
    display: block; color: inherit;
    background: var(--card-dark); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 18px;
    transition: var(--transition);
}
.other-card:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.other-card h4 { font-size: 14px; font-weight: 600; margin-bottom: 6px; line-height: 1.4; }
.other-card p  { font-size: 12px; color: var(--text-muted); }

/* ═══════════════════════════════════════════════════
   SERVICE DETAIL PAGE
   ═══════════════════════════════════════════════════ */
.svc-detail-layout {
    display: grid; grid-template-columns: 1fr 310px;
    gap: 48px; align-items: start;
}

.process-steps { list-style: none; position: relative; padding-left: 32px; }
.process-steps::before {
    content: ''; position: absolute; left: 11px; top: 12px; bottom: 12px;
    width: 2px; background: linear-gradient(to bottom, var(--accent), transparent);
}
.process-step {
    position: relative; padding: 4px 0 22px; display: flex; gap: 16px;
}
.step-num {
    position: absolute; left: -32px; top: 0;
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--accent); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700; flex-shrink: 0; z-index: 1;
}
.step-text { font-size: 15px; color: #cbd5e1; line-height: 1.6; padding-top: 2px; }

.features-list, .benefits-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.features-list li, .benefits-list li {
    display: flex; align-items: center; gap: 10px;
    font-size: 15px; color: #cbd5e1;
}
.features-list li::before { content: '\F26A'; font-family: 'bootstrap-icons'; color: var(--accent); font-size: 16px; flex-shrink: 0; }
.benefits-list li::before { content: '\F270'; font-family: 'bootstrap-icons'; color: var(--green); font-size: 16px; flex-shrink: 0; }

.cta-box {
    background: linear-gradient(135deg, var(--card-dark), #0f2040);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius); padding: 28px; text-align: center;
    margin-top: 20px;
}
.cta-box h3  { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.cta-box p   { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.cta-box .cta-primary { width: 100%; justify-content: center; margin-bottom: 10px; }
.cta-box .cta-secondary { width: 100%; justify-content: center; font-size: 14px; }

/* related services */
.related-svcs { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.related-svc {
    display: flex; align-items: center; gap: 14px;
    background: rgba(255,255,255,.03); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 12px 16px;
    transition: var(--transition); color: inherit;
}
.related-svc:hover { border-color: var(--border-hover); background: var(--accent-dim); }
.related-svc .bi { font-size: 20px; color: var(--accent); flex-shrink: 0; }
.related-svc span { font-size: 14px; font-weight: 600; }

/* ═══════════════════════════════════════════════════
   HERO — PROFILE PHOTO (two-column layout)
   ═══════════════════════════════════════════════════ */
.hero-body {
    position: relative; z-index: 2;
    width: 100%;
}

/* when no photo: keep old centred text layout */
.hero-body:not(.has-photo) .hero-text-col { max-width: 820px; }

/* two-column layout when photo present */
.hero-body.has-photo {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 56px;
    align-items: center;
}
.hero-text-col { /* text side — no extra rules needed; inherits flow */ }

.hero-img-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-photo-wrap {
    position: relative;
    width: 300px;
    height: 300px;
    flex-shrink: 0;
}

.hero-photo-ring {
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--accent), #10b981, var(--accent));
    filter: blur(16px);
    opacity: .5;
    z-index: 0;
    animation: ringSpin 7s linear infinite;
    will-change: transform;
}

/* secondary outer pulse ring */
.hero-photo-wrap::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(45,127,249,.35);
    animation: ringPulse 3s ease-in-out infinite;
}

@keyframes ringSpin  { to { transform: rotate(360deg); } }
@keyframes ringPulse { 0%,100% { opacity:.35; transform: scale(1); } 50% { opacity:.7; transform: scale(1.04); } }

.hero-photo {
    position: relative;
    z-index: 1;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(45,127,249,.4);
    box-shadow: 0 0 40px rgba(45,127,249,.25), 0 16px 48px rgba(0,0,0,.4);
    display: block;
}

/* ═══════════════════════════════════════════════════
   ABOUT — PHOTO variant
   ═══════════════════════════════════════════════════ */
.two-col.has-about-photo {
    grid-template-columns: 1fr 320px;
    align-items: start;
}

.about-photo-wrap {
    position: relative;
}

.about-photo {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 12px 40px rgba(0,0,0,.35);
    border: 2px solid var(--border);
    transition: var(--transition);
}
.about-photo-wrap:hover .about-photo {
    border-color: var(--border-hover);
    box-shadow: 0 16px 56px rgba(45,127,249,.2);
}

.about-cards-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 32px;
}

/* proj-video-badge as button (reset browser defaults) */
.proj-video-badge {
    background: rgba(0,0,0,.6);
    backdrop-filter: blur(4px);
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 18px;
    line-height: 1;
    transition: var(--transition);
}
.proj-video-badge:hover { background: var(--accent); transform: scale(1.1); }

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .two-col             { grid-template-columns: 1fr; gap: 40px; }
    .two-col.has-about-photo { grid-template-columns: 1fr; }
    .faq-layout          { grid-template-columns: 1fr; gap: 40px; }
    .post-layout         { grid-template-columns: 1fr; }
    .cs-detail-grid      { grid-template-columns: 1fr; }
    .svc-detail-layout   { grid-template-columns: 1fr; }
    .footer-top          { grid-template-columns: 1fr 1fr; gap: 32px; }
    .stat-divider        { display: none; }
    .stats-row           { gap: 0; }
    .stat-unit           { border-bottom: 1px solid var(--border); }

    /* hero photo: keep two-col up to 1024 but tighten gap */
    .hero-body.has-photo { grid-template-columns: 1fr 280px; gap: 36px; }
    .hero-photo-wrap     { width: 240px; height: 240px; }
    .hero-photo          { width: 240px; height: 240px; }
}

@media (max-width: 768px) {
    /* ── Nav ── */
    .nav-links {
        position: fixed; inset: 68px 0 0 0;
        background: rgba(10,22,40,.97); backdrop-filter: blur(16px);
        flex-direction: column; justify-content: flex-start; align-items: flex-start;
        padding: 24px; gap: 2px;
        transform: translateX(-100%); transition: transform .3s ease;
        display: flex;
    }
    .nav-links.open { transform: translateX(0); }
    .nav-link-item  { font-size: 17px; padding: 12px 16px; width: 100%; min-height: 44px; }
    .hamburger      { display: flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }

    /* ── Section spacing ── */
    .section         { padding: 56px 0; }
    .section > .container > *:first-child { margin-top: 0; }
    .section > .container > *:last-child  { margin-bottom: 0; }
    .sec-sub         { margin-bottom: 32px; }

    /* ── Hero ── */
    .hero-body.has-photo {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    .hero-img-col   { order: -1; } /* photo on top, text below */
    .hero-photo-wrap { width: 200px; height: 200px; }
    .hero-photo     { width: 200px; height: 200px; }
    .hero-photo-ring { filter: blur(12px); }
    .hero-eyebrow   { justify-content: center; }
    .hero-title     { font-size: clamp(28px, 8vw, 42px); }
    .hero-loc       { justify-content: center; }
    .hero-actions   { flex-direction: column; align-items: stretch; }
    .cta-primary, .cta-secondary { width: 100%; justify-content: center; }
    .hero-social    { justify-content: center; }
    .hero-body:not(.has-photo) .hero-text-col { margin: 0 auto; }

    /* ── About ── */
    .about-photo-wrap { max-width: 320px; margin: 0 auto; }
    .about-cards-row  { grid-template-columns: 1fr 1fr; }

    /* ── Grids → single column ── */
    .sec-header      { flex-direction: column; align-items: flex-start; gap: 12px; }
    .projects-grid   { grid-template-columns: 1fr; }
    .blog-grid       { grid-template-columns: 1fr; }
    .cs-grid         { grid-template-columns: 1fr; }
    .testi-grid      { grid-template-columns: 1fr; }
    .case-study-full { grid-template-columns: 1fr; }
    .services-grid   { grid-template-columns: 1fr; }

    /* ── Footer ── */
    .footer-top    { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 4px; }

    /* ── Newsletter ── */
    .nl-form { flex-direction: column; }
    .nl-btn  { width: 100%; justify-content: center; }

    /* ── Stats ── */
    .stats-row    { flex-direction: column; }
    .stat-unit    { border-bottom: 1px solid var(--border); width: 100%; }
    .stat-divider { display: none; }

    /* ── Case study detail ── */
    .cs-metrics-large { gap: 12px; }
    .cs-metric-lg     { min-width: 90px; }

    /* ── FAQ ── */
    .faq-layout { gap: 32px; }

    /* ── Prevent horizontal overflow ── */
    .hero-orb-1 { width: 300px; height: 300px; right: -120px; }
    .hero-orb-2 { width: 200px; height: 200px; left: -80px; }
}

@media (max-width: 480px) {
    .container    { padding: 0 16px; }
    .section      { padding: 44px 0; }
    .page-hero    { padding: 110px 0 40px; }
    .stats-band   { padding: 48px 0; }
    .newsletter-band { padding: 48px 0; }

    .hero-title   { font-size: clamp(26px, 7.5vw, 36px); }
    .hero-name    { font-size: clamp(26px, 7.5vw, 36px); }
    .hero-desc    { font-size: 15px; }
    .hero-eyebrow { font-size: 11px; padding: 5px 12px; }
    .hero-photo-wrap { width: 160px; height: 160px; }
    .hero-photo   { width: 160px; height: 160px; }
    .hero-photo-ring { filter: blur(10px); opacity: .4; }

    /* reduce glow animation on small screens for performance */
    .hero-photo-ring { animation-duration: 10s; }
    .hero-photo-wrap::before { display: none; }

    .sec-title    { font-size: clamp(22px, 6vw, 32px); }
    .about-cards-row { grid-template-columns: 1fr; }

    .whatsapp-float   { bottom: 16px; right: 16px; width: 48px; height: 48px; font-size: 22px; }
    .hero-scroll-hint { display: none; }

    .footer-top { gap: 24px; }
    .testi-quote { font-size: 14px; }
}
