:root {
    --navy: #0b1a30;
    --navy-deep: #071525;
    --navy-light: #0f2540;
    --teal: #00c9a7;
    --teal-dark: #00a085;
    --cyan: #00b4d8;
    --dark-teal: #0a1628;
    --dark-teal-2: #0e3630;
    --yellow: #fdd835;
    --text: #e8f0f8;
    --muted: #7f93a8;
    --card-border: rgba(255,255,255,0.08);
    --card-hover: rgba(0,201,167,0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--navy);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 24px;
    transition: background 0.3s ease;
}
.header-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header.scrolled {
    background: rgba(11,26,48,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 30px rgba(0,0,0,0.3);
}

.header-logo {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: 1px;
}

.header-logo span {
    color: var(--teal);
}

.header-nav {
    display: flex;
    gap: 40px;
}

.header-nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.header-nav a:hover,
.header-nav li.current-menu-item > a,
.header-nav li.current-menu-parent > a,
.header-nav li.current-menu-ancestor > a {
    color: var(--teal);
}

/* active underline — fallback nav */
.header-nav li.current-menu-item > a,
.header-nav li.current-menu-parent > a,
.header-nav li.current-menu-ancestor > a {
    font-weight: 600;
    letter-spacing: 0.4px;
}

.header-cta {
    background: transparent;
    border: 1px solid var(--teal);
    color: var(--teal);
    padding: 10px 24px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.header-cta:hover {
    background: var(--teal);
    color: var(--navy);
}

/* ===== SECTIONS ===== */
section {
    position: relative;
    padding: 72px 24px;
    z-index: 1;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ===== TYPOGRAPHY ===== */
h1 {
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -1px;
}

h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 20px;
}

h3 {
    font-size: 17px;
    font-weight: 600;
}

.section-header {
    margin-bottom: 60px;
}

.line {
    width: 48px;
    height: 3px;
    background: var(--teal);
    margin-top: 20px;
    clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}


/* ════════════════════════════════════════════════
   STANDARD ICON CONTAINER — use .ig-icon everywhere
   Replaces segment-icon, service-icon, method-card-icon, etc.
════════════════════════════════════════════════ */
.ig-icon {
    width: 44px;
    height: 44px;
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ig-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}
/* Circle variant — for segments/industries grid */
.ig-icon--circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid rgba(0,201,167,0.25);
    background: rgba(0,201,167,0.06);
    margin: 0 auto 14px;
    transition: border-color 0.25s, background 0.25s;
}
.ig-icon--circle svg { width: 26px; height: 26px; }
.segment:hover .ig-icon--circle,
.segment-card:hover .ig-icon--circle {
    border-color: rgba(0,201,167,0.5);
    background: rgba(0,201,167,0.12);
}
/* Small variant — for inline text use */
.ig-icon--sm { width: 20px; height: 20px; }
/* Large variant — for hero/section accents */
.ig-icon--lg { width: 64px; height: 64px; }
.ig-icon--lg svg { width: 52px; height: 52px; }

p {
    color: var(--muted);
    line-height: 1.8;
    font-size: 15px;
}

.highlight {
    color: var(--teal);
}

div.tag {
    font-family: inherit;
    color: var(--teal);
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 12px;
    display: block;
}

/* ===== HERO ===== */
.hero {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 24px;
    padding-right: 24px;
}

.hero-home {
    min-height: 70vh;
    padding-top: 140px;
    padding-bottom: 80px;
}

.hero-home .hero-content {
    max-width: 760px;
}

.hero-home h1 {
    font-size: clamp(44px, 6vw, 76px);
    margin-bottom: 36px;
}

.hero-home .hero-description {
    font-size: 19px;
    line-height: 1.9;
    max-width: 600px;
}

.hero-inner {
    min-height: 36vh;
    padding-top: 140px;
    padding-bottom: 50px;
}

.hero-inner h1 {
    font-size: clamp(30px, 4.5vw, 50px);
}

.hero-inner .hero-description {
    font-size: 16px;
    max-width: 600px;
}

.hero-content {
    max-width: 700px;
}

.hero-tag {
    font-family: inherit;
    font-size: 12px;
    color: var(--teal);
    letter-spacing: 3px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero h1 {
    margin-bottom: 30px;
}

.hero-description {
    font-size: 18px;
    color: var(--text);
    opacity: 0.85;
    max-width: 550px;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 60px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--card-border);
}

.stat {
    text-align: left;
}

.stat-value {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: var(--muted);
    margin-top: 8px;
}

.hero-cta {
    margin-top: 50px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.btn-primary {
    background: var(--teal);
    color: var(--navy);
    padding: 16px 36px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #00ddb5;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,201,167,0.25);
}

.btn-ghost {
    color: var(--text);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.btn-ghost:hover {
    color: var(--teal);
}

.btn-ghost svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

/* ===== PARTNERS ===== */
.partners-section {
    background: var(--navy-deep);
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.partner {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--card-border);
    padding: 24px 40px;
    transition: all 0.3s ease;
}

.partner:hover {
    border-color: var(--teal);
    background: var(--card-hover);
}

.partner-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}

/* ===== WHY SECTION ===== */
.why-section {
    background: linear-gradient(135deg, #0a1628 0%, #0e3630 50%, #0b2830 100%);
}

.why-content {
    position: relative;
}

.why-section h2,
.why-section p {
    color: #fff;
}

.why-section .line {
    background: rgba(255,255,255,0.5);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.why-item {
    padding: 30px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(0,201,167,0.25);
    transition: all 0.3s ease;
}

.why-item:hover {
    background: rgba(0,201,167,0.08);
    border-color: rgba(0,201,167,0.4);
    transform: translateY(-4px);
}

.why-number {
    font-size: 48px;
    font-weight: 800;
    color: rgba(255,255,255,0.2);
    line-height: 1;
    margin-bottom: 16px;
}

.why-item h3 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 12px;
}

.why-item p {
    font-size: 14px;
    opacity: 1;
    color: rgba(255,255,255,0.92);
    line-height: 1.8;
}

/* ===== SERVICES ===== */
.services-section {
    background: var(--navy);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: stretch;
}
.service-card {
    height: 100%;  /* stretch to grid row height */
}

.service-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--card-border);
    padding: 24px 20px;
    transition: all 0.4s ease;
    position: relative;
}

.service-card:hover {
    border-color: rgba(0,201,167,0.3);
    background: var(--card-hover);
    transform: translateY(-4px);
}

.service-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 20px;
    color: var(--teal);
}

.service-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}

.service-card h3 {
    color: #fff;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 13px;
    line-height: 1.7;
}

/* ===== MAP SECTION ===== */
.map-section {
    background: var(--navy-deep);
    text-align: center;
}

.map-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 60px;
}

.map-stat {
    text-align: center;
}

.map-stat-value {
    font-size: 56px;
    font-weight: 800;
    color: var(--teal);
    line-height: 1;
}

.map-stat-label {
    font-size: 14px;
    color: var(--muted);
    margin-top: 8px;
}

/* ===== SEGMENTS ===== */
.segments-section {
    background: var(--navy);
}

.segments-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.segment {
    padding: 30px 20px;
    text-align: center;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
}

.segment:hover {
    border-color: var(--teal);
    background: rgba(0,180,216,0.08);
}

.segment-icon { width: 56px; height: 56px; margin: 0 auto 14px; color: var(--teal); }

.segment-icon svg { width: 26px; height: 26px; stroke: currentColor; stroke-width: 1.5; fill: none; }

.segment-name {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, #0a1628 0%, #0f2240 100%);
    padding: 72px 24px;
}

.cta-content {
    max-width: 600px;
}

.cta-section h2 {
    color: #fff;
}

.cta-section p {
    color: rgba(232,240,248,0.7);
    
    margin-bottom: 30px;
}

.btn-dark {
    display: inline-block;
    background: var(--navy);
    color: #fff;
    padding: 16px 40px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-dark:hover {
    background: var(--navy-light);
    transform: translateY(-2px);
}

/* ===== FOOTER ===== */
footer {
    background: var(--navy-deep);
    padding: 40px 6%;
}

.footer-simple {
    text-align: center;
}

.footer-copy {
    color: var(--muted);
    font-size: 13px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
.hero-stats {
        gap: 40px;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .segments-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .map-stats {
        gap: 50px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 5%;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .segments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .map-stats {
        flex-direction: column;
        gap: 30px;
    }
}

/* === PAGE: ABOUT === */
/* ===== ABOUT SECTION ===== */
.about-section {
    background: var(--navy-deep);
}

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

.about-content h2 {
    color: #fff;
}

.about-content p {
    margin-bottom: 20px;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.org-chart {
    width: 100%;
    max-width: 400px;
}

.org-node {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--card-border);
    padding: 20px 30px;
    text-align: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.org-node:hover {
    border-color: var(--teal);
    background: var(--card-hover);
}

.org-node.main {
    border-color: var(--teal);
    background: rgba(0,201,167,0.1);
}

.org-node-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.org-branches {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.org-branches .org-node {
    padding: 15px;
    margin-bottom: 0;
}

.org-branches .org-node-title {
    font-size: 11px;
}

/* ===== METHODOLOGY SECTION ===== */
.methodology-section {
    background: linear-gradient(160deg, #0a1628 0%, #0e3630 50%, #0b2830 100%);
}

.methodology-section h2,
.methodology-section p {
    color: #fff;
}

.methodology-section .line {
    background: rgba(255,255,255,0.5);
}

.methodology-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.methodology-content > .line {
    margin-left: auto;
    margin-right: auto;
}

.methodology-content p {
    margin-bottom: 24px;
    opacity: 0.9;
    font-size: 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 30px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(0,201,167,0.08);
    border-color: rgba(0,201,167,0.4);
    transform: translateY(-4px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    color: #fff;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}

.feature-card h3 {
    color: #fff;
    font-size: 16px;
}

.feature-card p {
    font-size: 14px;
    opacity: 0.8;
}

/* ===== VALUES SECTION ===== */
.values-section {
    background: var(--navy);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.value-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--card-border);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    border-color: var(--teal);
    background: var(--card-hover);
}

.value-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--teal);
    line-height: 1;
    margin-bottom: 16px;
}

.value-card h3 {
    color: #fff;
    font-size: 14px;
    margin-bottom: 10px;
}

.value-card p {
    font-size: 13px;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, #0a1628 0%, #0f2240 100%);
    padding: 72px 24px;
}

.cta-content {
    max-width: 600px;
}

.cta-section h2 {
    color: #fff;
}

.cta-section p {
    color: rgba(232,240,248,0.7);
    
    margin-bottom: 30px;
}

.btn-dark {
    display: inline-block;
    background: var(--navy);
    color: #fff;
    padding: 16px 40px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-dark:hover {
    background: var(--navy-light);
    transform: translateY(-2px);
}

/* ===== FOOTER ===== */
footer {
    background: var(--navy-deep);
    padding: 40px 6%;
}

.footer-simple {
    text-align: center;
}

.footer-copy {
    color: var(--muted);
    font-size: 13px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
.about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 5%;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .org-branches {
        grid-template-columns: 1fr;
    }
}

/* === PAGE: SERVICES === */
/* ===== SERVICE CATEGORIES ===== */
.categories-section {
    background: var(--navy-deep);
}

.categories-intro {
    max-width: 700px;
    margin-bottom: 60px;
}

.categories-intro p {
    font-size: 16px;
    color: var(--text);
    opacity: 0.8;
}

.category-block {
    margin-bottom: 80px;
}

.category-block:last-child {
    margin-bottom: 0;
}

.category-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--card-border);
}

.category-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--teal), var(--cyan));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.category-icon svg {
    width: 28px;
    height: 28px;
    stroke: #fff;
    stroke-width: 2;
    fill: none;
}

.category-title h3 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 6px;
}

.category-title span {
    
    font-size: 12px;
    color: var(--teal);
    letter-spacing: 1px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.service-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--card-border);
    padding: 24px 20px;
    transition: all 0.4s ease;
    position: relative;
}

.service-card:hover {
    border-color: var(--teal);
    background: var(--card-hover);
    transform: translateY(-4px);
}

.service-card h4 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 12px;
    font-weight: 600;
}

.service-card p {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.service-provider {
    
    font-size: 10px;
    color: var(--teal);
    letter-spacing: 0.5px;
    opacity: 0.7;
}

/* ===== FEATURED PLATFORM ===== */
.platform-section {
    background: linear-gradient(160deg, #0a1628 0%, #0e3630 50%, #0b2830 100%);
}

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

.platform-content .tag {
    color: rgba(255,255,255,0.7);
}

.platform-content h2 {
    color: #fff;
}

.platform-content .line {
    background: rgba(255,255,255,0.4);
}

.platform-content p {
    color: rgba(255,255,255,0.85);
    font-size: 16px;
}

.platform-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.platform-stat {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    text-align: center;
    border-radius: 8px;
}

.platform-stat-value {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.platform-stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

/* ===== INDUSTRIES ===== */
.industries-section {
    background: var(--navy);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.industry-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--card-border);
    padding: 28px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.industry-card:hover {
    border-color: var(--teal);
    background: var(--card-hover);
}

.industry-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    color: var(--teal);
}

.industry-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}

.industry-card h4 {
    font-size: 14px;
    color: #fff;
    font-weight: 600;
}

/* ===== CERTIFICATIONS ===== */
.certs-section {
    background: var(--navy-deep);
}

.certs-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.cert-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--card-border);
    padding: 30px 20px;
    text-align: center;
}

.cert-value {
    
    font-size: 18px;
    font-weight: 700;
    color: var(--teal);
    margin-bottom: 10px;
}

.cert-label {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.5;
}

/* ===== WORKFLOW ===== */
.workflow-section {
    background: var(--navy);
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.workflow-step {
    text-align: center;
    position: relative;
}

.workflow-step::after {
    content: '→';
    position: absolute;
    right: -15px;
    top: 30px;
    color: var(--teal);
    font-size: 20px;
    opacity: 0.5;
}

.workflow-step:last-child::after {
    display: none;
}

.workflow-number {
    width: 56px;
    height: 56px;
    background: rgba(0,201,167,0.1);
    border: 2px solid var(--teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    
    font-size: 18px;
    font-weight: 700;
    color: var(--teal);
}

.workflow-step h4 {
    font-size: 14px;
    color: #fff;
    margin-bottom: 8px;
}

.workflow-step p {
    font-size: 12px;
    line-height: 1.5;
}

/* ===== CTA ===== */
.cta-section {
    background: linear-gradient(135deg, #0a1628 0%, #0f2240 100%);
    padding: 80px 6%;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--navy);
}

.cta-content p {
    color: var(--navy);
    opacity: 0.8;
    margin-bottom: 30px;
}

.btn-dark {
    display: inline-block;
    background: var(--navy);
    color: #fff;
    padding: 16px 40px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-dark:hover {
    background: var(--navy-light);
    transform: translateY(-2px);
}

/* ===== FOOTER ===== */
footer {
    background: var(--navy-deep);
    padding: 40px 6%;
}

.footer-simple {
    text-align: center;
}

.footer-copy {
    color: var(--muted);
    font-size: 13px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
.services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .platform-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .certs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .workflow-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .workflow-step::after {
        display: none;
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 5%;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .certs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .workflow-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .platform-stats {
        grid-template-columns: 1fr;
    }
}

/* === PAGE: NEWS === */
/* ===== FEATURED NEWS ===== */
.featured-section {
    background: var(--navy-deep);
    padding: 80px 6%;
}

.featured-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
}

.featured-main {
    position: relative;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--card-border);
    overflow: hidden;
    transition: all 0.4s ease;
}

.featured-main:hover {
    border-color: var(--teal);
    transform: translateY(-4px);
}

.featured-image {
    height: 300px;
    background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.featured-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,201,167,0.1) 0%, rgba(0,180,216,0.1) 100%);
}

.featured-image-placeholder {
    font-size: 48px;
    color: var(--teal);
    opacity: 0.3;
}

.featured-content {
    padding: 35px;
}

.news-category {
    display: inline-block;
    
    font-size: 10px;
    color: var(--teal);
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(0,180,216,0.15);
    padding: 5px 12px;
    margin-bottom: 16px;
}

.featured-main h2 {
    font-size: 22px;
    line-height: 1.4;
    margin-bottom: 16px;
}

.featured-main h2 a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-main h2 a:hover {
    color: var(--teal);
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.news-date {
    font-size: 12px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-date svg {
    width: 14px;
    height: 14px;
    stroke: var(--muted);
    stroke-width: 1.5;
    fill: none;
}

.news-excerpt {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--teal);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 12px;
}

.read-more svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

/* Featured sidebar */
.featured-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.featured-small {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--card-border);
    padding: 25px;
    transition: all 0.3s ease;
    flex: 1;
}

.featured-small:hover {
    border-color: var(--teal);
    background: rgba(0,180,216,0.05);
}

.featured-small h3 {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.featured-small h3 a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-small h3 a:hover {
    color: var(--teal);
}

/* ===== NEWS GRID ===== */
.news-section {
    background: var(--navy);
    padding: 48px 6% 80px;
}

.news-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 50px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.news-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
    overflow: hidden;
}

.news-card:hover {
    border-color: var(--teal);
    transform: translateY(-4px);
}

.news-card-image {
    height: 180px;
    background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy-deep) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.news-card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,201,167,0.08) 0%, rgba(0,180,216,0.08) 100%);
}

.news-card-image-placeholder {
    font-size: 32px;
    color: var(--teal);
    opacity: 0.2;
}

.news-card-content {
    padding: 25px;
}

.news-card h3 {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.news-card h3 a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-card h3 a:hover {
    color: var(--teal);
}

.news-card .news-excerpt {
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== SIDEBAR ===== */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--card-border);
    padding: 30px;
}

