* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    cursor: default;
    -webkit-user-select: none;
    user-select: none;
}

body {
    font-family: 'Work Sans', sans-serif;
    color: #333;
    line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a, button { cursor: pointer; }
input, textarea { user-select: text !important; cursor: text; }

:root {
    --primary: #5ec1b6;
    --primary-rgb: 94, 193, 182;
}

/* === HEADER === */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s;
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    text-decoration: none;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #333;
    order: 2;
}

.menu-close {
    display: none;
}

.menu-overlay {
    display: none;
}

/* Desktop Menu */
.u-menu {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.u-nav {
    position: relative;
    display: flex;
    gap: 28px;
    padding: 8px 16px;
    list-style: none;
}

.u-nav li {
    display: inline-block;
    margin: 0;
    padding: 0;
    list-style: none;
}

.u-nav::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 42px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    backdrop-filter: blur(8px);
    z-index: 0;
}

.u-nav-link {
    position: relative;
    z-index: 1;
    padding: 8px 14px;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: all 0.2s;
    display: inline-block;
    background: none;
    border: none;
}

.u-nav-link:hover,
.u-nav-link.active {
    background: rgba(255,255,255,0.55);
    color: #000;
}

/* Mobile Menu */
@media (max-width: 768px) {
    .mobile-menu-btn { 
        display: inline-block !important;
    }
    
    .u-menu {
        display: block;
    }
    
    .u-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #1a2226;
        padding: 90px 30px 30px 30px;
        transition: right 0.4s ease;
        z-index: 1001;
        display: block;
        list-style: none;
        box-shadow: -10px 0 50px rgba(0,0,0,0.8);
        overflow-y: auto;
    }
    
    .u-nav::before {
        display: none !important;
    }

    .u-nav li {
        display: block;
        list-style: none;
        margin: 0 0 28px 0 !important;
        padding: 0 !important;
        width: 100%;
    }

    .u-nav.active { 
        right: 0;
    }

    .menu-close {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        border-radius: 10px;
        background: rgba(255,255,255,0.12);
        color: #fff;
        border: 1px solid rgba(255,255,255,0.2);
        font-size: 24px;
        line-height: 44px;
        text-align: center;
        cursor: pointer;
        z-index: 1002;
        transition: all 0.2s;
    }

    .menu-close:hover {
        background: rgba(255,255,255,0.2);
        transform: rotate(90deg);
    }

    .u-nav-link {
        display: block !important;
        width: 100% !important;
        padding: 0 !important;
        text-align: left !important;
        background: none !important;
        border: none !important;
        border-radius: 0 !important;
        color: rgba(255,255,255,0.85) !important;
        font-weight: 600 !important;
        font-size: 17px !important;
        text-decoration: none !important;
        transition: all 0.2s !important;
        box-sizing: border-box !important;
        box-shadow: none !important;
        position: relative !important;
        z-index: 1 !important;
    }

    .u-nav-link:hover,
    .u-nav-link:active {
        color: var(--primary) !important;
        background: none !important;
        transform: translateX(-5px) !important;
        border: none !important;
    }

    .menu-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.7);
        z-index: 999;
        backdrop-filter: blur(5px);
    }

    .menu-overlay.active { 
        display: block;
    }
}

/* === HERO === */
.hero {
    min-height: 100vh;
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.3)), 
                url('images/44eb625d885d839f0c2021d00d47aca0b31b6c27.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 50px 80px;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.3), #ffffff);
    pointer-events: none;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 100px;
    align-items: center;
    width: 100%;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    color: white;
    margin-bottom: 40px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease-out forwards;
    animation-delay: 0.2s;
}

.hero-text h1 .underline {
    display: inline-block;
    position: relative;
    padding-bottom: 12px;
}

.hero-text h1 .underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 5px;
    width: 0;
    background: rgba(255,255,255,0.5);
    border-radius: 3px;
    animation: drawUnderline 1.2s ease-out forwards;
    animation-delay: 1s;
}

@keyframes drawUnderline {
    to { width: 100%; }
}

