:root {
    /* Цветовая схема */
    --primary: #ff6b00;

    --bg-main: #0f0f0f;
    --bg-secondary: #171717;

    --text-main: #ffffff;
    --text-outline: rgba(255,255,255,0.45);

    --hero-overlay:
        linear-gradient(
            90deg,
            rgba(15,15,15,0.9) 0%,
            rgba(15,15,15,0.4) 100%
        );

    --transition-main: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Улучшенная читаемость текста на фоне */
.hero-overlay {
    background: var(--hero-overlay);
}

.text-outline {
    -webkit-text-stroke: 1px var(--text-outline);
    color: transparent;
}

/* Брутальные карточки услуг */
.service-card {
    transition: all var(--transition-main);
}

.service-card:hover {
    background-color: var(--primary);
}

.service-card:hover h3,
.service-card:hover h4,
.service-card:hover p,
.service-card:hover span,
.service-card:hover a,
.service-card:hover i,
.service-card:hover svg {
    color: #000 !important;
}

.flex-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.flex-grow-content {
    flex-grow: 1;
}

/* Куки-баннер */
#cookie-banner {
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

#cookie-banner.show {
    transform: translateY(0);
}

.project-card {
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    background: var(--bg-secondary);
}

.project-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
}

.img-zoom {
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .img-zoom {
    transform: scale(1.1);
}
.contact-input {
    background: #121212;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}

.contact-input:focus {
    border-color: var(--primary);
    outline: none;
    background: #1a1a1a;
}
.card-flex {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.content-grow {
    flex-grow: 1;
}
.service-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.service-btn-secondary {
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    text-align: center;
    padding: 20px 12px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    transition: all .3s ease;
}

.service-btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.service-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.service-btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--primary);
    color: #000;
    border: none;

    padding: 20px 12px;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 0.3em;
    text-transform: uppercase;

    transition: all 0.3s ease;
}

.service-btn-secondary:hover {
    background: #fff;
    color: #000;
}

/* При наведении на карточку кнопки становятся серыми */
.service-card:hover .service-btn-secondary,
.service-card:hover > a,
.service-card:hover .service-actions a:last-child {
    background: #000000 !important;
    color: #ffffff !important;
    border: none !important;
}

/* При наведении непосредственно на кнопку */
.service-card:hover .service-btn-secondary:hover,
.service-card:hover > a:hover,
.service-card:hover .service-actions a:last-child:hover {
    background: #fff !important;
    color: #000 !important;
    border: none !important;
}

.service-card > a {
    background: var(--primary);
    border: none !important;
    color: #000;
    transition: all 0.3s ease;
}

.service-included-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    border: 1px solid rgba(255,255,255,0.05);
    background: rgba(255,255,255,0.05);
}

.service-included-list p {
    background: var(--bg-main);
    padding: 24px;
    font-size: 10px;
    line-height: 1.7;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #9ca3af;
}

/* =========================
   SERVICE DETAIL PAGES
   ========================= */

.service-included-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;

    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.05);
}

.service-included-list div {
    background: var(--bg-main);

    padding: 24px;

    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.14em;
    line-height: 1.7;

    color: #9ca3af;
}
.video-background {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1000;
    overflow: hidden;
    filter: brightness(50%);
    object-fit: cover;
}

#myVideo {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1000;
    transform: translateX(-50%) translateY(-50%);
}

.content {
    position: relative;
    z-index: 1;
}

video {
    filter: brightness(50%);
}

.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;

    z-index: 0;

    filter: brightness(0.3);

    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0,0,0,0.45);
}

.hero-content {
    position: relative;
    z-index: 2;
}
/* =========================
   VACANCIES ACCORDION
   ========================= */

.vacancy-accordion {
    border: 1px solid rgba(255,255,255,0.05);
    background: rgba(255,255,255,0.05);
}

.vacancy-item {
    background: var(--bg-secondary);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.vacancy-item:last-child {
    border-bottom: none;
}

.vacancy-header {
    width: 100%;
    padding: 32px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;

    font-family: 'Oswald', sans-serif;
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: left;

    color: #fff;
    transition: all 0.35s ease;
}

.vacancy-header:hover,
.vacancy-item.active .vacancy-header {
    background: var(--primary);
    color: #000;
}

.vacancy-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 32px;

    transition:
        max-height 0.45s ease,
        padding 0.45s ease;
}

.vacancy-item.active .vacancy-content {
    max-height: 900px;
    padding: 32px;
}

.vacancy-content p {
    max-width: 760px;
    margin-bottom: 32px;

    color: #9ca3af;
    font-size: 13px;
    line-height: 1.9;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.vacancy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;

    margin-bottom: 32px;
}

.vacancy-grid h4 {
    margin-bottom: 16px;

    color: var(--primary);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.3em;
}

.vacancy-grid ul {
    display: grid;
    gap: 12px;
}

.vacancy-grid li {
    color: #9ca3af;
    font-size: 10px;
    line-height: 1.7;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.vacancy-btn {
    display: inline-block;

    background: var(--primary);
    color: #000;

    padding: 20px 36px;

    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.3em;

    transition: all 0.3s ease;
}

.vacancy-btn:hover {
    background: #fff;
    color: #000;
}