/* ═══════════════════════════════════════════════
   Shadowline IT — Main Stylesheet
   Fonts: Outfit (display) + DM Sans (body/UI)
   ═══════════════════════════════════════════════ */

/* ── Variables ──────────────────────────────── */
:root {
    --bg:           #080c14;
    --bg2:          #0d1422;
    --bg3:          #111827;
    --surface:      #141e30;
    --border:       rgba(255,255,255,0.07);
    --accent:       #2563eb;
    --accent-bright:#3b82f6;
    --accent-glow:  rgba(37,99,235,0.25);
    --text:         #edf1f8;
    --text-muted:   #a8b4c4;
    --text-dim:     #6b7a8d;
    --white:        #ffffff;

    /* Typography */
    --font-display: 'Outfit', system-ui, sans-serif;
    --font-ui:      'DM Sans', system-ui, sans-serif;

    /* Spacing */
    --section-pad:  90px 80px;
    --inner-max:    1360px;
    --radius:       6px;
}

/* ── Reset ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { cursor: pointer; font: inherit; border: none; background: none; }

/* ── Base ───────────────────────────────────── */
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-ui);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

/* ── Typography ─────────────────────────────── */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: var(--white);
}

h1 { font-size: clamp(2.4rem, 4.5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); font-weight: 600; }
h3 { font-size: 1.05rem; font-weight: 600; font-family: var(--font-display); letter-spacing: -0.015em; }
h4 { font-family: var(--font-display); font-weight: 600; }

p { line-height: 1.8; }

/* ── Utilities ──────────────────────────────── */
.section-inner {
    max-width: var(--inner-max);
    margin: 0 auto;
    width: 100%;
}

.section-tag {
    font-family: var(--font-ui);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-bright);
    margin-bottom: 18px;
    display: block;
}

/* ── Buttons ────────────────────────────────── */
.btn-primary {
    display: inline-block;
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--accent);
    padding: 14px 30px;
    border-radius: 3px;
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
    box-shadow: 0 4px 20px rgba(37,99,235,0.4);
}
.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 6px 28px rgba(37,99,235,0.55);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.btn-ghost:hover { color: var(--white); }
.btn-ghost svg { transition: transform 0.2s; }
.btn-ghost:hover svg { transform: translateX(4px); }

.btn-secondary {
    display: inline-block;
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-decoration: none;
    border: 1.5px solid var(--border);
    padding: 14px 28px;
    border-radius: 3px;
    transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover { border-color: var(--text-muted); color: var(--white); }

/* ── Nav ────────────────────────────────────── */
/* ── Nav ────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    background: rgba(8,12,20,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.site-header.scrolled {
    background: rgba(8,12,20,0.6);
    border-bottom-color: rgba(255,255,255,0.04);
    box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px clamp(32px, 5vw, 100px);
    max-width: 100%;
    margin: 0 auto;
    transition: padding 0.4s ease;
    height: 64px;
}

.site-header.scrolled .nav-inner {
    padding-top: 8px;
    padding-bottom: 8px;
    height: 52px;
}

/* ── Logo wrap — left side ── */
.nav-logo-wrap {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    height: 100%;
}

/* Nuclear logo sizing — WordPress outputs .custom-logo-link > img */
.nav-logo-wrap a,
.nav-logo-wrap .custom-logo-link {
    display: flex !important;
    align-items: center !important;
    line-height: 1 !important;
    text-decoration: none !important;
}

.nav-logo-wrap img,
.nav-logo-wrap .custom-logo-link img,
.site-header .custom-logo,
.site-header .custom-logo-link img,
header img.custom-logo {
    height: 34px !important;
    width: auto !important;
    max-height: 34px !important;
    max-width: 220px !important;
    display: block !important;
    transition: height 0.4s ease, opacity 0.4s ease !important;
}

.site-header.scrolled .nav-logo-wrap img,
.site-header.scrolled .custom-logo-link img,
.site-header.scrolled header img.custom-logo {
    height: 26px !important;
    max-height: 26px !important;
}

/* Text logo fallback */
.nav-logo-text-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--white);
}