.hero-text p {
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    color: rgba(255,255,255,0.95);
    max-width: 580px;
    line-height: 1.9;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease-out forwards;
    animation-delay: 0.6s;
}

.bubble {
    width: 456px;
    height: 456px;
    border-radius: 50%;
    overflow: hidden;
    background: #d9d9d9;
    box-shadow: 
        0 30px 80px rgba(0,0,0,0.5),
        0 10px 40px rgba(94, 193, 182, 0.3);
    border: 3px solid rgba(94, 193, 182, 0.4);
    margin-left: auto;
    opacity: 1;
    transform: scale(1) rotate(0);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.bubble:hover {
    transform: scale(1.05);
    box-shadow: 
        0 35px 90px rgba(0,0,0,0.6),
        0 15px 50px rgba(94, 193, 182, 0.45);
    border-color: rgba(94, 193, 182, 0.6);
}

.bubble img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.95) contrast(1.05);
}

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* === SECTIONS === */
section {
    padding: clamp(60px, 10vw, 100px) 50px;
    max-width: 1400px;
    margin: 0 auto;
}

section.hero {
    max-width: none !important;
    padding: 120px 50px 80px;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 60px;
}

/* === SERVICES === */
.tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 24px;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
}

.tag {
    padding: 14px 36px;
    border: 2px solid var(--primary);
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.7));
    backdrop-filter: blur(10px);
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #333;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    animation: tagPop 0.6s forwards;
    box-shadow: 0 4px 15px rgba(94, 193, 182, 0.15);
    position: relative;
    overflow: hidden;
}

.tag::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    transition: left 0.5s;
}

.tag:hover {
    background: linear-gradient(135deg, var(--primary), rgba(94, 193, 182, 0.85));
    color: #fff;
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 30px rgba(94, 193, 182, 0.35);
    border-color: var(--primary);
}

.tag:hover::before { left: 100%; }

@keyframes tagPop {
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.tag:nth-child(1) { animation-delay: 0.05s; }
.tag:nth-child(2) { animation-delay: 0.1s; }
.tag:nth-child(3) { animation-delay: 0.15s; }
.tag:nth-child(4) { animation-delay: 0.2s; }
.tag:nth-child(5) { animation-delay: 0.25s; }
.tag:nth-child(6) { animation-delay: 0.3s; }
.tag:nth-child(7) { animation-delay: 0.35s; }
.tag:nth-child(8) { animation-delay: 0.4s; }
.tag:nth-child(9) { animation-delay: 0.45s; }
.tag:nth-child(10) { animation-delay: 0.5s; }

/* === CASES === */
.cases-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 60px;
}

.cases-header .section-title {
    margin-bottom: 0;
}

.search-icon {
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, var(--primary), rgba(94, 193, 182, 0.8));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 8px 24px rgba(94, 193, 182, 0.35);
    transition: all 0.3s;
    animation: iconPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

.search-icon:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 12px 32px rgba(94, 193, 182, 0.45);
}

@keyframes iconPulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(94, 193, 182, 0.35); }
    50% { box-shadow: 0 8px 24px rgba(94, 193, 182, 0.55); }
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 50px;
    margin-bottom: 80px;
    justify-items: center;
    align-items: start;
}