.sidebar-widget h4 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-widget h4 svg {
    width: 18px;
    height: 18px;
    stroke: var(--teal);
    stroke-width: 1.5;
    fill: none;
}

/* Tags */
.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-pill {
    
    font-size: 11px;
    color: var(--muted);
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--card-border);
    padding: 6px 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag-pill:hover {
    color: var(--teal);
    border-color: var(--teal);
    background: rgba(0,201,167,0.1);
}

/* Categories */
.categories-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--card-border);
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-item:last-child {
    border-bottom: none;
}

.category-item span {
    font-size: 13px;
    color: var(--muted);
    transition: color 0.3s ease;
}

.category-item:hover span {
    color: var(--teal);
}

.category-count {
    
    font-size: 11px;
    color: var(--navy);
    background: var(--muted);
    padding: 2px 8px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.category-item:hover .category-count {
    background: var(--teal);
}

/* Recent posts */
.recent-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.recent-item {
    display: flex;
    gap: 14px;
    text-decoration: none;
}

.recent-item-number {
    
    font-size: 20px;
    font-weight: 700;
    color: var(--navy-light);
    -webkit-text-stroke: 1px var(--teal);
    line-height: 1;
    min-width: 30px;
}

.recent-item-content h5 {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.recent-item:hover h5 {
    color: var(--teal);
}

.recent-item-date {
    font-size: 11px;
    color: var(--muted);
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 60px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--card-border);
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a:hover {
    color: var(--teal);
    border-color: var(--teal);
}

.pagination .active {
    color: var(--navy);
    background: var(--teal);
    border-color: var(--teal);
}

.pagination .dots {
    background: transparent;
    border: none;
    color: var(--muted);
}

.pagination .nav-arrow {
    width: auto;
    padding: 0 16px;
    gap: 6px;
}

.pagination .nav-arrow svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

/* ===== NEWSLETTER ===== */
.newsletter-section {
    background: linear-gradient(160deg, #0a1628 0%, #0e3630 50%, #0b2830 100%);
    padding: 80px 6%;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2,
.newsletter-content p {
    color: #fff;
}

.newsletter-content p {
    margin: 16px 0 30px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 12px;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 24px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.6);
}

.newsletter-form input:focus {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
}

.newsletter-form button {
    padding: 16px 32px;
    background: var(--navy);
    color: #fff;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--navy-light);
}

/* ===== FOOTER ===== */
footer {
    background: var(--navy-deep);
    padding: 40px 6%;
}

.footer-simple {
    text-align: center;
}

.footer-copy {
    color: var(--muted);
    font-size: 13px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
.featured-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-sidebar {
        flex-direction: row;
    }
    
    .news-layout {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .sidebar-widget {
        flex: 1;
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 5%;
    }
    
    .featured-sidebar {
        flex-direction: column;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
}

/* === PAGE: CONTACT === */
/* ===== CONTACT SECTION ===== */
.contact-section {
    background: var(--navy-deep);
    padding: 72px 6%;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

/* ===== CONTACT FORM ===== */
.contact-form-wrapper {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--card-border);
    padding: 50px;
}

.contact-form-wrapper h2 {
    color: #fff;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--card-border);
    padding: 16px 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: var(--text);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal);
    background: rgba(0,201,167,0.05);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

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

.btn-submit {
    background: var(--teal);
    color: var(--navy);
    border: none;
    padding: 16px 40px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-submit:hover {
    background: #00ddb5;
    transform: translateY(-2px);
}

/* ===== CONTACT INFO ===== */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.info-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--card-border);
    padding: 40px;
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: var(--teal);
    background: var(--card-hover);
}

.info-card h3 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-card h3 svg {
    width: 24px;
    height: 24px;
    stroke: var(--teal);
    stroke-width: 1.5;
    fill: none;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item svg {
    width: 18px;
    height: 18px;
    stroke: var(--muted);
    stroke-width: 1.5;
    fill: none;
    flex-shrink: 0;
    margin-top: 2px;
}

.info-item a {
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--teal);
}

.info-item span {
    color: var(--muted);
    font-size: 14px;
}

/* ===== CAREERS SECTION ===== */
.careers-section {
    background: linear-gradient(160deg, #0a1628 0%, #0e3630 50%, #0b2830 100%);
    padding: 72px 6%;
}

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

.careers-content h2,
.careers-content p {
    color: #fff;
}

.careers-content .line {
    background: rgba(255,255,255,0.5);
}

.careers-content .tag {
    color: rgba(255,255,255,0.6);
}

.careers-content p {
    margin-top: 24px;
    opacity: 0.9;
    font-size: 16px;
}

.careers-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 50px;
    text-align: center;
}

.careers-cta-label {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.careers-cta-email {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.careers-cta-email:hover {
    opacity: 0.8;
}

/* ===== WORKING HOURS ===== */
.hours-section {
    background: var(--navy);
    padding: 80px 6%;
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.hours-card {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--card-border);
}

.hours-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    color: var(--teal);
}

.hours-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}

.hours-card h3 {
    color: #fff;
    font-size: 14px;
    margin-bottom: 8px;
}

.hours-card p {
    font-size: 13px;
}

/* ===== FOOTER ===== */
footer {
    background: var(--navy-deep);
    padding: 40px 6%;
}

.footer-simple {
    text-align: center;
}

.footer-copy {
    color: var(--muted);
    font-size: 13px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
.contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .careers-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hours-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 5%;
    }
    
    .contact-form-wrapper {
        padding: 30px;
    }
    
    .info-card {
        padding: 30px;
    }
}

/* === PAGE: JOIN === */
/* ===== PROGRAM SECTION ===== */
.program-section { background: var(--navy-deep); }

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

.program-content p { margin-bottom: 20px; }

.program-badge {
    background: rgba(0,201,167,0.08);
    border: 1px solid rgba(0,201,167,0.2);
    padding: 60px 50px;
    text-align: center;
}
.program-badge-title {
    
    font-size: 14px;
    color: var(--teal);
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.program-badge-name {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 12px;
}
.program-badge-sub {
    font-size: 14px;
    color: var(--muted);
}

/* ===== BENEFITS ===== */
.benefits-section {
    background: linear-gradient(160deg, #0a1628 0%, #0e3630 50%, #0b2830 100%);
}
.benefits-section h2, .benefits-section p { color: #fff; }
.benefits-section .line { background: rgba(255,255,255,0.5); }

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.benefit-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(0,201,167,0.2);
    border-radius: 8px;
    padding: 32px 28px;
    transition: all 0.3s ease;
}
.benefit-card:hover {
    background: rgba(0,201,167,0.08);
    border-color: rgba(0,201,167,0.4);
    transform: translateY(-4px);
}
.benefit-icon {
    width: 44px; height: 44px;
    margin-bottom: 20px; color: #fff;
}
.benefit-icon svg { width: 100%; height: 100%; stroke: currentColor; stroke-width: 1.5; fill: none; }
.benefit-card h3 { color: #fff; font-size: 16px; }
.benefit-card p { font-size: 14px; opacity: 0.85; color: rgba(255,255,255,0.8); }

/* ===== STANDARDS ===== */
.standards-section { background: var(--navy); }

.standards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.standard-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--card-border);
    padding: 36px 24px;
    text-align: center;
    transition: all 0.3s ease;
}
.standard-card:hover { border-color: var(--teal); background: var(--card-hover); }
.standard-value { font-size: 13px; font-weight: 700; color: var(--teal); letter-spacing: 1px; margin-bottom: 12px; }
.standard-label { font-size: 12px; color: var(--muted); line-height: 1.6; }

/* ===== HOW IT WORKS ===== */
.how-section { background: var(--navy-deep); }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.step-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--card-border);
    padding: 40px 30px;
    transition: all 0.3s ease;
    position: relative;
}
.step-card:hover { border-color: var(--teal); background: var(--card-hover); }
.step-number {
    font-size: 48px; font-weight: 800;
    color: rgba(0,201,167,0.15); line-height: 1;
    margin-bottom: 20px;
}
.step-card h3 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.step-card p { font-size: 13px; line-height: 1.7; }

/* ===== CLIENT BENEFITS ===== */
.client-section { background: var(--navy); }

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

.client-content p { margin-bottom: 20px; }

.client-example {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--card-border);
    padding: 40px;
}
.client-example h3 { color: var(--teal); font-size: 14px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 24px; }

.example-step {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    align-items: flex-start;
}
.example-num {
    min-width: 28px; height: 28px;
    background: var(--teal);
    color: var(--navy);
    font-size: 12px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}
.example-text { font-size: 14px; color: var(--text); opacity: 0.85; line-height: 1.6; }
.example-note {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--card-border);
    font-size: 13px;
    color: var(--muted);
    font-style: italic;
}

/* ===== CTA ===== */
.cta-section { background: linear-gradient(135deg, #0a1628 0%, #0f2240 100%); padding: 72px 6%; border-top: 1px solid rgba(0,201,167,0.12); }
.cta-content { max-width: 650px; }
.cta-section h2 { color: #fff; }
.cta-section p { color: rgba(232,240,248,0.7); opacity: 1; margin-bottom: 30px; }
.btn-dark {
    display: inline-block; background: var(--navy); color: #fff;
    padding: 16px 40px; font-weight: 600; font-size: 13px;
    text-decoration: none; transition: all 0.3s ease;
}
.btn-dark:hover { background: var(--navy-light); transform: translateY(-2px); }

/* ===== FOOTER ===== */
footer { background: var(--navy-deep); padding: 40px 6%; }
.footer-simple { text-align: center; }
.footer-copy { color: var(--muted); font-size: 13px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
.program-intro { grid-template-columns: 1fr; gap: 50px; }
    .benefits-grid { grid-template-columns: 1fr; }
    .standards-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .client-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    section { padding: 80px 5%; }
    .standards-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .hero-cta { flex-direction: column; align-items: flex-start; }
}

/* === SINGLE POST === */
.single-meta-top {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}
.single-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 50px;
}
.single-content {
    flex: 1;
    min-width: 0;
}
.single-featured-image {
    margin-bottom: 40px;
    border: 1px solid var(--card-border);
    overflow: hidden;
}
.single-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}
.single-body {
    color: var(--text);
    font-size: 16px;
    line-height: 1.9;
}
.single-body p {
    color: var(--text);
    opacity: 0.9;
    margin-bottom: 20px;
    font-size: 16px;
}
.single-body h2 { font-size: 24px; margin-top: 40px; margin-bottom: 16px; color: #fff; }
.single-body h3 { font-size: 20px; margin-top: 30px; margin-bottom: 12px; color: #fff; }
.single-body ul, .single-body ol { margin: 16px 0; padding-left: 24px; color: var(--text); opacity: 0.9; }
.single-body li { margin-bottom: 8px; line-height: 1.7; }
.single-body blockquote {
    border-left: 3px solid var(--teal);
    padding: 20px 30px;
    margin: 30px 0;
    background: rgba(0,201,167,0.05);
    font-style: italic;
}
.single-body blockquote p { color: var(--text); margin-bottom: 0; }
.single-body img { max-width: 100%; height: auto; border: 1px solid var(--card-border); margin: 20px 0; }
.single-body a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.single-tags {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--card-border);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.single-nav {
    display: flex;
    gap: 20px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--card-border);
}
.single-nav-link {
    flex: 1;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--card-border);
    padding: 24px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.single-nav-link:hover { border-color: rgba(0,201,167,0.3); background: var(--card-hover); }
.single-nav-link.next { text-align: right; }
.single-nav-label {
    display: flex; align-items: center; gap: 6px;
    font-size: 11px; font-weight: 600; letter-spacing: 1px;
    text-transform: uppercase; color: var(--teal); margin-bottom: 8px;
}
.single-nav-link.next .single-nav-label { justify-content: flex-end; }
.single-nav-label svg { stroke: currentColor; stroke-width: 2; fill: none; width: 14px; height: 14px; }
.single-nav-title { display: block; font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.4; }

.news-card-image img, .featured-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-card-image-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: var(--muted); background: rgba(255,255,255,0.03); }

@media (max-width: 1024px) {
    .single-layout { flex-direction: column; }
}
@media (max-width: 768px) {
    .single-nav { flex-direction: column; }
    .single-nav-link.next { text-align: left; }
    .single-nav-link.next .single-nav-label { justify-content: flex-start; }
}


/* ═══ BREADCRUMBS ═══ */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 20px;
}
.breadcrumbs a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumbs a:hover { color: var(--teal); }
.breadcrumbs .sep { opacity: 0.4; }

/* ═══ FULL FOOTER ═══ */
.site-footer {
    background: var(--navy-deep);
    padding: 80px 24px 30px;
    border-top: 1px solid var(--card-border);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
    margin-bottom: 50px;
}
.footer-logo {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: 1px;
}
.footer-logo span { color: var(--teal); }
.footer-desc {
    margin-top: 16px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
}
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}
.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--card-border);
    border-radius: 4px;
    transition: all 0.3s;
}
.footer-social a:hover {
    border-color: var(--teal);
    background: rgba(0,201,167,0.1);
}
.footer-social svg {
    width: 16px;
    height: 16px;
    stroke: var(--muted);
    stroke-width: 2;
    fill: none;
}
.footer-social a:hover svg { stroke: var(--teal); }
.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 20px;
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-col li {
    margin-bottom: 10px;
}
.footer-col a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--teal); }
.footer-contacts li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
}
.footer-contacts svg {
    width: 16px;
    height: 16px;
    stroke: var(--teal);
    stroke-width: 2;
    fill: none;
    flex-shrink: 0;
    margin-top: 2px;
}
.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--card-border);
    text-align: center;
}
.footer-copy {
    font-size: 12px;
    color: var(--muted);
}

/* ═══ BURGER MENU ═══ */
.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 110;
}
.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    transition: all 0.3s;
}
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ═══ FLAT ORG ILLUSTRATION ═══ */
.org-illustration { max-width: 100%; }
.org-illustration svg { width: 100%; height: auto; }


/* ═══ MOBILE RESPONSIVE ═══ */

/* Burger button */
.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 200;
    position: relative;
}
.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    transition: all 0.3s;
    border-radius: 2px;
}
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Tablet */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .single-layout { grid-template-columns: 1fr !important; }
    .news-layout { grid-template-columns: 1fr !important; }
    .why-grid { grid-template-columns: 1fr !important; }
    .services-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .segments-grid { grid-template-columns: repeat(3, 1fr) !important; }
    .about-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
    .flagship-grid { grid-template-columns: 1fr !important; }
    .contact-grid { grid-template-columns: 1fr !important; }
    .industries-grid { grid-template-columns: repeat(3, 1fr) !important; }
    .certs-grid { grid-template-columns: repeat(3, 1fr) !important; }
    .platform-grid { grid-template-columns: 1fr !important; }
    .workflow-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* Mobile */