.nav-logo-mark {
    display: block;
    width: 26px; height: 26px;
    background: var(--accent);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    flex-shrink: 0;
}

.nav-logo-text {
    font-family: var(--font-ui);
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.01em;
    color: var(--white);
    transition: font-size 0.4s ease;
}

/* ── Right side: links + CTA + toggle ── */
.nav-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu-wrap { display: flex; }

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-ui);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.nav-links a:hover,
.nav-links .current-menu-item > a { color: var(--white); }

.nav-cta {
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--white);
    text-decoration: none;
    border: 1.5px solid var(--accent);
    padding: 8px 20px;
    border-radius: 3px;
    transition: background 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}
.nav-cta:hover {
    background: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    background: none;
    border: none;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 22px; height: 2px;
    background: var(--text-muted);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ── Hero ───────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 64px; /* match nav height */
}

.hero-content {
    padding: 80px clamp(32px, 5vw, 80px) 80px clamp(32px, 5vw, 80px);
    position: relative; z-index: 2;
    opacity: 0; transform: translateY(30px);
    animation: fadeUp 0.9s 0.2s ease forwards;
    max-width: 680px;
    justify-self: end;
    width: 100%;
}

.hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 75% 50%, rgba(37,99,235,0.12) 0%, transparent 65%),
        radial-gradient(ellipse 40% 40% at 20% 80%, rgba(37,99,235,0.06) 0%, transparent 60%);
    pointer-events: none;
}

.hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 60% 50%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 60% 50%, black 30%, transparent 80%);
    opacity: 0.5;
    pointer-events: none;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-ui);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-bright);
    border: 1px solid rgba(59,130,246,0.3);
    padding: 6px 14px;
    border-radius: 2px;
    margin-bottom: 32px;
    background: rgba(37,99,235,0.08);
}

.hero-tag-dot {
    width: 6px; height: 6px;
    background: var(--accent-bright);
    border-radius: 50%;
    animation: pulse 2s infinite;
    display: block;
}

h1 em {
    font-style: normal;
    color: var(--accent-bright);
}

.hero-sub {
    font-size: 1.15rem;
    color: #b8c4d4;
    max-width: 520px;
    margin-bottom: 44px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.hero-photo {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center right;
    opacity: 0.07;
    pointer-events: none;
    z-index: 0;
}

.hero-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, var(--bg) 45%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-visual {
    position: relative; z-index: 2;
    padding: 80px clamp(32px, 5vw, 80px) 80px clamp(16px, 2vw, 32px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0; transform: translateX(30px);
    animation: fadeLeft 0.9s 0.4s ease forwards;
}

/* Hero image panel */
.hero-image-panel {
    position: relative;
    width: 100%;
    max-width: 520px;
}

.hero-image-panel img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--border);
    display: block;
}

.hero-image-badge {
    position: absolute;
    bottom: -16px;
    left: 24px;
    background: var(--surface);
    border: 1px solid rgba(37,99,235,0.35);
    border-radius: 40px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-ui);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    white-space: nowrap;
}
.hero-image-badge svg { color: var(--accent-bright); flex-shrink: 0; }

/* Stat cards (kept as fallback / mobile variant) */
.hero-card-stack { position: relative; width: 340px; }

.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 28px;
    position: relative;
    margin-top: 12px;
}
.stat-card:first-child { margin-top: 0; }

.stat-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--accent);
    border-radius: var(--radius) 0 0 var(--radius);
}

.stat-card-label {
    font-family: var(--font-ui);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 6px;
}

.stat-card-value {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -0.025em;
}

.stat-card-sub { font-size: 0.8rem; color: var(--text-muted); }

.stat-card-icon {
    position: absolute; top: 20px; right: 20px;
    width: 36px; height: 36px;
    background: rgba(37,99,235,0.12);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-bright);
}


/* ── Trust Bar ──────────────────────────────── */
.trust-bar {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 20px clamp(48px, 7vw, 120px);
    display: flex;
    align-items: center;
    gap: 40px;
    background: var(--bg2);
    flex-wrap: wrap;
}

