:root {
    --navy: #0b1a30;
    --navy-deep: #061220;
    --navy-light: #0f2540;
    --teal: #00c9a7;
    --teal-dark: #00a085;
    --cyan: #00b4d8;
    --dark-green: #071c14;
    --dark-green-2: #0d2d1f;
    --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 {
    color: var(--teal);
}

.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: 120px 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: 50px;
    height: 3px;
    background: var(--teal);
    margin-top: 24px;
}

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

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

.tag {
    font-family: 'Fira Code', monospace;
    color: var(--teal);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.8;
}

/* ===== 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: 'Fira Code', monospace;
    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, #003d33 0%, #00524a 50%, #003d44 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(3, 1fr);
    gap: 24px;
}

.service-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--card-border);
    padding: 36px 30px;
    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(--cyan);
    background: rgba(0,180,216,0.08);
}

.segment-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 16px;
    color: var(--cyan);
}

.segment-icon svg {
    width: 100%;
    height: 100%;
    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: 100px 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, #071c14 0%, #0d2d1f 50%, #092416 100%);
}

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

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

.methodology-content {
    max-width: 900px;
}

.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: 100px 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-family: 'Fira Code', monospace;
    font-size: 12px;
    color: var(--cyan);
    letter-spacing: 1px;
}

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

.service-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--card-border);
    padding: 32px 28px;
    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-family: 'Fira Code', monospace;
    font-size: 10px;
    color: var(--cyan);
    letter-spacing: 0.5px;
    opacity: 0.7;
}

/* ===== FEATURED PLATFORM ===== */
.platform-section {
    background: linear-gradient(160deg, #071c14 0%, #0d2d1f 50%, #092416 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-family: 'Fira Code', monospace;
    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-family: 'Fira Code', monospace;
    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-family: 'Fira Code', monospace;
    font-size: 10px;
    color: var(--cyan);
    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(--cyan);
    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(--cyan);
}

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

.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-family: 'Fira Code', monospace;
    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-family: 'Fira Code', monospace;
    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-family: 'Fira Code', monospace;
    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, #071c14 0%, #0d2d1f 50%, #092416 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: 100px 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, #071c14 0%, #0d2d1f 50%, #092416 100%);
    padding: 100px 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(--cyan);
}

.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-family: 'Fira Code', monospace;
    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, #071c14 0%, #0d2d1f 50%, #092416 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: 100px 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: 55vh !important; padding-top: 110px !important; padding-bottom: 50px !important; }
    .hero-home h1 { font-size: clamp(30px, 8vw, 44px) !important; }
    .hero-home .hero-description { font-size: 16px !important; }
    .hero-inner { min-height: auto !important; padding-top: 100px !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; }
    
    /* ALL grids → single column */
    .services-grid { grid-template-columns: 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;
}
.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: 100px 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; font-family: 'Fira Code', monospace; }
.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-family: 'Fira Code', monospace; 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-family: 'Fira Code', monospace; font-size: 9px; color: var(--cyan); background: rgba(0,180,216,0.1); padding: 4px 10px; letter-spacing: 0.5px; }
.product-company { font-family: 'Fira Code', monospace; 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-family: 'Fira Code', monospace; 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(--cyan); background: rgba(0,180,216,0.08); }
.industry-icon { width: 36px; height: 36px; margin: 0 auto 14px; color: var(--cyan); }
.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-family: 'Fira Code', monospace; 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: 100px 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-family: 'Fira Code', monospace;
    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: block;
    margin: 16px 20px 0;
    padding: 12px 20px;
    background: var(--teal);
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    letter-spacing: 0.5px;
}

/* ══ 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,
.header-nav ul li.current-menu-item > a { color: var(--text); }

/* ══ 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); }

/* ══ 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-family: 'Fira Code', monospace;
    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);
}
/* Separator between UA and EN */
.lang-switcher .lang-sw:not(:last-child)::after {
    content: '';
    display: inline-block;
    width: 1px;
    height: 10px;
    background: rgba(255,255,255,0.15);
    margin-left: 4px;
    vertical-align: middle;
}

/* 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: 1fr 1fr;
    gap: 40px;
    margin-top: 28px;
}
.methodology-text-cols p {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.8;
    opacity: 0.85;
}
.methodology-text-cols p:last-child { margin-bottom: 0; }
@media (max-width: 768px) {
    .methodology-text-cols { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════
   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-family: 'Fira Code', monospace;
    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: 44vh !important;
    padding-top: 130px !important;
    padding-bottom: 56px !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: 800px;
    margin: 0 auto;
    text-align: center !important;
}
.hero-home h1 {
    font-size: clamp(48px, 7vw, 80px) !important;
    margin-bottom: 24px !important;
    line-height: 1.06 !important;
}
.hero-home .hero-description {
    font-size: 18px !important;
    max-width: 580px;
    margin: 0 auto 40px !important;
    line-height: 1.75 !important;
    opacity: 0.85;
}
.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: 100px 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, #071c14 0%, #0f3d25 60%, #0a2a1a 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-family: 'Fira Code', monospace;
    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-family: 'Fira Code', monospace;
    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: 46vh !important;
    padding-top: 160px !important;
    padding-bottom: 80px !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, #071c14 0%, #0d2d1f 100%);
}

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

/* Single article hero */
.single-hero {
    padding: 160px 0 80px;
    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-family: 'Fira Code', monospace;
    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: 60px 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-family: 'Fira Code', monospace;
    font-size: 14px;
    margin: 24px 0;
}
.single-body code {
    font-family: 'Fira Code', monospace;
    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); font-family: 'Fira Code', monospace; 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-family: 'Fira Code', monospace;
    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: 48px;
    display: flex;
    justify-content: center;
}
.news-pagination .page-numbers {
    display: flex;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.news-pagination .page-numbers li a,
.news-pagination .page-numbers li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border: 1px solid var(--card-border);
    border-radius: 6px;
    font-size: 14px;
    color: rgba(232,240,248,0.7);
    text-decoration: none;
    transition: all 0.2s;
}
.news-pagination .page-numbers li a:hover { border-color: var(--teal); color: var(--teal); }
.news-pagination .page-numbers li span.current { background: var(--teal); color: var(--navy); border-color: var(--teal); font-weight: 700; }

/* 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; }

/* 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: 46vh !important;
    padding-top: 80px !important;
    padding-bottom: 80px !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; }
.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-family: 'Fira Code', monospace;
    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: #071c14;
}

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

/* Hero tag — more visible */
.hero-tag {
    font-family: 'Fira Code', monospace;
    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 — consistent visibility */
.tag {
    font-family: 'Fira Code', monospace;
    font-size: 11px;
    color: rgba(0,201,167,0.75);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}

/* 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-family: 'Fira Code', monospace;
    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 — always 3 per row */
.latest-posts-section .news-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
}

/* 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: #071c14;
}
.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-family: 'Fira Code', monospace;
    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;
    font-family: 'Fira Code', monospace;
}
.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-family: 'Fira Code', monospace;
    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;
}