@media (max-width: 768px) {
    /* Burger visible */
    .burger { display: block !important; }
    .hide-mobile { display: none !important; }
    
    /* Full-screen mobile nav overlay */
    .header-nav {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        height: 100dvh !important;
        background-color: #061220 !important;
        display: none !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        padding: 100px 40px 40px !important;
        gap: 28px !important;
        z-index: 150 !important;
    }
    .header-nav.open {
        display: flex !important;
    }
    .header-nav a {
        font-size: 22px !important;
        font-weight: 600 !important;
        color: var(--text) !important;
    }
    .header-nav a:hover,
    .header-nav a.active {
        color: var(--teal) !important;
    }
    
    /* Header */
    .header { padding: 12px 16px !important; background-color: #061220 !important; }
    .header-cta.hide-mobile { display: none !important; }
    
    /* Sections */
    section { padding: 60px 16px !important; }
    .container { padding: 0 16px; }
    
    /* Hero */
    .hero-home {
        min-height: auto !important;
        height: auto !important;
        padding-top: 100px !important;
        padding-bottom: 60px !important;
        display: block !important;
    }
    .hero-home .hero-content {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
    }
    .hero-home .hero-tag,
    .hero-home .hero-description,
    .hero-home .hero-cta {
        display: block !important;
        height: auto !important;
        min-height: 0 !important;
        width: auto !important;
    }
    .hero-home h1 { font-size: clamp(28px, 8vw, 40px) !important; white-space: normal !important; letter-spacing: 0 !important; }
    .hero-home .hero-description { font-size: 16px !important; margin-bottom: 28px !important; }
    .hero-home .hero-tag { margin-bottom: 16px !important; }
    .hero-inner { min-height: auto !important; height: auto !important; padding-top: 90px !important; padding-bottom: 40px !important; }
    .hero-inner h1 { font-size: clamp(24px, 6vw, 34px) !important; }
    .hero-cta { flex-direction: column !important; align-items: flex-start !important; margin-top: 24px !important; gap: 12px !important; }
    .hero-cta a { width: 100% !important; text-align: center !important; }
    
    /* ALL grids → single column */
    .services-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .segments-grid { grid-template-columns: 1fr !important; }
    .news-grid { grid-template-columns: 1fr !important; }
    .industries-grid { grid-template-columns: 1fr !important; }
    .certs-grid { grid-template-columns: 1fr !important; }
    .values-grid { grid-template-columns: 1fr !important; }
    .products-grid { grid-template-columns: 1fr !important; }
    .workflow-grid { grid-template-columns: 1fr !important; }
    .benefits-grid { grid-template-columns: 1fr !important; }
    .standards-grid { grid-template-columns: 1fr !important; }
    .steps-grid { grid-template-columns: 1fr !important; }
    .client-grid { grid-template-columns: 1fr !important; }
    .hours-grid { grid-template-columns: 1fr !important; }
    .careers-grid { grid-template-columns: 1fr !important; }
    .features-grid { grid-template-columns: 1fr !important; }
    .security-grid { grid-template-columns: 1fr !important; }
    .flagship-features { grid-template-columns: 1fr !important; }
    .platform-stats { grid-template-columns: 1fr !important; }
    .why-grid { grid-template-columns: 1fr !important; }
    .about-grid { grid-template-columns: 1fr !important; }
    .contact-grid { grid-template-columns: 1fr !important; }
    .flagship-grid { grid-template-columns: 1fr !important; }
    .platform-grid { grid-template-columns: 1fr !important; }
    .program-intro { grid-template-columns: 1fr !important; }
    .org-branches { grid-template-columns: 1fr !important; }
    
    /* Multi-column flex → column */
    .hero-stats { flex-direction: column !important; gap: 24px !important; }
    .map-stats { flex-direction: column !important; gap: 24px !important; }
    .org-comparison { flex-direction: column !important; }
    .org-comparison-side { min-width: auto !important; }
    
    /* News / sidebar */
    .news-layout { grid-template-columns: 1fr !important; }
    .single-layout { grid-template-columns: 1fr !important; }
    .sidebar { flex-direction: column !important; }
    .featured-grid { grid-template-columns: 1fr !important; }
    .featured-sidebar { flex-direction: column !important; }
    
    /* Footer */
    .footer-grid { grid-template-columns: 1fr !important; gap: 30px !important; }
    .site-footer { padding: 50px 16px 20px !important; }
    
    /* Partners */
    .partners-grid { flex-direction: column !important; gap: 8px !important; }
    .partner { padding: 14px 20px !important; }
    
    /* CTA */
    .cta-section { padding: 60px 16px !important; }
    
    /* Typography */
    h1 { font-size: clamp(26px, 7vw, 38px) !important; }
    h2 { font-size: clamp(20px, 5vw, 28px) !important; }
    
    /* Single post */
    .single-nav { flex-direction: column !important; }
    .single-nav-link.next { text-align: left !important; }
    .single-nav-link.next .single-nav-label { justify-content: flex-start !important; }
    
    /* Newsletter */
    .newsletter-form { flex-direction: column !important; }
    
    /* Contact form */
    .contact-form-wrapper { padding: 24px !important; }
    .info-card { padding: 24px !important; }
    
    /* Workflow arrows hidden */
    .workflow-step::after { display: none !important; }
}

/* Small mobile */
@media (max-width: 480px) {
    .stat-value { font-size: 28px !important; }
    .hero-home h1 { font-size: 28px !important; }
    .partner { padding: 12px 16px !important; }
    .partner-name { font-size: 13px !important; }
    .map-stat-value { font-size: 36px !important; }
}

/* ═══ BACK TO TOP ═══ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--teal);
    color: var(--navy);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 90;
    box-shadow: 0 4px 15px rgba(0,201,167,0.3);
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: #00ddb5;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,201,167,0.4);
}
.back-to-top svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
}
@media (max-width: 768px) {
    .back-to-top { bottom: 20px; right: 20px; width: 40px; height: 40px; }
}

/* ═══ ORG COMPARISON DIAGRAM ═══ */
.org-comparison {
    display: flex;
    gap: 40px;
    align-items: stretch;
}
.org-comparison-side {
    flex: 1;
    min-width: 0;
}

/* ═══ ABOUT PAGE — FLAT STRUCTURE ILLUSTRATIONS ═══ */
.about-illustrations {
    margin-top: 0;
}
.about-illustration-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--card-border);
    padding: 36px 32px 28px;
}
.about-illustration-card + .about-illustration-card {
    margin-top: 24px;
}
.about-illustration-label {
    font-family: 'Fira Code', monospace;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--teal);
    opacity: 0.85;
    margin-bottom: 18px;
    text-align: center;
}
.about-illustration-card svg {
    display: block;
    width: 100%;
    height: auto;
    max-width: 900px;
    margin: 0 auto;
}
.about-illustration-caption {
    text-align: center;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.7;
    margin: 18px auto 0;
    max-width: 720px;
}
@media (max-width: 768px) {
    .about-illustration-card { padding: 22px 14px 18px; }
    .about-illustration-card + .about-illustration-card { margin-top: 16px; }
    .about-illustration-label { font-size: 10px; margin-bottom: 14px; }
    .about-illustration-caption { font-size: 12.5px; margin-top: 14px; }
}

/* ═══ SHARED STACK — bullet-proof mobile single column ═══ */
@media (max-width: 768px) {
    .methodology-section .features-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        margin-top: 32px !important;
    }
    .methodology-section .feature-card {
        padding: 24px 20px !important;
    }
}

.mgmt-section .service-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--card-border);
    padding: 30px 24px;
}
.mgmt-section .service-card:hover {
    border-color: rgba(0,201,167,0.3);
    background: var(--card-hover);
    transform: translateY(-3px);
}

/* Show contact in mobile nav */
@media (max-width: 768px) {
    .header-nav .show-mobile {
        display: block !important;
        margin-top: 16px;
        padding: 14px 32px !important;
        border: 1px solid var(--teal) !important;
        color: var(--teal) !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        letter-spacing: 1px !important;
        text-decoration: none !important;
    }
}


/* ═══ PAGE: STACK (Technology) ═══ */
.flagship-section {
    background: linear-gradient(160deg, #0a1628 0%, #0d2040 50%, #0a1628 100%);
    padding: 72px 24px;
    border-top: 1px solid rgba(0,201,167,0.08);
    border-bottom: 1px solid rgba(0,201,167,0.08);
}
.flagship-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: center; }
.flagship-content h2 { color: #fff; }
.flagship-content .tag { color: var(--teal) !important; }
.flagship-content .line { background: var(--teal); opacity: 0.6; }
.flagship-content p { color: rgba(232,240,248,0.8); margin-bottom: 16px; font-size: 15px; line-height: 1.75; }
.flagship-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 30px; }
.flagship-feature { display: flex; align-items: center; gap: 12px; color: rgba(232,240,248,0.85); font-weight: 500; font-size: 13px; }
.flagship-feature-icon { width: 36px; height: 36px; background: rgba(0,201,167,0.1); border: 1px solid rgba(0,201,167,0.2); border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.flagship-feature-icon svg { width: 18px; height: 18px; stroke: var(--teal); stroke-width: 2; fill: none; }
.flagship-visual { display: flex; flex-direction: column; gap: 20px; }
.flagship-stat {
    background: rgba(0,201,167,0.06);
    border: 1px solid rgba(0,201,167,0.15);
    border-radius: 8px;
    padding: 30px;
}
.flagship-stat-value { font-size: 44px; font-weight: 800; color: var(--teal); margin-bottom: 6px;  }
.flagship-stat-label { font-size: 12px; color: rgba(232,240,248,0.6); letter-spacing: 1px; text-transform: uppercase; }
.layers-section { background: var(--navy-deep); }
.layer-block { margin-bottom: 80px; }
.layer-block:last-child { margin-bottom: 0; }
.layer-header { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 30px; padding-bottom: 16px; border-bottom: 1px solid var(--card-border); }
.layer-icon { width: 44px; height: 44px; background: linear-gradient(135deg, var(--teal), var(--cyan)); display: flex; align-items: center; justify-content: center; }
.layer-icon svg { width: 22px; height: 22px; stroke: var(--navy); stroke-width: 2; fill: none; }
.layer-title h3 { font-size: 20px; margin-bottom: 4px; }
.layer-title span {  font-size: 10px; color: var(--muted); letter-spacing: 1px; }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { background: rgba(255,255,255,0.02); border: 1px solid var(--card-border); padding: 32px 28px; transition: all 0.4s ease; position: relative; }
.product-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--teal), var(--cyan)); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
.product-card:hover { border-color: var(--teal); background: var(--card-hover); transform: translateY(-4px); }
.product-card:hover::after { transform: scaleX(1); }
.product-card h4 { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 10px; }
.product-card p { font-size: 12px; color: var(--muted); line-height: 1.7; margin-bottom: 16px; }
.product-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.product-tag {  font-size: 9px; color: var(--teal); background: rgba(0,180,216,0.1); padding: 4px 10px; letter-spacing: 0.5px; }
.product-company {  font-size: 9px; color: var(--yellow); background: rgba(253,216,53,0.1); padding: 4px 10px; letter-spacing: 0.5px; }
.tech-section { background: var(--navy); }
.tech-category { margin-bottom: 50px; }
.tech-category:last-child { margin-bottom: 0; }
.tech-category-title { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.tech-category-title::after { content: ''; flex: 1; height: 1px; background: var(--card-border); }
.tech-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.tech-tag {  font-size: 11px; padding: 10px 18px; background: rgba(255,255,255,0.03); border: 1px solid var(--card-border); color: var(--text); transition: all 0.3s ease; }
.tech-tag:hover { border-color: var(--teal); background: var(--card-hover); color: var(--teal); }
.industries-section { background: var(--navy-deep); }
.industries-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.industry-card { background: rgba(255,255,255,0.02); border: 1px solid var(--card-border); padding: 28px 20px; text-align: center; transition: all 0.3s ease; }
.industry-card:hover { border-color: var(--teal); background: rgba(0,180,216,0.08); }
.industry-icon { width: 36px; height: 36px; margin: 0 auto 14px; color: var(--teal); }
.industry-icon svg { width: 100%; height: 100%; stroke: currentColor; stroke-width: 1.5; fill: none; }
.industry-name { font-size: 11px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; }
.security-section { background: var(--navy); }
.security-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.security-card { background: rgba(255,255,255,0.02); border: 1px solid var(--card-border); padding: 36px 30px; transition: all 0.3s ease; }
.security-card:hover { border-color: var(--yellow); background: rgba(253,216,53,0.05); }
.security-card h4 { color: #fff; font-size: 16px; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.security-card h4 svg { width: 22px; height: 22px; stroke: var(--yellow); stroke-width: 1.5; fill: none; }
.security-card p { font-size: 13px; color: var(--muted); line-height: 1.7; }
.security-features { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.security-feature {  font-size: 9px; color: var(--yellow); background: rgba(253,216,53,0.1); padding: 5px 10px; letter-spacing: 0.5px; }
.cta-section { background: linear-gradient(135deg, #0a1628 0%, #0f2240 100%); padding: 72px 6%; border-top: 1px solid rgba(0,201,167,0.12); }
.cta-content { max-width: 600px; }
.cta-section h2 { color: #fff; }
.cta-section p { color: rgba(232,240,248,0.7); opacity: 1; margin-bottom: 30px; }
.btn-dark { display: inline-block; background: var(--navy); color: #fff; padding: 16px 40px; font-size: 13px; font-weight: 600; letter-spacing: 1px; text-decoration: none; transition: all 0.3s ease; }
.btn-dark:hover { background: var(--navy-deep); transform: translateX(4px); }
footer { background: var(--navy-deep); padding: 40px 6%; }
.footer-simple { text-align: center; }
.footer-copy { font-size: 12px; color: var(--muted); letter-spacing: 1px; }
@media (max-width: 1024px) {
    .flagship-grid { grid-template-columns: 1fr; gap: 40px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .industries-grid { grid-template-columns: repeat(3, 1fr); }
    .security-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .products-grid { grid-template-columns: 1fr !important; }
    .industries-grid { grid-template-columns: 1fr !important; }
    .security-grid { grid-template-columns: 1fr !important; }
    .flagship-features { grid-template-columns: 1fr !important; }
}
/* ══ LOGO IMAGE ════════════════════════════════ */
.header-logo img, .footer-logo img { display: block; height: 36px; width: auto; }
.footer-logo img { height: 32px; margin-bottom: 16px; }

/* ══ LANGUAGE SWITCHER ═════════════════════════ */
.header-right { display: flex; align-items: center; gap: 16px; }
.lang-switcher, .mobile-lang, .footer-lang { display: flex; gap: 4px; }
a.lang-sw {
    
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--muted);
    padding: 4px 8px;
    border: 1px solid transparent;
    text-decoration: none;
    transition: all 0.2s ease;
}
a.lang-sw:hover { color: var(--text); border-color: var(--card-border); }
a.lang-sw.active { color: var(--teal); border-color: var(--teal); }

/* ══ FOOTER MENU LIST ══════════════════════════ */
.footer-menu-list { list-style: none; padding: 0; margin: 0; }
.footer-menu-list li { margin-bottom: 10px; }
.footer-menu-list li a { font-size: 13px; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-menu-list li a:hover { color: var(--text); }

/* ══ FOOTER BOTTOM LANG ════════════════════════ */
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-lang a.lang-sw { font-size: 10px; }

/* ══ MOBILE LANG ═══════════════════════════════ */
.mobile-lang { padding: 16px 20px 0; border-top: 1px solid var(--card-border); margin-top: 12px; }
.mobile-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0 0 0;
    padding: 10px 28px;
    background: transparent;
    color: var(--teal);
    border: 1px solid var(--teal);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    letter-spacing: 0.5px;
    cursor: pointer;
    border-radius: 2px;
    width: auto;
}

/* ══ WP NAV MENU — header ══════════════════════ */
.header-nav ul { display: flex; gap: 0; list-style: none; margin: 0; padding: 0; }
.header-nav ul li a {
    display: block;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}
.header-nav ul li a:hover {
    color: var(--teal);
}

/* ── Active / current page indicator ────────── */
.header-nav ul li.current-menu-item > a,
.header-nav ul li.current-menu-parent > a,
.header-nav ul li.current-menu-ancestor > a {
    color: var(--teal) !important;
    position: relative;
}

/* teal underline dot below active link */
.header-nav ul li.current-menu-item > a::after,
.header-nav ul li.current-menu-parent > a::after,
.header-nav ul li.current-menu-ancestor > a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--teal);
    border-radius: 2px;
}

/* ══ WP NAV MENU — mobile ══════════════════════ */
.mobile-nav { list-style: none; margin: 0; padding: 0; }
.mobile-nav li a { display: block; padding: 14px 20px; font-size: 15px; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--card-border); transition: color .2s; }
.mobile-nav li a:hover { color: var(--teal); }
.mobile-nav li.current-menu-item > a,
.mobile-nav li.current-menu-parent > a {
    color: var(--teal);
    font-weight: 600;
    padding-left: 24px;
    border-left: 3px solid var(--teal);
}

/* ══ MOBILE MENU OVERLAY ════════════════════════
   #mobileMenu is always hidden by default.
   JS adds .open when burger is clicked.
════════════════════════════════════════════════ */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100vh; height: 100dvh;
    background: #061220;
    z-index: 200;
    flex-direction: column;
    padding: 90px 32px 40px;
    overflow-y: auto;
}
.mobile-menu.open { display: flex; }

/* Desktop: hide mobile-only elements */
@media (min-width: 769px) {
    .mobile-menu { display: none !important; }
}

/* Mobile: hide desktop nav, show burger */
@media (max-width: 768px) {
    /* Completely disable old header-nav overlay behaviour —
       #mobileMenu takes over as the full-screen overlay */
    .header-nav { display: none !important; }
    .header-nav.open { display: none !important; }
    /* Keep header-right visible for the lang switcher pill on desktop */
    .header-right .lang-switcher { display: none; }
}

/* ══ VANTA HERO BACKGROUND ═════════════════════
   Canvas fills the hero section behind content
════════════════════════════════════════════════ */
.hero { overflow: hidden; }
.vanta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
}
.hero-content {
    position: relative;
    z-index: 2;
}
.breadcrumbs { position: relative; z-index: 2; }

/* ══ HOME HERO — CENTERED ═══════════════════════ */
.hero-home {
    justify-content: center;
    min-height: 80vh;
}
.hero-home .hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.hero-home .hero-description {
    margin: 0 auto;
    text-align: center;
}
.hero-home .hero-cta {
    justify-content: center;
}
.hero-home .hero-tag {
    text-align: center;
}

/* ══ INNER HERO — LEFT ALIGNED (default) ════════ */
.hero-inner .hero-content {
    text-align: left;
}
.hero-inner .hero-description {
    text-align: left;
}

/* ════════════════════════════════════════════════
   LANG SWITCHER — plain pills, distinct from Contact
════════════════════════════════════════════════ */
.lang-switcher { display: flex; align-items: center; gap: 2px; }

.lang-sw {
    display: inline-block;
    padding: 4px 8px;
    
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    border-radius: 3px;
    transition: color 0.2s, background 0.2s;
    border: none;
    background: transparent;
}
.lang-sw:hover { color: var(--text); }
.lang-sw.active {
    color: var(--teal);
    background: rgba(0,201,167,0.08);
}
/* No separator between UA and EN — clean pill layout */
.lang-switcher .lang-sw:not(:last-child)::after {
    display: none;
}

/* Contact button — teal outlined, clearly different */
.header-cta {
    display: inline-flex;
    align-items: center;
    padding: 7px 18px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--teal);
    border: 1px solid rgba(0,201,167,0.45);
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    transition: all 0.25s;
    white-space: nowrap;
    font-family: inherit;
}
.header-cta:hover {
    background: var(--teal);
    color: var(--navy);
    border-color: var(--teal);
}

/* ════════════════════════════════════════════════
   ABOUT INTRO — 2-column text outside hero
════════════════════════════════════════════════ */
.about-intro-section {
    padding: 56px 0 0;
    border-bottom: 1px solid var(--card-border);
    margin-bottom: 0;
}
.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding-bottom: 56px;
}
.about-intro-grid p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
    opacity: 0.85;
    margin: 0;
}
@media (max-width: 768px) {
    .about-intro-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ════════════════════════════════════════════════
   METHODOLOGY TEXT — 2 columns
════════════════════════════════════════════════ */
.methodology-text-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 48px;
    margin: 32px auto 0;
    max-width: 820px;
    align-items: start;
    text-align: left;
}
.methodology-text-cols p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.78;
    opacity: 0.82;
}
.methodology-text-cols p:last-child { margin-bottom: 0; }
@media (max-width: 768px) {
    .methodology-content {
        padding: 0 16px;
    }
    .methodology-text-cols {
        grid-template-columns: 1fr;
        gap: 22px;
        max-width: 100%;
        padding: 0;
    }
}