.trust-label {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
    white-space: nowrap;
    flex-shrink: 0;
}

.trust-divider { width: 1px; height: 28px; background: var(--border); flex-shrink: 0; }

.trust-items { display: flex; gap: 36px; flex-wrap: wrap; }

.trust-item {
    font-family: var(--font-ui);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-dot {
    width: 5px; height: 5px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── Services ───────────────────────────────── */
.services-section {
    padding: 90px clamp(48px, 7vw, 120px);
    background: var(--bg2);
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 56px;
    gap: 40px;
}

.services-intro {
    max-width: 420px;
    color: #b8c4d4;
    font-size: 0.95rem;
    margin-top: 14px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.service-card {
    background: var(--surface);
    padding: 36px 30px;
    position: relative;
    transition: background 0.2s;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover { background: #181f2e; }
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
    width: 44px; height: 44px;
    background: rgba(37,99,235,0.1);
    border: 1px solid rgba(37,99,235,0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-bright);
    margin-bottom: 22px;
    transition: background 0.2s, box-shadow 0.2s;
}
.service-card:hover .service-icon {
    background: rgba(37,99,235,0.18);
    box-shadow: 0 0 16px rgba(37,99,235,0.25);
}

.service-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.service-desc { font-size: 0.88rem; color: #b8c4d4; line-height: 1.75; }

/* ── About ──────────────────────────────────── */
.about-section {
    padding: 90px clamp(48px, 7vw, 120px);
    background: var(--bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-body {
    color: #b8c4d4;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.about-pillars {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
}

.pillar {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--bg2);
    transition: border-color 0.2s;
}
.pillar:hover { border-color: rgba(37,99,235,0.4); }

.pillar-num {
    font-family: var(--font-ui);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--accent);
    padding-top: 2px;
    flex-shrink: 0;
}

.pillar-text strong {
    font-family: var(--font-ui);
    font-weight: 700;
    color: var(--white);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 2px;
}
.pillar-text span { font-size: 0.83rem; color: #b8c4d4; }

.about-image-wrap {
    position: relative;
    border-radius: 10px;
    overflow: visible;
}

.about-image-wrap img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--border);
    display: block;
}

.about-metrics-overlay {
    position: absolute;
    bottom: -20px;
    right: -20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    z-index: 2;
}

.about-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.metric-box {
    background: var(--surface);
    border: 1px solid rgba(37,99,235,0.25);
    border-radius: var(--radius);
    padding: 20px 22px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.metric-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
}

.metric-box.span2 {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(37,99,235,0.04));
}

.metric-value {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -0.035em;
}

.metric-label { font-size: 0.82rem; color: var(--text-muted); }

/* ── CTA ────────────────────────────────────── */
.cta-section {
    padding: 90px clamp(48px, 7vw, 120px);
    background: var(--bg2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    width: 600px; height: 400px;
    background: radial-gradient(ellipse, rgba(37,99,235,0.18), transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cta-inner {
    text-align: center;
    position: relative; z-index: 1;
}

.cta-inner .section-tag { display: flex; justify-content: center; }
.cta-inner h2 { max-width: 680px; margin: 16px auto 20px; }

.cta-sub {
    color: #b8c4d4;
    font-size: 1rem;
    max-width: 480px;
    margin: 0 auto 40px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ── Footer ─────────────────────────────────── */
.site-footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 60px clamp(48px, 7vw, 120px) 40px;
}

.footer-inner { max-width: var(--inner-max); margin: 0 auto; }

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

.footer-brand .footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--white);
    margin-bottom: 16px;
}

/* Cap the custom logo image size in the footer */
.footer-brand .footer-logo img,
.footer-brand .custom-logo-link img,
.footer-brand .custom-logo {
    height: 24px !important;
    max-height: 24px !important;
    width: auto !important;
}

.footer-brand .nav-logo-text {
    font-family: var(--font-ui);
    font-weight: 800;
    font-size: 1.05rem;
}

.footer-tagline {
    font-size: 0.85rem;
    color: #a8b4c4;
    line-height: 1.7;
    max-width: 280px;
}

.footer-col-title {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 18px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

/* WordPress widget titles in footer */
.footer-widget-title {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 18px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.footer-contact-item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-contact-item a:hover { color: var(--white); }
.contact-icon { color: var(--accent-bright); flex-shrink: 0; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copy { font-size: 0.8rem; color: #6b7a8d; }

/* ── Page / Blog ────────────────────────────── */
.page-main { padding: 140px 80px 100px; min-height: 80vh; }

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    margin-bottom: 48px;
}

.post-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
}
.post-card:hover { border-color: rgba(37,99,246,0.4); transform: translateY(-2px); }

.post-thumb img { width: 100%; height: 200px; object-fit: cover; }

.post-card-body { padding: 24px; }

.post-meta { font-size: 0.78rem; color: var(--text-dim); margin-bottom: 10px; }

.post-title a {
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
    text-decoration: none;
    line-height: 1.3;
    transition: color 0.2s;
}
.post-title a:hover { color: var(--accent-bright); }

.post-excerpt { font-size: 0.88rem; color: var(--text-muted); margin: 10px 0 16px; }

.post-single { max-width: 760px; }
.post-title-single { margin-bottom: 32px; }
.post-featured-image { margin-bottom: 36px; border-radius: var(--radius); overflow: hidden; }
.post-content { font-size: 1rem; line-height: 1.9; color: var(--text-muted); }
.post-content h2, .post-content h3 { color: var(--white); margin: 36px 0 16px; }
.post-content p { margin-bottom: 20px; }
.post-content a { color: var(--accent-bright); }
.post-content ul, .post-content ol { padding-left: 24px; margin-bottom: 20px; }

.page-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 36px; }
.page-content { font-size: 1rem; line-height: 1.9; color: var(--text-muted); max-width: 760px; }
.page-content p { margin-bottom: 20px; }

.pagination { margin-top: 40px; }
.pagination .nav-links { justify-content: flex-start; gap: 8px; }
.pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s;
}
.pagination .page-numbers:hover, .pagination .current { background: var(--accent); border-color: var(--accent); color: var(--white); }

.post-navigation { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.post-navigation .nav-links { justify-content: space-between; }
.post-navigation a { font-size: 0.9rem; color: var(--text-muted); text-decoration: none; }
.post-navigation a:hover { color: var(--white); }

/* ── Scroll Reveal ──────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Animations ─────────────────────────────── */
@keyframes fadeUp   { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeLeft { to { opacity: 1; transform: translateX(0); } }
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(0.8); }
}

/* ── Responsive ─────────────────────────────── */

/* ── Large screens (1920px+) ── */
@media (min-width: 1920px) {
    :root { --inner-max: 1600px; }

    .hero {
        grid-template-columns: 1fr 1fr;
        min-height: 100vh;
    }

    h1 { font-size: 4.4rem; }
    h2 { font-size: 3.2rem; }

    .hero-sub { font-size: 1.25rem; max-width: 600px; }
    .hero-image-panel img { height: 520px; }
    .about-image-wrap img { height: 560px; }
    .service-card { padding: 44px 36px; }
    .service-desc { font-size: 0.95rem; }
}

/* ── Ultra-wide (2560px+) ── */
@media (min-width: 2560px) {
    :root { --inner-max: 1920px; }

    h1 { font-size: 5rem; }
    h2 { font-size: 3.6rem; }

    .hero-sub { font-size: 1.35rem; }
    .hero-image-panel img { height: 600px; }
    .hero-tag { font-size: 0.8rem; }
    .service-card { padding: 52px 44px; }
    .nav-logo-text { font-size: 1.2rem; }
    .nav-links a { font-size: 0.88rem; }
    .nav-cta { font-size: 0.85rem; padding: 11px 26px; }
}

@media (max-width: 1024px) {
    :root { --section-pad: 80px 48px; }
    .nav-inner { padding: 18px 32px; }
    .trust-bar { padding: 20px 48px; }
    .site-footer { padding: 60px 48px 40px; }
    .hero-content { padding: 80px 48px 80px 48px; }
    .hero-visual  { padding: 60px 48px; }
    .hero-image-panel img { height: 340px; }
    .about-metrics-overlay { right: -10px; bottom: -10px; }
}

@media (max-width: 900px) {
    :root { --section-pad: 70px 24px; }

    /* Nav mobile */
    .nav-inner { padding: 0 20px; height: 56px; }
    .nav-toggle { display: flex; }
    .nav-cta { display: none; }
    .nav-menu-wrap {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: rgba(8,12,20,0.98);
        border-bottom: 1px solid var(--border);
        padding: 20px 24px;
        backdrop-filter: blur(20px);
    }
    .nav-menu-wrap.open { display: block; }
    .nav-links { flex-direction: column; gap: 16px; }
    .nav-links a { font-size: 0.9rem; letter-spacing: 0.06em; }
    .nav-right { gap: 16px; }

    /* Hero */
    .hero { grid-template-columns: 1fr; }
    .hero-content { padding: 60px 24px 32px; animation: none; opacity: 1; transform: none; }
    .hero-visual  { padding: 0 24px 60px; animation: none; opacity: 1; transform: none; }
    .hero-image-panel { max-width: 100%; }
    .hero-image-panel img { height: 240px; }
    .hero-image-badge { font-size: 0.72rem; padding: 8px 14px; }
    .hero-photo { opacity: 0.05; }

    /* Trust */
    .trust-bar { padding: 18px 24px; gap: 16px; }
    .trust-divider { display: none; }

    /* Services */
    .services-header { flex-direction: column; align-items: flex-start; }
    .services-grid { grid-template-columns: 1fr; }

    /* About */
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-image-wrap img { height: 280px; }
    .about-metrics-overlay {
        position: static;
        margin-top: 16px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    /* CTA */
    .cta-section { padding: 70px 24px; }

    /* Footer */
    .site-footer { padding: 50px 24px 32px; }
    .footer-top { grid-template-columns: 1fr; gap: 36px; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }

    /* Page */
    .page-main { padding: 120px 24px 80px; }
}

/* ═══════════════════════════════════════════════
   v1.1.2 additions — richer visuals
   ═══════════════════════════════════════════════ */

/* ── Hero photo — higher opacity ────────────── */
.hero-photo {
    opacity: 0.13 !important;
    background-attachment: fixed;
}

/* ── Decorative orbs ────────────────────────── */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(80px);
    will-change: transform;
}
.hero-orb-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(37,99,235,0.18), transparent 70%);
    top: 10%; right: 5%;
}
.hero-orb-2 {
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(59,130,246,0.12), transparent 70%);
    bottom: 15%; left: 8%;
}
.hero-orb-3 {
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(99,102,241,0.1), transparent 70%);
    top: 40%; left: 40%;
}