.case-item {
    max-width: 620px;
    width: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-item:hover {
    transform: translateY(-12px);
}

.case-img {
    width: 100%;
    height: 400px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    animation: caseReveal 0.8s forwards;
    position: relative;
    background: #f5f5f5;
}

.case-img::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(94, 193, 182, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 1;
}

.case-img:hover {
    box-shadow: 0 20px 60px rgba(94, 193, 182, 0.25);
}

.case-img:hover::before {
    opacity: 1;
}

.case-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-img:hover img {
    transform: scale(1.05);
}

@keyframes caseReveal {
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.case-text {
    font-weight: 600;
    font-size: 16px;
    line-height: 1.7;
    text-align: center;
    margin-top: 24px;
    color: #444;
    opacity: 0;
    animation: fadeUp 0.8s forwards;
    animation-delay: 0.3s;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-item:nth-child(1) .case-img { animation-delay: 0.1s; }
.case-item:nth-child(2) .case-img { animation-delay: 0.2s; }

/* === HERO IMAGES === */
.hero-case {
    margin: 80px 0;
    text-align: center;
}

.hero-img-wrapper {
    position: relative;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(94, 193, 182, 0.2),
        0 8px 24px rgba(0, 0, 0, 0.12);
    opacity: 0;
    transform: scale(0.95) translateY(30px);
    animation: heroImageReveal 1s forwards;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(94, 193, 182, 0.1);
}

.hero-img-wrapper.triple::before {
    content: "";
    position: absolute;
    top: 5%;
    bottom: 5%;
    left: 33.333%;
    width: 3px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 5%,
        rgba(255, 255, 255, 0.8) 15%,
        rgba(255, 255, 255, 0.9) 50%,
        rgba(255, 255, 255, 0.8) 85%,
        rgba(255, 255, 255, 0.3) 95%,
        transparent 100%
    );
    box-shadow: 
        0 0 15px rgba(255, 255, 255, 0.6),
        0 0 30px rgba(94, 193, 182, 0.3);
    z-index: 2;
    pointer-events: none;
    transition: all 0.5s;
}

.hero-img-wrapper.triple::after {
    content: "";
    position: absolute;
    top: 5%;
    bottom: 5%;
    left: 66.666%;
    width: 3px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 5%,
        rgba(255, 255, 255, 0.8) 15%,
        rgba(255, 255, 255, 0.9) 50%,
        rgba(255, 255, 255, 0.8) 85%,
        rgba(255, 255, 255, 0.3) 95%,
        transparent 100%
    );
    box-shadow: 
        0 0 15px rgba(255, 255, 255, 0.6),
        0 0 30px rgba(94, 193, 182, 0.3);
    z-index: 2;
    pointer-events: none;
    transition: all 0.5s;
}

.hero-img-wrapper.dual::before {
    content: "";
    position: absolute;
    top: 5%;
    bottom: 5%;
    left: 50%;
    width: 3px;
    transform: translateX(-50%);
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 5%,
        rgba(255, 255, 255, 0.8) 15%,
        rgba(255, 255, 255, 0.9) 50%,
        rgba(255, 255, 255, 0.8) 85%,
        rgba(255, 255, 255, 0.3) 95%,
        transparent 100%
    );
    box-shadow: 
        0 0 15px rgba(255, 255, 255, 0.6),
        0 0 30px rgba(94, 193, 182, 0.3);
    z-index: 2;
    pointer-events: none;
    transition: all 0.5s;
}

.hero-img {
    width: 100%;
    display: block;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-img-wrapper iframe {
    width: 100%;
    height: 600px;
    border-radius: 24px;
    display: block;
    border: none;
}

.hero-img-wrapper:hover {
    transform: scale(1.02) translateY(-12px);
    box-shadow: 
        0 28px 80px rgba(94, 193, 182, 0.35),
        0 12px 32px rgba(0, 0, 0, 0.15);
    border-color: rgba(94, 193, 182, 0.3);
}

.hero-img-wrapper:hover::before,
.hero-img-wrapper:hover::after {
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(94, 193, 182, 0.4) 5%,
        rgba(94, 193, 182, 0.9) 15%,
        rgba(255, 255, 255, 1) 50%,
        rgba(94, 193, 182, 0.9) 85%,
        rgba(94, 193, 182, 0.4) 95%,
        transparent 100%
    );
    box-shadow: 
        0 0 20px rgba(94, 193, 182, 0.8),
        0 0 40px rgba(94, 193, 182, 0.5);
    width: 4px;
}

@keyframes heroImageReveal {
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.hero-case .case-text {
    margin-top: 36px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.8;
    color: #444;
}

/* Video case special layout */
.video-case .video-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
    max-width: 1320px;
    margin: 0 auto;
}

.video-case .video-text {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.video-case .video-text .case-text {
    margin: 0;
    font-size: 18px;
}

.video-case .video-wrapper {
    display: flex;
    flex-direction: column;
}

.video-case .video-caption {
    margin-top: 24px;
    font-size: 16px;
    text-align: center;
}

/* Triple images layout */
.triple-images-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1320px;
    margin: 0 auto;
    opacity: 0;
    transform: scale(0.95) translateY(30px);
    animation: heroImageReveal 1s forwards;
}

