@font-face {
    font-family: 'iviSansBase';
    src: url('/assets/fonts/iviSansBase-Regular.woff2') format('woff2'),
         url('/assets/fonts/iviSansBase-Regular.woff')  format('woff'),
         url('/assets/fonts/iviSansBase-Regular.ttf')   format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'iviSansBase';
    src: url('/assets/fonts/iviSansBase-Medium.woff2') format('woff2'),
         url('/assets/fonts/iviSansBase-Medium.woff')  format('woff'),
         url('/assets/fonts/iviSansBase-Medium.ttf')   format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'iviSansBase';
    src: url('/assets/fonts/iviSansBase-Bold.woff2') format('woff2'),
         url('/assets/fonts/iviSansBase-Bold.woff')  format('woff'),
         url('/assets/fonts/iviSansBase-Bold.ttf')   format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

:root {
    --bg: #fdf7f7;          /* alb cu nuanta calda */
    --bg-2: #ffffff;        /* alb-roz foarte palid */
    --surface: #ffffff;     /* card-uri albe */
    --text: #2a1620;        /* aproape negru cu nuanta visiniu */
    --text-muted: #7a6770;
    --primary: #c1293e;     /* rosu brand (ca pe invitatie) */
    --primary-hover: #a51e30;
    --gold: #d4a017;        /* aur unitar pentru titluri (galben mai aprins) */
    --gold-bright: #f5c842; /* aur deschis pt. fundaluri rosii */
    --border: rgba(193,41,62,0.14);
    --header-h: 64px;
    --container: 1408px;
    --hero-radius: 20px;
}

html, body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', 'iviSansBase', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, Helvetica, 'Helvetica Neue', sans-serif;
    font-feature-settings: 'cv11','ss01','ss03';
    letter-spacing: -0.005em;
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body {
    background: #ffffff;
    min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { border: none; background: none; color: inherit; font: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

/* ============ HEADER ============ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-h);
    background: linear-gradient(180deg, #7a1e28 0%, #8a2330 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.header-inner {
    max-width: 1760px;
    margin: 0 auto;
    padding: 0 32px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
}
.logo-img {
    height: 90px;
    width: auto;
    display: block;
    object-fit: contain;
}
.site-header { height: 88px; }
.site-footer .logo-img { height: 80px; }
.logo-mark {
    background: linear-gradient(135deg, #c1293e 0%, #9a1f30 100%);
    color: #fff;
    width: 48px; height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 1px;
}

.main-nav { flex: 1 1 auto; min-width: 0; }
.main-nav ul {
    display: flex;
    gap: 28px;
}
.main-nav a {
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    font-size: 15px;
    transition: color .15s;
}
.main-nav a:hover { color: var(--gold-bright); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
}
.btn-cta {
    background: var(--primary);
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: background .15s;
    white-space: nowrap;
}
.btn-cta:hover { background: var(--primary-hover); }
.btn-cta { display: inline-flex; align-items: center; gap: 8px; }
.btn-cta__icon { flex-shrink: 0; width: 18px; height: 18px; display: block; filter: brightness(0) invert(1); }

/* ---------- Hamburger button (mobile) ---------- */
.nav-toggle {
    display: none;
    width: 40px; height: 40px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-left: auto;
}
.nav-toggle:hover { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.08); }
.nav-toggle__bar {
    width: 22px; height: 2px;
    background: #fff; border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile drawer ---------- */
.mobile-drawer {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(340px, 88vw);
    background: #0a0a0a;
    border-left: 1px solid rgba(255,255,255,0.08);
    z-index: 200;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .32s cubic-bezier(.22,.61,.36,1);
    box-shadow: -16px 0 48px rgba(0,0,0,.5);
    display: flex;
    flex-direction: column;
    visibility: hidden;
}
.mobile-drawer.is-open { transform: translateX(0); visibility: visible; }

.mobile-drawer__header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 12px 16px;
    min-height: 88px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}
.mobile-drawer__logo {
    position: absolute;
    top: 0;
    left: 16px;
    display: block;
    line-height: 0;
}
.mobile-drawer__logo img { height: 73px; width: auto; display: block; }
.mobile-drawer__close {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text);
    width: 40px; height: 40px;
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .15s, color .15s, border-color .15s;
}
.mobile-drawer__close:hover { background: rgba(255,255,255,0.06); color: var(--gold); border-color: var(--gold); }

.mobile-drawer__nav { padding: 8px 0 32px; }
.mobile-drawer__nav ul { list-style: none; padding: 0; margin: 0; }
.mobile-drawer__nav li { list-style: none; }
.mobile-drawer__nav a,
.m-nav__toggle {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 14px 20px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background .15s, color .15s;
    font-family: inherit;
}
.mobile-drawer__nav a:hover,
.m-nav__toggle:hover { background: rgba(255,255,255,0.08); color: var(--gold-bright); }
.m-nav__toggle { justify-content: space-between; }
.m-nav__chevron { transition: transform .25s ease; flex-shrink: 0; color: rgba(255,255,255,0.8); }
.m-nav__item--group.is-open .m-nav__chevron { transform: rotate(180deg); color: var(--gold-bright); }
.m-nav__sub {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    background: rgba(255,255,255,0.04);
}
.m-nav__item--group.is-open .m-nav__sub { max-height: 400px; }
.m-nav__sub a { padding: 12px 20px 12px 36px; font-size: 14px; color: rgba(255,255,255,0.78); }
.m-nav__sub a:hover { color: var(--gold-bright); background: rgba(255,255,255,0.06); }

.mobile-drawer__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 199;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}
.mobile-drawer__backdrop.is-open { opacity: 1; pointer-events: auto; }

body.no-scroll { overflow: hidden; }

