@font-face {
    font-family: 'GT Eesti Pro Display';
    src: url('fonts/GT Eesti Pro Display Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'GT Eesti Pro Display';
    color: #ffffff;
    background-color: #2b2b2b;
    overflow-x: hidden;
    
}

html, body { height: 100%; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
    font-family: 'GT Eesti Pro Display';
    font-weight: 300;
    letter-spacing: -0.01em;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

section[id] {
    scroll-margin-top: 120px;
}

.slider-container {
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.split-section .slide,
.architecture-section .slide,
.socials-section .slide {
    background-position: center 55%;
}

.slide.active { opacity: 1; }

.overlay, .overlay-light, .overlay-socials {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 2;
    pointer-events: none;
}
.overlay { background: rgba(0, 0, 0, 0.35); }
.overlay-light { background: rgba(0, 0, 0, 0.14); }
.overlay-socials { background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0.15)); }

.main-header {
    position: fixed; 
    top: 0; left: 0; width: 100%;
    z-index: 100;
    display: flex; justify-content: space-between; align-items: center;
    padding: 18px 60px;
    background: rgba(0, 0, 0, 0.38);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
    overflow: visible;
}
.logo-container { flex: 1; position: relative; z-index: 220; }
.main-nav { flex: 2; display: flex; justify-content: center; }
.header-action { flex: 1; display: flex; justify-content: flex-end; }
.logo { height: 66px; display: block; mix-blend-mode: screen; position: relative; top: 18px; }
.burger {
    display: none;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    z-index: 230;
}
.burger-lines {
    position: relative;
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
}
.burger-lines::before,
.burger-lines::after {
    content: '';
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    background: #fff;
}
.burger-lines::before { top: -6px; }
.burger-lines::after { top: 6px; }

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 200;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.mobile-menu.is-open {
    pointer-events: auto;
    opacity: 1;
}
.mobile-menu__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: none;
}
.mobile-menu__panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 400%;
    width: min(230px, 88vw);
    background: rgba(150, 143, 143, 0.779);
    border-left: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: none;
    padding: 90px 18px 22px;
    transform: translateX(24px);
    transition: transform 0.25s ease;
    z-index: 210;
}
.mobile-menu.is-open .mobile-menu__panel {
    transform: translateX(0);
}
.mobile-menu__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.mobile-menu__list li {
    position: relative;
}
.mobile-menu__list li:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
}
.mobile-menu__link {
    display: inline-flex;
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    font-size: 16px;
}
.mobile-menu__cta {
    margin-top: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 18px;
    text-decoration: none;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.22);
    background: rgba(255,255,255,0.12);
    text-transform: uppercase;
    letter-spacing: 1.6px;
    font-size: 14px;
}
.main-nav ul { display: flex; list-style: none; gap: 34px; align-items: center; }
.main-nav a, .btn-link {
    text-decoration: none; color: #ffffff; font-size: 19px;
    text-transform: uppercase; letter-spacing: 1.2px;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}
.main-nav a.has-dropdown {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.main-nav a.has-dropdown::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid #ffffff;
    transform: translateY(1px);
}
.main-nav a:hover { color: #ffffff; }
.btn-link {
    color: #ffffff;
    border-bottom: 0;
    padding-bottom: 0;
    position: relative;
    font-size: 17px;
}
.btn-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    border-bottom: 1px solid rgba(255,255,255,0.6);
}
.lightbox {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}

.lightbox.is-open {
    display: block;
}

.lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.85);
}

.lightbox__content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox__img {
    max-width: 95vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
}

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 26px;
    cursor: pointer;
    color: #fff;
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 10px;
}

