/* ============================================================
   Defense In Orbit — Main Stylesheet
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
    --bg-primary:   #060810;
    --bg-secondary: #0b0e1a;
    --bg-card:      #0f1422;
    --bg-card-alt:  #131827;
    --bg-input:     #0a0d18;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-accent: rgba(56, 189, 248, 0.25);
    --text-primary:  #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted:    #64748b;
    --accent:        #38bdf8;
    --accent-dark:   #0ea5e9;
    --accent-indigo: #6366f1;
    --accent-green:  #10b981;
    --accent-red:    #ef4444;
    --gradient-text: linear-gradient(135deg, #f1f5f9 0%, #38bdf8 50%, #6366f1 100%);
    --gradient-accent: linear-gradient(135deg, #38bdf8, #6366f1);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 24px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 48px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 40px rgba(56, 189, 248, 0.12);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --max-width: 1200px;
    --transition: 0.25s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* --- Section Layout Utilities --- */
.section-padded {
    padding: 6rem 2rem;
}

.alt-bg {
    background-color: var(--bg-secondary);
    position: relative;
}

.alt-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse at 15% 50%, rgba(99, 102, 241, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse at 85% 50%, rgba(56, 189, 248, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

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

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.section-sub {
    max-width: 560px;
    margin: 1rem auto 0;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

h2 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

p { color: var(--text-secondary); }

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    transition: all var(--transition);
    white-space: nowrap;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: 0 0 24px rgba(56, 189, 248, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 32px rgba(56, 189, 248, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(56, 189, 248, 0.05);
}

.btn-sm {
    padding: 0.55rem 1.25rem;
    font-size: 0.875rem;
}

.btn-full {
    width: 100%;
}

/* --- Scroll Animations --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(6, 8, 16, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    transition: background var(--transition), box-shadow var(--transition);
}

#site-header.scrolled {
    background: rgba(6, 8, 16, 0.97);
    box-shadow: var(--shadow-md);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

.logo-icon svg { flex-shrink: 0; }
.logo-img { display: block; flex-shrink: 0; }

.logo-text {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

nav a {
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition), background var(--transition);
}

nav a:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.05);
}

nav a.nav-cta {
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent);
    border: 1px solid rgba(56, 189, 248, 0.2);
    margin-left: 0.5rem;
}

nav a.nav-cta:hover {
    background: rgba(56, 189, 248, 0.2);
    border-color: var(--accent);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition);
}

.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 7rem 2rem 5rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.nebula {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
}

.nebula-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99,102,241,0.5) 0%, transparent 70%);
    top: -15%;
    right: -10%;
    animation: nebula-drift 18s ease-in-out infinite alternate;
}

.nebula-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(56,189,248,0.4) 0%, transparent 70%);
    bottom: -10%;
    left: -8%;
    animation: nebula-drift 22s ease-in-out infinite alternate-reverse;
}

@keyframes nebula-drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, -30px) scale(1.1); }
}

.star-field {
    position: absolute;
    inset: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 780px;
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.25rem;
}

#hero h1 {
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.hero-trust .divider { color: var(--border-subtle); }

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 3.5rem 2rem;
}

.stats-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 1rem 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-suffix {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    max-width: 180px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: var(--border-subtle);
    flex-shrink: 0;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 { margin-bottom: 1.25rem; }
.about-text p { margin-bottom: 1rem; }

.about-highlights {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.highlight-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--accent-green);
    margin-top: 2px;
}

.mission-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md), var(--shadow-glow);
    position: relative;
    overflow: hidden;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
}

.mission-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}

.mission-card blockquote {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 2rem;
}

.mission-certs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cert-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    color: var(--accent);
    letter-spacing: 0.04em;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-md), var(--shadow-glow);
}

.service-card--featured {
    border-color: rgba(56, 189, 248, 0.2);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(56,189,248,0.04) 100%);
}

.service-featured-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
}

.service-icon {
    width: 44px;
    height: 44px;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--accent);
}

.service-icon svg {
    width: 22px;
    height: 22px;
}

.service-card h3 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.service-card p {
    font-size: 0.93rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.service-tags span {
    font-size: 0.72rem;
    font-weight: 500;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
}

/* ============================================================
   INDUSTRIES SECTION
   ============================================================ */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.industry-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    transition: transform var(--transition), border-color var(--transition);
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.industry-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-accent);
}

.industry-icon {
    width: 40px;
    height: 40px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent-indigo);
}

.industry-icon svg {
    width: 20px;
    height: 20px;
}

.industry-text {
    flex: 1;
    min-width: 0;
}

.industry-card h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.industry-card p {
    font-size: 0.875rem;
    line-height: 1.55;
}

/* ============================================================
   TEAM SECTION
   ============================================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.team-card:hover {
    border-color: var(--border-accent);
    box-shadow: var(--shadow-sm);
}

.team-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.03em;
}

.team-info h3 {
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
}

.team-title {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.team-bio {
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.team-certs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.team-certs span {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 20px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--accent-indigo);
}

/* ============================================================
   BLOG / INSIGHTS SECTION
   ============================================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.blog-card:hover {
    border-color: var(--border-accent);
    box-shadow: var(--shadow-sm);
}

.blog-card--cta {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(99,102,241,0.08) 100%);
    border-color: rgba(99, 102, 241, 0.2);
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.blog-tag {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
}

.blog-card-meta time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.blog-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-card h3 a:hover { color: var(--accent); }

.blog-card p {
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.read-more {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    transition: gap var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.read-more:hover { gap: 0.5rem; }

.blog-cta-content .section-eyebrow { text-align: left; }
.blog-cta-content h3 { margin-bottom: 0.75rem; }
.blog-cta-content p { margin-bottom: 1.5rem; font-size: 0.93rem; }

/* ============================================================
   INTEL / NEWSLETTER SECTION
   ============================================================ */
.intel-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intel-text h2 { margin-bottom: 1rem; }
.intel-text > p { margin-bottom: 1.25rem; }

.intel-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.intel-bullets li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding-left: 1.25rem;
    position: relative;
}