.header-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    transition: color .15s, background .15s;
}
.header-icon:hover { color: #fff; background: rgba(255,255,255,0.06); }
.header-icon-only { padding: 8px; }
.header-icon-only:hover { background: rgba(255,255,255,0.06); }

.header-lang {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 10px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    transition: background .15s, color .15s;
}
.header-lang:hover { color: #fff; background: rgba(255,255,255,0.06); }
.flag {
    background: linear-gradient(180deg, #002b7f 33%, #f9d34c 33% 66%, #ce1126 66%);
    color: transparent;
    width: 22px; height: 16px;
    border-radius: 3px;
    font-size: 0;
    display: inline-block;
}

.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.06);
    color: #fff;
    padding: 8px 16px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: background .15s;
}
.btn-login:hover { background: rgba(255,255,255,0.12); }

.hero {
    position: relative;
    padding: 36px 0 28px;
}

.hero-track {
    --gap: 16px;
    --peek: 56px; /* cat se vede din slide-urile vecine */
    display: flex;
    gap: var(--gap);
    padding: 0 var(--peek);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.hero-track::-webkit-scrollbar { display: none; }
.hero-card { scroll-snap-align: center; }

.hero-card {
    position: relative;
    flex: 0 0 calc(100% - 2 * var(--peek) - 2 * var(--gap));
    aspect-ratio: 16 / 7;
    min-height: 360px;
    border-radius: var(--hero-radius);
    overflow: hidden;
    background-size: cover;
    background-position: top center;
    background-color: #000;
    opacity: .35;
    transform: scale(.96);
    transition: opacity .5s ease, transform .5s ease;
}
.hero-card.is-active {
    opacity: 1;
    transform: scale(1);
}

.hero-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(16,14,25,0.55) 0%, rgba(16,14,25,0) 35%);
}

.hero-card-content {
    position: absolute;
    left: 0; bottom: 0;
    padding: 48px 56px;
    max-width: 620px;
    z-index: 2;
}

.hero-card-title {
    font-weight: 800;
    letter-spacing: -0.015em;
    color: var(--gold);
    font-size: clamp(36px, 4.5vw, 64px);
    line-height: 1.05;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 18px;
    text-shadow: 0 2px 24px rgba(0,0,0,0.5);
}

.hero-card-desc {
    color: rgba(255,255,255,0.9);
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 24px;
    max-width: 480px;
}

.hero-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.hero-card-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    transition: background .15s, transform .15s, border-color .15s, color .15s;
    border: 1px solid var(--primary);
}
.hero-card-cta:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-1px);
}
.hero-card-cta--ghost {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.35);
    color: #fff;
    backdrop-filter: blur(6px);
}
.hero-card-cta--ghost:hover {
    background: rgba(255,255,255,0.18);
    border-color: #fff;
    color: var(--gold);
}

/* sageti */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, color .2s, transform .2s;
}
.hero-arrow:hover {
    background: rgba(255,255,255,0.18);
    color: #fff;
}
.hero-arrow-prev { left: 12px; }
.hero-arrow-next { right: 12px; }

/* dots */
.hero-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
}
.hero-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(193,41,62,0.30);
    transition: background .2s, width .2s;
}
.hero-dot:hover { background: rgba(193,41,62,0.55); }
.hero-dot.active {
    background: var(--primary);
    width: 22px;
    border-radius: 3px;
}

/* ============ GALLERY ============ */
.gallery {
    margin: 32px 0;
    position: relative;
}
.gallery__header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 0 56px;
    margin-bottom: 20px;
}
.gallery__title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.2px;
    color: var(--text);
}
.gallery__title a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--text);
    transition: color .15s;
}
.gallery__title a:hover { color: var(--primary); }
.gallery__title-arrow {
    opacity: .5;
    transition: transform .2s, opacity .2s;
}
.gallery__title a:hover .gallery__title-arrow {
    opacity: 1;
    transform: translateX(2px);
}
.gallery__subtitle {
    color: var(--text-muted);
    font-size: 14px;
}

/* carusel */
.gallery__carousel {
    position: relative;
}
.gallery__viewport {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 56px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}
.gallery__viewport::-webkit-scrollbar { display: none; }

.ivi-carousel-container {
    display: flex;
    align-items: stretch;
    --gallery-gap: 24px;
    --gallery-cols: 3;
    gap: var(--gallery-gap);
}
.ivi-carousel-item {
    flex: 0 0 calc((100% - (var(--gallery-cols) - 1) * var(--gallery-gap)) / var(--gallery-cols));
    box-sizing: border-box;
}

/* card */
.nbl-slimPosterBlock {
    display: block;
    color: inherit;
    transition: transform .25s ease;
}
.nbl-slimPosterBlock:hover { transform: translateY(-4px); }

.nbl-slimPosterBlock__imageSection {
    position: relative;
}

.nbl-poster {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    overflow: hidden;
    background: #7a3a42;
}

/* titlu si meta sub poster */
.nbl-slimPosterBlock__info {
    padding: 12px 4px 0;
}
.nbl-slimPosterBlock__title {
    color: var(--text);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s;
}
.nbl-slimPosterBlock:hover .nbl-slimPosterBlock__title { color: var(--gold); }
.nbl-slimPosterBlock__meta {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.4;
}
.nbl-slimPosterBlock__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 4px 0;
}
.nbl-slimPosterBlock__buy {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 10px;
    text-align: center;
    min-width: 0;
}
.nbl-slimPosterBlock__details {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    text-align: center;
    transition: background .15s, color .15s, border-color .15s;
    min-width: 0;
}
.nbl-slimPosterBlock__details:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.nbl-poster__imageWrapper {
    position: absolute;
    inset: 0;
}
.nbl-poster__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.nbl-slimPosterBlock:hover .nbl-poster__image {
    transform: scale(1.04);
}

/* age badge - stanga sus */
.nbl-ageBadge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 6px;
    border-radius: 6px;
    line-height: 1;
    z-index: 2;
}

/* subscription badge - dreapta sus */
.nbl-subscriptionBadge {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
}
.nbl-subscriptionBadge__logo {
    background: linear-gradient(135deg, #c1293e 0%, #9a1f30 100%);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 7px;
    border-radius: 6px;
    letter-spacing: .5px;
    display: inline-block;
}

/* properties - apar la hover (overlay jos) */
.nbl-poster__properties {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 10px;
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease;
    z-index: 1;
}
.nbl-slimPosterBlock:hover .nbl-poster__properties {
    opacity: 1;
    transform: translateY(0);
}

.nbl-poster__propertiesRow {
    color: #fff;
    font-size: 11px;
    line-height: 1.35;
    margin-top: 2px;
}
.nbl-poster__propertiesInfo .nbl-poster__propertiesRow {
    color: rgba(255,255,255,0.75);
}

/* rating compact */
.nbl-ratingCompact {
    display: inline-block;
    margin-bottom: 4px;
}
.nbl-ratingCompact__value {
    color: #51b53b; /* verde ivi pentru rating bun */
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
}
.nbl-ratingCompact__valueFraction {
    font-size: 11px;
    opacity: .85;
}

/* sageti carusel - rotunde, vizibile mereu */
.xArrowButton {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-2);
    border: 1px solid var(--border);
    color: var(--text);
    z-index: 4;
    cursor: pointer;
    opacity: 1;
    box-shadow: 0 8px 24px rgba(0,0,0,.4);
    transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.xArrowButton svg { width: 18px; height: 18px; }
.xArrowButton:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #1a1320;
}
.xArrowButton_direction_left  { left: 12px; }
.xArrowButton_direction_right { right: 12px; }
.xArrowButton:disabled,
.xArrowButton[hidden] { display: none; }