.hero-section {
    height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
}
.hero-section .overlay { background: rgba(0,0,0,0.22); }
.hero-content { position: relative; z-index: 10; margin-top: 20px; }
.main-title {
    font-size: 77px;
    font-weight: 300;
    margin-bottom: 12px;
    letter-spacing: 0.4px;
    text-shadow: 0 2px 14px rgba(0,0,0,0.45);
}
.sub-title {
    font-size: 38px;
    font-weight: 300;
    text-transform: uppercase;
    margin-bottom: 26px;
    letter-spacing: 3.2px;
    line-height: 1.35;
    color: #ffffff;
    text-shadow: 0 2px 14px rgba(0,0,0,0.45);
}
.btn-primary {
    height: 40px;
    padding: 0 18px;
    background: rgba(255,255,255,0.62);
    color: rgba(0,0,0,0.85);
    border: 1px solid rgba(255,255,255,0.35);
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 1.4px;
    cursor: pointer; transition: 0.30s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.btn-primary:hover { background: rgba(255,255,255,0.78); }
.btn-primary--ghost {
    background: rgba(255,255,255,0.55);
    border: 1px solid rgba(255,255,255,0.35);
}

.services-section, .advantages-section {
    background-color: #3a3a3a;
    padding: 70px 20px 80px;
    text-align: center;
}
.container { max-width: 1180px; margin: 0 auto; }
.section-title {
    font-size: 38px;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 26px;
    font-weight: 300;
    color: #ffffff;
}
.section-desc {
    max-width: 800px;
    margin: 0 auto 56px;
    font-size: 21px;
    font-style: light;
    line-height: 1.65;
    color: #ffffff;
    
}

.icons-grid {
    max-width: 1020px;
    margin: 0 auto 44px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 70px;
}
.icon-item, .adv-item { display: flex; flex-direction: column; align-items: center; gap: 15px; }
.service-icon {
    width: 74px;
    height: 74px;
    object-fit: contain;
    filter: none;
    mix-blend-mode: screen;
} 
.icon-item span {
    font-size: 21px;
    letter-spacing: 1.3px;
    line-height: 1.45;
    color: #ffffff;
}

.services-buttons { display: flex; justify-content: center; gap: 20px; }
.btn-secondary {
    width: 280px;
    height: 36px;
    background: rgba(255,255,255,0.55);
    border: 1px solid rgba(255,255,255,0.35);
    color: rgba(0,0,0,0.85);
    padding: 0 px;
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 1.8px;
    cursor: pointer;
    transition: 0.3s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.78); color: rgba(0,0,0,0.9); }

.split-section {
    display: flex;
    height: 78vh;
    min-height: 520px;
    max-height: 860px;
    width: 100%;
}
.split-col {
    width: 50%; height: 100%;
    position: relative;
    display: flex; align-items: center; justify-content: center;
}
.split-title {
    position: absolute;
    z-index: 10;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 36px;
    font-weight: 300;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 3.4px;
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.45);
}
.split-title span {
    display: block;
    margin-top: 6px;
    font-size: 21px;
    letter-spacing: 4px;
    color: #ffffff;
}

.architecture-section {
    height: 108vh;
    min-height: 680px;
    max-height: 980px;
    width: 100%;
    display: flex; align-items: center; justify-content: center;
}
.architecture-section .overlay { background: rgba(0,0,0,0.16); }
.center-title {
    position: relative; z-index: 10;
    font-size: 38px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.45);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
    margin-top: 62px;
}
.adv-icon {
    width: 78px;
    height: 78px;
    object-fit: contain;
    margin-bottom: 10px;
    mix-blend-mode: screen;
}
.adv-item h4 {
    font-size: 21px;
    letter-spacing: 1.8px;
    margin-bottom: 10px;
    font-weight: 300;
    color: #ffffff;
}
.adv-item p {
    font-size: 19px;
    color: #ffffff;
    line-height: 1.55;
    max-width: 240px;
    text-align: center;
}