/* ════════════════════════════════════════════════
   POPUP CONTACT FORM — Intecracy style
════════════════════════════════════════════════ */
.ig-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9000;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.ig-popup.active { display: flex; }

.ig-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 15, 30, 0.85);
    backdrop-filter: blur(6px);
    cursor: pointer;
}

.ig-popup-box {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--navy, #0b1a30);
    border: 1px solid rgba(0,201,167,0.18);
    border-radius: 12px;
    box-shadow: 0 32px 80px rgba(0,0,0,0.6);
    animation: popupIn 0.28s cubic-bezier(0.34,1.56,0.64,1) both;
}

@keyframes popupIn {
    from { opacity: 0; transform: scale(0.94) translateY(16px); }
    to   { opacity: 1; transform: none; }
}

.ig-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    cursor: pointer;
    color: var(--text, #e8f0f8);
    transition: all 0.2s;
    z-index: 2;
}
.ig-popup-close:hover { background: rgba(255,255,255,0.12); }
.ig-popup-close svg {
    width: 16px; height: 16px;
    stroke: currentColor; fill: none;
    stroke-width: 2; stroke-linecap: round;
}

.ig-popup-header {
    padding: 36px 36px 28px;
    border-bottom: 1px solid rgba(0,201,167,0.1);
    background: linear-gradient(135deg, rgba(0,201,167,0.06) 0%, transparent 60%);
}
.ig-popup-tag {
    
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--teal, #00c9a7);
    margin-bottom: 10px;
}
.ig-popup-header h2 {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    line-height: 1.2;
}
.ig-popup-header p {
    font-size: 14px;
    color: rgba(232,240,248,0.6);
    margin: 0;
}

.ig-popup-body { padding: 28px 36px 36px; }

/* Form rows */
.ig-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.ig-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}
.ig-form-row .ig-form-group { margin-bottom: 0; }

.ig-form-group label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text, #e8f0f8);
    opacity: 0.85;
}
.ig-form-group label span { color: var(--teal, #00c9a7); }

.ig-form-group input,
.ig-form-group select,
.ig-form-group textarea {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    padding: 11px 14px;
    font-size: 14px;
    color: #fff;
    font-family: inherit;
    transition: border-color 0.2s, background 0.2s;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}
.ig-form-group input::placeholder,
.ig-form-group textarea::placeholder { color: rgba(232,240,248,0.3); }
.ig-form-group input:focus,
.ig-form-group select:focus,
.ig-form-group textarea:focus {
    border-color: rgba(0,201,167,0.5);
    background: rgba(0,201,167,0.04);
}
.ig-form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237f93a8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 36px;
    cursor: pointer;
}
.ig-form-group select option { background: #0b1a30; color: #e8f0f8; }

.ig-form-group textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.6;
}

.ig-form-privacy {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}
.ig-form-privacy input[type="checkbox"] {
    width: 16px; height: 16px;
    accent-color: var(--teal, #00c9a7);
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
}
.ig-form-privacy label {
    font-size: 13px;
    color: rgba(232,240,248,0.65);
    cursor: pointer;
    line-height: 1.5;
}
.ig-form-privacy label a {
    color: var(--teal, #00c9a7);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ig-form-submit {
    width: 100%;
    padding: 14px 24px;
    background: var(--teal, #00c9a7);
    color: var(--navy, #0b1a30);
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s;
    letter-spacing: 0.3px;
}
.ig-form-submit:hover {
    background: #00e5bf;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0,201,167,0.3);
}

/* CF7 inside popup — override styles */
.ig-popup-body .wpcf7-form { margin: 0; }
.ig-popup-body .wpcf7-form p { margin-bottom: 0; }

@media (max-width: 600px) {
    .ig-popup-header { padding: 24px 20px 20px; }
    .ig-popup-body   { padding: 20px 20px 28px; }
    .ig-form-row     { grid-template-columns: 1fr; }
    .ig-popup-header h2 { font-size: 22px; }
}

/* ════════════════════════════════════════════════
   BUTTON SYSTEM — єдиний стиль, radius 4px скрізь
════════════════════════════════════════════════ */

/* --- Base reset for all buttons --- */
.btn-primary,
.btn-secondary,
.btn-dark,
.btn-ghost,
.header-cta,
.ig-form-submit,
button.ig-popup-open {
    border-radius: 4px !important;
    font-family: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.22s ease;
    text-decoration: none;
    white-space: nowrap;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* --- Primary (teal filled) --- */
.btn-primary {
    background: var(--teal);
    color: var(--navy);
    border: 2px solid var(--teal);
    padding: 12px 28px;
    font-size: 14px;
}
.btn-primary:hover {
    background: #00e5bf;
    border-color: #00e5bf;
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,201,167,0.3);
}

/* --- Secondary / Ghost (outlined) --- */
.btn-secondary,
.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 2px solid rgba(255,255,255,0.2);
    padding: 12px 28px;
    font-size: 14px;
}
.btn-secondary:hover,
.btn-ghost:hover {
    border-color: var(--teal);
    color: var(--teal);
    background: rgba(0,201,167,0.06);
}

/* --- Dark (navy outlined) --- */
.btn-dark {
    background: transparent;
    color: var(--text);
    border: 2px solid rgba(255,255,255,0.18);
    padding: 12px 28px;
    font-size: 14px;
}
.btn-dark:hover {
    border-color: var(--teal);
    color: var(--teal);
    background: rgba(0,201,167,0.06);
}

/* --- Contact header button: FILLED teal by default --- */
.header-cta {
    background: var(--teal) !important;
    color: var(--navy) !important;
    border: 2px solid var(--teal) !important;
    padding: 8px 20px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
}
.header-cta:hover {
    background: transparent !important;
    color: var(--teal) !important;
    border-color: var(--teal) !important;
    transform: none !important;
    box-shadow: none !important;
}

/* ════════════════════════════════════════════════
   CF7 FORM INSIDE POPUP — повний override
════════════════════════════════════════════════ */

/* Hide CF7 default wrapper p margins */
.ig-popup-body .wpcf7 { margin: 0; }
.ig-popup-body .wpcf7-form > p { margin: 0 !important; }
.ig-popup-body .wpcf7-form br { display: none; }

/* Row layout from CF7 divs */
.ig-popup-body .ig-cf7-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}
.ig-popup-body .ig-cf7-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 14px;
}
.ig-popup-body .ig-cf7-row .ig-cf7-group {
    margin-bottom: 0;
}

/* Labels */
.ig-popup-body .wpcf7-form label,
.ig-popup-body .ig-cf7-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: rgba(232,240,248,0.7);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 5px;
}
.ig-popup-body .required { color: var(--teal); }

/* All inputs, selects, textareas */
.ig-popup-body .wpcf7-form input[type="text"],
.ig-popup-body .wpcf7-form input[type="email"],
.ig-popup-body .wpcf7-form input[type="tel"],
.ig-popup-body .wpcf7-form input[type="number"],
.ig-popup-body .wpcf7-form select,
.ig-popup-body .wpcf7-form textarea {
    width: 100% !important;
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 4px !important;
    padding: 10px 13px !important;
    font-size: 14px !important;
    color: #fff !important;
    font-family: inherit !important;
    outline: none !important;
    transition: border-color 0.2s, background 0.2s !important;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}
.ig-popup-body .wpcf7-form input::placeholder,
.ig-popup-body .wpcf7-form textarea::placeholder {
    color: rgba(232,240,248,0.28) !important;
}
.ig-popup-body .wpcf7-form input:focus,
.ig-popup-body .wpcf7-form select:focus,
.ig-popup-body .wpcf7-form textarea:focus {
    border-color: rgba(0,201,167,0.5) !important;
    background: rgba(0,201,167,0.04) !important;
}

/* Select arrow */
.ig-popup-body .wpcf7-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237f93a8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    background-size: 16px !important;
    padding-right: 34px !important;
    cursor: pointer !important;
}
.ig-popup-body .wpcf7-form select option {
    background: #0b1a30;
    color: #e8f0f8;
}

/* Textarea */
.ig-popup-body .wpcf7-form textarea {
    resize: vertical !important;
    min-height: 100px !important;
    line-height: 1.5 !important;
}

/* Privacy / acceptance */
.ig-popup-body .ig-cf7-privacy,
.ig-popup-body .wpcf7-acceptance {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin-bottom: 18px !important;
}
.ig-popup-body .wpcf7-acceptance .wpcf7-list-item {
    margin: 0 !important;
}
.ig-popup-body .wpcf7-acceptance label,
.ig-popup-body .ig-cf7-privacy label {
    font-size: 12px !important;
    color: rgba(232,240,248,0.55) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    cursor: pointer !important;
    line-height: 1.5 !important;
}
.ig-popup-body .wpcf7-acceptance input[type="checkbox"],
.ig-popup-body .ig-cf7-privacy input[type="checkbox"] {
    width: 15px !important;
    height: 15px !important;
    accent-color: var(--teal) !important;
    flex-shrink: 0 !important;
    margin-top: 1px !important;
    cursor: pointer !important;
}
.ig-popup-body .wpcf7-acceptance a { color: var(--teal); text-decoration: underline; }

/* Submit button */
.ig-popup-body .wpcf7-form input[type="submit"],
.ig-popup-body .wpcf7-submit {
    width: 100% !important;
    padding: 13px 24px !important;
    background: var(--teal) !important;
    color: var(--navy) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: all 0.22s !important;
    letter-spacing: 0.3px !important;
    font-family: inherit !important;
    margin-top: 4px !important;
}
.ig-popup-body .wpcf7-form input[type="submit"]:hover,
.ig-popup-body .wpcf7-submit:hover {
    background: #00e5bf !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(0,201,167,0.28) !important;
}

/* Validation states */
.ig-popup-body .wpcf7-not-valid-tip {
    font-size: 11px !important;
    color: #ff6b6b !important;
    margin-top: 3px !important;
    display: block !important;
}
.ig-popup-body .wpcf7-not-valid {
    border-color: rgba(255,107,107,0.5) !important;
}
.ig-popup-body .wpcf7-response-output {
    margin: 12px 0 0 !important;
    padding: 10px 14px !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    border: 1px solid rgba(0,201,167,0.3) !important;
    background: rgba(0,201,167,0.06) !important;
    color: var(--teal) !important;
}
.ig-popup-body .wpcf7-form.failed .wpcf7-response-output,
.ig-popup-body .wpcf7-form.invalid .wpcf7-response-output {
    border-color: rgba(255,107,107,0.3) !important;
    background: rgba(255,107,107,0.06) !important;
    color: #ff9b9b !important;
}

/* Spinner */
.ig-popup-body .wpcf7-spinner {
    display: none !important;
}

@media (max-width: 600px) {
    .ig-popup-body .ig-cf7-row { grid-template-columns: 1fr !important; }
}

/* ════════════════════════════════════════════════
   POPUP COMPACT OVERRIDE — менший розмір
════════════════════════════════════════════════ */
.ig-popup-box {
    max-width: 520px !important;
    max-height: 88vh !important;
}

/* Compact header */
.ig-popup-header {
    padding: 22px 28px 16px !important;
}
.ig-popup-tag {
    font-size: 10px !important;
    margin-bottom: 6px !important;
}
.ig-popup-header h2 {
    font-size: 20px !important;
    margin-bottom: 4px !important;
}
.ig-popup-header p {
    font-size: 12px !important;
}
.ig-popup-close {
    top: 12px !important;
    right: 12px !important;
    width: 28px !important;
    height: 28px !important;
}
.ig-popup-close svg {
    width: 13px !important;
    height: 13px !important;
}

/* Compact body */
.ig-popup-body {
    padding: 16px 28px 24px !important;
}
.ig-form-row,
.ig-popup-body .ig-cf7-row {
    gap: 10px !important;
    margin-bottom: 10px !important;
}
.ig-form-group,
.ig-popup-body .ig-cf7-group {
    gap: 4px !important;
    margin-bottom: 10px !important;
}
.ig-form-row .ig-form-group,
.ig-popup-body .ig-cf7-row .ig-cf7-group {
    margin-bottom: 0 !important;
}

/* Compact labels */
.ig-form-group label,
.ig-popup-body .wpcf7-form label,
.ig-popup-body .ig-cf7-group label {
    font-size: 11px !important;
    margin-bottom: 3px !important;
}

/* Compact inputs */
.ig-form-group input,
.ig-form-group select,
.ig-form-group textarea,
.ig-popup-body .wpcf7-form input[type="text"],
.ig-popup-body .wpcf7-form input[type="email"],
.ig-popup-body .wpcf7-form input[type="tel"],
.ig-popup-body .wpcf7-form select {
    padding: 8px 11px !important;
    font-size: 13px !important;
}
.ig-form-group textarea,
.ig-popup-body .wpcf7-form textarea {
    min-height: 72px !important;
    padding: 8px 11px !important;
    font-size: 13px !important;
}

/* Compact privacy */
.ig-form-privacy,
.ig-popup-body .ig-cf7-privacy,
.ig-popup-body .wpcf7-acceptance {
    margin-bottom: 12px !important;
    gap: 8px !important;
}
.ig-form-privacy label,
.ig-popup-body .wpcf7-acceptance label,
.ig-popup-body .ig-cf7-privacy label {
    font-size: 11px !important;
}

/* Compact submit */
.ig-form-submit,
.ig-popup-body .wpcf7-form input[type="submit"],
.ig-popup-body .wpcf7-submit {
    padding: 11px 20px !important;
    font-size: 13px !important;
    margin-top: 2px !important;
}

@media (max-width: 600px) {
    .ig-popup-box { max-width: 100% !important; }
    .ig-popup-header { padding: 18px 18px 14px !important; }
    .ig-popup-body { padding: 14px 18px 20px !important; }
    .ig-popup-body .ig-cf7-row { grid-template-columns: 1fr !important; }
}

/* ════════════════════════════════════════════════
   CTA SECTION — dark override (перекриває жовтий)
════════════════════════════════════════════════ */
.cta-section {
    background: linear-gradient(135deg, #071220 0%, #0d1f3a 50%, #0a1a30 100%) !important;
    border-top: 1px solid rgba(0,201,167,0.1);
    position: relative;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 120px; height: 2px;
    background: linear-gradient(90deg, transparent, var(--teal), transparent);
}
.cta-section h2,
.cta-section .cta-content h2 {
    color: #fff !important;
    font-size: clamp(26px, 3vw, 40px);
}
.cta-section p,
.cta-section .cta-content p {
    color: rgba(232,240,248,0.65) !important;
}
.cta-content {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

/* ── Footer privacy link ───────────────────── */
.footer-privacy {
    font-size: 12px;
    color: rgba(232,240,248,0.4);
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}
.footer-privacy:hover { color: var(--teal); }

/* ════════════════════════════════════════════════
   HERO ENTRANCE — CSS animation (replaces GSAP)
   Guaranteed visible even if JS/CDN fails
════════════════════════════════════════════════ */
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-content { animation: none; opacity: 1 !important; }

.hero-content > * {
    opacity: 1 !important;
    animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.22s; }
.hero-content > *:nth-child(3) { animation-delay: 0.34s; }
.hero-content > *:nth-child(4) { animation-delay: 0.46s; }
.hero-content > *:nth-child(5) { animation-delay: 0.56s; }

/* ════════════════════════════════════════════════
   INNER HERO IMPROVEMENTS
════════════════════════════════════════════════ */

/* Inner pages: compact, left-aligned, readable */
.hero-inner {
    min-height: 34vh !important;
    padding-top: 110px !important;
    padding-bottom: 44px !important;
    align-items: flex-end;
}
.hero-inner .container {
    width: 100%;
}
.hero-inner .hero-content {
    max-width: 720px;
    text-align: left !important;
}
.hero-inner .hero-tag {
    text-align: left !important;
    margin-bottom: 16px;
}
.hero-inner h1 {
    font-size: clamp(32px, 5vw, 58px) !important;
    margin-bottom: 0 !important;
    line-height: 1.1;
}

/* Home hero — larger, centered */
.hero-home {
    min-height: 86vh !important;
    align-items: center;
    padding-top: 120px !important;
    padding-bottom: 60px !important;
}
.hero-home .hero-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center !important;
}
.hero-home h1 {
    font-size: clamp(40px, 5.5vw, 72px) !important;
    margin-bottom: 32px !important;
    line-height: 1.08 !important;
    white-space: nowrap;
    letter-spacing: -0.01em;
}
.hero-home .hero-description {
    font-size: 18px !important;
    max-width: 560px;
    margin: 0 auto 52px !important;
    line-height: 1.8 !important;
    opacity: 0.75;
}
.hero-home .hero-cta {
    justify-content: center !important;
    gap: 16px;
    flex-wrap: wrap;
}

/* ════════════════════════════════════════════════
   ABOUT INTRO SECTION fixes
════════════════════════════════════════════════ */
.about-intro-section {
    padding: 64px 0 64px !important;
    border-bottom: 1px solid var(--card-border);
    background: rgba(255,255,255,0.02);
}
.about-intro-grid p {
    font-size: 17px !important;
    line-height: 1.85 !important;
    color: rgba(232,240,248,0.8) !important;
}

/* ════════════════════════════════════════════════
   UNIVERSAL CTA SECTION improvements
════════════════════════════════════════════════ */
.cta-section {
    padding: 72px 24px !important;
}
.cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}
.cta-content h2 { margin-bottom: 4px; }
.cta-content p  { margin-bottom: 28px; max-width: 560px; }
.cta-content .btn-primary,
.cta-content button.btn-primary,
.cta-content button.ig-popup-open {
    margin-top: 4px;
}

