:root {
    --ti-primary: #02cbc4;
    --ti-dark: #0f2230;
    --ti-muted: #5c6b7a;
    --ti-surface: #f4f8fb;
}

.ti-hero {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: center;
    background-image: linear-gradient(120deg, rgba(10, 20, 30, 0.82), rgba(2, 203, 196, 0.35)), url('https://images.unsplash.com/photo-1598550476439-6847785fcea6?auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}

.ti-hero-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    padding: 168px 15px 78px;
}

.ti-hero-panel {
    max-width: 920px;
    padding: 28px 28px 22px;
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(10, 24, 39, 0.64), rgba(32, 18, 35, 0.38));
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 28px 56px rgba(4, 10, 24, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.ti-hero-copy {
    max-width: 640px;
    padding-top: 4px;
}

.ti-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    opacity: 0.5;
    z-index: 1;
    animation: tiFloat 8s ease-in-out infinite;
}

.ti-glow-a {
    width: 280px;
    height: 280px;
    right: -80px;
    top: 20px;
    background: radial-gradient(circle at 40% 40%, rgba(2, 203, 196, 0.95), rgba(2, 203, 196, 0.06));
}

.ti-glow-b {
    width: 230px;
    height: 230px;
    left: -70px;
    bottom: -30px;
    animation-delay: 1.4s;
    background: radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.05));
}

.ti-kicker {
    display: inline-block;
    letter-spacing: 1.4px;
    font-size: 0.82rem;
    font-weight: 700;
    background: linear-gradient(180deg, rgba(30, 124, 126, 0.86), rgba(18, 101, 108, 0.88));
    border: 1px solid rgba(190, 244, 241, 0.34);
    border-radius: 999px;
    padding: 11px 20px;
    margin-bottom: 18px;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.ti-hero h1 {
    font-size: clamp(2.55rem, 4.6vw, 5rem);
    line-height: 0.98;
    margin-bottom: 18px;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}

.ti-hero p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 28px;
    font-size: 1.18rem;
    max-width: 560px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.ti-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ti-btn {
    text-decoration: none;
    padding: 16px 28px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.ti-btn:hover {
    transform: translateY(-2px);
}

.ti-btn-primary {
    background: linear-gradient(135deg, #1bc6c0, #20b5b0);
    color: #fff;
    box-shadow: 0 18px 34px rgba(2, 203, 196, 0.28);
}

.ti-btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}

.ti-stats {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.ti-stat {
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(67, 93, 111, 0.36), rgba(104, 74, 92, 0.18));
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    padding: 18px 18px 16px;
    backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ti-stat strong {
    display: block;
    font-size: clamp(1.6rem, 2.3vw, 2.15rem);
    line-height: 1.05;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.ti-stat span {
    font-size: 0.95rem;
    opacity: 0.86;
}

.ti-layout,
.ti-gallery,
.ti-slider-section,
.ti-process {
    padding: 88px 0;
}

.ti-layout {
    background: #fff;
}

.ti-gallery,
.ti-process {
    background: var(--ti-surface);
}

.ti-section-head {
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;
}

.ti-section-head .ti-kicker {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

.ti-section-head h2 {
    font-size: clamp(1.7rem, 2.8vw, 2.5rem);
    margin: 12px 0;
    color: var(--ti-dark);
}

.ti-section-head p {
    color: var(--ti-muted);
}

.ti-structure-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.ti-structure-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(15, 34, 48, 0.08);
    box-shadow: 0 14px 28px rgba(15, 34, 48, 0.07);
    padding: 24px 18px;
}

.ti-structure-card h3 {
    color: var(--ti-dark);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.ti-structure-card p {
    color: var(--ti-muted);
    font-size: 0.95rem;
}

.ti-structure-card ul {
    padding-left: 18px;
    margin: 14px 0 0;
    color: #304455;
}

.ti-gallery-slider {
    align-items: stretch;
}

.ti-gallery-slide {
    flex: 0 0 50%;
    padding: 10px;
}

.ti-gallery-description {
    margin: 14px 0 0;
    color: var(--ti-muted);
    font-size: 0.94rem;
    line-height: 1.6;
}

.ti-gallery-item {
    border: 0;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    padding: 0;
    cursor: pointer;
    background: #000;
    width: 100%;
}

.ti-gallery-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    opacity: 0.9;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.ti-gallery-item span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    color: #fff;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
}

.ti-gallery-item:hover img {
    transform: scale(1.06);
    opacity: 1;
}

.ti-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ti-slider-window {
    overflow: hidden;
    width: 100%;
}

.ti-slider-track {
    display: flex;
    transition: transform 0.35s ease;
}

.ti-slide {
    flex: 0 0 calc(100% / 3);
    padding: 10px;
}

.ti-slide img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.ti-slide-body {
    background: #fff;
    border: 1px solid rgba(15, 34, 48, 0.08);
    border-top: 0;
    border-radius: 0 0 12px 12px;
    padding: 14px;
    min-height: 160px;
    display: flex;
    flex-direction: column;
}

.ti-slide-body h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--ti-dark);
}

.ti-slide-body p {
    color: var(--ti-muted);
    font-size: 0.93rem;
    margin-bottom: 14px;
}

.ti-related-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin-top: auto;
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    background: rgba(2, 203, 196, 0.14);
    color: var(--ti-dark);
    border: 1px solid rgba(2, 203, 196, 0.38);
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.ti-related-btn:hover {
    transform: translateY(-2px);
    background: var(--ti-primary);
    color: #fff;
}

.ti-nav {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 0;
    background: #fff;
    color: var(--ti-dark);
    box-shadow: 0 8px 20px rgba(15, 34, 48, 0.14);
}

.ti-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.ti-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 50%;
    background: #c7d3dd;
}

.ti-dot.active {
    background: var(--ti-primary);
}

.ti-process-line {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.ti-step {
    background: #fff;
    border: 1px solid rgba(15, 34, 48, 0.08);
    border-radius: 14px;
    padding: 16px;
}

.ti-step-num {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--ti-primary);
    margin-bottom: 8px;
}

.ti-step h3 {
    font-size: 1rem;
    color: var(--ti-dark);
    margin-bottom: 8px;
}

.ti-step p {
    color: var(--ti-muted);
    margin: 0;
    font-size: 0.92rem;
}

.ti-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.84);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.ti-lightbox.open {
    display: flex;
}