.ivi-carousel__shadow_left,
.ivi-carousel__shadow_right {
    position: absolute;
    top: 0; bottom: 0;
    width: 56px;
    pointer-events: none;
    z-index: 3;
}
.ivi-carousel__shadow_left { left: 0; }
.ivi-carousel__shadow_right { right: 0; }

@media (max-width: 1100px) {
    .gallery__header { padding: 0 32px; }
    .gallery__viewport { padding: 0 32px; }
    .xArrowButton { width: 40px; height: 40px; }
    .xArrowButton svg { width: 16px; height: 16px; }
    .ivi-carousel-container { --gallery-cols: 2; --gallery-gap: 20px; }
}
@media (max-width: 640px) {
    .gallery__header { padding: 0 16px; }
    .gallery__viewport { padding: 0 16px; }
    .gallery__title { font-size: 18px; }
    .ivi-carousel-container { --gallery-cols: 1.5; --gallery-gap: 14px; }
    .nbl-slimPosterBlock__title { font-size: 15px; }
    .xArrowButton, .ivi-carousel__shadow_left, .ivi-carousel__shadow_right { display: none; }
    /* pe mobile properties mereu vizibile */
    .nbl-poster__properties { opacity: 1; transform: none; }
}

.main-page {
    background-color: transparent;
    position: relative;
    padding: 80px 0 120px;
    /* margin-top: 80px; */
}
@media (min-width: 1025px) {
    .main-page { padding-top: 112px; }
}
@media (max-width: 699px) {
    .main-page { padding-top: 48px; }
}
.main-page__container {
    box-sizing: border-box;
    max-width: 1366px;
    margin: 0 auto;
    padding: 0 32px;
}
@media (max-width: 699px) {
    .main-page__container { padding: 0 20px; }
}

/* titlu sectiune (centrat, alb, mare) */
.main-page__title-inner {
    color: #fff;
    font-family: 'Inter', 'iviSansBase', 'iviSans', Arial, sans-serif;
    margin: 0 auto 64px;
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    line-height: 44px;
    max-width: 880px;
}
@media (min-width: 1025px) {
    .main-page__title-inner { font-size: 48px; line-height: 48px; margin-bottom: 80px; }
}
@media (max-width: 699px) {
    .main-page__title-inner { font-size: 24px; line-height: 28px; margin-bottom: 48px; }
}

/* ============ Vacancii (3 carduri) ============ */
.main-vacancies { padding: 16px 0; }
.main-vacancies__list {
    display: grid;
    list-style: none;
    margin: 0; padding: 0;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
@media (max-width: 1024px) {
    .main-vacancies__list { grid-template-columns: repeat(2, 1fr); }
    .main-vacancies__item:first-child { grid-column: span 2; }
}
@media (max-width: 699px) {
    .main-vacancies__list { grid-template-columns: 1fr; gap: 12px; }
    .main-vacancies__item:first-child { grid-column: auto; }
}
.main-vacancies__item {
    box-sizing: border-box;
    height: 400px;
    width: 100%;
}
@media (max-width: 699px) {
    .main-vacancies__item { height: 260px; }
}

.vacancies-item {
    background: var(--primary);
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    transition: transform .3s, box-shadow .3s;
    box-shadow: 0 12px 28px rgba(193,41,62,.25);
}
.vacancies-item:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(193,41,62,.35); }
.vacancies-item__link {
    box-sizing: border-box;
    display: block;
    height: 100%;
    padding: 24px;
    width: 100%;
}
.vacancies-item__image {
    bottom: 0; right: 0;
    display: block;
    position: absolute;
    width: auto;
    height: 70%;
    max-width: 60%;
    object-fit: contain;
    object-position: bottom right;
    pointer-events: none;
    transition: transform .35s ease, opacity .35s ease;
    transform-origin: bottom right;
    opacity: .95;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,.4));
    z-index: 0;
}
.vacancies-item__link { position: relative; z-index: 1; }
.vacancies-item__text { max-width: 60%; }
@media (max-width: 1024px) {
    .vacancies-item__image { height: 65%; max-width: 55%; }
    .vacancies-item__text { max-width: 65%; }
}
@media (max-width: 699px) {
    .vacancies-item__image { height: 85%; max-width: 50%; }
    .vacancies-item__text { max-width: 60%; }
    .vacancies-item__link { padding: 20px; }
}
.vacancies-item__title {
    color: var(--gold-bright);
    margin: 0 0 12px;
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
}
@media (max-width: 699px) {
    .vacancies-item__title { font-size: 20px; line-height: 24px; }
}
.vacancies-item__text {
    color: rgba(255,255,255,0.85);
    margin: 0;
    font-size: 17px;
    font-weight: 400;
    line-height: 24px;
    max-width: 280px;
}

/* ============ Achievements (stats inline) ============ */
.main-achievements {
    background: transparent;
    position: relative;
    z-index: 2;
    padding: 64px 0 24px;
}
@media (max-width: 699px) {
    .main-achievements { padding: 40px 0 16px; }
}
.main-achievements__title {
    color: var(--text);
    max-width: 880px;
    margin: 0 auto 28px;
    text-align: center;
    font-weight: 700;
    line-height: 1.3;
}
@media (max-width: 699px) {
    .main-achievements__title { text-align: left; margin-bottom: 20px; }
}

.main-achievements__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0; padding: 0;
    gap: 8px 40px;
}
.main-achievements__item + .main-achievements__item {
    position: relative;
    padding-left: 40px;
}
.main-achievements__item + .main-achievements__item::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 36px;
    background: linear-gradient(180deg, transparent, rgba(193,41,62,0.25), transparent);
}
@media (max-width: 699px) {
    .main-achievements__list { gap: 16px 0; flex-direction: column; align-items: flex-start; }
    .main-achievements__item + .main-achievements__item { padding-left: 0; }
    .main-achievements__item + .main-achievements__item::before { display: none; }
}