/* ════════════════════════════════════════════════
   HEADER scroll state
════════════════════════════════════════════════ */
.header {
    background: rgba(11, 26, 48, 0.95) !important;
    backdrop-filter: blur(16px);
}
.header.scrolled {
    box-shadow: 0 2px 40px rgba(0,0,0,0.4);
}

/* ════════════════════════════════════════════════
   CONTACT PAGE FORM (standalone, not in popup)
════════════════════════════════════════════════ */
.contact-form-wrapper .wpcf7 { margin: 0; }
.contact-form-wrapper .wpcf7-form br { display: none; }

/* Same dark field styles as popup but slightly larger */
.contact-form-wrapper .ig-cf7-row,
.contact-form-wrapper .wpcf7-form .ig-cf7-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.contact-form-wrapper .ig-cf7-group,
.contact-form-wrapper .wpcf7-form .ig-cf7-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.contact-form-wrapper input[type="text"],
.contact-form-wrapper input[type="email"],
.contact-form-wrapper input[type="tel"],
.contact-form-wrapper select,
.contact-form-wrapper textarea,
.contact-form-wrapper .wpcf7-form input[type="text"],
.contact-form-wrapper .wpcf7-form input[type="email"],
.contact-form-wrapper .wpcf7-form input[type="tel"],
.contact-form-wrapper .wpcf7-form select,
.contact-form-wrapper .wpcf7-form textarea {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 4px !important;
    padding: 12px 15px !important;
    font-size: 15px !important;
    color: #fff !important;
    font-family: inherit !important;
    width: 100% !important;
    box-sizing: border-box !important;
    outline: none !important;
    transition: border-color 0.2s !important;
    -webkit-appearance: none !important;
}
.contact-form-wrapper input::placeholder,
.contact-form-wrapper textarea::placeholder { color: rgba(232,240,248,0.28) !important; }
.contact-form-wrapper input:focus,
.contact-form-wrapper select:focus,
.contact-form-wrapper textarea:focus {
    border-color: rgba(0,201,167,0.45) !important;
    background: rgba(0,201,167,0.03) !important;
}
.contact-form-wrapper textarea,
.contact-form-wrapper .wpcf7-form textarea { min-height: 130px !important; resize: vertical !important; }

.contact-form-wrapper label,
.contact-form-wrapper .wpcf7-form label {
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: rgba(232,240,248,0.65) !important;
}
.contact-form-wrapper .required { color: var(--teal) !important; }

.contact-form-wrapper .wpcf7-acceptance {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin-bottom: 20px !important;
}
.contact-form-wrapper .wpcf7-acceptance label {
    font-size: 13px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    color: rgba(232,240,248,0.55) !important;
}
.contact-form-wrapper .wpcf7-acceptance a { color: var(--teal); text-decoration: underline; }

.contact-form-wrapper input[type="submit"],
.contact-form-wrapper .wpcf7-submit,
.contact-form-wrapper .ig-form-submit {
    width: 100% !important;
    padding: 14px !important;
    background: var(--teal) !important;
    color: var(--navy) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-family: inherit !important;
    transition: all 0.22s !important;
    margin-top: 4px !important;
}
.contact-form-wrapper input[type="submit"]:hover,
.contact-form-wrapper .wpcf7-submit:hover { background: #00e5bf !important; }

.contact-form-wrapper .wpcf7-not-valid-tip {
    color: #ff8080 !important; font-size: 11px !important; margin-top: 3px !important;
}
.contact-form-wrapper .wpcf7-response-output {
    margin: 12px 0 0 !important; padding: 10px 14px !important;
    border-radius: 4px !important; font-size: 13px !important;
    border: 1px solid rgba(0,201,167,0.3) !important;
    color: var(--teal) !important;
}

/* Select arrow */
.contact-form-wrapper select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237f93a8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 16px !important;
    padding-right: 36px !important;
    cursor: pointer !important;
}

@media (max-width: 768px) {
    .contact-form-wrapper .ig-cf7-row { grid-template-columns: 1fr !important; }
}

/* ════════════════════════════════════════════════
   D&C PROGRAM BADGE — redesigned
════════════════════════════════════════════════ */
.program-badge {
    background: linear-gradient(135deg, #0a1628 0%, #0e3a32 60%, #0b2830 100%);
    border: 1px solid rgba(0,201,167,0.3);
    border-radius: 16px;
    padding: 48px 40px;
    text-align: center;
    max-width: 280px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), inset 0 1px 0 rgba(0,201,167,0.15);
}
.program-badge::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 140px; height: 140px;
    background: radial-gradient(circle, rgba(0,201,167,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.program-badge-eyebrow {
    
    font-size: 10px;
    letter-spacing: 3px;
    color: rgba(0,201,167,0.7);
    text-transform: uppercase;
    margin-bottom: 20px;
}
.program-badge-acronym {
    font-size: 72px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 16px;
}
.program-badge-acronym span {
    color: var(--teal);
}
.program-badge-line {
    width: 40px;
    height: 2px;
    background: var(--teal);
    margin: 0 auto 16px;
    border-radius: 1px;
}
.program-badge-full {
    font-size: 13px;
    color: rgba(232,240,248,0.7);
    line-height: 1.6;
    letter-spacing: 0.3px;
}
.program-badge-since {
    
    font-size: 10px;
    color: rgba(0,201,167,0.4);
    margin-top: 20px;
    letter-spacing: 1px;
}

/* Keep program-intro layout correct with new badge size */
.program-intro {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
}
@media (max-width: 768px) {
    .program-intro { grid-template-columns: 1fr; }
    .program-badge { max-width: 100%; }
}

/* ════════════════════════════════════════════════
   HERO — equal visual padding (top = bottom)
   Header height ~70px; so visual top = padding-top - 70
════════════════════════════════════════════════ */
.hero-inner {
    min-height: 34vh !important;
    padding-top: 110px !important;
    padding-bottom: 44px !important;
    display: flex !important;
    align-items: center !important;
}
.hero-home {
    min-height: 88vh !important;
    padding-top: 100px !important;  /* less top — content more centered */
    padding-bottom: 80px !important;
    display: flex !important;
    align-items: center !important;
}

/* ════════════════════════════════════════════════
   CUSTOMIZER — social links section note
════════════════════════════════════════════════ */
/* Social icon hover */
.footer-social a:hover svg {
    stroke: var(--teal);
    transition: stroke 0.2s;
}

/* ════════════════════════════════════════════════
   DARK GREEN UTILITY — for white-on-green sections
════════════════════════════════════════════════ */
.bg-dark-green {
    background: linear-gradient(160deg, #0a1628 0%, #0e3630 100%);
}

/* ════════════════════════════════════════════════
   BLOG SYSTEM — Single Post
════════════════════════════════════════════════ */

/* Single article hero */
.single-hero {
    padding: 100px 0 32px;
    background: linear-gradient(180deg, var(--navy) 0%, #0a1628 100%);
    position: relative;
    overflow: hidden;
}
.single-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,201,167,0.2), transparent);
}
.single-hero-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.post-cat {
    
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--teal);
    background: rgba(0,201,167,0.1);
    border: 1px solid rgba(0,201,167,0.2);
    padding: 4px 12px;
    border-radius: 20px;
    text-decoration: none;
}
.post-date, .post-read {
    font-size: 13px;
    color: rgba(232,240,248,0.5);
}
.post-date::before { content: ''; }
.post-read::before { content: '· '; opacity: 0.4; }

.single-title {
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 20px;
    max-width: 820px;
}
.single-excerpt {
    font-size: 18px;
    color: rgba(232,240,248,0.7);
    line-height: 1.7;
    max-width: 680px;
}

/* Layout: content + sidebar */
.single-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
    padding: 36px 0 80px;
    align-items: start;
}
.single-content { min-width: 0; }

/* Article body typography */
.single-body {
    font-size: 17px;
    line-height: 1.85;
    color: rgba(232,240,248,0.88);
}
.single-body h2 { font-size: 26px; color: #fff; margin: 40px 0 16px; font-weight: 700; }
.single-body h3 { font-size: 20px; color: #fff; margin: 32px 0 12px; font-weight: 600; }
.single-body p  { margin: 0 0 20px; }
.single-body a  { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.single-body ul, .single-body ol { margin: 0 0 20px 24px; }
.single-body li { margin-bottom: 8px; }
.single-body blockquote {
    border-left: 3px solid var(--teal);
    padding: 16px 20px;
    margin: 28px 0;
    background: rgba(0,201,167,0.06);
    border-radius: 0 6px 6px 0;
    font-style: italic;
    color: rgba(232,240,248,0.8);
}
.single-body img { max-width: 100%; height: auto; border-radius: 8px; margin: 24px 0; }
.single-body pre {
    background: #061020;
    border: 1px solid rgba(0,201,167,0.15);
    border-radius: 6px;
    padding: 20px;
    overflow-x: auto;
    
    font-size: 14px;
    margin: 24px 0;
}
.single-body code {
    
    font-size: 13px;
    background: rgba(0,201,167,0.08);
    padding: 2px 6px;
    border-radius: 3px;
    color: var(--teal);
}

/* Tags row */
.single-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 28px 0;
    border-top: 1px solid var(--card-border);
    margin-top: 40px;
}
.tags-label { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.tag-pill {
    font-size: 12px;
    padding: 5px 13px;
    background: rgba(0,201,167,0.08);
    border: 1px solid rgba(0,201,167,0.18);
    border-radius: 20px;
    color: var(--teal);
    text-decoration: none;
    transition: all 0.2s;
}
.tag-pill:hover { background: rgba(0,201,167,0.15); }
.tag-pill span { color: var(--muted); font-size: 10px; }

/* Author */
.single-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    margin: 40px 0;
}
.single-author .author-avatar img { border-radius: 50%; }
.author-name { font-weight: 600; color: #fff; margin-bottom: 4px; }
.author-bio  { font-size: 13px; color: var(--muted); margin: 0; }

/* Prev/Next nav */
.single-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    border-top: 1px solid var(--card-border);
    padding-top: 32px;
}
.single-nav-prev, .single-nav-next {
    display: flex; flex-direction: column; gap: 6px;
    padding: 20px; border: 1px solid var(--card-border);
    border-radius: 8px; text-decoration: none;
    transition: all 0.2s; background: rgba(255,255,255,0.02);
}
.single-nav-prev:hover, .single-nav-next:hover {
    border-color: rgba(0,201,167,0.3);
    background: rgba(0,201,167,0.04);
}
.single-nav-next { text-align: right; }
.nav-dir { font-size: 11px; color: var(--teal);  letter-spacing: 1px; }
.nav-title { font-size: 14px; font-weight: 600; color: #fff; line-height: 1.4; }

/* Sidebar */
.single-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 24px; }
.sidebar-widget {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 24px;
}
.widget-about { text-align: center; }
.widget-about .sidebar-logo { margin-bottom: 12px; display: inline-block; }
.widget-about p { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 0; }
.sidebar-cta { width: 100%; margin-top: 16px !important; font-size: 13px !important; padding: 10px !important; }

.widget-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--card-border);
}

/* Sidebar recent posts */
.sidebar-post {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    text-decoration: none;
    transition: opacity 0.2s;
}
.sidebar-post:last-child { border-bottom: none; }
.sidebar-post:hover { opacity: 0.8; }
.sidebar-post-thumb { flex-shrink: 0; }
.sidebar-post-thumb img { width: 56px; height: 56px; object-fit: cover; border-radius: 4px; }
.sidebar-post-info { display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.sidebar-post-title { font-size: 13px; font-weight: 600; color: #fff; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sidebar-post-date  { font-size: 11px; color: var(--muted); }

/* Sidebar categories */
.sidebar-categories { list-style: none; margin: 0; padding: 0; }
.sidebar-categories li {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.sidebar-categories li:last-child { border-bottom: none; }
.sidebar-categories a { font-size: 14px; color: rgba(232,240,248,0.8); text-decoration: none; transition: color 0.2s; }
.sidebar-categories a:hover { color: var(--teal); }
.cat-count { font-size: 11px; color: var(--muted); background: rgba(255,255,255,0.05); padding: 2px 7px; border-radius: 10px; }

/* Sidebar tags */
.sidebar-tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* Calendar widget */
.widget-calendar caption { color: var(--teal); font-weight: 600; font-size: 13px; margin-bottom: 8px; }
.widget-calendar table { width: 100%; border-collapse: collapse; font-size: 13px; }
.widget-calendar th { color: var(--muted); font-weight: 600; text-align: center; padding: 4px; font-size: 11px; text-transform: uppercase; }
.widget-calendar td { text-align: center; padding: 4px; color: rgba(232,240,248,0.6); }
.widget-calendar td a { color: var(--teal); text-decoration: none; font-weight: 600; }
.widget-calendar td#today { background: rgba(0,201,167,0.1); border-radius: 4px; color: var(--teal); font-weight: 700; }
.widget-calendar .wp-calendar-nav { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; }
.widget-calendar .wp-calendar-nav a { color: var(--teal); text-decoration: none; }

/* Related posts */
.related-posts {
    padding: 60px 0;
    border-top: 1px solid var(--card-border);
    margin-top: 0;
}

/* News card images */
.news-card-thumb {
    position: relative;
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: rgba(255,255,255,0.05);
}
.news-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.news-card:hover .news-card-thumb img { transform: scale(1.04); }
.news-card-cat {
    position: absolute;
    top: 12px; left: 12px;
    
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--navy);
    background: var(--teal);
    padding: 3px 10px;
    border-radius: 2px;
    font-weight: 700;
}
.news-card-title a { color: #fff; text-decoration: none; }
.news-card-title a:hover { color: var(--teal); }
.news-card-date { font-size: 12px; color: var(--muted); }
.news-read { font-size: 12px; color: var(--muted); }
.news-card-meta { display: flex; gap: 12px; align-items: center; }

/* Filter bar */
.news-filter-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0 0 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--card-border);
}
.filter-tab {
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid var(--card-border);
    border-radius: 20px;
    color: var(--muted);
    text-decoration: none;
    transition: all 0.2s;
}
.filter-tab:hover, .filter-tab.active {
    border-color: var(--teal);
    color: var(--teal);
    background: rgba(0,201,167,0.06);
}

/* Empty state */
.news-empty { padding: 60px 0; text-align: center; }
.news-empty p { font-size: 16px; color: var(--muted); }

/* Pagination */
.news-pagination {
    margin-top: 56px;
    display: flex;
    justify-content: center;
}
.news-pagination .page-numbers {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}
/* All page items — base style */
.news-pagination .page-numbers li a,
.news-pagination .page-numbers li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(232,240,248,0.65);
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    white-space: nowrap;
}
/* Hover */
.news-pagination .page-numbers li a:hover {
    border-color: rgba(0,201,167,0.4);
    color: var(--teal);
    background: rgba(0,201,167,0.06);
}
/* Current page */
.news-pagination .page-numbers li span.current {
    background: var(--teal);
    color: var(--navy);
    border-color: var(--teal);
    font-weight: 700;
}
/* Dots / ellipsis */
.news-pagination .page-numbers li span.dots {
    border: none;
    background: transparent;
    color: rgba(232,240,248,0.3);
    min-width: 24px;
    padding: 0 4px;
}
/* Prev / Next arrows — pill style */
.news-pagination .page-numbers li a.prev,
.news-pagination .page-numbers li a.next {
    font-family: var(--font-code, monospace);
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-color: rgba(0,201,167,0.2);
    color: var(--teal);
    gap: 6px;
    padding: 0 18px;
}
.news-pagination .page-numbers li a.prev:hover,
.news-pagination .page-numbers li a.next:hover {
    background: rgba(0,201,167,0.08);
    border-color: var(--teal);
}

/* Latest posts on home page */
.latest-posts-section { padding: 80px 0; background: rgba(255,255,255,0.015); }

/* News layout (list + sidebar) */
.news-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 56px;
    align-items: start;
}
.news-main { min-width: 0; }

/* Archive */
.archive-desc { font-size: 16px; color: var(--muted); margin-bottom: 32px; }
/* Archive/tag page — description uses body font, not code font */
.archive-desc {
    font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif) !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-size: 16px;
    color: var(--muted);
    margin-bottom: 32px;
    line-height: 1.7;
}
.archive-desc em {
    color: rgba(232,240,248,0.5);
    font-style: italic;
}

/* Responsive blog */
@media (max-width: 1024px) {
    .single-layout { grid-template-columns: 1fr; }
    .single-sidebar { position: static; }
    .news-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .single-hero { padding: 120px 0 60px; }
    .single-title { font-size: 28px; }
    .single-nav { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr !important; }
}

/* ════════════════════════════════════════════════
   FIXES — Cards, Hero, Placeholder, Category badge
════════════════════════════════════════════════ */

/* Hero inner — user spec */
.hero-inner {
    min-height: 34vh !important;
    padding-top: 110px !important;
    padding-bottom: 44px !important;
    align-items: center !important;
}

/* News card body — air inside border */
.news-card {
    border: 1px solid var(--card-border);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255,255,255,0.025);
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s, transform 0.3s;
}
.news-card:hover { border-color: rgba(0,201,167,0.25); transform: translateY(-3px); }

.news-card-body {
    padding: 20px 22px 24px !important;   /* air between border and text */
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
}
.news-card-title { font-size: 16px; font-weight: 600; line-height: 1.4; margin: 0; word-break: break-word; overflow-wrap: break-word; }
.news-excerpt { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 0; flex: 1; }
.news-card-meta { margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.05); }

