main > .container, main > .container-fluid
{
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container, .footer > .container-fluid {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th,
.grid-view td:last-child {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.navbar form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .navbar form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.navbar form > button.logout:focus,
.navbar form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.navbar form > button.logout:focus {
    outline: none;
}

/* style breadcrumb widget as in previous bootstrap versions */
.breadcrumb {
    background-color: var(--bs-gray-200);
    border-radius: .25rem;
    padding: .75rem 1rem;
}

.breadcrumb-item > a
{
    text-decoration: none;
}
html {
    scroll-behavior: smooth;
}

body {
    background: #05070B;
    color: #EAF3FF;
}

.landing-page {
    background:
        radial-gradient(circle at top right, rgba(86, 168, 222, 0.18), transparent 28%),
        radial-gradient(circle at left center, rgba(67, 109, 178, 0.16), transparent 30%),
        #05070B;
}

.landing-container {
    max-width: 1200px;
}

.hero-section {
    padding: 120px 0 100px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    align-items: center;
}

.hero-badge,
.section-label {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid rgba(108, 169, 224, 0.35);
    border-radius: 999px;
    color: #6CA9E0;
    font-size: 14px;
    margin-bottom: 18px;
    background: rgba(255,255,255,0.03);
}

.hero-text h1 {
    font-size: 56px;
    line-height: 1.05;
    font-weight: 700;
    margin-bottom: 22px;
}

.hero-text p,
.section-heading p,
.info-card p,
.about-card p,
.work-card p,
.contact-info-card p,
.contact-form-wrapper p {
    color: #9FB3C8;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.btn-primary-custom,
.btn-secondary-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-radius: 14px;
    text-decoration: none;
    transition: 0.25s ease;
    font-weight: 600;
}

.btn-primary-custom {
    background: linear-gradient(135deg, #56A8DE, #436DB2);
    color: #fff;
    border: none;
}

.btn-primary-custom:hover {
    color: #fff;
    transform: translateY(-2px);
}

.btn-secondary-custom {
    border: 1px solid rgba(255,255,255,0.15);
    color: #EAF3FF;
    background: rgba(255,255,255,0.03);
}

.btn-secondary-custom:hover {
    color: #fff;
    transform: translateY(-2px);
}

.hero-card,
.info-card,
.about-card,
.work-card,
.category-card,
.contact-info-card,
.contact-form-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.hero-card-inner {
    padding: 32px;
}

.hero-card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 18px;
}

.hero-card ul {
    margin: 0;
    padding-left: 18px;
    color: #EAF3FF;
    line-height: 1.8;
}

.section-block {
    padding: 90px 0;
}

.section-dark {
    background: rgba(255,255,255,0.02);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 42px;
}

.section-heading h2 {
    font-size: 40px;
    margin-bottom: 16px;
    line-height: 1.15;
}

.cards-grid,
.about-grid,
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.info-card,
.about-card,
.work-card,
.category-card {
    padding: 28px;
}

.info-card h3,
.about-card h3,
.work-card h3,
.contact-info-card h3,
.contact-form-wrapper h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.work-card-image {
    height: 180px;
    border-radius: 18px;
    margin-bottom: 18px;
    background: linear-gradient(135deg, rgba(86,168,222,0.35), rgba(59,29,125,0.35));
}

.category-card {
    text-align: center;
    font-weight: 600;
    font-size: 20px;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 24px;
}

.contact-info-card,
.contact-form-card {
    padding: 32px;
}

.contact-info-card a,
.social-links a {
    color: #6CA9E0;
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.contact-form .form-control {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #EAF3FF;
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 14px;
}

.contact-form .form-control:focus {
    border-color: #56A8DE;
    box-shadow: none;
    background: rgba(255,255,255,0.06);
    color: #EAF3FF;
}

.form-submit-btn {
    width: 100%;
    margin-top: 8px;
}

.custom-alert-success,
.custom-alert-danger {
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 18px;
}

@media (max-width: 991px) {
    .hero-content,
    .contacts-grid,
    .cards-grid,
    .about-grid,
    .categories-grid {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 40px;
    }

    .section-heading h2 {
        font-size: 32px;
    }
}
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(5, 7, 11, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-logo,
.site-logo:hover {
    color: #EAF3FF;
    text-decoration: none;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-nav a {
    color: #9FB3C8;
    text-decoration: none;
    transition: 0.25s ease;
    font-weight: 500;
}

.site-nav a:hover {
    color: #EAF3FF;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 14px;
    text-decoration: none;
    background: linear-gradient(135deg, #56A8DE, #436DB2);
    color: #fff;
    font-weight: 600;
    transition: 0.25s ease;
}

.header-cta:hover {
    color: #fff;
    transform: translateY(-2px);
}

.site-main {
    min-height: 100vh;
}

.site-footer {
    border-top: 1px solid rgba(255,255,255,0.06);
    background: #05070B;
    padding: 32px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-logo {
    font-size: 22px;
    font-weight: 700;
    color: #EAF3FF;
    margin-bottom: 8px;
}

.footer-brand p {
    color: #9FB3C8;
    max-width: 420px;
    margin: 0;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contacts a {
    color: #6CA9E0;
    text-decoration: none;
}

@media (max-width: 991px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 0;
    }

    .site-nav {
        flex-wrap: wrap;
        gap: 14px 18px;
    }
}
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #05070B;
    color: #EAF3FF;
}

.landing-page {
    background:
        radial-gradient(circle at top right, rgba(86, 168, 222, 0.18), transparent 28%),
        radial-gradient(circle at left center, rgba(67, 109, 178, 0.16), transparent 30%),
        #05070B;
}

.landing-container {
    max-width: 1200px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(5, 7, 11, 0.82);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-logo,
.site-logo:hover {
    color: #EAF3FF;
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-nav a {
    color: #9FB3C8;
    text-decoration: none;
    transition: 0.25s ease;
    font-weight: 500;
}

.site-nav a:hover {
    color: #EAF3FF;
}

.header-cta,
.site-nav-mobile-cta,
.btn-primary-custom,
.btn-secondary-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-radius: 14px;
    text-decoration: none;
    transition: 0.25s ease;
    font-weight: 600;
}

.header-cta,
.site-nav-mobile-cta,
.btn-primary-custom {
    background: linear-gradient(135deg, #56A8DE, #436DB2);
    color: #fff;
    border: none;
}

.header-cta:hover,
.site-nav-mobile-cta:hover,
.btn-primary-custom:hover {
    color: #fff;
    transform: translateY(-2px);
}

.btn-secondary-custom {
    border: 1px solid rgba(255,255,255,0.15);
    color: #EAF3FF;
    background: rgba(255,255,255,0.03);
}

.btn-secondary-custom:hover {
    color: #fff;
    transform: translateY(-2px);
}

.burger-btn {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    padding: 0;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.burger-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: #EAF3FF;
    border-radius: 999px;
    transition: 0.25s ease;
}

.burger-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger-btn.active span:nth-child(2) {
    opacity: 0;
}

.burger-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.hero-section {
    padding: 120px 0 100px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    align-items: center;
}

.hero-badge,
.section-label {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid rgba(108, 169, 224, 0.35);
    border-radius: 999px;
    color: #6CA9E0;
    font-size: 14px;
    margin-bottom: 18px;
    background: rgba(255,255,255,0.03);
}

.hero-text h1 {
    font-size: 56px;
    line-height: 1.05;
    font-weight: 700;
    margin-bottom: 22px;
}

.hero-text p,
.section-heading p,
.info-card p,
.about-card p,
.work-card p,
.contact-info-card p,
.contact-form-wrapper p,
.hero-card ul {
    color: #9FB3C8;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.hero-card,
.info-card,
.about-card,
.work-card,
.category-card,
.contact-info-card,
.contact-form-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    transition: 0.25s ease;
}

.info-card:hover,
.about-card:hover,
.work-card:hover,
.category-card:hover,
.contact-info-card:hover,
.contact-form-card:hover,
.hero-card:hover {
    transform: translateY(-4px);
    border-color: rgba(86, 168, 222, 0.35);
}

.hero-card-inner,
.info-card,
.about-card,
.work-card,
.category-card,
.contact-info-card,
.contact-form-card {
    padding: 30px;
}

.hero-card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 18px;
}

.hero-card ul {
    margin: 0;
    padding-left: 18px;
}

.section-block {
    padding: 90px 0;
}

.section-dark {
    background: rgba(255,255,255,0.02);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 42px;
}

.section-heading h2 {
    font-size: 40px;
    margin-bottom: 16px;
    line-height: 1.15;
}

.cards-grid,
.about-grid,
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.info-card h3,
.about-card h3,
.work-card h3,
.contact-info-card h3,
.contact-form-wrapper h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.work-card-image {
    height: 220px;
    border-radius: 18px;
    margin-bottom: 18px;
    background: linear-gradient(135deg, rgba(86,168,222,0.35), rgba(59,29,125,0.35));
    overflow: hidden;
}

.work-card-image img,
.work-card-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.category-card {
    text-align: center;
    font-weight: 600;
    font-size: 20px;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 24px;
}

.contact-info-card a,
.social-links a {
    color: #6CA9E0;
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.contact-form .form-control {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #EAF3FF;
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 14px;
}

.contact-form .form-control::placeholder {
    color: #8DA5BF;
}

.contact-form .form-control:focus {
    border-color: #56A8DE;
    box-shadow: none;
    background: rgba(255,255,255,0.06);
    color: #EAF3FF;
}

.form-submit-btn {
    width: 100%;
    margin-top: 8px;
}

.custom-alert-success,
.custom-alert-danger {
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 18px;
    border: none;
}

.custom-alert-success {
    background: rgba(44, 168, 108, 0.18);
    color: #bdf6d9;
}

.custom-alert-danger {
    background: rgba(197, 67, 67, 0.18);
    color: #ffd2d2;
}

.site-main {
    min-height: 100vh;
}

.site-footer {
    border-top: 1px solid rgba(255,255,255,0.06);
    background: #05070B;
    padding: 32px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-logo {
    font-size: 22px;
    font-weight: 700;
    color: #EAF3FF;
    margin-bottom: 8px;
}

.footer-brand p {
    color: #9FB3C8;
    max-width: 420px;
    margin: 0;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contacts a {
    color: #6CA9E0;
    text-decoration: none;
}

@media (max-width: 991px) {
    .burger-btn {
        display: inline-flex;
    }

    .header-cta {
        display: none;
    }

    .site-nav {
        position: absolute;
        top: 84px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding: 24px;
        background: rgba(5, 7, 11, 0.98);
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    .site-nav.active {
        display: flex;
    }

    .site-nav-mobile-cta {
        width: 100%;
    }

    .hero-content,
    .contacts-grid,
    .cards-grid,
    .about-grid,
    .categories-grid {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 40px;
    }

    .section-heading h2 {
        font-size: 32px;
    }
}
.site-logo img {
    height: 100px;
    transition: 0.25s ease;
}

.site-logo:hover img {
    transform: scale(1.05);
    opacity: 0.9;
}
.hero-video-bg {
    position: relative;
    overflow: hidden;
    padding: 140px 0 120px;
}

/* ВІДЕО */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ЗАТЕМНЕННЯ */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        100deg,
        rgba(5,7,11,0.75) 0%,
        rgba(5,7,11,0.85) 75%,
        rgba(5,7,11,0.95) 100%
    );
}

/* КОНТЕНТ ПОВЕРХ */
.hero-video-bg .hero-content {
    position: relative;
    z-index: 2;
}

/* ТРОХИ ПІДКРУТИТИ ТЕКСТ */
.hero-video-bg .hero-text h1 {
    color: #fff;
}

.hero-video-bg .hero-text p {
    color: #d6e6f5;
}
.hero-video video {
    animation: heroZoom 20s ease-in-out infinite alternate;
}


@keyframes heroZoom {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.08);
    }
}
.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.work-card {
    display: block;
    text-decoration: none;
    color: #fff;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: 0.25s ease;
}

.work-card:hover {
    transform: translateY(-4px);
    color: #fff;
    border-color: rgba(86, 168, 222, 0.35);
}

.work-image {
    height: 240px;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.work-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(86,168,222,0.35), rgba(59,29,125,0.35));
}

.work-content {
    padding: 20px;
}

.work-content h3 {
    margin-bottom: 10px;
    font-size: 24px;
}

.work-content p {
    color: #9FB3C8;
    margin-bottom: 10px;
}

.work-meta {
    color: #6CA9E0;
    font-size: 14px;
}

@media (max-width: 991px) {
    .works-grid {
        grid-template-columns: 1fr;
    }
}
.work-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.work-detail-meta-item {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: #C9D8E8;
    font-size: 14px;
}

.work-detail-cover {
    margin-bottom: 24px;
    border-radius: 20px;
    overflow: hidden;
}

.work-detail-cover img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

.work-detail-short-text {
    font-size: 18px;
    color: #C9D8E8;
    margin-bottom: 20px;
    line-height: 1.8;
}

.work-detail-full-text {
    color: #EAF3FF;
    line-height: 1.9;
    margin-bottom: 32px;
}

.work-gallery-heading {
    margin-top: 40px;
    margin-bottom: 20px;
}

.work-gallery-heading h2 {
    font-size: 28px;
}
body.gallery-open {
    overflow: hidden;
}

.work-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.work-gallery-item {
    padding: 0;
    border: none;
    background: rgba(255,255,255,0.04);
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.25s ease;
    box-shadow: 0 18px 40px rgba(0,0,0,0.2);
}

.work-gallery-item:hover {
    transform: translateY(-4px);
}

.work-gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

.gallery-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.gallery-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 7, 12, 0.82);
    backdrop-filter: blur(10px);
}

.gallery-dialog {
    position: relative;
    z-index: 2;
    width: min(1120px, calc(100vw - 48px));
    margin: 40px auto;
    padding: 28px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(10,14,20,0.96), rgba(10,14,20,0.92));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 30px 90px rgba(0,0,0,0.4);
    transform: translateY(18px) scale(0.985);
    transition: transform 0.28s ease;
}

.gallery-modal.active .gallery-dialog {
    transform: translateY(0) scale(1);
}

.gallery-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    transition: 0.2s ease;
    z-index: 5;
}

.gallery-close:hover {
    background: rgba(255,255,255,0.16);
    transform: scale(1.04);
}

.gallery-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.gallery-main {
    width: 100%;
    height: min(68vh, 700px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    overflow: hidden;
    background: rgba(255,255,255,0.03);
}

.gallery-main img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    opacity: 0;
    transform: scale(0.985);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.gallery-main img.is-visible {
    opacity: 1;
    transform: scale(1);
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
    z-index: 4;
    transition: 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-arrow:hover {
    background: rgba(255,255,255,0.16);
    transform: translateY(-50%) scale(1.04);
}

.gallery-arrow-left {
    left: 14px;
}

.gallery-arrow-right {
    right: 14px;
}

.gallery-thumbs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 2px 6px;
    scrollbar-width: thin;
}

.gallery-thumb {
    flex: 0 0 auto;
    width: 110px;
    height: 74px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
    cursor: pointer;
    transition: 0.2s ease;
}

.gallery-thumb.active {
    border-color: #56A8DE;
    box-shadow: 0 0 0 1px rgba(86,168,222,0.25);
}

.gallery-thumb:hover {
    transform: translateY(-2px);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 991px) {
    .work-gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-dialog {
        width: calc(100vw - 20px);
        margin: 10px auto;
        padding: 18px 14px 14px;
        border-radius: 22px;
    }

    .gallery-main {
        height: 52vh;
    }

    .gallery-arrow {
        width: 44px;
        height: 44px;
        font-size: 32px;
    }

    .gallery-arrow-left {
        left: 8px;
    }

    .gallery-arrow-right {
        right: 8px;
    }

    .gallery-thumb {
        width: 84px;
        height: 60px;
    }

    .gallery-close {
        width: 42px;
        height: 42px;
        font-size: 28px;
    }
}
.works-pagination-wrap {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

.works-pagination {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 0;
    margin: 0;
    list-style: none;
}

.works-pagination li {
    list-style: none;
}

.works-pagination-link,
.works-pagination li a,
.works-pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 46px;
    padding: 0 14px;
    border-radius: 12px;
    text-decoration: none;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: #EAF3FF;
    transition: 0.2s ease;
}

.works-pagination li a:hover {
    transform: translateY(-2px);
    border-color: rgba(86,168,222,0.35);
    color: #fff;
}

.works-pagination li.active a,
.works-pagination li.active span {
    background: linear-gradient(135deg, #56A8DE, #436DB2);
    border-color: transparent;
    color: #fff;
}

.works-pagination li.disabled span {
    opacity: 0.45;
    cursor: default;
}
@media (max-width: 991px) {
    .header-inner {
        min-height: 72px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }

    .site-logo {
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }

    .site-logo img {
        max-height: 42px;
        width: auto;
        display: block;
    }

    .burger-btn {
        display: inline-flex;
        flex-shrink: 0;
        margin-left: auto;
    }

    .site-nav {
        top: 72px;
    }
}
.work-gallery-item video,
.gallery-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
}
.service-card-image {
    width: 100%;
    height: 200px;
    max-height: 200px;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    margin-bottom: 18px;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.info-card {
    overflow: hidden;
    padding-top: 0;
}

.info-card .service-card-image {
    margin-top: -1px;
    margin-left: -1px;
    margin-right: -1px;
    width: calc(100% + 2px);
}

.cards-grid {
    align-items: start;
}

.info-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 200px;
}

.info-card .service-card-image ~ h3,
.info-card .service-card-image ~ p {
    text-align: left;
}

.hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(5,7,11,0.7) 0%,
        rgba(5,7,11,0.5) 50%,
        rgba(5,7,11,0.7) 100%
    ) !important;
}

.hero-video-bg {
    background: #05070B;
}

.hero-video video {
    object-position: center center;
}

#hero.hero-video-bg {
    background: #05070B;
    min-height: 600px;
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

.service-detail-image {
    width: 100%;
    max-height: 480px;
    border-radius: 24px;
    overflow: hidden;
    margin: 32px 0;
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

.service-detail-content {
    font-size: 17px;
    line-height: 1.8;
    color: #c8dff0;
    margin: 32px 0;
}

.service-detail-cta {
    display: flex;
    gap: 16px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.service-detail-content p {
    margin-bottom: 16px;
    color: #c8dff0;
    line-height: 1.8;
}

.service-detail-content strong {
    color: #EAF3FF;
}

.service-detail-content ul, 
.service-detail-content ol {
    padding-left: 24px;
    margin-bottom: 16px;
    color: #c8dff0;
}

.service-detail-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.service-detail-content h2 {
    font-size: 24px;
    margin: 28px 0 14px;
    color: #EAF3FF;
}

.service-detail-content h3 {
    font-size: 20px;
    margin: 22px 0 12px;
    color: #EAF3FF;
}

.service-detail-short {
    font-size: 20px;
    color: #9fb3c8;
    line-height: 1.6;
    margin-top: 12px;
    max-width: 720px;
}

/* ===== REVIEWS TICKER ===== */
.reviews-section {
    padding: 60px 0;
    overflow: hidden;
    background: rgba(255,255,255,0.02);
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.reviews-ticker-wrap {
    overflow: hidden;
    position: relative;
}

.reviews-ticker-wrap::before,
.reviews-ticker-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
}

.reviews-ticker-wrap::before {
    left: 0;
    background: linear-gradient(to right, #05070B, transparent);
}

.reviews-ticker-wrap::after {
    right: 0;
    background: linear-gradient(to left, #05070B, transparent);
}

.reviews-ticker {
    display: flex;
    gap: 24px;
    animation: ticker 30s linear infinite;
    width: max-content;
}

.reviews-ticker:hover {
    animation-play-state: paused;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.review-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 24px;
    width: 360px;
    flex-shrink: 0;
    transition: border-color 0.2s ease;
}

.review-card:hover {
    border-color: rgba(86,168,222,0.3);
}

.review-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.review-avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #56a8de, #436db2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.review-author-info {
    flex: 1;
}

.review-author-name {
    font-weight: 700;
    color: #EAF3FF;
    font-size: 15px;
    margin-bottom: 4px;
}

.review-stars {
    font-size: 16px;
}

.star-filled {
    color: #FFB800;
}

.star-empty {
    color: rgba(255,255,255,0.2);
}

.review-google-logo {
    width: 24px;
    height: 24px;
    opacity: 0.7;
    margin-left: auto;
}

.review-text {
    color: #9fb3c8;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.reviews-ticker.no-animation {
    animation: none !important;
    justify-content: center;
}

.review-google-logo {
    width: 24px !important;
    height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
}

.review-text {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}

.review-text.expanded {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

.review-more-btn {
    background: none;
    border: none;
    color: var(--admin-accent, #56a8de);
    cursor: pointer;
    font-size: 13px;
    padding: 4px 0;
    margin-top: 4px;
    display: block;
}

.review-more-btn:hover {
    text-decoration: underline;
}

.review-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    cursor: pointer;
}

.review-card-header:hover .review-author-name {
    color: #56a8de;
}

.hero-video {
    will-change: transform;
    transform: translateZ(0);
}

.hero-video video {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.hero-video video {
    animation: none !important;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 12px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo-link {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    margin-bottom: 0;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.footer-brand p {
    margin: 0;
}

.footer-contacts {
    display: flex;
    gap: 40px;
}

.footer-contacts-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6CA9E0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-contact-item:hover {
    color: #EAF3FF;
}

.footer-contact-item svg {
    flex-shrink: 0;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .footer-contacts {
        flex-direction: column;
        gap: 20px;
    }
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: nowrap;
}

.footer-contacts {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: flex-start;
}

.footer-contacts-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-contacts {
        flex-direction: column;
        gap: 16px;
    }
}

.social-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #6CA9E0;
    margin-right: 10px;
    transition: all 0.2s ease;
}

.social-icon-link:hover {
    background: rgba(86,168,222,0.15);
    border-color: rgba(86,168,222,0.4);
    color: #EAF3FF;
    transform: translateY(-2px);
}

/* ===== TELEGRAM FLOAT WIDGET ===== */
.tg-float-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
}

.tg-float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2AABEE, #229ED9);
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(34,158,217,0.4);
    transition: transform 0.2s ease;
    animation: tgPulse 2s ease-in-out infinite;
}

.tg-float-btn:hover {
    transform: scale(1.1);
}

@keyframes tgPulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(34,158,217,0.4); }
    50% { box-shadow: 0 8px 32px rgba(34,158,217,0.7); }
}

.tg-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5,7,11,0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.tg-popup-overlay.active {
    display: flex;
}

.tg-popup {
    background: #0c1016;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 40px;
    max-width: 380px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 30px 90px rgba(0,0,0,0.5);
}

.tg-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

.tg-popup-icon {
    margin-bottom: 20px;
}

.tg-popup h3 {
    color: #EAF3FF;
    font-size: 20px;
    margin-bottom: 12px;
}

.tg-popup p {
    color: #9fb3c8;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.tg-popup-btn {
    width: 100%;
    justify-content: center;
    background: linear-gradient(135deg, #2AABEE, #229ED9) !important;
}

@media (max-width: 575px) {
    .tg-float-widget {
        bottom: 16px;
        right: 16px;
    }
    .tg-float-btn {
        width: 52px;
        height: 52px;
    }
}

.tg-popup-close {
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tg-bubble {
    position: absolute;
    right: 70px;
    bottom: 12px;
    background: #fff;
    color: #1a1a1a;
    padding: 10px 16px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.tg-bubble::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 6px solid #fff;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.tg-bubble.visible {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 575px) {
    .tg-bubble {
        right: 62px;
        font-size: 12px;
        padding: 8px 12px;
    }
}

.tg-float-widget {
    position: fixed !important;
    bottom: 24px !important;
    right: 24px !important;
    z-index: 9999 !important;
}

@media (max-width: 575px) {
    .tg-float-widget {
        bottom: 16px !important;
        right: 16px !important;
    }
}

.reviews-ticker {
    animation-duration: 45s !important;
}

@media (max-width: 767px) {
    .reviews-ticker {
        animation: none !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }

    .review-card {
        scroll-snap-align: start;
    }

    .reviews-ticker-wrap {
        overflow-x: auto;
    }
}