.achievements-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: transparent;
    border: none;
    padding: 0;
    height: auto;
    position: relative;
    gap: 4px;
}
@media (max-width: 699px) {
    .achievements-item { align-items: flex-start; text-align: left; flex-direction: row; gap: 14px; }
}
.achievements-item__digit {
    color: var(--primary);
    font-family: 'Inter', 'iviSansBase', 'iviSans', Arial, sans-serif;
    font-size: 44px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.02em;
}
@media (max-width: 699px) { .achievements-item__digit { font-size: 32px; min-width: 64px; } }
.achievements-item__text {
    color: var(--text-muted);
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    max-width: 180px;
}
@media (max-width: 699px) { .achievements-item__text { font-size: 14px; max-width: none; align-self: center; } }
.achievements-item__text sup { color: var(--primary); font-size: 10px; }

/* CTA mare cu fundal foto */
.main-achievements__cta { margin-top: 56px; }
.achievements-cta {
    background: linear-gradient(160deg, #b3343f 0%, #8a1f2c 100%);
    border-radius: 24px;
    box-sizing: border-box;
    height: 360px;
    width: 100%;
    padding: 0;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}
.achievements-cta__media {
    position: absolute;
    right: 0;
    bottom: -120px;
    height: calc(100% + 120px);
    width: 70%;
    object-fit: cover;
    object-position: right bottom;
    display: block;
    z-index: 0;
    -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 18%, rgba(0,0,0,1) 45%, rgba(0,0,0,1) 100%);
            mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 18%, rgba(0,0,0,1) 45%, rgba(0,0,0,1) 100%);
    pointer-events: none;
}
.achievements-cta__btn {
    position: absolute;
    right: 28px;
    bottom: 28px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: var(--primary);
    color: #fff;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s, transform .15s, box-shadow .15s;
    box-shadow: 0 10px 24px rgba(0,0,0,.35);
}
.achievements-cta__btn:hover { background: var(--primary-hover); transform: translateY(-1px); }
.achievements-cta__btn svg { flex-shrink: 0; }
@media (max-width: 699px) {
    .achievements-cta__btn {
        right: 16px;
        bottom: 16px;
        padding: 10px 14px;
        font-size: 13px;
    }
}

.achievements-cta__text {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    z-index: 2;
    color: #fff;
    font-family: 'Inter', 'iviSansBase', 'iviSans', Arial, sans-serif;
    margin: 0;
    padding: 32px 24px 32px 40px;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    text-shadow: 0 2px 12px rgba(0,0,0,0.45);
}
@media (max-width: 1024px) {
    .achievements-cta__text { font-size: 36px; line-height: 40px; padding: 24px 16px 24px 28px; }
}
@media (max-width: 699px) {
    .main-achievements__cta { margin: 34px 0 0; }
    .achievements-cta {
        height: 320px;
        width: 100%;
        background: transparent;
        grid-template-columns: 1fr;
        align-items: end;
        border-radius: 24px;
    }
    .achievements-cta__media {
        position: absolute;
        inset: 0;
        width: 100%; height: 100%;
        bottom: 0;
        object-fit: cover;
        object-position: center;
        -webkit-mask-image: none;
                mask-image: none;
        z-index: 0;
    }
    .achievements-cta__text { display: none; }
}


/* ============ Teams (2 carduri intunecate) ============ */
.main-teams {
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    padding-top: 160px;
    max-width: 1084px;
    margin: 0 auto;
}
@media (max-width: 699px) { .main-teams { padding-top: 96px; } }

.main-teams__list {
    display: flex;
    list-style: none;
    margin: 0; padding: 0;
    flex-flow: row nowrap;
    gap: 16px;
    position: relative;
    z-index: 2;
}
@media (max-width: 699px) {
    .main-teams__list { flex-flow: column nowrap; gap: 12px; }
}
.main-teams__item {
    box-sizing: border-box;
    width: calc(50% - 8px);
    height: 460px;
}
@media (max-width: 699px) { .main-teams__item { width: 100%; height: 400px; } }

.teams-item {
    background: #612d34;
    border-radius: 24px;
    box-sizing: border-box;
    padding: 24px;
    position: relative;
    height: 100%;
    overflow: hidden;
}
.teams-item:nth-child(1) {
    background: #612d34 url('https://images.unsplash.com/photo-1507676184212-d03ab07a01bf?w=900&q=80') no-repeat 100% 100%/auto 70%;
}
.teams-item:nth-child(2) {
    background: #612d34 url('https://images.unsplash.com/photo-1492684223066-81342ee5ff30?w=900&q=80') no-repeat 100% 100%/auto 70%;
}
.teams-item::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, #612d34 30%, rgba(27,25,35,0.4) 60%, rgba(27,25,35,0));
    z-index: 1;
}
.teams-item__title {
    color: #fff;
    margin: 0 0 16px;
    font-size: 32px;
    font-weight: 700;
    line-height: 36px;
    position: relative;
    z-index: 2;
}
@media (max-width: 699px) { .teams-item__title { font-size: 24px; line-height: 28px; margin-bottom: 12px; } }
.teams-item__text {
    color: rgba(255,255,255,0.56);
    margin: 0;
    font-size: 17px;
    line-height: 24px;
    position: relative;
    z-index: 2;
    max-width: 380px;
}
@media (max-width: 699px) { .teams-item__text { font-size: 15px; line-height: 20px; } }

/* ============ Map block ============ */
.main-page__map { margin-top: 64px; }
.main-map__title {
    color: var(--text);
    margin-bottom: 20px;
    text-shadow: 0 1px 2px rgba(193,41,62,0.2);
}
.main-map__frame {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    height: 420px;
    background: #1a1418;
    position: relative;
}
.main-map__frame iframe {
    display: block;
    width: 100%; height: 100%;
    /* tema inchisa pentru Google Maps embed standard */
    filter: invert(0.92) hue-rotate(180deg) brightness(0.95) contrast(0.9) saturate(0.7);
}
@media (max-width: 699px) {
    .main-page__map { margin-top: 40px; }
    .main-map__frame { height: 320px; border-radius: 20px; }
}

/* ============ FAQ accordion ============ */
.main-faq {
    box-sizing: border-box;
    margin: 160px auto 0;
    max-width: 1084px;
}
@media (max-width: 699px) { .main-faq { margin-top: 96px; } }