/* Category label — readable, always dark text on teal */
.news-card-cat {
    
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    color: #061220 !important;   /* always dark — readable on any teal shade */
    background: var(--teal) !important;
    padding: 4px 10px !important;
    border-radius: 2px !important;
}

/* Placeholder image — SVG inline, no text overlap */
.news-card-thumb {
    background: #071220;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.news-card-thumb img { display: block; }

/* When img is placeholder (og-image.png) make it centered and cover */
.news-card-thumb img[src*="og-image"] {
    width: 100% !important;
    height: 180px !important;
    object-fit: contain !important;
    padding: 20px;
    background: #0a1628;
}

/* ════════════════════════════════════════════════
   FINAL CONTRAST AUDIT — fixes
════════════════════════════════════════════════ */

/* Hero tag — more visible */
.hero-tag {
    font-family: inherit;
    font-size: 11px !important;
    color: rgba(0,201,167,0.85) !important;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 1 !important;
}

/* Contact page form heading */
.contact-form-wrapper h2 {
    color: #fff !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    margin-bottom: 24px !important;
    opacity: 1 !important;
}

/* Flagship stat visual layout */
.flagship-visual {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Section tag labels — see div.tag above */

/* Service cards — improve subtitle contrast */
.service-card h4 {
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
}
.service-card p {
    color: rgba(232,240,248,0.72) !important;
    font-size: 13px !important;
    line-height: 1.65 !important;
}

/* Layer blocks on Stack page — category headers */
.layer-header h3 {
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 600;
}
.product-card h4 {
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}
.product-card p {
    color: rgba(232,240,248,0.7) !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
}

/* Tech category titles */
.tech-category-title {
    color: rgba(232,240,248,0.9) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

/* Industry card names */
.industry-name {
    color: rgba(232,240,248,0.85) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

/* Security cards */
.security-card h4 {
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    margin-bottom: 10px !important;
    display: flex;
    align-items: center;
    gap: 8px;
}
.security-card p {
    color: rgba(232,240,248,0.72) !important;
    font-size: 13px !important;
}

/* About page values/features */
.feature-card h3, .value-card h3 {
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}
.feature-card p, .value-card p {
    color: rgba(232,240,248,0.72) !important;
    font-size: 14px !important;
}

/* Standards/certifications on Join */
.standard-item {
    color: rgba(232,240,248,0.85) !important;
}

/* How-section step numbers */
.step-number {
    color: var(--teal) !important;
    
    font-weight: 700;
    font-size: 28px;
    opacity: 1 !important;
}
.step-title {
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}
.step-desc {
    color: rgba(232,240,248,0.72) !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
}

/* Partner/ecosystem cards */
.partner-card, .ecosystem-card {
    color: #fff !important;
}
.partner-name, .ecosystem-name {
    color: #fff !important;
    font-weight: 600 !important;
}
.partner-desc, .ecosystem-desc {
    color: rgba(232,240,248,0.65) !important;
    font-size: 13px !important;
}

/* Why-section cards (home page) */
.why-card h3, .reason-card h3 {
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}
.why-card p, .reason-card p {
    color: rgba(232,240,248,0.72) !important;
    font-size: 14px !important;
}

/* About page intro section — enhanced readability */
.about-intro-grid p {
    font-size: 16px !important;
    line-height: 1.85 !important;
    color: rgba(232,240,248,0.82) !important;
}

/* Methodology content text */
.methodology-text-cols p {
    color: rgba(232,240,248,0.8) !important;
    font-size: 15px !important;
    line-height: 1.8 !important;
}

/* Client/geography section */
.geo-stat-value { color: #fff !important; font-weight: 800 !important; }
.geo-stat-label { color: rgba(232,240,248,0.65) !important; }

/* Footer info */
.footer-contacts li { color: rgba(232,240,248,0.75) !important; }
.footer-contacts a { color: rgba(232,240,248,0.85) !important; }
.footer-menu-list a { color: rgba(232,240,248,0.72) !important; }
.footer-menu-list a:hover { color: var(--teal) !important; }

/* Flagship section tag override */
.flagship-section .tag {
    color: rgba(0,201,167,0.8) !important;
    font-size: 10px !important;
}

/* ════════════════════════════════════════════════
   FINAL PATCH — Hero height, News grid, Placeholder
════════════════════════════════════════════════ */

/* Home hero: 2/3 of 15" laptop (900px) ≈ 66vh */
.hero-home {
    min-height: 66vh !important;
    padding-top: 90px !important;
    padding-bottom: 60px !important;
    align-items: center !important;
    display: flex !important;
}

/* News grid on front page — 3 col desktop, 1 col mobile */
.latest-posts-section .news-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
}
/* latest-posts mobile → see v15 block */

/* News placeholder image — clean, no overflow */
.news-card-thumb img[src*="placeholder"] {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    padding: 0 !important;
    background: transparent !important;
}
.news-card-thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0a1628;  /* navy — no green stripe below placeholder */
}
.news-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}
.news-card:hover .news-card-thumb img { transform: scale(1.04); }

/* Facebook icon always visible (even if no URL set, show placeholder) */
.footer-social { display: flex; align-items: center; gap: 12px; }
.footer-social a {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 6px;
    color: rgba(232,240,248,0.6);
    text-decoration: none;
    transition: all 0.2s;
}
.footer-social a:hover {
    border-color: var(--teal);
    color: var(--teal);
    background: rgba(0,201,167,0.06);
}
.footer-social a svg {
    width: 16px; height: 16px;
    stroke: currentColor; fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ════════════════════════════════════════════════
   PRIVACY POLICY PAGE — bilingual professional layout
════════════════════════════════════════════════ */
.privacy-bilingual {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 24px 80px;
}
.privacy-lang-block {
    padding: 48px 0;
}
.privacy-lang-label {
    
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 32px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0,201,167,0.2);
}
.privacy-updated {
    font-size: 13px;
    color: rgba(232,240,248,0.45);
    margin-bottom: 32px;
    
}
.privacy-bilingual h1 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.2;
}
.privacy-bilingual h2 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 36px 0 14px;
    padding-top: 4px;
    border-left: 3px solid var(--teal);
    padding-left: 14px;
}
.privacy-bilingual h3 {
    font-size: 15px;
    font-weight: 600;
    color: rgba(232,240,248,0.9);
    margin: 22px 0 10px;
}
.privacy-bilingual p {
    font-size: 15px;
    line-height: 1.85;
    color: rgba(232,240,248,0.78);
    margin-bottom: 16px;
}
.privacy-bilingual ul {
    margin: 8px 0 16px 0;
    padding-left: 0;
    list-style: none;
}
.privacy-bilingual ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(232,240,248,0.78);
}
.privacy-bilingual ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--teal);
    font-size: 12px;
    top: 3px;
}
.privacy-bilingual a {
    color: var(--teal);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.privacy-bilingual strong { color: rgba(232,240,248,0.95); }

/* Table */
.privacy-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 24px;
    font-size: 14px;
}
.privacy-table th {
    background: rgba(0,201,167,0.08);
    color: var(--teal);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 14px;
    text-align: left;
    border: 1px solid rgba(0,201,167,0.12);
}
.privacy-table td {
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,0.06);
    color: rgba(232,240,248,0.78);
    vertical-align: top;
    line-height: 1.6;
}
.privacy-table td:first-child {
    color: rgba(232,240,248,0.55);
    font-size: 13px;
    white-space: nowrap;
    font-weight: 500;
    width: 35%;
}
.privacy-table tr:nth-child(even) td { background: rgba(255,255,255,0.02); }

/* Language divider */
.privacy-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 20px 0;
}
.privacy-divider::before,
.privacy-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,201,167,0.3), transparent);
}
.privacy-divider span {
    
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--teal);
    opacity: 0.7;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .privacy-bilingual { padding: 32px 16px 60px; }
    .privacy-table td:first-child { white-space: normal; width: auto; }
}

/* ════════════════════════════════════════════════
   POPUP FORM — Acceptance/Privacy row UX fix
   CF7 renders: <p><span.wpcf7-acceptance><checkbox></span> TEXT LINK</p>
   Fix: make the <p> flex so checkbox + text stay on one line
════════════════════════════════════════════════ */

/* The paragraph wrapping the acceptance field */
.ig-popup-body .wpcf7-form p:has(.wpcf7-acceptance),
.ig-popup-body .wpcf7-form p:has([data-name="your-privacy"]) {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
    margin-bottom: 16px !important;
    font-size: 13px !important;
    color: rgba(232,240,248,0.65) !important;
    line-height: 1.4 !important;
}

/* Inline the CF7 acceptance spans */
.ig-popup-body .wpcf7-acceptance,
.ig-popup-body .wpcf7-form-control-wrap:has(.wpcf7-acceptance) {
    display: inline-flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}
.ig-popup-body .wpcf7-list-item {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Checkbox styling */
.ig-popup-body .wpcf7-acceptance input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    accent-color: var(--teal) !important;
    cursor: pointer !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    border-radius: 3px !important;
}

/* The text "Я погоджуюся з" — keep on same line */
.ig-popup-body .wpcf7-form p:has(.wpcf7-acceptance) > br {
    display: none !important;
}

/* Privacy policy link — teal, visible, underlined */
.ig-popup-body .wpcf7-form p:has(.wpcf7-acceptance) a,
.ig-popup-body .ig-cf7-privacy a {
    color: var(--teal) !important;
    text-decoration: underline !important;
    text-underline-offset: 2px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    opacity: 1 !important;
}
.ig-popup-body .wpcf7-form p:has(.wpcf7-acceptance) a:hover {
    opacity: 0.8 !important;
}

/* Fallback for browsers without :has() support */
.ig-popup-body .wpcf7-acceptance {
    display: inline-flex !important;
}
.ig-popup-body .wpcf7-form > p {
    /* Generic reset for all CF7 paragraphs in popup */
    margin-bottom: 14px !important;
}

/* ══════════════════════════════════════════════════════
   ALLIANCE MEMBERS SECTION
══════════════════════════════════════════════════════ */

.members-section {
    padding: 72px 0;
    background: var(--bg);
}

.members-intro {
    max-width: 680px;
    margin: 20px auto 0;
    color: rgba(232,240,248,0.65);
    font-size: 16px;
    line-height: 1.7;
    text-align: center;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 56px;
}

.member-card {
    background: linear-gradient(145deg, rgba(15,34,64,0.9) 0%, rgba(11,26,48,0.95) 100%);
    border: 1px solid rgba(0,201,167,0.12);
    border-radius: 6px;
    padding: 0;
    display: block;
    height: 88px;
    overflow: hidden;
    gap: 0;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}

.member-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--teal), transparent);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.member-card:hover {
    border-color: rgba(0,201,167,0.3);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}

.member-card:hover::before {
    opacity: 1;
}

.member-card-head {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.member-name {
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.01em;
    line-height: 1.2;
}

.member-spec {
    font-family: var(--font-code);
    font-size: 11px;
    color: var(--teal);
    opacity: 0.8;
    letter-spacing: 0.04em;
    line-height: 1.4;
}

.member-desc {
    font-size: 14px;
    color: rgba(232,240,248,0.6);
    line-height: 1.65;
    flex: 1;
    margin: 0;
}

.member-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 500;
    color: var(--teal);
    text-decoration: none;
    opacity: 0.75;
    margin-top: 4px;
    transition: opacity 0.2s ease, gap 0.2s ease;
}

.member-link:hover {
    opacity: 1;
    gap: 8px;
}

.member-link svg {
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

/* 3-column on tablet */
@media (max-width: 1024px) {
    .members-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 2-column on small tablet */
@media (max-width: 640px) {
    .members-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* 2-column on mobile */
@media (max-width: 420px) {
    .members-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .members-section {
        padding: 60px 0;
    }
}

/* Keep old .partner / .partners-grid styles for back-compat if referenced elsewhere */

/* ══════════════════════════════════════════════════════
   HERO STATS BAR
══════════════════════════════════════════════════════ */

.hero-stats-bar {
    background: rgba(11,26,48,0.97);
    border-top: 1px solid rgba(0,201,167,0.15);
    border-bottom: 1px solid rgba(0,201,167,0.08);
    padding: 22px 0;
}

.hero-stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0 40px;
}

.hero-stat-val {
    font-family: var(--font-main);
    font-size: 28px;
    font-weight: 800;
    color: var(--teal);
    line-height: 1;
    letter-spacing: -0.01em;
}

.hero-stat-label {
    font-size: 12px;
    color: rgba(232,240,248,0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.hero-stat-sep {
    width: 1px;
    height: 36px;
    background: rgba(0,201,167,0.2);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .hero-stats-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 4px 0;
    }
    .hero-stat { padding: 14px 12px; text-align: center; }
    .hero-stat-val { font-size: 22px; }
    .hero-stat-sep { display: none; }
    /* Centre the last stat if odd count */
    .hero-stat:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

/* ══════════════════════════════════════════════════════
   MEMBER CARDS — logo zone
══════════════════════════════════════════════════════ */

.member-logo-wrap {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 16px;
}

.member-logo-img {
    max-height: 52px;
    max-width: 160px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);   /* white logo on dark bg */
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.member-card:hover .member-logo-img {
    opacity: 1;
}

/* Monogram fallback — auto-generated from initials */
.member-monogram {
    width: 52px;
    height: 52px;
    border-radius: 6px;
    background: linear-gradient(135deg, rgba(0,201,167,0.15) 0%, rgba(0,201,167,0.06) 100%);
    border: 1px solid rgba(0,201,167,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-main);
    font-size: 20px;
    font-weight: 800;
    color: var(--teal);
    letter-spacing: -0.02em;
    flex-shrink: 0;
    user-select: none;
}

.member-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ══════════════════════════════════════════════════════
   GLOSSARY PAGE
══════════════════════════════════════════════════════ */

.glossary-section {
    padding: 80px 0 120px;
    background: var(--bg);
}

/* Alpha navigation */
.glossary-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 60px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0,201,167,0.12);
}

.glossary-nav-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 4px;
    border: 1px solid rgba(0,201,167,0.2);
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 600;
    color: rgba(232,240,248,0.6);
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.glossary-nav-letter:hover {
    border-color: var(--teal);
    color: var(--teal);
    background: rgba(0,201,167,0.06);
}

/* Letter groups */
.glossary-group {
    margin-bottom: 56px;
}

.glossary-letter-anchor {
    font-family: var(--font-main);
    font-size: 32px;
    font-weight: 800;
    color: var(--teal);
    opacity: 0.35;
    line-height: 1;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0,201,167,0.1);
    letter-spacing: -0.01em;
}

/* Term list */
.glossary-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
}

.glossary-entry {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0 32px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    align-items: baseline;
}

.glossary-entry:last-child {
    border-bottom: none;
}

.glossary-term {
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.4;
    padding-right: 16px;
}

.glossary-def {
    font-size: 14px;
    color: rgba(232,240,248,0.65);
    line-height: 1.7;
    margin: 0;
}

.glossary-def p {
    margin: 0;
}

.glossary-empty {
    color: rgba(232,240,248,0.4);
    font-size: 15px;
    padding: 40px 0;
}

@media (max-width: 768px) {
    .glossary-entry {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 16px 0;
    }
    .glossary-nav-letter {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }
}

/* ── Article body: tables ─────────────────────── */
.single-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    font-size: 15px;
    background: rgba(15,34,64,0.7);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    overflow: hidden;
}
.single-body thead th {
    background: rgba(0,201,167,0.10);
    color: var(--teal);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 13px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(0,201,167,0.2);
}
.single-body tbody tr {
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.15s;
}
.single-body tbody tr:last-child { border-bottom: none; }
.single-body tbody tr:nth-child(even) { background: rgba(255,255,255,0.025); }
.single-body tbody tr:hover { background: rgba(0,201,167,0.04); }
.single-body tbody td {
    padding: 11px 16px;
    color: rgba(232,240,248,0.82);
    vertical-align: top;
    line-height: 1.55;
}
.single-body tbody td:first-child { font-weight: 600; color: rgba(232,240,248,0.95); }

/* ── h2 with left teal border (like in screenshots) ── */
.single-body h2 {
    padding-left: 16px;
    border-left: 3px solid var(--teal);
}

/* ── Sidebar about widget logo ─────────────────── */
.widget-about .widget-logo {
    padding: 16px;
    background: rgba(0,201,167,0.05);
    border-radius: 6px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
}
.widget-about .widget-logo img,
.widget-about .widget-logo svg {
    max-height: 42px;
    width: auto;
}
.sidebar-cta {
    width: 100% !important;
    display: block !important;
    text-align: center !important;
    margin-top: 16px !important;
    font-size: 13px !important;
    padding: 11px 0 !important;
    cursor: pointer !important;
    border: none !important;
    background: var(--teal) !important;
    color: var(--navy) !important;
    font-weight: 700 !important;
    border-radius: 4px !important;
    letter-spacing: 0.5px !important;
    transition: opacity .2s !important;
}
.sidebar-cta:hover { opacity: .85 !important; }

/* ── widget-about compact description ─────────── */
.widget-about .widget-desc {
    font-size: 12px;
    color: rgba(232,240,248,0.55);
    line-height: 1.6;
    text-align: center;
    margin-bottom: 0;
}

/* ── Single post: expert comment block ─────────── */
/* (rendered by plugin article.css — ensure wrapper colors match) */
/* expert comment styles → igng plugin article.css only */

