/* === Glossary v2 + footer nav === */

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