/* ── Hero chips ─────────────────────────────── */
.hero-chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 36px;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 7px 14px;
    border-radius: 40px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color 0.2s, color 0.2s;
}
.hero-chip svg { color: var(--accent-bright); flex-shrink: 0; }
.hero-chip:hover { border-color: rgba(59,130,246,0.3); color: var(--text); }

/* ── Hero image second card ─────────────────── */
.hero-image-card {
    position: absolute;
    top: 24px;
    left: -20px;
    background: var(--surface);
    border: 1px solid rgba(37,99,235,0.3);
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: floatCard 4s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-6px); }
}

.hero-image-card-dot {
    width: 10px; height: 10px;
    background: #22c55e;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(34,197,94,0.6);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0%, 100% { box-shadow: 0 0 8px rgba(34,197,94,0.6); }
    50%       { box-shadow: 0 0 16px rgba(34,197,94,0.9); }
}

.hero-image-card-label {
    font-family: var(--font-ui);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 2px;
}

.hero-image-card-value {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: #22c55e;
}

/* ── Process strip ──────────────────────────── */
.process-strip {
    padding: 52px clamp(48px, 7vw, 120px);
    background: var(--bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.process-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(37,99,235,0.04), transparent);
    pointer-events: none;
}

.process-steps {
    display: flex;
    align-items: center;
    gap: 0;
    justify-content: space-between;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1;
    padding: 0 20px;
}