/* ══════════════════════════════════════════════════════
   GENERATIVE PRESS — NUCLEAR BACKGROUND OVERRIDE
   Kills the gray #f7f8f9 that GeneratePress injects
══════════════════════════════════════════════════════ */
html {
    background: #0b1a30 !important;
    min-width: 100%;
    width: 100%;
    overflow-x: hidden;
}
html::before {
    content: '';
    position: fixed;
    inset: 0;
    width: 100%;
    background: #0b1a30;
    z-index: -1;
    pointer-events: none;
}
/* Belt-and-braces: ensure body always fills viewport */
body {
    min-width: 100%;
    background: #0b1a30 !important;
    overflow-x: hidden;
}
body,
body.home, body.page, body.single, body.archive, body.category, body.tag, body.search,
#page, .site, .site-content, .content-area,
.inside-article, .entry-content, .post-inner,
.generate-columns-container, .grid-container,
article.post, article.page, article.attachment,
.singular .entry-content,
.generate-inside-left, .generate-inside-right {
    background: #0b1a30 !important;
    background-color: #0b1a30 !important;
    color: rgba(232,240,248,0.88) !important;
}

/* ── Active menu item ─────────────────────────── */
/* Desktop: WP class + aria-current + JS-added class */
.header-nav li.current-menu-item > a,
.header-nav li.current-menu-parent > a,
.header-nav li.current-menu-ancestor > a,
.header-nav li.current_page_item > a,
.header-nav li.current_page_ancestor > a,
.header-nav ul li.current-menu-item > a,
.header-nav ul li.current-menu-parent > a,
.header-nav ul li.current-menu-ancestor > a,
.header-nav a[aria-current="page"],
.header-nav > a.active,
.mobile-nav > a.active {
    color: var(--teal) !important;
    font-weight: 700 !important;
}
/* Teal underline — parallelogram to match brand line style */
.header-nav li.current-menu-item > a,
.header-nav ul li.current-menu-item > a,
.header-nav a[aria-current="page"],
.header-nav > a.active {
    position: relative !important;
}
.header-nav li.current-menu-item > a::after,
.header-nav ul li.current-menu-item > a::after,
.header-nav a[aria-current="page"]::after,
.header-nav > a.active::after {
    content: '';
    display: block;
    position: absolute;
    bottom: -6px;
    left: 0; right: 0;
    height: 2px;
    background: var(--teal);
    border-radius: 0;
    clip-path: polygon(4px 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);
}
.header-nav ul li > a { position: relative; overflow: visible; }

/* Mobile */
.mobile-nav li.current-menu-item > a,
.mobile-nav a[aria-current="page"] {
    color: var(--teal) !important;
    font-weight: 600 !important;
    border-left: 3px solid var(--teal) !important;
    padding-left: 21px !important;
}

/* ══════════════════════════════════════════════════════
   MEMBER CARDS v2 — text only / hover logo / click popup
══════════════════════════════════════════════════════ */

/* Grid: 3 cols, all 10 in 4 rows (3+3+3+1) */
.members-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-top: 40px;
}
/* For exactly 10 cards — no orphan centering needed.
   Fallback: if last row has < 5, center remaining */
.members-grid .member-card:nth-child(5n+1):last-child {
    grid-column: 1 / -1;
    max-width: 20%;
    justify-self: center;
}
.members-grid .member-card:nth-child(5n+2):last-child,
.members-grid .member-card:nth-child(5n+3):last-child,
.members-grid .member-card:nth-child(5n+4):last-child {
    justify-self: center;
}

/* Card base */
.member-card {
    position: relative;
    display: block !important;  /* force override old flex */
    padding: 0 !important;
    height: 88px !important;    /* equal height — prevent text-wrap expanding card */
    border: 1px solid rgba(0,201,167,0.12);
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
    background: linear-gradient(145deg, rgba(15,34,64,0.9), rgba(11,26,48,0.95));
    outline: none;
    gap: 0;
    flex-direction: unset !important;
}
.member-card:hover,
.member-card:focus-visible {
    border-color: rgba(0,201,167,0.4);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}

/* Text layer — default visible, fades on hover */
.member-card-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px 12px;
    transition: opacity 0.28s ease;
    z-index: 1;
}
.member-card:hover .member-card-text,
.member-card:focus-visible .member-card-text {
    opacity: 0;
}
.member-card .member-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 3px;
}
.member-card .member-spec {
    font-family: var(--font-code);
    font-size: 8.5px;
    color: var(--teal);
    opacity: 0.65;
    letter-spacing: 0.03em;
    line-height: 1.4;
}

/* Logo hover layer — hidden by default, appears on hover */
.member-card-logo-hover {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(145deg, rgba(11,26,48,0.97), rgba(7,18,36,0.98));
    opacity: 0;
    transition: opacity 0.28s ease;
    z-index: 2;
    padding: 20px;
}
.member-card:hover .member-card-logo-hover,
.member-card:focus-visible .member-card-logo-hover {
    opacity: 1;
}
.member-hover-img {
    max-height: 52px;
    max-width: 150px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}
.member-hover-monogram {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(0,201,167,0.15), rgba(0,201,167,0.07));
    border: 1px solid rgba(0,201,167,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    color: var(--teal);
}
.member-hover-hint {
    font-family: var(--font-code);
    font-size: 11px;
    color: rgba(0,201,167,0.6);
    letter-spacing: 0.06em;
}

/* ── Member Popup ─────────────────────────────── */
.member-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.member-popup.active {
    opacity: 1;
    pointer-events: all;
}
.member-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(4px);
}
.member-popup-box {
    position: relative;
    background: linear-gradient(145deg, #0f2240, #0b1a30);
    border: 1px solid rgba(0,201,167,0.25);
    border-radius: 10px;
    padding: 40px 36px 36px;
    width: 90%;
    max-width: 480px;
    max-height: 80vh;
    overflow-y: auto;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.25s ease;
    box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}
.member-popup.active .member-popup-box {
    transform: translateY(0) scale(1);
}
.member-popup-close {
    position: absolute;
    top: 16px; right: 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: rgba(232,240,248,0.6);
    transition: background 0.2s, color 0.2s;
}
.member-popup-close:hover { background: rgba(0,201,167,0.15); color: var(--teal); }

.member-popup-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    margin-bottom: 20px;
}
.member-popup-logo-img {
    max-height: 52px;
    max-width: 200px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
.member-popup-monogram {
    width: 64px; height: 64px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(0,201,167,0.18), rgba(0,201,167,0.06));
    border: 1px solid rgba(0,201,167,0.3);
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; font-weight: 800; color: var(--teal);
}
.member-popup-name {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    text-align: center;
    margin-bottom: 8px;
}
.member-popup-spec {
    font-family: var(--font-code);
    font-size: 11px;
    color: var(--teal);
    opacity: 0.8;
    text-align: center;
    letter-spacing: 0.04em;
    margin-bottom: 16px;
}
.member-popup-desc {
    font-size: 15px;
    color: rgba(232,240,248,0.7);
    line-height: 1.7;
    text-align: center;
    margin-bottom: 24px;
}
.member-popup-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--teal);
    color: var(--navy);
    font-weight: 700;
    font-size: 14px;
    padding: 11px 24px;
    border-radius: 4px;
    text-decoration: none;
    transition: opacity 0.2s;
    margin: 0 auto;
}
.member-popup-link:hover { opacity: 0.88; }
.member-popup-link svg { stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* Responsive */
@media (max-width: 900px) {
    .members-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
    .members-grid { grid-template-columns: 1fr; }
    .member-popup-box { padding: 32px 20px 28px; }
}

/* ════════════════════════════════════════════════
   METHODOLOGY PAGE
════════════════════════════════════════════════ */
.method-section {
    padding: 80px 0;
    background: var(--navy);
}
.method-section--alt {
    background: linear-gradient(160deg, #0b2824 0%, #0e3630 100%);
}

.method-intro { margin-bottom: 48px; }

/* 4-column principle cards */
.method-principles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.method-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(0,201,167,0.12);
    border-radius: 8px;
    padding: 28px 24px;
    transition: border-color 0.25s, transform 0.25s;
}
.method-card:hover {
    border-color: rgba(0,201,167,0.35);
    transform: translateY(-2px);
}
.method-card-icon {
    width: 40px; height: 40px;
    margin-bottom: 16px;
    color: var(--teal);
}
.method-card-icon svg {
    width: 40px; height: 40px;
    stroke: var(--teal);
    stroke-width: 1.5;
    fill: none;
}
.method-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
    line-height: 1.3;
}
.method-card p {
    font-size: 13.5px;
    line-height: 1.72;
    color: rgba(232,240,248,0.72);
    margin: 0;
}

/* Standards grid — 3 cols */
.standards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
}
.standard-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(0,201,167,0.14);
    border-radius: 8px;
    padding: 24px 22px;
}
.standard-code {
    font-family: var(--font-code, monospace);
    font-size: 13px;
    font-weight: 700;
    color: var(--teal);
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}
.standard-area {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}
.standard-desc {
    font-size: 13.5px;
    line-height: 1.7;
    color: rgba(232,240,248,0.68);
    margin: 0;
}

/* Approaches list */
.method-approaches {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    margin-top: 48px;
    border: 1px solid rgba(0,201,167,0.10);
    border-radius: 8px;
    overflow: hidden;
}
.approach-item {
    padding: 28px 32px;
    border-bottom: 1px solid rgba(0,201,167,0.08);
    border-right: 1px solid rgba(0,201,167,0.08);
}
.approach-item:nth-child(even) { border-right: none; }
.approach-item:nth-last-child(-n+2) { border-bottom: none; }
.approach-name {
    font-family: var(--font-code, monospace);
    font-size: 13px;
    font-weight: 700;
    color: var(--teal);
    letter-spacing: 0.04em;
    margin-bottom: 10px;
}
.approach-desc {
    font-size: 14px;
    line-height: 1.72;
    color: rgba(232,240,248,0.72);
    margin: 0;
}

/* SLA section */
.method-sla-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.method-sla-text .line { margin-bottom: 20px; }
.method-sla-text p { font-size: 14.5px; line-height: 1.78; margin-bottom: 16px; color: rgba(232,240,248,0.8); }
.method-sla-tiers {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 16px;
}
.sla-tier {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(0,201,167,0.12);
    border-left: 4px solid;
    border-radius: 6px;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sla-tier-name {
    font-weight: 700;
    font-size: 14px;
    color: #fff;
}
.sla-tier-meta {
    display: flex;
    gap: 20px;
    font-family: var(--font-code, monospace);
    font-size: 12px;
    color: rgba(232,240,248,0.55);
    letter-spacing: 0.03em;
}

/* Responsive */
@media (max-width: 1024px) {
    .method-principles-grid { grid-template-columns: repeat(2, 1fr); }
    .standards-grid { grid-template-columns: repeat(2, 1fr); }
    .method-sla-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
    .method-principles-grid { grid-template-columns: 1fr; }
    .standards-grid { grid-template-columns: 1fr; }
    .method-approaches { grid-template-columns: 1fr; }
    .approach-item { border-right: none; }
}

/* ════════════════════════════════════════════════
   GLOSSARY PAGE — tag-based redesign
════════════════════════════════════════════════ */
.glossary-section { padding: 60px 0 80px; }

.glossary-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 48px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0,201,167,0.12);
}
.glossary-nav-letter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    font-family: var(--font-code, monospace);
    font-size: 12px;
    font-weight: 700;
    color: rgba(232,240,248,0.55);
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}
.glossary-nav-letter:hover {
    border-color: var(--teal);
    color: var(--teal);
}

.glossary-group { margin-bottom: 48px; }

.glossary-letter-anchor {
    font-family: var(--font-code, monospace);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0,201,167,0.15);
}

.glossary-list { margin: 0; padding: 0; }

.glossary-entry {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 20px 32px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    align-items: baseline;
}
.glossary-entry:last-child { border-bottom: none; }

.glossary-term {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.glossary-term-link {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}
.glossary-term-link:hover { color: var(--teal); }
.glossary-term-count {
    font-family: var(--font-code, monospace);
    font-size: 10px;
    color: rgba(232,240,248,0.35);
    letter-spacing: 0.04em;
}

.glossary-def {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.75;
    color: rgba(232,240,248,0.72);
}

/* Tag cloud section */
.glossary-cloud-section {
    margin-top: 64px;
    padding-top: 40px;
    border-top: 1px solid rgba(0,201,167,0.1);
}
.glossary-cloud-title {
    font-size: 15px;
    font-weight: 700;
    color: rgba(232,240,248,0.55);
    font-family: var(--font-code, monospace);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.glossary-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.glossary-tag-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    font-size: 13px;
    color: rgba(232,240,248,0.6);
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.glossary-tag-pill:hover {
    border-color: rgba(0,201,167,0.3);
    color: var(--text);
}
.glossary-tag-pill.has-def {
    border-color: rgba(0,201,167,0.22);
    color: rgba(232,240,248,0.85);
}
.glossary-tag-pill.has-def:hover {
    background: rgba(0,201,167,0.06);
    border-color: var(--teal);
    color: var(--teal);
}

/* Glossary link style — inline in stack page text */
.gloss-link {
    color: var(--teal);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-style: dashed;
    text-decoration-color: rgba(0,201,167,0.45);
    transition: text-decoration-color 0.2s;
}
.gloss-link:hover {
    text-decoration-style: solid;
    text-decoration-color: var(--teal);
}

@media (max-width: 768px) {
    .glossary-entry { grid-template-columns: 1fr; gap: 8px; }
}

/* ════════════════════════════════════════════════
   IG-TABS — universal tab component
════════════════════════════════════════════════ */
.ig-tabs { margin: 48px 0 0; }

.ig-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
    padding-bottom: 0;
}
.ig-tab-btn {
    padding: 8px 20px;
    border: 1px solid rgba(0,201,167,0.18);
    border-radius: 4px;
    background: transparent;
    color: rgba(232,240,248,0.55);
    font-family: var(--font-code, monospace);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
}
.ig-tab-btn:hover {
    border-color: rgba(0,201,167,0.4);
    color: var(--teal);
}
.ig-tab-btn.active {
    background: rgba(0,201,167,0.10);
    border-color: var(--teal);
    color: var(--teal);
    clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}
.ig-tab-panel { display: none; }
.ig-tab-panel.active { display: block; }

/* Segments page — circle icon grid */
.segments-circle-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.segment-circle-card {
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 32px 20px 24px;
    text-align: center;
    cursor: default;
    transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.segment-circle-card:hover {
    border-color: rgba(0,201,167,0.3);
    background: rgba(0,201,167,0.04);
    transform: translateY(-2px);
}
.segment-circle-card .ig-icon--circle { margin-bottom: 16px; }
.segment-circle-name {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(232,240,248,0.85);
    line-height: 1.4;
}
.segment-circle-desc {
    font-size: 12.5px;
    color: rgba(232,240,248,0.5);
    line-height: 1.6;
    margin-top: 8px;
}
@media (max-width: 1024px) { .segments-circle-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .segments-circle-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 360px) { .segments-circle-grid { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════
   SEGMENTS PAGE — matrix table
════════════════════════════════════════════════ */
.segments-page-section { padding: 60px 0 80px; }

.seg-matrix {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid rgba(0,201,167,0.10);
    border-radius: 8px;
    overflow: hidden;
}
.seg-matrix-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 16px;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.2s;
}
/* vertical divider between left and right columns */
.seg-matrix-row:nth-child(odd) {
    border-right: 1px solid rgba(0,201,167,0.10);
}
/* last two rows — no bottom border */
.seg-matrix-row:nth-last-child(-n+2) { border-bottom: none; }
.seg-matrix-row:hover { background: rgba(0,201,167,0.04); }
.seg-matrix-company {
    font-weight: 700;
    font-size: 14px;
    color: var(--teal);
    font-family: var(--font-code, monospace);
    white-space: nowrap;
}
.seg-matrix-focus {
    font-size: 14px;
    color: rgba(232,240,248,0.72);
    line-height: 1.6;
}
@media (max-width: 860px) {
    .seg-matrix { grid-template-columns: 1fr; }
    .seg-matrix-row:nth-child(odd) { border-right: none; }
    .seg-matrix-row:nth-last-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.04); }
    .seg-matrix-row:last-child { border-bottom: none; }
}
@media (max-width: 540px) {
    .seg-matrix-row { grid-template-columns: 1fr; gap: 4px; padding: 14px 18px; }
}

/* ════════════════════════════════════════════════
   FRONT PAGE — compact segments teaser
════════════════════════════════════════════════ */
.segments-teaser-section { padding: 80px 0; }

.segments-teaser-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-top: 40px;
}
/* segments-teaser mobile → see v15 block */
.segment-teaser-item {
    text-align: center;
    padding: 20px 10px;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    transition: border-color 0.25s;
}
.segment-teaser-item:hover {
    border-color: rgba(0,201,167,0.25);
}
.segment-teaser-name {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(232,240,248,0.65);
    margin-top: 10px;
}
@media (max-width: 900px) { .segments-teaser-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .segments-teaser-grid { grid-template-columns: repeat(2, 1fr); } }

/* ════════════════════════════════════════════════
   GSAP FIX — segments always visible at load
   (prevents right-column opacity:0 on first paint)
════════════════════════════════════════════════ */
.segment, .segment-card, .segment-circle-card, .segment-teaser-item {
    opacity: 1 !important;
}

/* Stack page — compact industry strip */
.stack-industries-strip {
    padding: 14px 0;
    border-top: 1px solid rgba(0,201,167,0.08);
    border-bottom: 1px solid rgba(0,201,167,0.08);
    background: rgba(0,201,167,0.03);
}
.stack-industries-strip .container {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.stack-industries-label {
    font-family: var(--font-code,monospace);
    font-size: 12px;
    color: rgba(232,240,248,0.45);
    letter-spacing: 0.04em;
}

/* ════════════════════════════════════════════════
   STACK PAGE — tabs with 2-column layout inside
════════════════════════════════════════════════ */
.stack-tabs { margin-top: 40px; }

.stack-tabs-nav {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
}
.stack-tabs-nav .ig-tab-btn {
    font-size: 13px;
    padding: 10px 28px;
    letter-spacing: 0.04em;
    text-transform: none;
    font-family: var(--font-main, 'Montserrat', sans-serif);
    font-weight: 600;
    border-radius: 4px;
}

/* 2-column grid inside each tab */
.stack-tab-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    align-items: start;
}
.stack-tab-col { min-width: 0; }