.main-faq__list {
    display: flex;
    list-style: none;
    margin: 0; padding: 0;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    display: grid;
    align-content: start;
    grid-template-rows: auto 0fr;
    grid-template-columns: 1fr;
    background: #612d34;
    border-radius: 16px;
    box-sizing: border-box;
    cursor: pointer;
    padding: 24px;
    transition: background .3s, grid-template-rows .3s ease;
}
@media (max-width: 699px) { .faq-item { padding: 16px; } }
.faq-item:hover, .faq-item.active { background: #8a4650; }
.faq-item.active { grid-template-rows: auto 1fr; }
.faq-item.active .faq-item__question::after { transform: translateY(-50%) rotate(0deg); }
.faq-item.active .faq-item__answer { opacity: 1; padding-top: 8px; }

.faq-item__question {
    color: #fff;
    margin: 0;
    padding-right: 32px;
    position: relative;
    font-size: 17px;
    font-weight: 700;
    line-height: 22px;
}
@media (max-width: 699px) { .faq-item__question { font-size: 15px; line-height: 20px; } }
.faq-item__question::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 16px; height: 20px;
    background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='6' fill='none' viewBox='0 0 16 6'%3E%3Cpath fill='%23fff' d='M16 4.407 15.022 6 8 1.86.978 6 0 4.407 7.022.267a1.93 1.93 0 0 1 1.956 0z'/%3E%3C/svg%3E") no-repeat center;
    transform: translateY(-50%) rotate(180deg);
    transform-origin: center;
    transition: transform .3s;
}
.faq-item__answer {
    box-sizing: border-box;
    color: rgba(255,255,255,0.88);
    margin: 0;
    min-height: 0;
    opacity: 0;
    overflow: hidden;
    font-size: 15px;
    line-height: 20px;
    transition: padding-top .3s, opacity .3s;
}

.contacts { margin: 26px 0; }
@media (max-width: 699px) { .contacts { margin: 20px 0; } }

.contacts__container {
    box-sizing: border-box;
    max-width: 1366px;
    margin: 0 auto;
    padding: 0 32px;
}
@media (max-width: 699px) { .contacts__container { padding: 0 16px; } }

/* titlu cu fundal-imagine */
.contacts__title-block {
    display: flex;
    flex-flow: column nowrap;
    background:
        linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.1) 35%, rgba(30,8,14,0.55) 75%, rgba(60,14,22,0.75) 100%),
        url('../img/decorative-img/bg-spectales.png') no-repeat center/cover;
    border-radius: 32px;
    box-sizing: border-box;
    height: 240px;
    padding: 32px;
    margin-bottom: 16px;
}
@media (max-width: 1024px) { .contacts__title-block { height: 200px; } }
@media (max-width: 699px)  { .contacts__title-block { padding: 24px; margin-bottom: 12px; } }

.contacts__title {
    font-family: 'Inter', 'iviSansBase', 'iviSans', Arial, Helvetica, sans-serif;
    color: #fff;
    margin: auto 0 0;
    font-weight: 700;
    font-size: 48px;
    line-height: 48px;
}
@media (max-width: 1024px) { .contacts__title { font-size: 40px; line-height: 44px; } }
@media (max-width: 699px)  { .contacts__title { font-size: 24px; line-height: 28px; } }

/* container-ul light cu carduri inauntru */
.contacts__content {
    background-color: transparent;
    border-radius: 0;
    box-sizing: border-box;
    padding: 0;
}

/* grid 4 col / 2 col / 1 col */
.contacts__block-list {
    display: grid;
    list-style: none;
    margin: 0;
    padding: 0;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
@media (max-width: 1024px) {
    .contacts__block-list { grid-template-columns: repeat(2, 1fr); }
    /* primul si ultimul card span 2 coloane (ca pe ivi) */
    .contacts__block:first-child,
    .contacts__block:last-child { grid-column: span 2; }
}
@media (max-width: 699px) {
    .contacts__block-list { grid-template-columns: 1fr; gap: 12px; }
    .contacts__block:first-child,
    .contacts__block:last-child { grid-column: auto; }
}

/* cardul individual */
.contact-card {
    position: relative;
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-end;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 24px 24px 16px;
    height: 200px;
    box-sizing: border-box;
    transition: border-color .2s, background .2s;
}
.contact-card:hover { border-color: rgba(249,211,76,.4); }
@media (max-width: 1024px) { .contact-card { height: 180px; } }
@media (max-width: 699px)  {
    .contact-card { height: 160px; }
    .contact-card:first-child { height: 280px; }
}

.contact-card__icon {
    position: absolute;
    right: 24px;
    top: 24px;
    color: var(--gold);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 699px) {
    .contact-card__icon { width: 32px; height: 32px; }
    .contact-card__icon svg { width: 32px; height: 32px; }
}

/* titlul - mic, gri (este eticheta) */
.contact-card__title {
    color: var(--text-muted);
    margin: 0 0 8px;
    font-weight: 400;
    font-size: 17px;
    line-height: 24px;
}
@media (max-width: 699px) {
    .contact-card__title { font-size: 15px; line-height: 20px; }
}

/* link/text - MARE si bold (continut principal) */
.contact-card__link,
.contact-card__text {
    color: var(--text);
    margin: 0 0 8px;
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    text-decoration: none;
    display: block;
}
@media (max-width: 699px) {
    .contact-card__link,
    .contact-card__text { font-size: 17px; line-height: 22px; }
}
.contact-card__link { transition: color .3s; }
.contact-card__link:hover,
.contact-card__link:focus { color: var(--gold); outline: none; }

/* harta */
.contacts__map {
    border-radius: 24px;
    height: 380px;
    overflow: hidden;
    position: relative;
    margin-top: 16px;
    line-height: 0;
    background: #e9eaee;
}
@media (max-width: 699px) { .contacts__map { margin-top: 12px; } }
.contacts__map > .map {
    border: none;
    height: 100%;
    width: 100%;
    display: block;
    filter: grayscale(1) sepia(.1) hue-rotate(180deg) saturate(1.5) brightness(.9);
}

.enterprise {
    position: relative;
    padding-top: 24px;
}
.enterprise__backgroundContainer {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 720px;
    z-index: 0;
    pointer-events: none;
}

/* Breadcrumbs */
.headerBar { position: relative; z-index: 2; }
.headerBar__container {
    max-width: 1366px;
    margin: 0 auto;
    padding: 16px 32px;
}
.breadCrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    list-style: none;
    font-size: 13px;
}
.breadCrumbs__item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.56);
}
.breadCrumbs__item:not(:last-child)::after {
    content: '/';
    color: rgba(255,255,255,0.3);
    margin-left: 8px;
}
.breadCrumbs__item a {
    color: rgba(255,255,255,0.56);
    transition: color .15s;
}
.breadCrumbs__item a:hover { color: #fff; }
.breadCrumbs__item span { color: #fff; font-weight: 500; }

/* Hero - meta + player side by side */
.oversideVideo {
    position: relative;
    z-index: 2;
    padding: 32px 0 80px;
}
.oversideVideo__container {
    max-width: 1366px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 56px;
    align-items: start;
}
@media (max-width: 1024px) {
    .oversideVideo__container { grid-template-columns: 1fr; gap: 32px; }
}

/* meta */
.meta__title { display: flex; gap: 16px; align-items: center; margin-bottom: 12px; }
.title__imageContainer {
    width: 80px; height: 80px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}
.title__image { width: 100%; height: 100%; object-fit: cover; }
.meta__h1 {
    font-family: 'Inter', 'iviSansBase', 'iviSans', Arial, sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -.5px;
    margin-bottom: 16px;
    color: #fff;
}

.serieBadge { margin-bottom: 16px; }
.serieBadge .nbl-button {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-radius: 12px;
    padding: 10px 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: background .2s;
}
.serieBadge .nbl-button:hover { background: rgba(255,255,255,0.2); }

.params { margin-bottom: 20px; }
.paramsList__container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    margin-bottom: 8px;
    align-items: center;
    color: rgba(255,255,255,0.72);
    font-size: 14px;
}
.paramsList__container li { display: inline-flex; align-items: center; gap: 4px; }
.ratingParams_high {
    background: #51b53b;
    color: #fff;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 13px;
}
.restrict { gap: 4px; color: rgba(255,255,255,0.72); }

.paramsList_badges { gap: 8px; }
.nbl-textBadge {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.85);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: background .15s;
}
.nbl-textBadge:hover { background: rgba(255,255,255,0.2); color: #fff; }

.synopsis {
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 24px;
    max-width: 600px;
}

.meta__buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.meta__buttons .nbl-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: none;
    cursor: pointer;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    transition: background .15s;
}
.meta__buttons .nbl-button:hover { background: rgba(255,255,255,0.2); }
.meta__buttons .nbl-button_style_kioshi {
    background: rgba(255,255,255,0.95);
    color: #612d34;
    padding: 14px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}