.process-step:first-child { padding-left: 0; }
.process-step:last-child  { padding-right: 0; }

.process-num {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: rgba(37,99,235,0.25);
    line-height: 1;
    flex-shrink: 0;
    letter-spacing: -0.04em;
    padding-top: 2px;
}

.process-text strong {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    display: block;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.process-text span {
    font-size: 0.82rem;
    color: #b8c4d4;
    line-height: 1.6;
}

.process-arrow {
    color: var(--text-dim);
    flex-shrink: 0;
    opacity: 0.5;
}

/* ── About secondary image ──────────────────── */
.about-image-secondary {
    position: absolute;
    bottom: -24px;
    left: -28px;
    z-index: 3;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--bg);
    box-shadow: 0 8px 32px rgba(0,0,0,0.6);
}

.about-image-secondary img {
    width: 220px;
    height: 150px;
    object-fit: cover;
    display: block;
}

/* Push metrics overlay to not overlap secondary image */
.about-metrics-overlay {
    bottom: -20px;
    right: -20px;
}

/* ── CTA background image ───────────────────── */
.cta-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
}

/* ── Services section — subtle top graphic ─── */
.services-section {
    position: relative;
}
.services-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37,99,235,0.4), transparent);
}

/* ── Hero image panel — slight tilt ─────────── */
.hero-image-panel {
    transform: perspective(1000px) rotateY(-3deg) rotateX(1deg);
    transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.hero-image-panel:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

/* ── About image wrap — slight tilt ─────────── */
.about-image-wrap {
    transform: perspective(1000px) rotateY(2deg);
    transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.about-image-wrap:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* ── Mobile: process strip ───────────────────── */
@media (max-width: 900px) {
    .process-steps {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
    }
    .process-arrow { display: none; }
    .process-step { padding: 0; }
    .about-image-secondary { display: none; }
    .hero-orb { opacity: 0.5; }
    .hero-chips { margin-top: 24px; }
    .hero-image-card { display: none; }
}

/* ── v1.1.3 additions ──────────────────────── */

/* Second CTA glow — offset for depth */
.cta-glow-2 {
    left: 70%;
    top: 30%;
    width: 300px; height: 300px;
    background: radial-gradient(ellipse, rgba(99,102,241,0.12), transparent 70%);
}

/* Hero content max-width guard at very wide screens */
@media (min-width: 1440px) {
    .hero-content { max-width: 720px; }
}

/* Large screen nav height adjustments */
@media (min-width: 1920px) {
    .nav-inner { height: 72px; }
    .site-header.scrolled .nav-inner { height: 58px; }
    .nav-logo-wrap img,
    .nav-logo-wrap .custom-logo-link img,
    .site-header .custom-logo-link img {
        height: 40px !important;
        max-height: 40px !important;
    }
    .site-header.scrolled .nav-logo-wrap img,
    .site-header.scrolled .custom-logo-link img {
        height: 30px !important;
        max-height: 30px !important;
    }
}

/* ── v1.1.4: contrast + scroll fix ─────────── */

/* Ensure all anchor target sections clear the fixed header
   This covers direct URL hashes and any browser-native scroll */
#services,
#about,
#contact,
#main-content,
section[id],
div[id] {
    scroll-margin-top: 80px;
}

/* Slightly lighter nav link color for better contrast */
.nav-links a { color: #c4cdd8; }
.nav-links a:hover,
.nav-links .current-menu-item > a { color: var(--white); }

/* Trust bar items slightly brighter */
.trust-item { color: #b8c4d4; }

/* Footer links brighter */
.footer-links a { color: #a8b4c4; }
.footer-links a:hover { color: var(--white); }
.footer-contact-item { color: #a8b4c4; }
.footer-contact-item a { color: #a8b4c4; }
.footer-contact-item a:hover { color: var(--white); }

/* Stat card sub text */
.stat-card-sub { color: #b8c4d4; }
.metric-label { color: #b8c4d4; }

/* Section tag slightly brighter */
.section-tag { color: #60a5fa; }