.intel-bullets li::before {
    content: "›";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.intel-form {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    position: relative;
}

.intel-form::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.intel-submit {
    width: 100%;
    margin-bottom: 0.5rem;
    border-color: var(--accent);
    color: var(--accent);
}

.intel-submit:hover {
    background: rgba(56, 189, 248, 0.08);
}

#intel-status:not(:empty) {
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
}

#intel-status.success {
    background: rgba(16, 185, 129, 0.12);
    color: var(--accent-green);
    border: 1px solid rgba(16, 185, 129, 0.25);
}

#intel-status.error {
    background: rgba(239, 68, 68, 0.12);
    color: var(--accent-red);
    border: 1px solid rgba(239, 68, 68, 0.25);
}

@media (max-width: 900px) {
    .intel-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ============================================================
   SERVICES DETAIL PAGE
   ============================================================ */
.services-page-hero {
    padding-bottom: 2rem;
    padding-top: 9rem;
}

.service-detail-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.service-detail-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.service-detail-card--featured {
    border-color: rgba(56, 189, 248, 0.2);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(56,189,248,0.04) 100%);
}

.service-detail-header {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.service-detail-header .service-icon {
    flex-shrink: 0;
    margin-bottom: 0;
}

.service-detail-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0.35rem;
}

.service-detail-tagline {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--accent);
    margin-bottom: 0;
}

.service-detail-card > p {
    margin-bottom: 1.5rem;
    font-size: 0.97rem;
    line-height: 1.7;
}

.service-detail-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

.service-detail-list-items {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-detail-list-items li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding-left: 1.25rem;
    position: relative;
    line-height: 1.5;
}

.service-detail-list-items li::before {
    content: "›";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.service-value-box {
    background: rgba(56, 189, 248, 0.04);
    border: 1px solid rgba(56, 189, 248, 0.12);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.service-value-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 0.6rem !important;
}

.service-value-box p:last-child {
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.65;
}

.services-page-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3.5rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
}

.services-page-cta h2 { margin-bottom: 0.75rem; }
.services-page-cta p  { max-width: 500px; margin: 0 auto 2rem; font-size: 1rem; }

@media (max-width: 768px) {
    .service-detail-body { grid-template-columns: 1fr; gap: 1.5rem; }
    .service-detail-header { flex-direction: column; gap: 1rem; }
    .services-page-hero { padding-top: 7rem; }
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-inner {
    max-width: 800px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition);
}

