/* ==========================================================================
   VALINOR THEME - Full Stylesheet
   Based on Hikari structural CSS + Valinor brand overrides
   ========================================================================== */

/* --------------------------------------------------------------------------
   VALINOR BRAND VARIABLES (override Hikari colors)
   -------------------------------------------------------------------------- */
:root {
    /* Valinor Brand Colors */
    --c-bg:              #010411;
    --c-surface:         #16161D;
    --c-border:          #30303D;
    --c-text-primary:    #FFFFFF;
    --c-text-secondary:  #8A8AA3;
    --c-text-disabled:   #49495B;
    --c-magenta:         #FF1FB3;
    --c-orange:          #FF7A00;
    --c-purple:          #C026FF;
    --c-gold:            #FFB400;
    --g-brand:           linear-gradient(90deg, #FF7A00 0%, #FF1FB3 50%, #C026FF 100%);

    /* Keep Hikari spacing/radius vars */
    --s-4: 4px; --s-8: 8px; --s-12: 12px; --s-16: 16px;
    --s-24: 24px; --s-32: 32px; --s-48: 48px; --s-64: 64px;
    --s-72: 72px; --s-80: 80px; --s-100: 100px; --s-120: 120px;
    --br-button: 100px; --br-input: 10px;
    --br-card-desktop: 16px; --br-card-mobile: 12px;
    --br-card: var(--br-card-mobile);

    /* Fonts */
    --font-primary:   'Satoshi', sans-serif;
    --font-secondary: 'Satoshi', sans-serif;

    /* Section gaps */
    --section-gap-pc:  80px;
    --section-gap-mob: 64px;
}

@media (min-width: 768px) {
    :root { --br-card: var(--br-card-desktop); }
}

/* --------------------------------------------------------------------------
   FONTS
   -------------------------------------------------------------------------- */


/* --------------------------------------------------------------------------
   RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    background-color: #010411;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    background-color: #010411;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Satoshi', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

/* --------------------------------------------------------------------------
   TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, .h1 {
    font-family: 'Satoshi', sans-serif;
    font-size: 48px;
    line-height: 1.15;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 var(--s-24);
}
h2, .h2 {
    font-family: 'Satoshi', sans-serif;
    font-size: 40px;
    line-height: 1.15;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 var(--s-24);
}
h3, .h3 {
    font-family: 'Satoshi', sans-serif;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 var(--s-16);
}
h4, .h4 {
    font-family: 'Satoshi', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 var(--s-16);
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.15;
    margin: 0 0 16px 0;
}

.text-gradient {
    background: var(--g-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.body-l { font-size: 18px; line-height: 1.6; }
.body-m { font-size: 16px; line-height: 1.6; }
.body-s { font-size: 14px; line-height: 1.6; }
.caption { font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, 0.7); }
.label { font-size: 12px; line-height: 1.6; }
body .text-primary{ color: #FFFFFF ; }
body .text-secondary{ color: #8A8AA3 ; }
body .text-disabled{ color: #49495B ; }

/* --------------------------------------------------------------------------
   LAYOUT / UTILITIES
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    padding: 0 100px;
}


.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.text-center { text-align: center; }
.gap-8  { gap: var(--s-8); }
.gap-16 { gap: var(--s-16); }
.gap-24 { gap: var(--s-24); }
.mt-16  { margin-top: var(--s-16); }
.mt-48  { margin-top: var(--s-48); }
.mt-64  { margin-top: var(--s-64); }


/* --------------------------------------------------------------------------
   SCROLL ANIMATIONS
   -------------------------------------------------------------------------- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in-up.is-visible { opacity: 1; transform: translateY(0); }
.stat-item:nth-child(1) { transition-delay: 0.1s; }
.stat-item:nth-child(2) { transition-delay: 0.3s; }
.stat-item:nth-child(3) { transition-delay: 0.5s; }

/* --------------------------------------------------------------------------
   BUTTONS
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Satoshi', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    padding: 0 32px;
    border-radius: 100px;
    height: 50px;
    gap: 8px;
    position: relative;
    z-index: 1;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; filter: grayscale(100%); }

/* Primary: orange gradient fill, dark text */
body .btn-primary{
    background: linear-gradient(90deg, #FF9B00 0%, #FF5A00 100%);
    color: #09080E ;
    border: none;
}
.btn-primary:hover {
    background: linear-gradient(90deg, #FFAE00 0%, #FF6A00 100%);
    box-shadow: 0 0 20px rgba(255, 120, 0, 0.45);
}
.btn-primary:active {
    background: linear-gradient(90deg, #FFAE00 0%, #FF6A00 100%);
    box-shadow: 0 0 32px rgba(255, 120, 0, 0.65);
}
body .btn-primary:disabled{
    background: linear-gradient(90deg, #6B4200 0%, #5A2E00 100%);
    color: rgba(255,255,255,0.3) ;
    box-shadow: none;
}

/* Secondary: gradient border (orangeв†’pink), transparent fill */
/* Active = solid pink fill */
body .btn-secondary{
    background: transparent;
    color: #FFFFFF ;
    border: none;
}
.btn-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 100px;
    padding: 1px;
    background: linear-gradient(90deg, #FF7A00 0%, #FF1FB3 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.btn-secondary:hover::before {
    background: #FF1FB3;
}
body .btn-secondary:active{
    background: #FF1FB3;
    color: #FFFFFF ;
}
.btn-secondary:active::before { opacity: 0; }
body .btn-secondary:disabled{
    color: rgba(255,255,255,0.3) ;
}
.btn-secondary:disabled::before {
    background: #30303D;
    opacity: 0.5;
}

/* Ghost */
body .btn-ghost{
    background: transparent;
    border: none;
    color: #FFB400 ;
    height: 32px;
    padding: 0;
}
body .btn-ghost:hover{ color: #FFFFFF ; }
body .btn-ghost:active{ color: #FF7A00 ; }

/* Text button */
.btn-text {
    display: inline-flex;
    align-items: center;
    color: #FF1FB3;
    font-weight: 500;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    cursor: pointer;
}
.btn-text:hover { color: #FFFFFF; }

/* Submit button */
.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    padding: 0 40px;
    border-radius: 100px;
    background: var(--g-brand);
    color: #FFFFFF;
    font-family: 'Satoshi', sans-serif;
    font-size: 16px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
}
.btn-submit:hover { opacity: 0.85; }

/* Outline pill (used on vacancies page) */
.btn-outline-pill {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border: 1px solid #30303D;
    border-radius: var(--br-button);
    color: #FFFFFF;
    text-decoration: none;
    font-size: 16px;
    font-family: 'Satoshi', sans-serif;
    transition: all 0.3s ease;
}
.btn-outline-pill:hover { border-color: #FF1FB3; }



/* --------------------------------------------------------------------------
   VALINOR GRADIENT BORDER COMPONENT (pill buttons with transparent fill)
   -------------------------------------------------------------------------- */
.valinor-gradient-border {
    position: relative;
    z-index: 0;
}
.valinor-gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: var(--g-brand);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
    pointer-events: none;
}

/* View All / Read More pill links */
body .valinor-read-more,
body .view-all-link{
    display: inline-flex;
    align-items: center;
    height: 50px;
    padding: 0 24px;
    border-radius: 100px;
    color: #FFFFFF ;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none ;
    gap: 8px;
    transition: box-shadow 0.2s ease;
}
.valinor-read-more:hover,
.view-all-link:hover { box-shadow: 0 4px 12px rgba(255, 31, 179, 0.25); }

/* --------------------------------------------------------------------------
   LABEL / BADGE PILL
   -------------------------------------------------------------------------- */
.valinor-label-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 100px;
    margin-top:20px;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 700;
    background: #00000030;
    
}

.valinor-label-title .text {
    background: linear-gradient(90deg, #961693 0%, #FF1FB3 33%, #F92B4A 66%, #FF7A00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}
.valinor-label-title {
    font-size: 12px;
    font-weight: 700;
    line-height: 24px;
}

body .valinor-label-title.valinor-gradient-border::before{
    background: linear-gradient(90deg, #FF1FB3 0%, rgb(0 0 0) 100%);
}

/* Center specific labels on desktop */
.text-center .valinor-label-title,
.front-values .valinor-label-title,
/* Removed .front-join-us centering */ .DO-NOT-USE {
    display: flex;
    width: max-content;
    margin-left: auto;
    margin-right: auto;
}
.valinor-label-title .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #FF1FB3;
    flex-shrink: 0;
}

.badge-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 700;
    color: #FF1FB3;
    background: rgba(255, 31, 179, 0.08);
    border-radius: 100px;
    border: none;
}

/* --------------------------------------------------------------------------
   HEADER
   -------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    border-bottom: none;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease, padding 0.3s ease;
    padding: var(--s-16) 0;
}
.site-header.scrolled {
    background-color: rgba(17, 15, 23, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: none;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
@media (min-width: 992px) {
    body .site-header .header-inner{
        display: grid ;
        grid-template-columns: 1fr auto 1fr ;
        align-items: center;
    }
    .site-header .site-logo { justify-self: start; }
    .site-header .header-action { justify-self: end; }
}
.site-logo img { display: block; }

/* Desktop Nav */
.main-navigation { display: none; }
@media (min-width: 992px) {
    .main-navigation {
        display: flex;
        gap: var(--s-32);
        align-items: center;
    }
}
.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: var(--s-32);
}
.main-navigation a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.3s ease;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}
.main-navigation a::after {
    content: attr(data-text);
    font-weight: 700;
    height: 0;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
    user-select: none;
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a { color: #FFFFFF; font-weight: 700; }

.header-action { display: none; }
@media (min-width: 992px) { .header-action { display: block; } }

/* Mobile toggle */
.menu-toggle {
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    padding: var(--s-8);
}
@media (min-width: 992px) { .menu-toggle { display: none; } }



/* --- FOOTER INLINE REPLACEMENTS --- */
.site-footer { background: #09080E; padding: 80px 0 40px; border-top: none; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; border-bottom: 1px solid #30303D; padding-bottom: 64px; margin-bottom: 32px; }
.footer-logo { margin-bottom: 24px; }
.footer-logo-link { font-size: 24px; font-weight: 700; color: #FFFFFF; text-decoration: none; display: flex; align-items: center; gap: 12px; }
.footer-copyright { color: #49495B; font-size: 12px; margin: 0; }

@media (max-width: 991px) {
    body .site-header .header-inner{
        display: grid ;
        grid-template-columns: 1fr auto 1fr ;
        align-items: center;
    }
    
    .menu-toggle { grid-column: 3; justify-self: end; display: flex; }
    body .main-navigation, body .header-action{ display: none ; }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(17, 15, 23, 0.98);
    z-index: 1001;
    padding: 0 var(--s-16);
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
}
.mobile-menu-overlay.is-open { transform: translateX(0); }

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
    border-bottom: 1px solid #30303D;
    margin-bottom: var(--s-24);
}
.mobile-menu-close {
    background: transparent;
    border: 1px solid #30303D;
    color: #FFFFFF;
    border-radius: var(--br-input);
    cursor: pointer;
    width: 32px; height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.mobile-navigation ul {
    list-style: none;
    padding: 0; margin: 0 -16px;
    display: flex;
    flex-direction: column;
}
.mobile-navigation li {
    border-bottom: none;
    background: linear-gradient(90deg, rgba(9,9,15,0) 0%, #F92B4A 50%, #961693 85%, rgba(27,11,19,0) 100%) bottom left no-repeat;
    background-size: 100% 1px;
}
.mobile-navigation a {
    display: block;
    padding: 16px 16px;
    color: #8A8AA3;
    text-decoration: none;
    font-size: 24px;
    font-weight: 400;
    transition: color 0.2s ease;
}
.mobile-navigation a:hover { color: #FFFFFF; }
.mobile-navigation .current-menu-item > a { color: #FFFFFF; }

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
    position: relative;
    overflow: visible;
    z-index: 1;
    padding: var(--s-80) 0 var(--s-24);
    background-color: #09080E;
}
.footer-grid {
    display: flex;
    flex-direction: column;
    gap: var(--s-48);
    margin-bottom: var(--s-64);
}
@media (min-width: 768px) {
    .footer-grid {
        flex-direction: row;
        justify-content: space-between;
    }
}
@media (min-width: 992px) {
    body .footer-grid{
        display: grid ;
        grid-template-columns: 5fr 2.5fr 2.5fr ;
        gap: 0 ;
    }
    .footer-col-brand { padding-right: 48px; }
    body .footer-menus-wrap{ display: contents ; }
    .footer-col-nav { padding-top: 16px; }
}
.footer-col-brand { flex: 1; max-width: none; }
.footer-col-brand .site-logo { margin-bottom: var(--s-24); }
.footer-desc {
    font-family: 'Satoshi', sans-serif;
    font-size: 14px;
    color: #49495B;
    line-height: 1.6;
    margin-bottom: var(--s-32);
}
.footer-menus-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-48);
}
@media (min-width: 768px) { .footer-menus-wrap { gap: 120px; } }
.footer-title {
    font-size: 14px;
    font-weight: 400;
    color: #49495B;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--s-24);
}
.footer-nav ul {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--s-16);
}
.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}
.footer-nav a:hover { color: #FFFFFF; }
.footer-bottom {
    padding-top: var(--s-24);
}
.copyright-text { font-size: 12px; color: #49495B; margin: 0; }

.footer-glow-right {
    position: absolute;
    right: -570px; top: -490px;
    width: 90%;
    pointer-events: none;
    z-index: 0;
}


/* --- FOOTER INLINE REPLACEMENTS --- */
.site-footer { background: #09080E; padding: 80px 0 40px; border-top: none; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; border-bottom: 1px solid #30303D; padding-bottom: 64px; margin-bottom: 32px; }
.footer-logo { margin-bottom: 24px; }
.footer-logo-link { font-size: 24px; font-weight: 700; color: #FFFFFF; text-decoration: none; display: flex; align-items: center; gap: 12px; }
.footer-copyright { color: #49495B; font-size: 12px; margin: 0; }

@media (max-width: 991px) {
    body .footer-title{ font-size: 12px ; }
    body .footer-nav a{ font-size: 14px ; }
}

/* --------------------------------------------------------------------------
   INPUTS
   -------------------------------------------------------------------------- */
.input-group { display: flex; flex-direction: column; gap: var(--s-8); margin-bottom: var(--s-24); }
.input-label { font-size: 14px; color: rgba(255, 255, 255, 0.7); }
.input-field, .textarea-field {
    background-color: rgba(30, 28, 40, 0.8);
    border: 1px solid #30303D;
    color: #FFFFFF;
    font-family: 'Satoshi', sans-serif;
    font-size: 16px;
    padding: 12px var(--s-16);
    border-radius: var(--br-input);
    outline: none;
    transition: border-color 0.3s ease;
    width: 100%;
}
.input-field::placeholder, .textarea-field::placeholder { color: #49495B; }
.input-field:focus, .textarea-field:focus { border-color: #FF1FB3; }
.textarea-field { resize: vertical; min-height: 120px; }
.input-field:disabled, .textarea-field:disabled { opacity: 0.5; cursor: not-allowed; }

body input:-webkit-autofill,
body input:-webkit-autofill:hover,
body input:-webkit-autofill:focus,
body textarea:-webkit-autofill,
body select:-webkit-autofill{
    -webkit-box-shadow: 0 0 0 1000px rgba(30, 28, 40, 0.8) inset ;
    -webkit-text-fill-color: #FFFFFF ;
    transition: background-color 5000s ease-in-out 0s;
}

/* --------------------------------------------------------------------------
   CARDS
   -------------------------------------------------------------------------- */
.card {
    background-color: rgba(22, 22, 29, 0.6);
    border-radius: var(--br-card);
    padding: var(--s-24);
    position: relative;
    overflow: hidden;
}
.card-feature {
    background: linear-gradient(135deg, rgba(255, 64, 90, 0.02) 0%, rgba(192, 38, 255, 0.018) 50%, rgba(123, 77, 255, 0.014) 100%), rgba(22, 22, 29, 0.4); backdrop-filter: blur(12px);
    border: 1px solid #30303D;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    border-radius: var(--br-card);
    min-height: 220px;
}
.card-feature .card-icon { width: 52px; height: 52px; display: flex; align-items: center; justify-content: flex-start; }
.card-icon img, .card-icon svg { width: 100%; height: 100%; object-fit: contain; }
.card-feature .card-title { font-size: 20px; margin-bottom: 0; }
.card-feature .card-desc { font-size: 14px; margin: 0; color: rgba(255, 255, 255, 0.7); line-height: 1.6; }


/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
    padding-top: 180px;
    padding-bottom: 0;
    position: relative;
    z-index: 10;
}
.hero-title {
    max-width: 900px;
    margin: 0 auto var(--s-24);
    font-size: 56px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.hero-subtitle {
    font-weight: 400;
    margin: 0 auto var(--s-48);
    color: rgba(255, 255, 255, 0.7);
}
body .hero-actions{ margin-bottom: 16px; position: relative; z-index: 99 ; }
body .hero-media{
    position: relative;
    z-index: 1 ;
    width: 100vw ;
    margin-left: calc(-50vw + 50%) ;
    border-radius: 0 ;
    box-shadow: none ;
    overflow: hidden;
}
.hero-img { width: 100%; height: auto; display: block; }
body .hero-img-mobile{ display: none ; }
body .hero-img-desktop{ display: block ; }
body .hero-overlay{
    position: absolute ;
    top: 0 ; left: 0 ;
    width: 100% ; height: 100% ;
    z-index: 0 ;
}
.hero-overlay_mobile { display: none; }


/* Front hero (front-page template) */
.front-hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 160px 0 80px;
}
.valinor-hero-grid {
    max-width: 700px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}
.valinor-hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}
.valinor-hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: rgba(255, 31, 179, 0.1);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    color: var(--c-magenta);
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}
.valinor-hero-title { font-size: 48px; font-weight: 700; line-height: 1.15; color: #FFFFFF; margin: 0 0 24px 0; }
.valinor-hero-subtitle { font-size: 18px; color: rgba(255, 255, 255, 0.7); line-height: 1.6; margin-bottom: 40px; max-width: 500px; }
.valinor-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* --- FOOTER INLINE REPLACEMENTS --- */
.site-footer { background: #09080E; padding: 80px 0 40px; border-top: none; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; border-bottom: 1px solid #30303D; padding-bottom: 64px; margin-bottom: 32px; }
.footer-logo { margin-bottom: 24px; }
.footer-logo-link { font-size: 24px; font-weight: 700; color: #FFFFFF; text-decoration: none; display: flex; align-items: center; gap: 12px; }
.footer-copyright { color: #49495B; font-size: 12px; margin: 0; }

@media (max-width: 991px) {
    body .valinor-hero-grid,
    body .valinor-stats-grid,
    body .valinor-values-grid,
    body .join-form-wrapper,
    body .blog-grid{
        grid-template-columns: 1fr ;
    }
    body .valinor-hero-title{ font-size: 28px ; }
    .valinor-stats-grid { gap: 32px; }
}


/* --------------------------------------------------------------------------
   STATS SECTION
   -------------------------------------------------------------------------- */
.front-stats, .valinor-stats {
    padding: var(--s-120) 0;
    position: relative;
    z-index: 10;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* Stats section */
.valinor-stats {
    padding: 64px 0;
    border-top: 1px solid #30303D;
    border-bottom: 1px solid #30303D;
}
.valinor-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}
.stat-item {
    padding: 0 40px;
}
.stat-item:first-child { padding-left: 0; }
.stat-item:last-child { padding-right: 0; }
.stat-item:first-child { padding-left: 0; }
.stat-item:last-child { padding-right: 0; padding-left: 40px; }
.stat-item:nth-child(2) { padding-left: 40px; }
.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 8px;
    line-height: 1;
}
.stat-label {
    font-size: 11px;
    color: #FFFFFF;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 16px;
    opacity: 0.5;
}
.stat-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
}
/* Mobile-only "Join us" below all stats */
.stats-bottom-text {
    display: none;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 32px 0 0;
    text-align: center;
}
.stat-item h3 {
    font-size: 40px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 8px 0;
    background: var(--g-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-item p { font-size: 14px; color: rgba(255, 255, 255, 0.7); margin: 0; }

/* Old stats layout (about/inner pages) */
.stats-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-48);
}
.stats-items { display: flex; gap: 80px; }
.stats-grid .stat-number { font-size: 56px; font-weight: 700; color: #FF1FB3; line-height: 1; margin-bottom: var(--s-8); }
.stats-grid .stat-label { font-size: 14px; color: rgba(255, 255, 255, 0.7); }
.stats-text { max-width: 400px; }
.stats-text h3 { font-size: 24px; line-height: 1.4; margin: 0; font-weight: 500; }
.about-statistics-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 120px;
    text-align: center;
}

@media (max-width: 992px) { .stats-items { gap: var(--s-48); } .stats-grid .stat-number { font-size: 48px; } }


/* --------------------------------------------------------------------------
   VALUES SECTION
   -------------------------------------------------------------------------- */
.front-values {
    padding: var(--s-80) 0 var(--s-120);
    position: relative;
    z-index: 50;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.valinor-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.value-card {
    background: linear-gradient(135deg, rgba(255, 64, 90, 0.02) 0%, rgba(192, 38, 255, 0.018) 50%, rgba(123, 77, 255, 0.014) 100%), rgba(22, 22, 29, 0.4); backdrop-filter: blur(12px);
    border: 1px solid #30303D;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: border-color 0.3s ease, background 0.3s ease;
}
.value-card:hover {
    border-color: rgba(255, 31, 179, 0.4);
    background: rgba(22, 22, 29, 0.7);
}
.value-card .value-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 31, 179, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #FF1FB3;
}

/* Old values grid (3 col) */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-24);
}
.card-desc { font-size: 14px; color: rgba(255, 255, 255, 0.7); margin: 0; line-height: 1.6; }
.card-title { margin-bottom: var(--s-8); }
@media (max-width: 992px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }


/* Section glows */
.section-glow-wrapper {
    position: absolute;
    top: -100px; left: 0;
    width: 100%; height: 0;
    overflow: visible;
    pointer-events: none;
    z-index: 0;
}
.section-glow-wrapper img { position: absolute; left: -100px; top: -100px; max-width: 45vw; pointer-events: none; }
.section-glow-mob { display: none; }
.section-glow-pc { display: block; }


/* --------------------------------------------------------------------------
   VACANCIES SECTION
   -------------------------------------------------------------------------- */
.front-vacancies {
    padding: var(--s-80) 0 var(--s-120);
    position: relative;
    z-index: 10;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.vacancies-list, .vacancies-list-full {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
body .vacancy-card{
    display: flex ;
    flex-direction: row ;
    justify-content: space-between ;
    align-items: center ;
    padding: 20px 32px ;
    border: 1px solid #30303D ;
    border-radius: 12px ;
    background: transparent ;
    text-decoration: none;
    color: inherit;
    position: relative;
    z-index: 1;
    transition: background 0.3s ease, border-color 0.3s ease;
}
.vacancy-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    padding: 1px;
    border-radius: 12px;
    background: var(--g-brand);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
body .vacancy-card:hover{ background: rgba(255, 31, 179, 0.04) ; border-color: transparent ; z-index: 2; }
.vacancy-card:hover::before { opacity: 1; }

.vacancy-info { flex: 1; padding-right: 16px; }
body .vacancy-info h4{ font-size: 16px ; font-weight: 700; margin-bottom: 4px ; color: #FFFFFF; }
body .vacancy-info p{ font-size: 13px ; color: #8A8AA3 ; margin: 0 ; }
body .vacancy-apply{
    color: #FFB400 ;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex ;
    align-items: center ;
    gap: 6px;
    flex-shrink: 0;
    align-self: center ;
    transition: color 0.3s ease;
}
body .vacancy-card:hover .vacancy-apply{ color: #FF1FB3 ; }

/* Glows for vacancies section */
.section-glow-3-4-left { top: -100px; left: 0; z-index: 0; }
.section-glow-3-4-left img { left: -300px; top: -100px; max-width: 200%; }
.section-glow-3-4-right { top: -100px; left: 0; }
body .section-glow-3-4-right img{ position: absolute; left: auto ; right: -700px; top: -470px; max-width: 200%; }


/* Vacancies Filter Bar */
.vacancies-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    background: rgba(22, 22, 29, 0.9);
    border-top: 1px solid #30303D;
    border-bottom: 1px solid #30303D;
    padding: 14px 100px;
    margin: 0 -100px 40px;
}

.filter-group { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Styled select dropdowns */
.filter-select {
    appearance: none;
    -webkit-appearance: none;
    background-color: #1A1823;
    border: 1px solid #30303D;
    color: #FFFFFF;
    padding: 0 36px 0 14px;
    border-radius: 8px;
    font-family: 'Satoshi', sans-serif;
    font-size: 14px;
    font-weight: 400;
    min-width: 155px;
    height: 40px;
    cursor: pointer;
    outline: none;
    transition: border-color 0.25s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238A8AA3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}
.filter-select:hover { border-color: rgba(255, 255, 255, 0.7); }
.filter-select:focus { border-color: #FF1FB3; outline: none; }
.filter-select option { background: #1A1823; color: #FFFFFF; }
.filter-count { color: rgba(255, 255, 255, 0.7); font-size: 14px; white-space: nowrap; }

/* CTA Box */
.cta-box {
    background: rgba(22, 22, 29, 0.6);
    border: 1px solid #30303D;
    border-radius: var(--br-card);
    padding: var(--s-64);
    display: flex;
    flex-direction: column;
}
.cta-actions { display: flex; gap: var(--s-16); }


/* Sticky filter bar */
.vacancies-filter-bar.is-sticky {
    position: sticky;
    top: 72px;
    z-index: 50;
    background: rgba(17, 15, 23, 0.95);
    backdrop-filter: blur(12px);
    padding-top: 16px;
    margin-left: -100px;
    margin-right: -100px;
    padding-left: 100px;
    padding-right: 100px;
}
@media (max-width: 1024px) {
    .vacancies-filter-bar.is-sticky { margin-left: -50px; margin-right: -50px; padding-left: 50px; padding-right: 50px; }
}


/* --------------------------------------------------------------------------
   BLOG SECTION
   -------------------------------------------------------------------------- */
.front-blog {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-32);
}
.blog-card {
    display: flex;
    flex-direction: column;
    background: transparent;
    transition: all 0.3s ease;
}
.blog-card-img {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, rgba(30, 18, 40, 1) 0%, rgba(45, 16, 64, 0.8) 50%, rgba(28, 13, 48, 1) 100%);
    border-radius: var(--br-card);
    overflow: hidden;
    position: relative;
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.blog-placeholder-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1E1228 0%, #2D1040 50%, #1C0D30 100%);
    border-radius: var(--br-card);
}
.blog-card-content {
    padding: var(--s-24) 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s-16);
    flex-grow: 1;
}
.blog-card-meta { font-size: 12px; color: rgba(255, 255, 255, 0.7); margin: 0; letter-spacing: 0.05em; text-transform: uppercase; }
.blog-card-title { font-size: 18px; margin: 0; line-height: 1.4; color: #FFFFFF; }
.blog-card-title a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
.blog-card-title a:hover { color: #FF1FB3; }

/* Blog filter bar */
.blog-filter-bar-wrapper {
    background: rgba(22, 22, 29, 0.9);
    border-top: 1px solid #30303D;
    border-bottom: 1px solid #30303D;
    padding: 14px 100px;
    margin: 0 -100px 48px;
}

.blog-filter-bar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.blog-filter-bar::-webkit-scrollbar { display: none; }

.filter-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    height: 38px;
    border: 1px solid #30303D;
    border-radius: 100px;
    background: #1A1823;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Satoshi', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.filter-pill:hover { border-color: rgba(255, 255, 255, 0.7); color: #FFFFFF; }
.filter-pill.active {
    background: #FF7A00;
    color: #09080E;
    border-color: transparent;
    font-weight: 700;
}

@media (max-width: 992px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }


/* --------------------------------------------------------------------------
   JOIN US / FORM SECTION
   -------------------------------------------------------------------------- */
.front-join-us {
    position: relative;
    overflow: visible;
    z-index: 20;
    background: #010411;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.join-form-container {
    max-width: 900px;
    padding-left: 16px;
    padding-right: 16px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}
body .join-form-wrapper{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    background: transparent ;
    border: none ;
    padding: 0 ;
}
.form-light-full {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    pointer-events: none;
    z-index: 0;
}
.form-light-mini {
    position: absolute;
    left: 100px; bottom: 0;
    pointer-events: none;
    z-index: 0;
    width: 40%;
}


/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
}
.full-width, .form-input.full-width { grid-column: 1 / -1; }
.form-input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: linear-gradient(#16161D, #16161D) padding-box,
                linear-gradient(#30303D, #30303D) border-box;
    color: #FFFFFF;
    font-family: 'Satoshi', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
    outline: none;
}
.form-input::placeholder { color: #8A8AA3; }
.form-input:focus, .form-input:hover {
    border-width: 2px;
    padding: 0 15px;
    background: linear-gradient(#16161D, #16161D) padding-box,
                linear-gradient(90deg, #FF7A00 0%, #F92B4A 33%, #FF1FB3 66%, #961693 100%) border-box;
}


textarea.form-input.is-error, textarea.form-input.is-success {
    padding: 13px 15px;
}
textarea.form-input:focus, textarea.form-input:hover {
    padding: 13px 15px;
}
textarea.form-input {
    height: auto;
    min-height: 120px;
    padding: 14px 16px;
    resize: vertical;
}
.form-input.is-error {
    border-width: 2px;
    padding: 0 15px;
    background: linear-gradient(#16161D, #16161D) padding-box,
                linear-gradient(#FF6A4D, #FF6A4D) border-box;
}
.form-input.is-success {
    border-width: 2px;
    padding: 0 15px;
    background: linear-gradient(#16161D, #16161D) padding-box,
                linear-gradient(#00E599, #00E599) border-box;
}
.form-input:disabled {
    background: linear-gradient(#09080E, #09080E) padding-box,
                linear-gradient(#1C1C24, #1C1C24) border-box;
    color: #49495B;
    cursor: not-allowed;
}
.form-input-error-msg { color: #FF6A4D; font-size: 12px; margin-top: 4px; display: none; }
.form-input.is-error + .form-input-error-msg { display: block; }

/* File Drop */
body .file-drop-area{
    grid-column: 1 / -1;
    display: flex ;
    align-items: center ;
    justify-content: center ;
    min-height: 100px ;
    padding: 0 24px ;
    border: 1px solid transparent ;
    border-radius: 12px ;
    background-clip: border-box ;
    background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='12' ry='12' stroke='%23FF1FB3' stroke-width='1' stroke-dasharray='8%2c 6'/%3e%3c/svg%3e") ;
    background-color: rgba(255, 31, 179, 0.02) ;
    cursor: pointer;
    transition: background-color 0.3s ease ;
    position: relative;
}
body .file-drop-area:hover{ background-color: rgba(255, 31, 179, 0.06) ; }
body .file-drop-area.is-dragover{ background-color: rgba(255, 31, 179, 0.1) ; }
.file-msg, .file-drop-label { color: rgba(255, 255, 255, 0.7); font-size: 14px; pointer-events: none; }
.file-drop-label span, .file-select-text { color: #FF1FB3; font-size: 14px; font-weight: 500; }
.file-input, .file-drop-area input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
}
body .file-drop-area.has-file .file-input{ display: none ; }
.file-drop-state { width: 100%; position: relative; z-index: 5; }
.file-drop-default { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.file-drop-success, .file-drop-failed { display: flex; flex-direction: row; justify-content: center; align-items: center; }
.file-drop-info { display: flex; align-items: center; gap: 8px; }
.file-icon-svg { width: 20px; height: 20px; display: block; }
.file-drop-line1 { display: flex; align-items: center; gap: 8px; color: #FFFFFF; font-size: 14px; }
.file-name { font-size: 14px; color: #FFFFFF; font-weight: 700; }
.file-status { font-size: 14px; }
.file-drop-success .file-status { color: #FF1FB3; }
.file-drop-failed .file-status { color: #FF6A4D; }
.file-remove-btn {
    background: none; border: none; color: rgba(255, 255, 255, 0.7); cursor: pointer;
    padding: 4px; z-index: 20; position: absolute; right: 0;
    display: flex; align-items: center; justify-content: center;
}
.file-remove-btn:hover { color: #FFFFFF; }
.file-drop-formats { font-size: 12px; color: #49495B; margin-bottom: 2px; }
.file-format-notice { font-size: 12px; color: #49495B; margin-top: 8px; text-align: center; }



/* Checkbox */
.checkbox-label {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    margin-top: 8px;
    user-select: none;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}
.checkbox-label input { position: absolute; opacity: 0; width: 0; height: 0; }
body .checkmark{
    position: relative;
    height: 24px; width: 24px;
    background-color: transparent;
    border: 1px solid #30303D;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-right: 0 ;
}
.checkbox-label:hover input ~ .checkmark { border-color: #FF1FB3; }
.checkbox-label input:checked ~ .checkmark { background: var(--g-brand); border-color: transparent; } .custom-breadcrumbs-badge { color: #FF1FB3; }
.checkmark:after {
    content: '';
    position: absolute;
    display: none;
    left: 8px; top: 4px;
    width: 6px; height: 11px;
    border: solid #0F0F13;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    border-radius: 1px;
}
.checkbox-label input:checked ~ .checkmark:after { display: block; }
.checkbox-label input:disabled ~ .checkmark { opacity: 0.5; cursor: not-allowed; }
.checkbox-label input:disabled ~ .label-text { opacity: 0.5; cursor: not-allowed; }
.label-text { font-size: 14px; color: rgba(255, 255, 255, 0.7); }
.label-text a { color: #FF1FB3; text-decoration: underline; }

/* Submit */
.form-submit-wrapper {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-start;
    margin-top: 8px;
}

/* Form Modal */
#form-modal {
    position: fixed; inset: 0; z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s ease; pointer-events: none;
}
#form-modal.is-open { opacity: 1; pointer-events: auto; }
.form-modal-backdrop { position: absolute; inset: 0; background: rgba(17, 15, 23, 0.85); backdrop-filter: blur(4px); }
.form-modal-box {
    position: relative; z-index: 1;
    background: rgba(22, 22, 29, 0.95);
    border: 1px solid #30303D;
    border-radius: var(--br-card);
    padding: 48px 40px;
    max-width: 440px; width: 90%;
    text-align: center;
    transform: translateY(30px) scale(0.97);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
#form-modal.is-open .form-modal-box { transform: translateY(0) scale(1); }
.form-modal-icon { margin-bottom: 24px; }
.form-modal-icon svg { width: 52px; height: 52px; }
.form-modal-msg { color: rgba(255, 255, 255, 0.7); font-size: 17px; line-height: 1.6; margin: 0 0 32px 0; }

/* Mobile Join Form Special */
.join-form-mobile-image {
    display: none;
    width: 100%;
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: -60px;
}
.join-form-mobile-image img { max-height: 220px; object-fit: contain; display: inline-block; }
.join-form-mobile-box {
    display: none;
    border: 1px solid #30303D;
    border-radius: 20px;
    padding: 80px 20px 32px;
    background: rgba(22, 22, 29, 0.9);
    position: relative;
}



/* --------------------------------------------------------------------------
   ENTRY CONTENT (Blog posts, Pages)
   -------------------------------------------------------------------------- */
.entry-content { color: rgba(255, 255, 255, 0.7); line-height: 1.7; font-size: 16px; }
.entry-content p { margin-bottom: var(--s-24); }
.entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 {
    color: #FFFFFF; margin: var(--s-48) 0 var(--s-24) 0; line-height: 1.3;
}
.entry-content h2 { font-size: 32px; } .entry-content h3 { font-size: 24px; } .entry-content h4 { font-size: 20px; }
.entry-content ul, .entry-content ol { margin-bottom: var(--s-32); padding-left: var(--s-24); }
.entry-content li { margin-bottom: var(--s-16); }
.entry-content ul li { list-style-type: disc; }
.entry-content ul li::marker { color: #FF1FB3; }
.entry-content a { color: #FF1FB3; text-decoration: underline; text-underline-offset: 4px; transition: color 0.2s ease; }
.entry-content a:hover { color: #FFFFFF; }
.entry-content blockquote { border-left: 4px solid #30303D; padding-left: var(--s-24); margin: var(--s-32) 0; font-style: italic; }

/* --------------------------------------------------------------------------
   JOB DESCRIPTION (Single Vacancy)
   -------------------------------------------------------------------------- */
.job-description { color: rgba(255, 255, 255, 0.7); line-height: 1.8; font-size: 18px; }
.job-description p { margin-bottom: var(--s-24); }
.job-description h2, .job-description h3, .job-description h4 { color: #FFFFFF; margin: var(--s-48) 0 var(--s-24) 0; }
.job-description h2 { font-size: 32px; } .job-description h3 { font-size: 24px; }
.job-description ul { margin-bottom: var(--s-32); padding-left: var(--s-24); }
.job-description li { margin-bottom: var(--s-16); list-style-type: disc; }
.job-description li::marker { color: #FF1FB3; }

/* --------------------------------------------------------------------------
   BREADCRUMBS
   -------------------------------------------------------------------------- */
body #breadcrumbs{ font-size: 14px ; color: #8A8AA3 ; margin-bottom: 24px ; }
#breadcrumbs a { color: #FF1FB3; text-decoration: none; transition: color 0.2s; }
#breadcrumbs a:hover { color: #FFFFFF; }
#breadcrumbs span.breadcrumb_last { color: #FFFFFF; }

.custom-breadcrumbs-badge {
    position: relative;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 6px 16px; font-size: 12px; font-weight: 700; 
    background: transparent;
    border: none;
    border-radius: 100px; margin-bottom: 24px;
    z-index: 1;
}
.custom-breadcrumbs-badge::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(90deg, #FF1FB3 0%, rgba(255, 31, 179, 0) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
    pointer-events: none;
}
.custom-breadcrumbs-badge a { color: #FF1FB3; -webkit-text-fill-color: initial; text-decoration: none; font-weight: 700; transition: color 0.3s ease; }
.custom-breadcrumbs-badge a:hover { color: #FFFFFF; text-decoration: none; -webkit-text-fill-color: initial; }
.custom-breadcrumbs-badge .breadcrumb_last { font-weight: 700; color: #FF7A00; -webkit-text-fill-color: initial; }

/* --------------------------------------------------------------------------
   GO TOP BUTTON
   -------------------------------------------------------------------------- */
.go-top-btn {
    position: fixed; bottom: 40px; right: 40px;
    width: 50px; height: 50px; border-radius: 50%;
    background: rgba(22, 22, 29, 0.8); backdrop-filter: blur(8px);
    border: 1px solid #30303D; color: #FF1FB3;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 999;
    opacity: 0; pointer-events: none; transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.go-top-btn.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.go-top-btn:hover { background: #FF1FB3; color: #FFFFFF; border-color: #FF1FB3; }


/* --------------------------------------------------------------------------
   PAGE CONTENT
   -------------------------------------------------------------------------- */
.page-content { padding-top: 0; padding-bottom: var(--s-80); }

/* --------------------------------------------------------------------------
   INNER PAGE HEADERS
   -------------------------------------------------------------------------- */
.custom-page-header {
    padding-top: 180px;
    padding-bottom: 64px;
    position: relative;
}
.custom-page-subtitle { color: rgba(255, 255, 255, 0.7); max-width: 800px; font-size: 18px; line-height: 1.6; margin-top: 16px; }
.custom-page-divider {
    height: 1px; width: 100%; margin-top: 64px;
    background: linear-gradient(90deg, rgba(255,31,179,0) 0%, rgba(255,31,179,0.3) 30%, rgba(192,38,255,0.3) 70%, rgba(255,31,179,0) 100%);
}


/* --------------------------------------------------------------------------
   STORY SECTION (About Page)
   -------------------------------------------------------------------------- */
.custom-story-section { padding: 64px 0 120px 0; }
.story-header { text-align: left; margin-bottom: 64px; }
.story-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    align-items: stretch;
}
.story-card {
    background: linear-gradient(135deg, rgba(255, 64, 90, 0.02) 0%, rgba(192, 38, 255, 0.018) 50%, rgba(123, 77, 255, 0.014) 100%), rgba(22, 22, 29, 0.4); backdrop-filter: blur(12px);
    border: 1px solid #30303D;
    border-radius: 16px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    height: 100%;
}
.story-icon { width: 48px; height: 48px; margin-bottom: 16px; flex-shrink: 0; }
body h3.story-title{
    font-size: 22px; font-weight: 700; color: #FFFFFF;
    margin-top: 0 ; margin-bottom: 12px ; line-height: 1.3;
}
body .story-desc{ font-size: 16px; color: rgba(255, 255, 255, 0.7); line-height: 1.6; margin: 0 ; }
.story-card.card-wide { grid-column: span 7; }
.story-card.card-narrow { grid-column: span 5; }



/* --------------------------------------------------------------------------
   TEAM SECTION (About Page)
   -------------------------------------------------------------------------- */
.custom-team-section { padding: 64px 0 160px 0; }
.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.team-text-side .team-header { margin-bottom: 40px; text-align: left; }
.team-text-side .badge-ghost {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: rgba(255, 31, 179, 0.1);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    color: #FF1FB3;
    margin-bottom: 24px;
}
.team-info-card {
    background: transparent;
    border: none;
    padding: 0;
}
.team-info-card p { font-size: 16px; color: rgba(255, 255, 255, 0.7); line-height: 1.6; margin-bottom: 24px; }
.team-info-card p:last-child { margin-bottom: 0; }

.team-map-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #49495B;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    z-index: 1;
}
.team-map-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: var(--g-brand);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
    pointer-events: none;
}
.team-map-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; display: block; }

/* About two-col layout */
.about-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}


/* --------------------------------------------------------------------------
   SECTION SPACING
   -------------------------------------------------------------------------- */
body .front-stats, body .front-values, body .front-vacancies, body .front-blog, body .front-join-us{
    padding: var(--s-section-gap-mob, 80px) 0 ;
}
@media (min-width: 992px) {
    body .front-stats, body .front-values, body .front-vacancies, body .front-blog, body .front-join-us{
        padding: var(--s-section-gap-pc, 80px) 0 ;
    }
}

/* --------------------------------------------------------------------------
   MOBILE ADAPTATIONS - View All links
   -------------------------------------------------------------------------- */
.desktop-view-all { display: inline-flex; }
.mobile-view-all-wrapper {
    display: none;
    justify-content: center;
    margin-top: 32px;
    width: 100%;
}


/* --------------------------------------------------------------------------
   STICKY FILTER NOTE
   -------------------------------------------------------------------------- */
.sticky-note {
    font-size: 12px;
    color: #FF1FB3;
    margin-top: 12px;
}

/* ==========================================================================
   MOBILE (max-width: 768px)
   ========================================================================== */


/* --------------------------------------------------------------------------
   EXTRACTED FROM INLINE - Component Styles
   -------------------------------------------------------------------------- */

/* --- Hero Badge icon --- */
.hero-badge-icon {
    margin-right: 8px;
}

/* --- Values Section --- */
.values-title {
    margin-bottom: 64px;
    text-align: center;
}
.value-card {
    flex-direction: row; /* override old column - values layout is horizontal */
    gap: 24px;
    padding: 32px;
}
.value-card .value-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
}
.value-card .value-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.value-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 12px 0;
}
.value-card-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
}

/* --- Section Header Row (vacancies, blog header rows) --- */
.section-header-row {
    margin-bottom: 48px;
}
.section-title-inline {
    margin: 0;
    text-align: left;
}

/* --- Link Arrow (View All / See All) --- */
.link-arrow {
    color: #FF1FB3;
}

/* --- Join Us Section --- */
/* --- Desktop/Mobile Mascot Visibility --- */
.mobile-mascot { display: none; }
.desktop-mascot { display: block; }

.join-heading {
    margin-bottom: 24px;
    font-size: 40px;
}
.join-text-desc {
    color: var(--c-text-secondary);
    line-height: 1.6;
    max-width: 380px;
}
.join-mascot-wrap {
    margin-top: 48px;
}
.join-mascot-wrap img {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
}
.join-form-form {
    background: transparent;
}

/* --- Page Header Subtitle (inner pages) --- */
/* Extends .valinor-hero-subtitle for inner pages: resets max-width and left-align */
.page-header-subtitle {
    max-width: 600px;
    margin-left: 0;
}

/* --- Vacancies Page --- */
.vacancies-filters-section {
    padding-bottom: 32px;
}
.vacancies-list-section {
    padding-bottom: 120px;
}

/* Front join-us with border-top variant */
.front-join-us--border-top {
    border-top: 1px solid #30303D;
}

/* --- CTA Block (template-vacancies.php join-us) --- */
.cta-text-wrap {
    max-width: 500px;
}
.cta-heading {
    font-size: 48px;
    margin-bottom: 16px;
}
.cta-desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 40px;
}
.cta-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- Contact Page --- */
.valinor-contact-content {
    padding: 40px 0 120px;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
}
.contact-label {
    color: var(--c-sunset, #FF7A00);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 32px;
}
.contact-block {
    margin-bottom: 24px;
}
.contact-block-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--c-text-primary);
    margin-bottom: 4px;
}
.contact-block-link {
    color: var(--c-text-secondary);
    text-decoration: none;
    font-size: 14px;
}
.contact-block-link:hover {
    color: #FFFFFF;
}
.contact-block-text {
    color: var(--c-text-secondary);
    font-size: 14px;
    margin: 0;
}

/* Form field wrap (replaces div style="position: relative;") */
.form-field-wrap {
    position: relative;
}

/* Textarea specific overrides */
.form-textarea {
    height: 160px;
    resize: vertical;
}

/* Form submit wrapper override - contact page needs margin-top: 32px */
.contact-page .form-submit-wrapper {
    margin-top: 32px;
}

/* Privacy section */
.valinor-privacy {
    padding: 80px 0 120px;
    border-top: 1px solid var(--c-border);
}
.privacy-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--c-text-primary);
    margin-bottom: 24px;
    font-family: var(--font-primary);
}
.privacy-desc {
    font-size: 16px;
    line-height: 1.6;
    color: var(--c-text-secondary);
    max-width: 800px;
}

/* --- About Page --- */
.valinor-history {
    padding: 80px 0;
}
.valinor-history-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px 40px;
}

.history-item {
    border-left: 1px solid #30303D;
    padding-left: 24px;
}
.history-item-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--c-text-primary);
    margin-bottom: 12px;
}
.history-item-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--c-text-secondary);
}

/* front-vacancies with border-top variant (About page) */
.front-vacancies--border-top {
    border-top: 1px solid #30303D;
}

/* --- Single Vacancy Page --- */
.vacancy-single-header {
    position: relative;
    z-index: 1;
    padding: 180px 0 80px;
}
.container--centered {
    margin: 0 auto;
    text-align: center;
}
.back-link-wrap {
    margin-bottom: 24px;
}
.back-link {
    color: #FFB400;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-secondary);
}
.back-link:hover {
    color: #FFFFFF;
}
.back-link-icon {
    margin-right: 8px;
}
.vacancy-title {
    font-size: 56px;
    margin: 0 0 24px 0;
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--c-neutral-100, #FFFFFF);
    line-height: 1.1;
}
.vacancy-meta {
    color: var(--c-neutral-400, #8A8AA3);
    font-size: 16px;
    margin: 0 0 40px 0;
}
.vacancy-apply-btn {
    margin: 0 auto;
}
.vacancy-single-content {
    padding: 80px 0;
}
.vacancy-apply-cta {
    padding: 40px 0 120px;
    text-align: center;
}
.vacancy-cta-box {
    background: var(--g-night-depth, linear-gradient(180deg, #16161D 0%, #0E0D14 100%));
    padding: 56px 40px;
    border-radius: 24px;
    border: 1px solid var(--c-deep-teal, #30303D);
}
.vacancy-cta-title {
    font-size: 32px;
    margin: 0 0 16px 0;
    font-family: var(--font-primary);
}
.vacancy-cta-desc {
    color: var(--c-neutral-400, #8A8AA3);
    margin: 0 0 32px 0;
    font-size: 16px;
}

/* --- Blog Archive Page (home.php) --- */
.blog-archive {
    padding-bottom: 120px;
}
.load-more-wrap {
    margin-top: 64px;
}

/* --- Valinor Stats Section - confirm padding/border (overrides the overly-broad rule above) --- */
.valinor-stats {
    padding: 80px 0;
    border-top: 1px solid #30303D;
    border-bottom: 1px solid #30303D;
}

/* --- Front Values - confirm padding --- */
.front-values {
    padding: 120px 0;
}

/* --- Front Blog - confirm padding --- */
.front-blog {
    padding: 120px 0;
}

/* --- Front Join Us - confirm padding --- */
.front-join-us {
    padding-bottom: 120px;
}

/* --- Custom Page Header - text-align left override --- */
.custom-page-header {
    text-align: left;
}

/* --- Join Form Wrapper - correct column ratio --- */
.front-page .join-form-wrapper {
    grid-template-columns: 1fr 1.5fr;
    gap: 64px;
}

/* Mobile responsive additions for new classes */
@media (max-width: 768px) { .container { padding: 0 15px; } 
    body .mt-64{ margin-top: 40px ; }
    body .hide-on-mobile{ display: none ; }

    .btn-primary, .btn-secondary, .btn-submit { width: auto; }
    body .btn-inline-mob{ width: auto ; display: inline-flex ; }

    body .site-header, body .site-header.scrolled{
        height: 72px ;
        padding: 0 ;
        display: flex;
        align-items: center;
    }
    .label-text { font-size: 12px; color: rgba(255, 255, 255, 0.7); }
    .header-inner { width: 100%; }

    .footer-glow-right { width: 180%; max-width: none; top: -200px; right: -370px; }
    body .footer-title{ font-size: 12px ; line-height: 20px ; color: #49495B ; }
    body .footer-nav a{ font-size: 14px ; }
    body .footer-desc{ font-size: 12px ; }
    body .footer-grid{ grid-template-columns: 1fr 1fr ; gap: 40px 16px ; }
    .footer-col-brand { grid-column: 1 / -1; }

    .card-feature { min-height: 180px; padding: 16px; gap: 12px; }
    .card-feature .card-icon { width: 40px; height: 40px; }
    .card-feature .card-title { font-size: 16px; }

    body .hero{ padding-top: 260px; padding-bottom: 0 ; }
    body .hero-actions{ flex-direction: column; align-items: center; padding: 0 ; }
    body .hero-actions .btn{ width: auto ; }
    .hero-title { font-size: 36px; }
    .hero-subtitle { font-size: 16px; }
    body .hero-media.mt-64{ margin-top: -120px ; }
    body .hero-img-desktop{ display: none ; }
    body .hero-img-mobile{ display: block ; max-height: 400px ; object-fit: cover ; }
    body .hero-overlay{ display: none ; }
    body .hero-overlay_mobile{
        display: block ;
        position: absolute ; top: 0 ; left: 0 ;
        width: 100% ; height: 100% ;
        z-index: 0 ;
    }

    .front-hero { padding: 260px 0 60px; }
    .valinor-hero-grid {
        max-width: 100%;
        align-items: center;
        text-align: center;
    }
    .valinor-hero-content { align-items: center; }
    .valinor-hero-title { font-size: 28px; text-align: center; }
    .valinor-hero-subtitle { text-align: center; max-width: 100%; font-size: 16px; }
    .valinor-hero-actions { flex-direction: column; align-items: center; width: 100%; gap: 12px; }
    .valinor-hero-actions .btn, .valinor-hero-actions a { width: auto; justify-content: center; }

    .stats-grid { flex-direction: column; text-align: center; gap: var(--s-64); }
    .stats-items { flex-direction: column; gap: var(--s-48); align-items: center; width: 100%; }
    .stats-text { text-align: center; max-width: 100%; }
    .stats-text h3 { font-size: 20px; }
    body .stats-text h3.text-gradient{ display: inline-block ; text-align: center; }
    .about-statistics-inner { gap: 48px; flex-direction: column; }

    .values-grid { grid-template-columns: 1fr; }
    body .valinor-values-grid{ grid-template-columns: 1fr ; }
    .front-values { padding: var(--s-64) 0 var(--s-80); }

    .section-glow-pc { display: none; }
    .section-glow-mob { display: block; }
    .section-glow-wrapper img { max-width: 200%; left: -300px; top: -200px; }
    .section-glow-wrapper { top: -40px; max-width: 100vw; }

    .section-glow-3-4-left img { left: -400px; top: -80px; max-width: 200%; }
    body .section-glow-3-4-right img{ left: auto ; right: -350px; top: -950px; max-width: 200%; }
    body .vacancy-card{ padding: 16px 20px ; }

    .vacancies-filter-bar { padding: 14px 15px; margin: 0 -15px 32px; }

    .vacancies-filter-bar { flex-direction: column; align-items: flex-start; }
    .filter-group { flex-direction: column; width: 100%; }
    .filter-select { width: 100%; }
    .cta-box { padding: var(--s-32); }
    .cta-actions { flex-direction: column; align-items: center; }
    body .cta-box h2{ font-size: 32px ; }

    .vacancies-filter-bar.is-sticky { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }

    .blog-filter-bar-wrapper { padding: 14px 15px; margin: 0 -15px 32px; }

    body .blog-grid{ grid-template-columns: 1fr ; }
    .blog-card-img { height: 140px; }
    .blog-card-title { font-size: 16px; }

    .form-light-full { width: 250%; max-width: none; top: 200px; left: 50%; transform: translate(-50%, -50%); }
    .form-light-mini { left: -400px; bottom: 0; width: 200%; max-width: none; }

    body .file-drop-success, body .file-drop-failed{ justify-content: center ; }
    body .file-drop-info{ width: auto ; justify-content: center ; flex-wrap: wrap ; }
    .file-name { max-width: calc(100% - 28px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

    body .join-form-wrapper{
        grid-template-columns: 1fr ;
        gap: 0 ;
        padding: 0 ;
    }
    .join-form-text { display: flex; flex-direction: column; align-items: center; text-align: center; }
    body .desktop-mascot { display: none; }
    body .mobile-mascot { display: block; margin-top: -60px; margin-bottom: 24px; text-align: center; }
    body .mobile-mascot img { border-radius: 16px; position: relative; z-index: 2; width: 100%; height: auto;  display: inline-block; }
    
    body .join-form-form {
        position: relative;
        margin-top: 0;
        padding: 24px 14px;
        border-radius: 24px;
        background: linear-gradient(90deg, rgba(225, 0, 255, 0.05) 0%, rgba(0, 0, 0, 0) 100%);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid transparent;
        background-clip: padding-box;
        z-index: 1;
    }
    body .join-form-form::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        padding: 1px;
        background: linear-gradient(90deg, #E100FF 0%, #8111A6 25%, #A81462 50%, #3F0917 75%, rgba(11, 1, 17, 0) 100%);
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        z-index: -1;
        pointer-events: none;
    }

    body .form-grid{ grid-template-columns: 1fr 1fr ; gap: 12px ; }
    body .form-grid > *.full-width,
    body .file-drop-area, body .checkbox-label, body .form-submit-wrapper{ grid-column: 1 / -1 ; }
    .form-submit-wrapper { justify-content: center; }
    .btn-submit { width: 100%; }
 .go-top-btn { bottom: 20px; right: 20px; width: 44px; height: 50px; } 
    .custom-page-header { padding-top: 120px; padding-bottom: 48px; }
    .custom-page-subtitle { font-size: 16px; }
    .custom-page-divider { margin-top: 48px; }

    .story-grid { gap: 16px; }
    .story-card.card-wide, .story-card.card-narrow { grid-column: span 12; }
    .story-card { padding: 32px 24px; }
    .custom-story-section { padding: 40px 0 80px 0; }
    .story-header { margin-bottom: 40px; }

    body .about-two-col{ grid-template-columns: 1fr ; gap: 40px; }
    body .team-grid{ grid-template-columns: 1fr ; gap: 48px; }
    .custom-team-section { padding: 40px 0 80px 0; }
    .team-text-side .team-header { margin-bottom: 32px; }
    .team-info-card p { font-size: 16px; margin-bottom: 20px; }

    body .desktop-view-all{ display: none ; }
    body .mobile-view-all-wrapper{ display: flex ; }
    
    
    

    /* Global centering on mobile */
    body .section-title{ text-align: center ; }
    body .valinor-label-title{ display: flex ; width: max-content ; margin-left: auto ; margin-right: auto ; }
    body h2, body .h2, body .cta-box h2, body .job-description h2, body .entry-content h2{ font-size: 28px ; line-height: 1.2 ; }


    /* Container */
    body .container{ padding: 0 15px ; }

    /* Hero - text centered */
    body .front-hero{ padding: 260px 0 60px ; }
    body .valinor-hero-grid{ max-width: 100% ; align-items: center ; text-align: center ; }
    body .valinor-hero-content{ align-items: center ; }
    body .valinor-hero-badge{ display: flex ; width: max-content ; margin: 0 auto 24px auto ; }
    body .valinor-hero-title{ font-size: 24px ; text-align: center ; }
    body .valinor-hero-subtitle{ text-align: center ; max-width: 100% ; font-size: 16px ; }
    body .valinor-hero-actions{ margin-top:30px; flex-direction: column ; align-items: center; width: 100% ; gap: 12px ; }
    body .valinor-hero-actions .btn, body .valinor-hero-actions a{ width: auto ; justify-content: center ; }

    /* Stats */
    body .valinor-stats-grid{ grid-template-columns: 1fr ; gap: 0 ; }
    body .stat-item{
        padding: 24px 0 ;
       
        border-right: none ;
        border-left: none ;
        text-align: center ;
    }
    body .stat-item:first-child, body .stat-item:nth-child(2), body .stat-item:last-child{
        padding-left: 0 ; padding-right: 0 ;
    }
    body .stat-item:last-child{ border-bottom: none ; }
    body .stat-number{ font-size: 36px ; }
    body .stat-label{ margin-bottom: 0 ; }
    body .stat-desc{ display: none ; }
    body .stats-bottom-text{ display: block ; }

    /* Section labels + titles centered */
    body .valinor-label-title{ display: flex ; width: max-content ; margin-left: auto ; margin-right: auto ; background: #00000060; }
    body .front-values .section-title,
    body .front-vacancies .section-title,
    body .front-blog .section-title{ text-align: center ; }

    /* Values */
    body .front-values{ padding: 48px 0 ; }
    body .valinor-values-grid{ grid-template-columns: 1fr ; gap: 12px ; }
    body .value-card{ padding: 20px ; }

    /* Vacancies */
    body .front-vacancies{ padding: 48px 0 ; }
    body .vacancies-list{ gap: 8px ; }
    body .vacancy-card{
        flex-direction: row ;
        align-items: center ;
        padding: 14px 16px ;
    }
    body .vacancy-info{ flex: 1 ; }
    body .vacancy-info h4{ font-size: 14px ; }
    body .vacancy-info p{ font-size: 12px ; }
    body .vacancy-apply{ flex-shrink: 0 ; }
    body .section-header-row{ flex-direction: column ; gap: 16px ; align-items: center ; text-align: center ; }

    /* Blog */
    body .front-blog{ padding: 48px 0 ; }
    body .blog-grid{ grid-template-columns: 1fr ; gap: 24px ; }
    body .blog-card-img{ height: 180px ; }

    /* Join us */
    body .front-join-us{ padding: 48px 0 ; }
    body .join-form-wrapper{ grid-template-columns: 1fr ; gap: 32px ; }
    body .form-grid{ grid-template-columns: 1fr ; gap: 12px ; }
    body .btn-submit{ width: 100% ; }

    /* Filter bars */
    body .vacancies-filter-bar{ padding: 12px 15px ; margin: 0 -15px 32px ; flex-direction: column ; align-items: flex-start ; }
    body .filter-group{ width: 100% ; flex-direction: column ; gap: 8px ; }
    body .filter-select{ width: 100% ; min-width: 0 ; }
    body .filter-count{ margin-top: 4px ; }
    body .blog-filter-bar-wrapper{ padding: 12px 15px ; margin: 0 -15px 32px ; }

    /* Page headers */
    body .custom-page-header{ padding: 120px 0 40px ; }
    body h1.valinor-hero-title{ text-align: center ; }

    /* Footer */
    body .site-footer{ padding: 48px 0 32px ; }
    body .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 16px; } body .footer-col-brand { grid-column: 1 / -1; margin-bottom: 16px; }
    /* removed broken auto span */

    /* About */
    body .valinor-history-grid{ grid-template-columns: 1fr ; }
    body .locations-grid{ grid-template-columns: 1fr ; }
    body .about-two-col{ grid-template-columns: 1fr ; gap: 40px; }
    body .team-grid{ grid-template-columns: 1fr ; gap: 48px; }

    /* View all links */
    body .desktop-view-all{ display: none ; }
    body .mobile-view-all-wrapper{ display: flex ; }
    
    
    

    /* Section titles */
    body h2, body .section-title{ font-size: 28px ; line-height: 1.2 ; }

    /* Buttons */
    body .btn{ font-size: 16px ; }

    body .contact-grid{ grid-template-columns: 1fr ; gap: 48px ; }
    body .valinor-history-grid{ grid-template-columns: 1fr ; }
    .cta-actions { flex-direction: column; align-items: center; }
    body .vacancy-title{ font-size: 36px ; }
    .vacancy-cta-box { padding: 32px 24px; }
    body .vacancy-cta-title{ font-size: 24px ; }
    body .values-title{ text-align: center ; margin-bottom: 40px; }
    body .join-heading{ font-size: 32px ; }
    body .cta-heading{ font-size: 32px ; }
    .page-header-subtitle { max-width: 100%; }
    .load-more-wrap { margin-top: 40px; }
    .back-link-wrap { text-align: left; }
    .valinor-privacy { padding: 48px 0 80px; }

    /* --- MOBILE DENSITY & BACKGROUND FIXES --- */
   
.valinor-label-title .text {
    background: linear-gradient(90deg, #961693 0%, #FF1FB3 33%, #F92B4A 66%, #FF7A00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}
.valinor-label-title {
    font-size: 12px;
    font-weight: 700;
    line-height: 24px;
}

    body h1, body h2, body .valinor-hero-title, body .section-title, body .join-heading, body .values-title, body .vacancy-title, body .cta-heading { margin-bottom: 12px; }
    body .valinor-hero-subtitle, body .join-text-desc, body .page-header-subtitle { margin-bottom: 4px; }
    
    body .front-hero, body .valinor-stats, body .front-values, body .front-vacancies, body .front-blog, body .front-join-us, body .custom-page-header, body .site-footer {
        background-position: top center !important;
    }

    /* Fix for huge gap in join us on mobile */
    body.front-page .join-form-wrapper { gap: 0 !important; }
}

/* Custom SVG Arrow Hover Effect */
.custom-arrow {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 16px;
    margin-left: 8px;
    vertical-align: middle;
}
.custom-arrow img {
    transition: opacity 0.3s ease;
    width: 100%;
    height: 100%;
    display: block;
}
.custom-arrow .arrow-hover {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}
a:hover .custom-arrow .arrow-default { opacity: 0; }
a:hover .custom-arrow .arrow-hover { opacity: 1; }
.btn:hover .custom-arrow .arrow-default { opacity: 0; }
.btn:hover .custom-arrow .arrow-hover { opacity: 1; }

/* Cleaned up Blog Page */
.custom-page-header-blog { text-align: left; padding: 160px 0 48px; }
.blog-list-wrap { padding-bottom: 120px; }
.empty-msg { color: #8A8AA3; }


/* Cleaned up Single Post & Header */
.post-single-header-wrap { padding: 180px 0 80px; }
.post-title-main { font-size: 48px; margin: 0 0 16px 0; font-weight: 700; color: #FFFFFF; line-height: 1.2; }
.post-meta-main { color: #8A8AA3; font-size: 16px; margin: 0; }
.post-content-wrap { padding: 80px 0 120px; }
.post-image-wrap { margin-bottom: 64px; border-radius: 24px; padding: 8px; background: #09080E; border: 1px solid #30303D; }
.post-image-main { width: 100%; height: clamp(300px, 40vw, 400px); object-fit: cover; border-radius: 20px; display: block; }
.header-logo-text { margin: 0; color: #FFFFFF; }
.mobile-menu-footer-inner { margin-top: auto; padding-top: 24px; padding-bottom: 48px; text-align: center; display: flex; justify-content: center; }
.btn-full-width { width: 100%; }


/* Hide "Apply" text on mobile vacancy cards */
@media (max-width: 768px) {
    body .vacancy-apply span:not(.custom-arrow) {
        display: none;
    }
}


/* Mobile adaptations for Single Blog Post */
@media (max-width: 768px) {
    .post-single-header-wrap {
        padding: 140px 0 40px !important;
    }
    .post-content-wrap {
        padding: 40px 0 80px !important;
    }
    .post-title-main {
        font-size: 32px !important;
        line-height: 1.2 !important;
        margin-bottom: 12px !important;
    }
    .post-image-wrap {
        margin-bottom: 32px !important;
    }
    .post-image-main {
        height: 250px !important;
    }
}


/* Restore plain text style for Blog "See All Articles" on mobile */
@media (max-width: 768px) {
    body .front-blog .mobile-view-all-wrapper a {
        color: #FFB400 !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        border: none !important;
        background: transparent !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-decoration: none !important;
        height: auto !important;
        padding: 0 !important;
        box-shadow: none !important;
    }
    body .front-blog .mobile-view-all-wrapper a::before {
        display: none !important;
    }
    body .front-blog .mobile-view-all-wrapper a .custom-arrow {
        display: none !important;
    }
}


/* Footer Nav List Extracted */
.footer-nav-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.footer-nav-list a { color: #8A8AA3; text-decoration: none; font-size: 14px; transition: color 0.2s ease; }
.footer-nav-list a:hover { color: #FFFFFF; }
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 40px 16px !important; }
    .footer-col-brand { grid-column: 1 / -1; }
}