.meta__buttons .nbl-button_style_kioshi .nbl-button__primaryText {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}
.meta__buttons .nbl-button_style_kioshi .nbl-button__secondaryText {
    font-size: 12px;
    opacity: .6;
    margin-left: 24px;
}
.meta__buttons .nbl-button_style_kioshi:hover { background: #fff; }
.meta__buttons .nbl-button_style_dafu {
    width: 48px; height: 48px;
    padding: 0;
    justify-content: center;
}

/* player */
.videoBox__area {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
}
.videoBox__glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    border-radius: 16px;
}
.playerBlock {
    position: relative;
    width: 100%; height: 100%;
    z-index: 1;
}
.playerBlock__poster {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.playerBlock__playBtn {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 72px; height: 72px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    color: #612d34;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: transform .2s;
    padding-left: 4px;
}
.playerBlock__playBtn:hover { transform: translate(-50%, -50%) scale(1.08); }

.playerBlock__topbar {
    position: absolute;
    top: 0; left: 0; right: 0;
    padding: 16px 20px;
    background: linear-gradient(180deg, rgba(0,0,0,0.6), rgba(0,0,0,0));
    color: #fff;
}
.playerBlock__title { font-weight: 700; font-size: 15px; }
.playerBlock__sub { font-size: 12px; opacity: .7; }

.playerBlock__bottombar {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 16px 20px;
    background: linear-gradient(0deg, rgba(0,0,0,0.6), rgba(0,0,0,0));
    color: #fff;
    font-size: 12px;
}
.playerBlock__progress {
    height: 3px;
    background: rgba(255,255,255,0.25);
    border-radius: 2px;
    margin-bottom: 8px;
    overflow: hidden;
}
.playerBlock__progress span {
    display: block;
    height: 100%;
    background: var(--primary);
}
.playerBlock__time { font-feature-settings: 'tnum'; }

/* ============ UNDERSIDE ============ */
.underside { position: relative; z-index: 1; }
.pageSection { padding: 32px 0; }
.pageSection__container {
    max-width: 1366px;
    margin: 0 auto;
    padding: 0 32px;
}

/* nbl-blockHeader */
.nbl-blockHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 16px;
}
.nbl-blockHeader__titleText {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}
.nbl-blockHeader__titleText svg { opacity: .5; }