.faq-item.is-open {
    border-color: var(--border-accent);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 0.97rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: color var(--transition);
}

.faq-question:hover { color: var(--accent); }

.faq-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform var(--transition), background var(--transition);
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--accent);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.faq-icon::before { width: 10px; height: 2px; }
.faq-icon::after  { width: 2px; height: 10px; }

.faq-question[aria-expanded="true"] .faq-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-answer {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.93rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.faq-answer p { color: var(--text-secondary); }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p { margin-bottom: 1.5rem; }

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: border-color var(--transition), transform var(--transition);
    color: var(--text-primary);
}

.contact-method:hover {
    border-color: var(--border-accent);
    transform: translateX(4px);
}

.contact-method svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-method-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
}

.contact-method-value {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Contact Form */
.contact-form-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
}

.contact-form-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.form-group label span { color: var(--accent); }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.93rem;
    font-family: inherit;
    transition: border-color var(--transition);
    -webkit-appearance: none;
    appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%2364748b'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.08);
}

.form-disclaimer {
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
}

/* Form Status Messages */
#form-status:not(:empty) {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
}

#form-status.success {
    background: rgba(16, 185, 129, 0.12);
    color: var(--accent-green);
    border: 1px solid rgba(16, 185, 129, 0.25);
}

#form-status.error {
    background: rgba(239, 68, 68, 0.12);
    color: var(--accent-red);
    border: 1px solid rgba(239, 68, 68, 0.25);
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    padding: 4rem 2rem 2rem;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-subtle);
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.65;
    max-width: 280px;
    margin-bottom: 1rem;
}

.footer-contact-line {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-contact-line a {
    color: var(--accent);
    transition: color var(--transition);
}

.footer-contact-line a:hover { color: #fff; }

.footer-links {
    display: contents;
}

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-col a {
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: color var(--transition);
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
    max-width: var(--max-width);
    margin: 2rem auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-disclosures { color: var(--text-muted); }

/* ============================================================
   BLOG ARTICLE PAGE STYLES (blogtemplate.html)
   ============================================================ */
.blog-post-content {
    max-width: 780px;
    margin: 0 auto;
    padding: 9rem 2rem 5rem;
}

.post-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-subtle);
}

.post-header time {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: 0.75rem;
}

.post-header h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.post-body {
    font-size: 1.05rem;
    line-height: 1.8;
}

.post-body h2 {
    font-size: 1.7rem;
    margin: 2.5rem 0 1rem;
    color: var(--text-primary);
}

.post-body h3 {
    font-size: 1.25rem;
    margin: 2rem 0 0.75rem;
}

.post-body p { margin-bottom: 1.25rem; }

.post-body blockquote {
    border-left: 3px solid var(--accent);
    padding: 0.5rem 0 0.5rem 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-primary);
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 1024px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-links {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-column: 1 / -1;
        gap: 2rem;
    }
}

@media (max-width: 900px) {
    .two-col,
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 768px) {
    h2 { font-size: 2rem; }

    .section-padded { padding: 4rem 1.25rem; }

    /* Nav collapse */
    .hamburger { display: flex; }

    #nav-links {
        display: none;
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        background: rgba(6, 8, 16, 0.98);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--border-subtle);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0.25rem;
        z-index: 999;
    }

    #nav-links.is-open { display: flex; }

    nav a.nav-cta { margin-left: 0; }

    /* Hero */
    #hero { padding: 6rem 1.25rem 4rem; }

    /* Stats */
    .stats-inner {
        flex-direction: column;
        gap: 0;
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }

    .stat-item { padding: 1.5rem 1rem; }

    /* Services */
    .services-grid { grid-template-columns: 1fr; }

    /* Industries */
    .industries-grid { grid-template-columns: 1fr; }

    /* Team */
    .team-grid { grid-template-columns: 1fr; }
    .team-card { flex-direction: column; }

    /* Blog */
    .blog-grid { grid-template-columns: 1fr; }

    /* Contact */
    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 1.75rem; }

    /* Footer */
    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
    .footer-links { display: flex; flex-direction: column; gap: 1.5rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