.ti-lightbox img {
    max-width: min(1100px, 95vw);
    max-height: 86vh;
    border-radius: 12px;
}

.ti-lightbox-close {
    position: absolute;
    right: 18px;
    top: 16px;
    border: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    font-size: 1.5rem;
    line-height: 1;
}

@media (max-width: 991px) {
    .ti-hero-panel {
        max-width: 100%;
        padding: 22px 22px 20px;
    }

    .ti-structure-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ti-slide {
        flex: 0 0 calc(100% / 2);
    }

    .ti-process-line {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ti-stats {
        grid-template-columns: 1fr 1fr;
    }

    .ti-gallery-slide {
        flex: 0 0 100%;
    }
}

@media (max-width: 767px) {
    .ti-layout,
    .ti-gallery,
    .ti-slider-section,
    .ti-process {
        padding: 64px 0;
    }

    .ti-hero {
        min-height: auto;
    }

    .ti-hero h1 {
        font-size: clamp(2.3rem, 12vw, 3.6rem);
        line-height: 1.02;
    }

    .ti-hero p {
        font-size: 1rem;
    }

    .ti-structure-grid,
    .ti-process-line {
        grid-template-columns: 1fr;
    }

    .ti-stats {
        grid-template-columns: 1fr;
    }

    .ti-slide {
        flex: 0 0 100%;
    }

    .ti-gallery-item img {
        height: 220px;
    }
}

@keyframes tiFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}