/* tabs */
.tabs__header {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}
.tabs__list { display: flex; gap: 8px; margin-bottom: 16px; }
.nbl-segmentControl { display: inline-flex; gap: 4px; background: rgba(255,255,255,0.06); padding: 4px; border-radius: 12px; }
.nbl-segmentControlItem {
    padding: 8px 16px;
    border-radius: 10px;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all .15s;
    text-decoration: none;
}
.nbl-segmentControlItem:hover { color: #fff; }
.nbl-segmentControlItem_selected {
    background: rgba(255,255,255,0.16);
    color: #fff;
}

/* poster upright detail (acte) */
.nbl-posterUprightDetailBlock {
    display: block;
    color: inherit;
    text-decoration: none;
}
.nbl-poster_type_seriesAlt {
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #7a3a42;
    position: relative;
    transition: transform .2s;
}
.nbl-posterUprightDetailBlock:hover .nbl-poster_type_seriesAlt {
    transform: translateY(-2px);
}
.nbl-poster_type_seriesAlt .nbl-poster__imageWrapper { position: absolute; inset: 0; }
.nbl-poster_type_seriesAlt .nbl-poster__image { width: 100%; height: 100%; object-fit: cover; }
.nbl-progressOverlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 8px;
}
.nbl-progressOverlay__bar {
    height: 3px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    overflow: hidden;
}
.nbl-progressOverlay__bar div {
    height: 100%;
    background: var(--primary);
}
.nbl-posterUprightDetailBlock__textSection { padding: 12px 4px 0; }
.nbl-posterUprightDetailBlock__title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
}
.nbl-posterUprightDetailBlock__title svg { color: var(--primary); }
.nbl-posterUprightDetailBlock__extra {
    font-size: 12px;
    line-height: 1.4;
    color: rgba(255,255,255,0.56);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.nbl-posterUprightDetailBlock__meta {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

/* persons grid */
.gallery__list_type_person {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
}
.nbl-fixedSlimPosterBlock {
    display: block;
    text-align: center;
    color: inherit;
    text-decoration: none;
    transition: transform .2s;
}
.nbl-fixedSlimPosterBlock:hover { transform: translateY(-2px); }
.nbl-poster_type_person {
    width: 96px; height: 96px;
    margin: 0 auto 12px;
    border-radius: 50%;
    overflow: hidden;
    background: #7a3a42;
}
.nbl-poster__imagePersonWrapper { width: 100%; height: 100%; }
.nbl-poster_type_person img { width: 100%; height: 100%; object-fit: cover; }
.nbl-fixedSlimPosterBlock__title { color: #fff; font-weight: 600; font-size: 14px; }
.nbl-fixedSlimPosterBlock__secondTitle { color: #fff; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.nbl-fixedSlimPosterBlock__extra { color: rgba(255,255,255,0.5); font-size: 12px; }

/* Description + rating side by side */
.pageSection_combine__inner {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: start;
}
@media (max-width: 1024px) {
    .pageSection_combine__inner { grid-template-columns: 1fr; }
}
.description .clause { color: rgba(255,255,255,0.85); font-size: 14px; line-height: 1.6; }
.description .clause p { margin-bottom: 12px; }
.infoTable {
    width: 100%;
    border-collapse: collapse;
    margin-top: 24px;
}
.infoTable th, .infoTable td {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 14px;
    text-align: left;
    vertical-align: top;
}
.infoTable th {
    color: rgba(255,255,255,0.5);
    font-weight: 400;
    width: 30%;
}
.infoTable td { color: #fff; }
.infoTable td .nbl-textBadge { margin-right: 6px; margin-bottom: 4px; }

/* rating sticky card */
.nbl-ratingBlock {
    background: rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 20px;
    position: sticky;
    top: 88px;
}
.nbl-ratingBlock__container { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.nbl-ratingBlock__ratingValue {
    font-size: 36px;
    font-weight: 800;
    color: #51b53b;
    font-family: 'Inter', 'iviSansBase', sans-serif;
    line-height: 1;
}
.nbl-ratingBlock__title { color: #fff; font-weight: 700; font-size: 14px; }
.nbl-ratingBlock__extra { color: rgba(255,255,255,0.5); font-size: 12px; margin-top: 2px; }
.nbl-ratingBlock__btn {
    width: 100%;
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: background .2s;
}
.nbl-ratingBlock__btn:hover { background: rgba(255,255,255,0.2); }

/* plot */
.plot .clause__header { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.plot .clause__title { font-size: 22px; font-weight: 700; color: #fff; margin: 0; }
.nbl-iconedText {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ff542e;
    font-size: 13px;
    font-weight: 500;
}
.plot .clause__text { color: rgba(255,255,255,0.85); font-size: 14px; line-height: 1.6; max-width: 920px; }

/* comments */
.commentsAndReviews__controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.commentsAndReviews__controls .nbl-segmentControlItem { font-size: 14px; }
.nbl-button_style_sairo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.06);
    color: #fff;
    padding: 10px 16px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background .15s;
}
.nbl-button_style_sairo:hover { background: rgba(255,255,255,0.12); }

.commentsList { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.nbl-review {
    background: rgba(255,255,255,0.04);
    border-radius: 16px;
    padding: 20px;
}
.nbl-review__caption { color: #fff; font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.nbl-review__description { color: rgba(255,255,255,0.85); font-size: 13px; line-height: 1.5; margin-bottom: 16px; }
.nbl-review__scoreBlock { display: flex; align-items: center; justify-content: space-between; }
.nbl-review__extra { color: rgba(255,255,255,0.4); font-size: 12px; }
.nbl-score { display: inline-flex; align-items: center; gap: 8px; }
.nbl-score__btn { background: none; border: none; cursor: pointer; opacity: .6; transition: opacity .15s; }
.nbl-score__btn:hover { opacity: 1; }
.nbl-score__counter { color: #fff; font-size: 13px; font-weight: 500; }

/* shots */
.shotsGallery .nbl-poster_type_photo {
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    background: #7a3a42;
}
.shotsGallery .nbl-poster__imageWrapper { width: 100%; height: 100%; }
.shotsGallery .nbl-poster_type_photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.shotsGallery .nbl-poster_type_photo:hover img { transform: scale(1.05); }
.shotsGallery .gallery__viewport {
    overflow-x: auto;
    scrollbar-width: none;
}
.shotsGallery .gallery__viewport::-webkit-scrollbar { display: none; }

/* watchAllDevices */
.watchAllDevices {
    background: linear-gradient(135deg, rgba(243,7,69,0.2), rgba(168,105,240,0.2)), #612d34;
    border-radius: 24px;
    padding: 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}
@media (max-width: 768px) { .watchAllDevices { grid-template-columns: 1fr; padding: 32px 24px; } }
.watchAllDevices__title { font-size: 28px; font-weight: 700; color: #fff; margin-bottom: 12px; line-height: 1.2; }
.watchAllDevices__subtitle { color: rgba(255,255,255,0.7); margin-bottom: 24px; }
.watchAllDevices .nbl-button { padding: 14px 24px; border-radius: 12px; background: var(--primary); color: #fff; border: none; cursor: pointer; font-weight: 600; }
.watchAllDevices .nbl-button:hover { background: var(--primary-hover); }
.watchAllDevices__devices {
    height: 200px;
    background:
        radial-gradient(ellipse at center, rgba(255,255,255,0.08), transparent 60%),
        url('https://images.unsplash.com/photo-1593359677879-a4bb92f829d1?w=800&q=80') no-repeat center/contain;
    border-radius: 16px;
}

/* bottom breadcrumbs */
.pageSection_bottomBreadCrumbs {
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: 60px;
    padding-top: 32px;
}

/* ============ MAIN ============ */
.main-content {
    max-width: 1760px;
    margin: 0 auto;
    padding: 32px;
}

/* ============ FOOTER ============ */
.site-footer {
    background: #1a0d10;
    margin-top: 0;
    padding-top: 40px;
    border-top: 2px solid var(--primary);
    color: #fff;
}
/* Force solid white pe tot textul din footer */
.site-footer,
.site-footer a,
.site-footer p,
.site-footer li,
.site-footer h4,
.site-footer .footer-col a,
.site-footer .footer-recent__more,
.site-footer .footer-contact__list,
.site-footer .footer-contact__list li,
.site-footer .footer-contact__list a,
.site-footer .footer-contact__muted,
.site-footer .footer-bottom,
.site-footer .footer-bottom p,
.site-footer .footer-legal a,
.site-footer .footer-brand p { color: #fff; }
.site-footer .footer-col a:hover,
.site-footer .footer-contact__list a:hover,
.site-footer .footer-legal a:hover,
.site-footer .footer-recent__more:hover { color: var(--gold-bright); }
.site-footer .footer-contact__list svg { color: var(--gold-bright); }
.footer-inner,
.footer-recent {
    max-width: 1760px;
    margin: 0 auto;
    padding: 0 32px;
}
.footer-inner {
    padding-top: 64px;
    padding-bottom: 40px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1.4fr;
    gap: 48px;
}
.footer-brand {
    position: relative;
}
.footer-brand__logo {
    display: inline-block;
    margin-top: -104px; /* compenseaza padding-top din .site-footer + .footer-inner */
    margin-bottom: 16px;
    line-height: 0;
}
.footer-brand__logo img {
    height: 140px; width: auto; display: block;
}
@media (max-width: 860px) {
    .footer-brand__logo { margin-top: -88px; }
    .footer-brand__logo img { height: 120px; }
}
@media (max-width: 640px) {
    .footer-brand__logo { margin-top: -64px; }
    .footer-brand__logo img { height: 100px; }
}
.footer-brand__tagline {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    max-width: 260px;
    margin: 0;
}

/* Recent shows - strip orizontal */
.footer-recent {
    padding-top: 32px;
    padding-bottom: 32px;
    border-top: 1px solid rgba(255,255,255,.12);
}
.footer-recent__head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 16px;
}
.footer-recent__head h4 {
    font-size: 13px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
    margin: 0; color: var(--bg);
}
.footer-recent__more {
    display: inline-flex; align-items: center; gap: 4px;
    color: var(--text-muted); font-size: 13px;
    transition: color .2s;
}
.footer-recent__more:hover { color: var(--gold); }
.footer-recent__strip {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 8px;
    max-width: 720px;
}
.footer-recent__item {
    display: block;
    aspect-ratio: 2/3;
    border-radius: 6px;
    overflow: hidden;
    background: var(--surface);
    transition: transform .25s, box-shadow .25s;
}
.footer-recent__item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0,0,0,.5);
}
.footer-recent__item img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .4s;
}
.footer-recent__item:hover img { transform: scale(1.05); }

.footer-contact__list {
    display: flex; flex-direction: column; gap: 14px;
    list-style: none; padding: 0; margin: 0;
}
.footer-contact__list li {
    display: flex; align-items: flex-start; gap: 10px;
    color: var(--text-muted); font-size: 14px; line-height: 1.5;
}
.footer-contact__list svg {
    color: var(--gold); flex: 0 0 auto; margin-top: 2px;
}
.footer-contact__list a {
    color: var(--text-muted); transition: color .2s;
}
.footer-contact__list a:hover { color: #fff; }
.footer-contact__muted { color: rgba(255,255,255,.4); font-size: 12px; }
.footer-brand .logo { margin-bottom: 12px; }
.footer-brand p {
    color: var(--text-muted);
    max-width: 320px;
}
.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
    color: var(--text-muted);
    font-size: 14px;
    transition: color .2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 20px 32px;
    color: rgba(255,255,255,0.55);
    font-size: 13px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.footer-bottom p { margin: 0; }
.footer-legal {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}
.footer-legal li { list-style: none; }
.footer-legal a { color: rgba(255,255,255,0.55); transition: color .15s; }
.footer-legal a:hover { color: var(--gold); }
@media (max-width: 640px) {
    .footer-bottom { padding: 20px 16px; justify-content: center; text-align: center; }
    .footer-legal { justify-content: center; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
    .hero-track { --peek: 32px; }
    .hero-card-content { padding: 36px 40px; }
}
@media (max-width: 1249px) {
    .main-nav { display: none; }
    .nav-toggle { display: inline-flex; order: 3; margin-left: 0; }
    .header-actions { gap: 6px; margin-left: auto; }
    .header-icon span, .header-lang span:last-child { display: none; }
    .btn-cta { padding: 9px 14px; font-size: 13px; }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-recent__strip { grid-template-columns: repeat(8, 1fr); }
}
@media (max-width: 640px) {
    
    .site-header { height: 64px; }
    .header-inner { padding: 0 14px; gap: 8px; }
    .logo-img { height: 65px; object-position: left top;}
    .btn-login span { display: none; }
    .lang-switch__toggle { padding: 6px 8px; font-size: 12px; }
    .lang-switch__toggle > span { display: none; }
    .lang-switch__toggle .lang-switch__globe { width: 18px; height: 18px; }
    .btn-cta { padding: 8px 10px; }
    .btn-cta__label { display: none; }
    .btn-cta__icon { width: 20px; height: 20px; }

    .hero-track { --peek: 16px; --gap: 8px; }
    .hero-card {
        aspect-ratio: 4 / 5;
        min-height: 460px;
        background-position: center center;
        /* foloseste imaginea pentru mobile daca a fost setata din admin */
        background-image: var(--bg-mobile) !important;
    }
    .hero-card-content { padding: 20px; right: 0; max-width: 100%; }
    .hero-card-overlay {
        background: linear-gradient(0deg, rgba(16,14,25,0.75) 0%, rgba(16,14,25,0) 40%);
    }
    .hero-card-actions { width: 100%; }
    .hero-card-actions .hero-card-cta { flex: 1 1 auto; padding: 12px 16px; font-size: 14px; }
    .hero-arrow { display: none; }
    .footer-inner { grid-template-columns: 1fr; padding: 40px 20px 24px; gap: 24px; }
    .footer-recent { padding: 24px 20px; }
    .footer-recent__strip { grid-template-columns: repeat(5, 1fr); gap: 6px; }
}