.socials-section {
    height: 118vh;
    min-height: 620px;
    max-height: 900px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 0;
}
.socials-content {
    position: relative; z-index: 10; text-align: center;
}
.socials-title {
    font-size: 47px;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 4px;
    font-weight: 300;
    color: #ffffff;
}
.socials-text {
    font-size: 20px;
    margin-bottom: 28px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff;
    line-height: 1.6;
}
.social-icons {
    display: flex;
    justify-content: center;
    gap: 22px;
}
.social-icons a {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    border: 1px solid rgba(255,255,255,0.22);
    color: rgba(0,0,0,0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, background 0.3s;
}
.social-icons a:hover {
    transform: scale(1.06);
    background: rgba(255,255,255,0.6);
}
.social-icons svg {
    width: 34px;
    height: 34px;
    color: inherit;
}
.social-icon-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

@media (max-width: 1290px) {
    .main-header { padding: 16px 40px; }
    .main-nav ul { gap: 24px; }
    .logo { height: 42px; }
    .main-title { font-size: clamp(40px, 4vw, 62px); }
    .hero-content { margin-top: 10px; }
    .split-section { height: 72vh; min-height: 480px; max-height: 780px; }
    .architecture-section { height: 84vh; min-height: 620px; max-height: 900px; }
}

@media (max-width: 992px) {
    .main-header { padding: 14px 26px; }
    .main-nav ul { gap: 18px; }
    .main-nav a, .btn-link { font-size: 11px; }

    .services-section, .advantages-section { padding: 60px 20px 70px; }
    .section-desc { margin-bottom: 44px; }

    .icons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 44px;
    }

    .split-section { height: 64vh; min-height: 440px; max-height: 700px; }

    .split-title { font-size: 30px; letter-spacing: 3px; }

    .architecture-section { height: 74vh; min-height: 560px; max-height: 820px; }
    .center-title { font-size: 22px; }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .main-header { padding: 12px 16px; }
    .main-nav { display: none; }
    .burger { display: inline-flex; }
    .header-action { display: none; }
    .logo { height: 40px; }
    .btn-primary { font-size: 10px; height: 28px; padding: 0 5px; }
    .hero-section { height: 72vh; min-height: 520px; }
    .main-title { font-size: clamp(34px, 5.2vw, 54px); }
    .sub-title { font-size: 14px; letter-spacing: 2.6px; }

    .icons-grid { gap: 34px; }
    .services-buttons {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }
    .btn-secondary { width: 300px; font-size: 14px;}

    .split-section { flex-direction: column; height: auto; }
    .split-col { width: 100%; height: 56vh; min-height: 360px; max-height: 520px; }

    .split-title { top: 50%; left: 50%; transform: translateX(-50%); text-align: center; font-size: 28px; letter-spacing: 2.6px; }

    .architecture-section { height: 66vh; min-height: 440px; max-height: 680px; }
    .center-title { font-size: 18px; letter-spacing: 3px; }

    .advantages-grid { grid-template-columns: 1fr; gap: 46px; }

    .socials-section { height: 66vh; min-height: 460px; max-height: 720px; }
    .socials-title { font-size: 34px; letter-spacing: 3px; }
    .socials-text { font-size: 16px; max-width: 520px; }
}

@media (max-width: 576px) {
    .main-header { padding: 10px 12px; }
    .logo { height: 46px; top: 12px; }

    .hero-section { height: 70vh; min-height: 460px; }
    .main-title { font-size: 32px; }
    .sub-title { font-size: 12px; letter-spacing: 2.2px; }
    .btn-primary { font-size: 10px; height: 28px; padding: 0 5px; }
    .section-title { font-size: 18px; letter-spacing: 3px; }
    .section-desc { font-size: 16px; }

    .icons-grid { grid-template-columns: 1fr; }
    .service-icon { width: 66px; height: 66px; }
    .btn-secondary { width: 100%; max-width: 310px; }

    .split-col { height: 58vh; min-height: 320px; max-height: 520px; }

    .split-title { font-size: 24px; letter-spacing: 2.2px; }
    .split-title span { font-size: 16px; letter-spacing: 3px; }

    .architecture-section { height: 70vh; min-height: 380px; max-height: 620px; }

    .social-icons a { width: 64px; height: 64px; }
    .social-icons svg { width: 30px; height: 30px; }
    .social-icon-img { width: 30px; height: 30px; }

    .socials-section { height: 70vh; min-height: 420px; max-height: 680px; }
    .socials-title { font-size: 26px; letter-spacing: 2.2px; }
    .socials-text { font-size: 16px; line-height: 1.55; max-width: 320px; }
}

.about-section {
    background-color: #3a3a3a;
    padding: 70px 20px 90px;
    text-align: center;
}
.about-section .section-desc {
    margin-bottom: 26px;
    font-size: 24px;
    line-height: 1.65;
    color: #ffffff;
}

.slider-container {
    cursor: zoom-in;
}

 .socials-section.slider-container {
     cursor: default;
 }

 .socials-section .slide {
     cursor: default;
 }
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.85);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.lightbox.is-open .lightbox__backdrop {
    opacity: 1;
}

.lightbox__content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.lightbox__img {
    max-width: 95vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);

    transform: scale(0.92);
    opacity: 0;
    transition:
        transform 0.45s ease,
        opacity 0.45s ease;
}

.lightbox.is-open .lightbox__img {
    transform: scale(1);
    opacity: 1;
}

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 26px;
    cursor: pointer;
    color: #fff;
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 12px;
    transition: background 0.25s ease;
}

.lightbox__close:hover {
    background: rgba(255,255,255,0.25);
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    font-size: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    color: #fff;
    background: rgba(255,255,255,0.15);
    transition: background 0.25s ease, transform 0.2s ease;
    user-select: none;
}

.lightbox__nav:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-50%) scale(1.08);
}

.lightbox__prev {
    left: 24px;
}

.lightbox__next {
    right: 24px;
}
