/**
 * Vibe Studio — global overrides (loaded via page-full-html.php)
 * Centralized fixes for all full-HTML WordPress pages.
 * Version: 1.4
 */

/* --- 1. ТЕКСТ --- */
.division-card p,
.legal-body p,
.entry-content p,
.philosophy-box p,
.footer-col p,
.app-desc,
.legal-body li {
    text-align: justify;
    hyphens: auto;
}

.section-header,
.section-header--center {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.section-header .eyebrow,
.section-header--center .eyebrow {
    display: block;
    text-align: center !important;
}

.section-header h2,
.section-header--center h2 {
    text-align: center !important;
}

.section-header p,
.section-header--center p,
.closing p,
.hero .lede,
.lede,
.app-hero .app-tagline,
.contact-section .section-header p,
.coco-section .section-header p,
.coco-disclaimer {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    hyphens: none !important;
}

/* --- 2. ЛОГА — ОРИГИНАЛЕН ЦВЯТ --- */
.logo-res-img,
.logo-vibe-img,
.logo-equal img,
header img[alt="RES Solutions"],
header img[alt="Vibe Studio"],
.footer-col img[alt="RES Solutions"],
.footer-col img[alt="Vibe Studio"],
.division-card img[alt="RES Solutions"],
.division-card img[alt="Vibe Studio"],
img[src*="logo-res-solutions"],
img[src*="logo-vibe-studio"] {
    filter: none !important;
}

/* --- 3. ФУТЕР — ЛОГА --- */
.footer-col > div:first-child {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
}

.footer-col .logo-vibe-label {
    display: none !important;
}

.footer-col .logo-vibe-wrap,
.footer-col .logo-vibe-wrap--sm {
    background: none !important;
    background-color: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 0 !important;
}

.footer-col img[alt="RES Solutions"],
.footer-col img[alt="Vibe Studio"],
.footer-col .logo-vibe-img,
.footer-col .logo-vibe-wrap--sm .logo-vibe-img {
    height: 28px !important;
    max-height: 28px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
}

/* --- 4. ХЕДЪР — ПЛАВАЩ БОКС + TAGLINE --- */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding-top: 12px;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: none !important;
}

header .wrap,
header .header-inner {
    max-width: 1120px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 32px !important;
    padding-right: 32px !important;
    box-sizing: border-box !important;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px !important;
    padding-bottom: 16px !important;
    background: rgba(18, 18, 21, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border, rgba(255, 255, 255, 0.06));
    border-radius: 12px;
}

header .logo {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

header .logo-res-img,
header img[alt="RES Solutions"] {
    height: 36px !important;
    width: auto !important;
    display: block !important;
    flex-shrink: 0 !important;
}

/* Надпис до логото — ПО-ГОЛЯМ и светъл */
header .logo-text .sub,
.logo-text .sub {
    font-size: 13px !important;
    font-family: var(--mono, 'JetBrains Mono', monospace) !important;
    font-weight: 500 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    color: #c8c8d0 !important;
    line-height: 1.35 !important;
}

@media (max-width: 860px) {
    header .logo-text .sub,
    .logo-text .sub {
        font-size: 11px !important;
        max-width: 24ch;
    }
}

@media (max-width: 640px) {
    header {
        padding-top: 8px;
    }
    header .wrap,
    header .header-inner {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    .header-inner {
        padding-top: 14px !important;
        padding-bottom: 14px !important;
        border-radius: 8px;
    }
    header .logo-text .sub,
    .logo-text .sub {
        font-size: 10px !important;
    }
}

/* --- 5. LIGHTBOX --- */
.lightbox-overlay {
    display: none !important;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.lightbox-overlay.active {
    display: flex !important;
}

/* --- 6. КОНТАКТНА ФОРМА — СВЕТЛОСИВИ НАДПИСИ --- */
.form-group label,
.contact-form label,
.wpforms-field-label,
.wpforms-container label,
.wpforms-form label,
.wpforms-field-label-inline,
label.wpforms-field-label {
    color: #a0a0a8 !important;
    font-family: var(--mono, 'JetBrains Mono', monospace) !important;
    font-size: 10px !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    font-weight: 500 !important;
}

.wpforms-required-label,
.wpforms-field-label .wpforms-required-label {
    color: #a0a0a8 !important;
}

.wpforms-field-description,
.wpforms-container .wpforms-field-description {
    color: #888890 !important;
}

.contact-form,
.wpforms-container,
.wpforms-form {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
}

.contact-section .wrap,
.contact-section .wrap--narrow {
    max-width: 100% !important;
    padding: 0 20px !important;
}

@media (max-width: 640px) {
    .wpforms-submit,
    .btn-submit {
        width: 100% !important;
    }
}