.triple-image-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f5f5f5;
}

.triple-image-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(94, 193, 182, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 1;
}

.triple-image-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(94, 193, 182, 0.25);
}

.triple-image-item:hover::before {
    opacity: 1;
}

.triple-image-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.triple-image-item:hover img {
    transform: scale(1.05);
}

/* === CLIENTS === */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: clamp(20px, 3vw, 40px);
}

.client {
    min-height: 120px;
    padding: clamp(15px, 2vw, 25px);
    border-radius: 18px;
    background: rgba(255,255,255,0.22);
    border: 1px solid rgba(0,0,0,0.06);
    backdrop-filter: blur(8px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
    opacity: 0;
    transform: translateY(8px);
    animation: fadeUp 0.5s forwards;
}

.client:nth-child(1) { animation-delay: 0.1s; }
.client:nth-child(2) { animation-delay: 0.2s; }
.client:nth-child(3) { animation-delay: 0.3s; }
.client:nth-child(4) { animation-delay: 0.4s; }
.client:nth-child(5) { animation-delay: 0.5s; }
.client:nth-child(6) { animation-delay: 0.6s; }
.client:nth-child(7) { animation-delay: 0.7s; }

.client:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.32);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.client img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(1) opacity(0.7);
    transition: filter 0.25s;
}

.client:hover img {
    filter: grayscale(0) opacity(1);
}

/* === CONTACTS === */
.contacts-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.map-card {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #222;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1.5px solid rgba(0,0,0,0.12);
    background: #f9f9f9;
    color: #222;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.25s;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.12);
    background: #fff;
    outline: none;
}

.submit-btn {
    width: 100%;
    max-width: 220px;
    margin: 24px auto 0;
    padding: 14px 32px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), rgba(var(--primary-rgb), 0.85));
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 22px rgba(var(--primary-rgb), 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(var(--primary-rgb), 0.45);
}

/* === FOOTER === */
footer {
    position: relative;
    background: linear-gradient(135deg, rgba(94, 193, 182, 0.04) 0%, rgba(94, 193, 182, 0.01) 100%);
    color: #333;
    padding: 28px 60px;
    margin-top: 0;
    border-top: 2px solid var(--primary);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
}

footer::before {
    content: none !important;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    flex-direction: row-reverse;
}

.footer-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-link {
    position: relative;
    color: #444;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s;
    padding-bottom: 2px;
}

.footer-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    box-shadow: 0 0 8px rgba(var(--primary-rgb), 0.6);
    transition: width 0.3s;
}

.footer-link:hover {
    color: var(--primary);
}

.footer-link:hover::after {
    width: 100%;
}

.footer-copy {
    color: #666;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.u-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(20,28,32,0.75);
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.25s;
    opacity: 0;
    pointer-events: none;
    z-index: 9999;
}

.u-back-to-top.visible {
    opacity: 1;
    pointer-events: all;
}

.u-back-to-top:hover {
    background: rgba(var(--primary-rgb), 0.9);
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 10px 28px rgba(var(--primary-rgb), 0.45);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

    .bubble {
        width: 350px;
        height: 350px;
        margin: 0 auto;
    }

    .contacts-container {
        grid-template-columns: 1fr;
    }

    .video-case .video-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .triple-images-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    nav { padding: 20px 30px; }
    section { padding: 60px 30px; }
    .hero { padding: 100px 30px 60px; }
    
    .bubble { 
        width: 280px; 
        height: 280px;
        margin: 0 auto;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
    }

    .hero-img-wrapper::before,
    .hero-img-wrapper::after {
        display: none;
    }

    .hero-img-wrapper iframe {
        height: 300px;
    }
}

.map-card {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.08);
}

.map-card iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border: none;
}

.form-glass {
    width: 100%;
    height: 100%;
    padding: 40px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,1), rgba(245,247,247,0.95));
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 14px 32px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}