: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 * {
    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;

    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-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(25%);
}

.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    z-index: 0;

    filter: brightness(0.3);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0,0,0,0.45);
}

.hero-content {
    position: relative;
    z-index: 2;
}