/* Tighten layer-block inside tabs — remove extra spacing */
.stack-tab-col .layer-block {
    margin-bottom: 0;
    padding: 28px 24px;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
}
.stack-tab-col .layer-block + .layer-block {
    margin-top: 20px;
}
.stack-tab-col .products-grid {
    grid-template-columns: 1fr;
    gap: 10px;
}
.stack-tab-col .product-card {
    padding: 16px 18px;
}
.stack-tab-col .product-card h4 {
    font-size: 14px;
    margin-bottom: 6px;
}
.stack-tab-col .product-card p {
    font-size: 12.5px;
    line-height: 1.6;
    margin-bottom: 8px;
}
@media (max-width: 900px) {
    .stack-tab-grid { grid-template-columns: 1fr; }
    .stack-tabs-nav { flex-wrap: wrap; }
}

/* ════════════════════════════════════════════════
   TECH TAGS — always visible, no GSAP opacity fade
   (prevent invisible tags in stack page)
════════════════════════════════════════════════ */
.tech-tag {
    opacity: 1 !important;
    transform: none !important;
}

/* Tech section — 2-column layout */
.tech-section .container > .tech-categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 48px;
}
.tech-categories-grid .tech-category {
    margin-bottom: 36px;
}

/* ════════════════════════════════════════════════
   FOOTER — 4-column grid (split info menu in 2)
════════════════════════════════════════════════ */
.footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr !important;
    gap: 40px !important;
}
.footer-col-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(232,240,248,0.35);
    font-family: var(--font-code, monospace);
    margin-bottom: 16px;
}
/* Contacts column always last */
.footer-col-contacts { order: 4; }

@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 540px) {
    .footer-grid { grid-template-columns: 1fr !important; }
}

/* ════════════════════════════════════════════════
   GLOSSARY v2 — with alpha filter + search
════════════════════════════════════════════════ */
.glossary-section { padding: 48px 0 80px; }

/* Header bar: stats + search */
.glossary-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.glossary-stats {
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.glossary-count {
    font-size: 40px;
    font-weight: 800;
    color: var(--teal);
    line-height: 1;
    font-family: var(--font-main, 'Montserrat', sans-serif);
}
.glossary-count-label {
    font-size: 16px;
    color: rgba(232,240,248,0.6);
    font-weight: 500;
}
.glossary-defined-note {
    font-size: 13px;
    color: rgba(232,240,248,0.35);
    font-family: var(--font-code, monospace);
}

/* Search box */
.glossary-search-wrap {
    position: relative;
    width: 300px;
    max-width: 100%;
}
.glossary-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: rgba(232,240,248,0.35);
    pointer-events: none;
}
.glossary-search {
    width: 100%;
    padding: 10px 16px 10px 38px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 6px;
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}
.glossary-search::placeholder { color: rgba(232,240,248,0.3); }
.glossary-search:focus { border-color: rgba(0,201,167,0.4); }

/* Alpha filter bar */
.glossary-alpha-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    margin-bottom: 40px;
}
.glossary-alpha-btn {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    color: rgba(232,240,248,0.5);
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-code, monospace);
    cursor: pointer;
    transition: all 0.15s;
    line-height: 30px;
    text-align: center;
}
.glossary-alpha-btn:hover {
    color: var(--teal);
    border-color: rgba(0,201,167,0.25);
    background: rgba(0,201,167,0.05);
}
.glossary-alpha-btn.active {
    color: var(--teal);
    border-color: var(--teal);
    background: rgba(0,201,167,0.10);
    clip-path: polygon(4px 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);
}

/* Letter stamp — large decorative letter */
.glossary-letter-stamp {
    font-size: 72px;
    font-weight: 900;
    color: rgba(0,201,167,0.07);
    line-height: 1;
    margin-bottom: 8px;
    font-family: var(--font-main, 'Montserrat', sans-serif);
    letter-spacing: -0.02em;
    user-select: none;
}

.glossary-group { margin-bottom: 52px; }

/* Term entries */
.glossary-list { margin: 0; padding: 0; }
.glossary-entry {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 16px 32px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    align-items: baseline;
}
.glossary-entry:last-child { border-bottom: none; }

.glossary-term {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.glossary-term-link {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}
.glossary-term-link:hover { color: var(--teal); }
.glossary-term-count {
    font-family: var(--font-code, monospace);
    font-size: 10px;
    color: rgba(232,240,248,0.3);
    letter-spacing: 0.04em;
}
.glossary-def {
    font-size: 14.5px;
    line-height: 1.75;
    color: rgba(232,240,248,0.72);
    margin: 0;
}

/* No results */
.glossary-no-results {
    text-align: center;
    padding: 40px 0;
    color: rgba(232,240,248,0.35);
    font-size: 15px;
}

/* Tag cloud */
.glossary-cloud-section {
    margin-top: 64px;
    padding-top: 40px;
    border-top: 1px solid rgba(0,201,167,0.10);
}
.glossary-cloud-title {
    font-size: 11px;
    font-weight: 700;
    color: rgba(232,240,248,0.35);
    font-family: var(--font-code, monospace);
    letter-spacing: 0.10em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.glossary-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.glossary-tag-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 20px;
    font-size: 13px;
    color: rgba(232,240,248,0.5);
    text-decoration: none;
    transition: all 0.2s;
}
.glossary-tag-pill:hover {
    border-color: rgba(0,201,167,0.3);
    color: var(--text);
}
.glossary-tag-pill.has-def {
    border-color: rgba(0,201,167,0.2);
    color: rgba(232,240,248,0.82);
}
.glossary-tag-pill.has-def:hover {
    background: rgba(0,201,167,0.06);
    border-color: var(--teal);
    color: var(--teal);
}

/* Gloss inline links */
.gloss-link {
    color: var(--teal);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-style: dashed;
    text-decoration-color: rgba(0,201,167,0.4);
    transition: text-decoration-color 0.2s;
}
.gloss-link:hover {
    text-decoration-style: solid;
    text-decoration-color: var(--teal);
}

@media (max-width: 768px) {
    .glossary-header-bar { flex-direction: column; align-items: flex-start; }
    .glossary-search-wrap { width: 100%; }
    .glossary-entry { grid-template-columns: 1fr; gap: 6px; }
    .glossary-letter-stamp { font-size: 48px; }
}

/* ════════════════════════════════════════════════
   FOOTER v2 — 4 columns
════════════════════════════════════════════════ */
.footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr !important;
    gap: 40px !important;
    align-items: start;
}
.footer-col-title {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(232,240,248,0.3);
    font-family: var(--font-code, monospace);
    margin-bottom: 18px;
    display: block;
}
/* Remove old h4 style in footer nav columns */
.footer-col h4 {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(232,240,248,0.3);
    font-family: var(--font-code, monospace);
    margin-bottom: 18px;
    margin-top: 0;
}
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 32px !important; }
}
@media (max-width: 540px) {
    .footer-grid { grid-template-columns: 1fr !important; }
}

/* First section after hero — reduce gap */
.hero + section,
.hero-inner + section,
.hero-home + section,
.hero-home + div + section {
    padding-top: 64px;
}


/* Prevent GSAP invisible flash on first section after hero */
.categories-section,
.members-section,
.about-intro-section,
.why-section,
.services-section,
.mgmt-section,
.map-section,
.cta-section {
    opacity: 1 !important;
}

/* Cards are visible by default — GSAP overrides only for scroll-triggered off-screen items */
.service-card, .member-card, .why-item, .segment, .feature-card,
.value-card, .benefit-card, .standard-card, .step-card,
.news-card, .info-card, .product-card, .partner,
.segment-circle-card, .segment-teaser-item, .method-card,
.sla-tier, .approach-item, .seg-matrix-row {
    opacity: 1;
}

/* ═══ MOBILE v15 — comprehensive grid overrides ═══ */
@media (max-width: 768px) {

    /* ── HERO ──────────────────────────────────────── */
    .hero-home {
        min-height: auto !important;
        height: auto !important;
        padding-top: 90px !important;
        padding-bottom: 50px !important;
        display: block !important;
    }
    .hero-home .hero-content {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
    }
    .hero-home .hero-tag,
    .hero-home .hero-description,
    .hero-home .hero-cta {
        display: block !important;
        height: auto !important;
        min-height: 0 !important;
    }
    .hero-home h1 {
        font-size: clamp(28px, 8vw, 40px) !important;
        white-space: normal !important;
        letter-spacing: 0 !important;
        line-height: 1.15 !important;
    }
    .hero-home .hero-description { font-size: 16px !important; margin-bottom: 28px !important; }
    .hero-home .hero-tag { margin-bottom: 16px !important; }
    .hero-inner {
        min-height: auto !important;
        height: auto !important;
        padding-top: 90px !important;
        padding-bottom: 36px !important;
    }
    .hero-inner h1 { font-size: clamp(24px, 6vw, 34px) !important; }
    .hero-inner .hero-description { font-size: 15px !important; }

    /* ── HERO CTA buttons — full width ─────────────── */
    .hero-cta {
        flex-direction: column !important;
        align-items: stretch !important;
        margin-top: 24px !important;
        gap: 10px !important;
    }
    .hero-cta a, .hero-cta button {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }

    /* ── HERO STATS BAR — 2×2+1 grid ───────────────── */
    .hero-stats-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 0 !important;
    }
    .hero-stat { padding: 14px 8px !important; }
    .hero-stat-val { font-size: 22px !important; }
    .hero-stat-sep { display: none !important; }
    .hero-stat:last-child:nth-child(odd) { grid-column: 1 / -1 !important; }

    /* ── 1-COLUMN GRIDS (content-heavy) ────────────── */
    .news-grid,
    .why-grid,
    .about-intro-grid,
    .contact-grid,
    .news-layout,
    .single-layout,
    .flagship-grid,
    .platform-grid,
    .client-grid,
    .seg-matrix,
    .stack-tab-grid,
    .org-comparison,
    .method-sla-grid,
    .program-intro,
    .featured-grid,
    .newsletter-form { grid-template-columns: 1fr !important; }
    .org-comparison { flex-direction: column !important; }
    .org-comparison-side { min-width: auto !important; }
    .news-layout, .single-layout { gap: 32px !important; }

    /* ── 2-COLUMN GRIDS (compact icon cards) ────────── */
    .services-grid,
    .members-grid,
    .features-grid,
    .values-grid,
    .segments-circle-grid,
    .method-principles-grid,
    .standards-grid,
    .products-grid,
    .security-grid,
    .tech-categories-grid,
    .benefits-grid,
    .steps-grid,
    .segments-teaser-grid,
    .certs-grid,
    .workflow-grid,
    .hours-grid,
    .careers-grid { grid-template-columns: repeat(2, 1fr) !important; }

    /* Segment matrix overrides 2-col base to 1-col */
    .seg-matrix { grid-template-columns: 1fr !important; }
    .seg-matrix-row:nth-child(odd) { border-right: none !important; }
    .seg-matrix-row:nth-last-child(-n+2) {
        border-bottom: 1px solid rgba(255,255,255,0.04) !important;
    }
    .seg-matrix-row:last-child { border-bottom: none !important; }

    /* ── NEWS grid — always 1 col ───────────────────── */
    .news-grid { grid-template-columns: 1fr !important; }
    .latest-posts-section .news-grid { grid-template-columns: 1fr !important; gap: 16px !important; }

    /* ── SIDEBAR — stack below content ─────────────── */
    .news-layout,
    .single-layout { grid-template-columns: 1fr !important; }
    .single-sidebar { display: none; }

    /* ── SEGMENTS TEASER — 3 col ────────────────────── */
    .segments-teaser-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
    }
    .segment-teaser-item { padding: 14px 6px !important; }
    .segment-teaser-name { font-size: 11px !important; }

    /* ── FOOTER ─────────────────────────────────────── */
    .footer-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
    .site-footer { padding: 48px 16px 20px !important; }
    .partners-grid { flex-direction: column !important; gap: 8px !important; }

    /* ── TYPOGRAPHY ─────────────────────────────────── */
    h1 { font-size: clamp(26px, 7vw, 38px) !important; }
    h2 { font-size: clamp(20px, 5vw, 28px) !important; }

    /* ── SECTIONS ───────────────────────────────────── */
    section { padding: 56px 16px !important; }
    .container { padding: 0 16px !important; }
    .cta-section { padding: 56px 16px !important; }

    /* ── PREVENT HORIZONTAL OVERFLOW ───────────────── */
    html, body { overflow-x: hidden !important; max-width: 100vw !important; }

    /* ── HEADER ─────────────────────────────────────── */
    .header { padding: 12px 16px !important; background-color: #061220 !important; }
    .burger { display: block !important; }
    .header-nav { display: none !important; }
    .header-cta.hide-mobile { display: none !important; }
    .hide-mobile { display: none !important; }

    /* ── MOBILE MENU ────────────────────────────────── */
    .mobile-contact-btn {
        display: inline-flex !important;
        width: auto !important;
        padding: 10px 28px !important;
        background: transparent !important;
        color: var(--teal) !important;
        border: 1px solid var(--teal) !important;
        margin-top: 20px !important;
    }

    /* ── SERVICE CARDS — adjust for 2-col ───────────── */
    .service-card { padding: 18px 14px !important; }
    .service-card h3 { font-size: 14px !important; }
    .service-card p { font-size: 13px !important; }
    .service-icon { width: 32px !important; height: 32px !important; margin-bottom: 10px !important; }
    .service-icon svg { width: 16px !important; height: 16px !important; }

    /* ── MEMBER CARDS ───────────────────────────────── */
    .member-name { font-size: 13px !important; }
    .member-spec { font-size: 10px !important; }

    /* ── WHY GRID ───────────────────────────────────── */
    .why-number { font-size: 36px !important; }

    /* ── WORKFLOW ───────────────────────────────────── */
    .workflow-step::after { display: none !important; }

    /* ── GLOSSARY ───────────────────────────────────── */
    .glossary-alpha-bar { flex-wrap: wrap !important; gap: 4px !important; }
    .glossary-alpha-btn { padding: 4px 8px !important; font-size: 12px !important; }
    .glossary-entry { padding: 12px 0 !important; }

    /* ── STANDARDS GRID ─────────────────────────────── */
    .standard-card { padding: 16px 12px !important; }

    /* ── PLATFORM STATS ─────────────────────────────── */
    .platform-stats { grid-template-columns: repeat(2, 1fr) !important; }

    /* ── CONTACT ────────────────────────────────────── */
    .contact-form-wrapper { padding: 20px 16px !important; }
    .info-card { padding: 20px 16px !important; }

    /* ── SINGLE POST ────────────────────────────────── */
    .single-nav { flex-direction: column !important; }
    .single-nav-link.next { text-align: left !important; }

    /* ── SLA TIERS ──────────────────────────────────── */
    .sla-tier { padding: 14px 10px !important; }

    /* ── TABS on services page ──────────────────────── */
    .ig-tabs { overflow-x: auto !important; }
    .ig-tab-btn { font-size: 11px !important; padding: 8px 10px !important; white-space: nowrap !important; }
}

@media (max-width: 480px) {
    .hero-home h1 { font-size: 26px !important; }
    .hero-stat-val { font-size: 20px !important; }
    .services-grid { grid-template-columns: 1fr !important; }
    .service-card h3 { font-size: 15px !important; }
    .service-card p { font-size: 14px !important; }
    .service-icon { width: 36px !important; height: 36px !important; }
    .map-stat-value { font-size: 36px !important; }
}


/* ── Mobile lang switcher in header ─────────────────────────── */
.mobile-lang-header {
    display: none; /* hidden on desktop — desktop uses .header-right */
}

@media (max-width: 768px) {
    /* Show in header */
    .mobile-lang-header {
        display: flex;
        align-items: center;
        gap: 2px;
        margin-right: 4px;
    }
    .mobile-lang-header .lang-sw {
        font-size: 11px;
        padding: 3px 7px;
        border: 1px solid rgba(0,201,167,0.3);
        border-radius: 2px;
        color: rgba(232,240,248,0.6);
        text-decoration: none;
        letter-spacing: 0.5px;
        transition: all 0.2s;
    }
    .mobile-lang-header .lang-sw.active {
        color: var(--teal);
        border-color: var(--teal);
    }
    /* Hide lang switcher inside mobile menu (redundant now) */
    .mobile-lang {
        display: none !important;
    }
    /* Hide desktop lang switcher on mobile */
    .header-right .lang-switcher {
        display: none !important;
    }
}


/* ── 404 Error Page ─────────────────────────────────────────── */
.error-404-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
}
.error-404-inner {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}
.error-404-code {
    font-size: clamp(80px, 15vw, 160px);
    font-weight: 800;
    line-height: 1;
    color: var(--teal);
    opacity: 0.15;
    letter-spacing: -4px;
    margin-bottom: -20px;
}
.error-404-title {
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}
.error-404-desc {
    font-size: 17px;
    color: rgba(232,240,248,0.6);
    line-height: 1.7;
    margin-bottom: 40px;
}
.error-404-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
@media (max-width: 480px) {
    .error-404-actions { flex-direction: column; align-items: center; }
    .error-404-actions a { width: 100%; text-align: center; }
}

/* ═══ END MOBILE v15 ═══ */
