/* Reset and Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    background: #141414;
    line-height: 1.6;
}

.small-dash {
    font-size: 0.55em;
    vertical-align: 0.15em;
}

main {
    display: block;
    max-width: 100%;
    overflow-x: hidden;
}


/* Mobile overflow guard */
@media (max-width: 768px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    body {
        position: relative;
    }

    .bg-slider,
    .section-images-layer,
    .container,
    .header,
    main,
    section,
    .section,
    .hero,
    .cta-section,
    .projects-slider,
    .projects-slider-track,
    .cta-grid,
    .footer-partners-grid,
    .partners-grid,
    .advantages-grid,
    .services-grid,
    .stats-section {
        max-width: 100%;
    }
}

/* ========================================
   PRELOADER
======================================== */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: linear-gradient(135deg, #0a0f1c 0%, #0d1b2a 50%, #0a1525 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: opacity 0.8s cubic-bezier(0.65, 0, 0.35, 1), visibility 0.8s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader.hidden * {
    animation-play-state: paused !important;
}

/* Animated grid background */
.preloader-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(100, 200, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100, 200, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

/* Floating particles */
.preloader-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.preloader-particles::before,
.preloader-particles::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.25;
    animation: particleFloat 10s ease-in-out infinite;
    will-change: transform;
}

.preloader-particles::before {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(100, 200, 255, 0.4), transparent);
    top: 20%;
    left: 10%;
}

.preloader-particles::after {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(201, 169, 98, 0.3), transparent);
    bottom: 20%;
    right: 10%;
    animation-delay: -5s;
    animation-duration: 12s;
}

@keyframes particleFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.1); }
    66% { transform: translate(-15px, 15px) scale(0.95); }
}

/* Content */
.preloader-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    width: 92%;
    padding: 0 24px;
}

.preloader-logo {
    margin-bottom: 48px;
}

.preloader-brand {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    font-weight: 300;
    letter-spacing: 6px;
    margin-bottom: 16px;
    background: linear-gradient(90deg, #c9a962 0%, #f0d878 25%, #ffffff 50%, #f0d878 75%, #c9a962 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite, logoPulse 2s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(201, 169, 98, 0.4), 0 0 60px rgba(201, 169, 98, 0.15);
}

@keyframes logoPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(1.01); }
}

.preloader-tagline {
    display: block;
    font-size: 14px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Progress bar */
.preloader-bar-wrap {
    width: 320px;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    margin: 0 auto 36px;
    overflow: hidden;
    position: relative;
}

.preloader-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #64c8ff, #c9a962);
    border-radius: 3px;
    transition: width 0.3s ease;
    position: relative;
}

.preloader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4));
    animation: barShine 1.5s ease-in-out infinite;
}

@keyframes barShine {
    0% { transform: translateX(-40px); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(40px); opacity: 0; }
}

/* Status text */
.preloader-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.preloader-text {
    font-size: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
    text-transform: uppercase;
    max-width: 320px;
    width: 100%;
    text-align: center;
}

.preloader-dots {
    display: inline-block;
    width: 18px;
    text-align: left;
}

.preloader-dots span {
    display: inline-block;
    animation: dotBounce 1.4s ease-in-out infinite;
    color: rgba(255, 255, 255, 0.5);
}

.preloader-dots span:nth-child(2) { animation-delay: 0.2s; }
.preloader-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotBounce {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.3; }
    40% { transform: translateY(-6px); opacity: 1; }
}

.preloader-percent {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 300;
    color: #c9a962;
    margin-left: 4px;
    width: 52px;
    text-align: left;
    display: inline-block;
}

/* Hide page content while loading */
body.loading .bg-slider,
body.loading .overlay,
body.loading .header,
body.loading .hero,
body.loading .section,
body.loading .cta-section,
body.loading .footer {
    opacity: 0;
}

.bg-slider,
.overlay,
.header,
.section,
.cta-section,
.footer {
    transition: opacity 0.6s ease;
}

/* Background Slider */
.bg-slider {
    position: fixed;
    inset: 0;
    z-index: -3;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2s ease-in-out, transform 8s ease;
    transform: scale(1.05);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

/* Overlay */
.overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.08) 50%, rgba(0,0,0,0.20) 100%);
    z-index: -1;
}

/* Section Images Layer */
.section-images-layer {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
}

.section-img {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-img.active {
    opacity: 1;
}

.section-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.12);
    transition: transform 8s ease-out;
}

.section-img.active img {
    transform: scale(1);
}

.section-img-overlay {
    position: absolute;
    inset: 0;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ========================================
   HEADER
======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 24px 0;
    transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

.header.scrolled {
    background: rgba(20, 20, 20, 0.92);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    padding: 16px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 4px;
    text-decoration: none;
    background: linear-gradient(90deg, #c9a962 0%, #f0d878 25%, #ffffff 50%, #f0d878 75%, #c9a962 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s linear infinite;
    text-shadow: 0 0 20px rgba(201, 169, 98, 0.3), 0 0 40px rgba(201, 169, 98, 0.1);
    transition: transform 0.3s ease, letter-spacing 0.3s ease, text-shadow 0.3s ease;
    position: relative;
    flex-shrink: 0;
    display: inline-block;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #c9a962 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo:hover {
    animation: shimmer 1.5s linear infinite;
    text-shadow: 0 0 30px rgba(201, 169, 98, 0.5), 0 0 60px rgba(201, 169, 98, 0.2);
    transform: scale(1.03);
    letter-spacing: 4.5px;
}

.logo:hover::after {
    opacity: 1;
}

@keyframes shimmer {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

.main-nav {
    display: flex;
    gap: 14px;
    margin-left: 16px;
    padding-left: 16px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    white-space: nowrap;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #c9a962;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: #c9a962;
}

.nav-link.active::after {
    width: 100%;
}

.lang-switcher {
    display: flex;
    gap: 10px;
    margin-left: 16px;
    padding-left: 16px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.lang-btn {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease, background-color 0.3s ease;
    padding: 4px 8px;
    border-radius: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.lang-btn:hover,
.lang-btn.active {
    color: #ffffff;
    background: rgba(201, 169, 98, 0.15);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #ffffff;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 160px 0 0;
}

.hero > .container {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 3;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-bottom: 24px;
    max-width: 520px;
}

.hero-middle {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
}

.main-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(36px, 4.5vw, 64px);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow:
        0 1px 3px rgba(0,0,0,0.9),
        0 4px 20px rgba(0,0,0,0.4);
}

.title-line {
    display: block;
}

.description {
    font-size: clamp(14px, 1.3vw, 16px);
    line-height: 1.6;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    max-width: 360px;
    margin-bottom: 24px;
    text-shadow:
        0 1px 1px rgba(0,0,0,0.9),
        0 1px 3px rgba(0,0,0,0.7);
}

.cta-wrapper {
    margin-top: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

/* Hero Tags & Locations */
.hero-tags {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    animation: fadeInUp 1s ease both;
    animation-delay: 0.45s;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.tag-pill {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    cursor: default;
}

.tag-pill:hover {
    background: rgba(201, 169, 98, 0.12);
    border-color: rgba(201, 169, 98, 0.35);
    color: #ffffff;
    transform: translateY(-2px);
}

.hero-locations {
    margin-bottom: 20px;
    animation: fadeInUp 1s ease both;
    animation-delay: 0.25s;
}

.loc-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

.loc-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(201, 169, 98, 0.5);
    flex-shrink: 0;
}

/* Pill button: white capsule with black arrow */
.cta-button.pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px 10px 22px;
    border-radius: 50px;
    background: #ffffff;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.cta-button.pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

.pill-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #1a1a1a;
    border-radius: 50%;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.cta-button.pill:hover .pill-arrow {
    transform: translateX(3px);
}

/* About button: circle play icon + text */
.cta-button.about-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    border-radius: 50px;
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    border: none;
}

.cta-button.about-btn:hover {
    color: #ffffff;
}

.about-play {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, 0.9);
    transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease;
    flex-shrink: 0;
}

.cta-button.about-btn:hover .about-play {
    border-color: #ffffff;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

/* Stats Section */
.stats-section {
    position: relative;
    z-index: 3;
    background: linear-gradient(180deg, rgba(10, 15, 30, 0.3) 0%, rgba(10, 15, 30, 0.7) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px 0 60px;
    border-radius: 24px 24px 0 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 40px;
    right: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 98, 0.3), transparent);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    max-width: 600px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 10px 4px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(201, 169, 98, 0.2);
}

.stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 400;
    color: #c9a962;
    line-height: 1;
    margin-bottom: 6px;
    display: block;
    text-shadow:
        0 1px 1px rgba(0,0,0,0.9),
        0 1px 3px rgba(0,0,0,0.6);
}

.stat-label {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    letter-spacing: 0.3px;
    display: block;
}

/* Legacy button styles (keep for other sections) */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 16px 32px;
    border-radius: 50px;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 600;
    transition: background-color 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), color 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.cta-button.primary {
    background: #c9a962;
    border: 2px solid #c9a962;
    color: #0f0f0f;
    text-shadow: none;
}

.cta-button.primary:hover {
    background: #d4b876;
    border-color: #d4b876;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 169, 98, 0.35);
}

.cta-button.primary .arrow-icon {
    stroke: #0f0f0f;
    transition: transform 0.3s ease;
}

.cta-button.primary:hover .arrow-icon {
    transform: translateX(5px);
}

.cta-button.secondary {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

.cta-button.large {
    padding: 20px 40px;
    font-size: 14px;
}

.arrow-icon {
    width: 20px;
    height: 20px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    right: 40px;
    bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    z-index: 10;
    cursor: pointer;
}

.scroll-text {
    font-size: 12px;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.6);
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.scroll-line {
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), transparent);
    animation: scrollPulse 2.5s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ========================================
   SECTIONS BASE
======================================== */
.section {
    position: relative;
    padding: 120px 0;
    z-index: 2;
}

.section-header {
    margin-bottom: 64px;
}

.section-header.center {
    text-align: center;
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #c9a962;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow:
        0 1px 1px rgba(0,0,0,0.9),
        0 1px 3px rgba(0,0,0,0.6);
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 400;
    line-height: 1.15;
    color: #ffffff;
    text-shadow:
        0 1px 1px rgba(0,0,0,0.95),
        0 1px 2px rgba(0,0,0,0.8),
        0 2px 6px rgba(0,0,0,0.5);
}

.section-header.center .section-title {
    max-width: 700px;
    margin: 0 auto 20px;
}

.section-desc {
    font-size: 17px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px;
    margin: 0 auto;
    text-shadow:
        0 1px 1px rgba(0,0,0,0.9),
        0 1px 3px rgba(0,0,0,0.6);
}

/* ========================================
   PROJECTS SECTION
======================================== */
.projects {
    background: transparent;
    position: relative;
}

.projects-slider {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(10, 15, 30, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    height: 420px;
}

.projects-slider-track {
    position: relative;
    flex: 1;
    min-height: 0;
}

.project-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.project-slide.active {
    opacity: 1;
    z-index: 2;
}

.project-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease;
}

.project-slide.active img {
    transform: scale(1.05);
}

.project-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 48px 40px 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 40%, transparent 100%);
    z-index: 10;
}

.project-slide-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #c9a962;
    text-transform: uppercase;
    margin-bottom: 12px;
    background: rgba(201, 169, 98, 0.2);
    padding: 6px 14px;
    border-radius: 4px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.project-slide-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 8px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.9);
}

.project-slide-loc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    text-shadow: 0 1px 6px rgba(0,0,0,0.8);
}

.projects-slider-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 16px 20px;
    background: rgba(10, 15, 30, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 0;
}

.project-slider-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(10, 15, 30, 0.5);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.project-slider-btn:hover {
    background: rgba(201, 169, 98, 0.2);
    border-color: rgba(201, 169, 98, 0.4);
    color: #c9a962;
}

.project-slider-dots {
    display: flex;
    gap: 8px;
}

.project-slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background-color 0.3s ease, width 0.3s ease, border-radius 0.3s ease;
}

.project-slider-dots .dot.active {
    background: #c9a962;
    width: 24px;
    border-radius: 4px;
}

/* ========================================
   ABOUT SECTION — Liquid Glass
======================================== */
.about {
    background: transparent;
    position: relative;
    overflow: hidden;
}

/* Main glass card */
.about-glass-card {
    position: relative;
    z-index: 2;
    background: rgba(10, 15, 30, 0.03);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 48px;
}

.about-glass-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 56px;
    align-items: center;
}

/* Left side — photo */
.about-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.about-photo-ring {
    position: relative;
    width: 260px;
    height: 360px;
    border-radius: 24px;
    padding: 5px;
    background: linear-gradient(135deg, rgba(201, 169, 98, 0.5), rgba(201, 169, 98, 0.1), rgba(201, 169, 98, 0.4));
    box-shadow:
        0 0 60px rgba(201, 169, 98, 0.15),
        inset 0 0 20px rgba(201, 169, 98, 0.05);
}

.about-photo {
    width: 100%;
    height: 100%;
    border-radius: 19px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
}

.about-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.25);
    pointer-events: none;
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 70%;
    transition: transform 0.6s ease;
}

.about-photo:hover img {
    transform: scale(1.02);
}

.about-photo-caption {
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Right side — text + stats */
.about-right-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-text .lead {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 400;
    line-height: 1.4;
    color: #c9a962;
    margin-bottom: 20px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    padding-top: 16px;
}

.about-text .lead::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #c9a962, rgba(201, 169, 98, 0.2));
}

.about-text p {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
}

/* Competency pills */
.about-competencies {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.competency-item {
    padding: 24px 20px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    text-align: center;
    transition: background-color 0.4s ease, border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.competency-item:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(201, 169, 98, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.competency-icon {
    display: block;
    font-size: 32px;
    line-height: 1;
    filter: drop-shadow(0 0 8px rgba(201, 169, 98, 0.4));
}

.competency-text {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.4;
}

/* ========================================
   SERVICES SECTION — Aurora Mesh
======================================== */
.services {
    background: transparent;
    position: relative;
    overflow: hidden;
}

.services .container {
    position: relative;
    z-index: 2;
}

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

.service-card {
    background: rgba(10, 15, 30, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.4s ease, background-color 0.4s ease, border-color 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-card.featured {
    border-color: rgba(201, 169, 98, 0.4);
    background: rgba(10, 15, 30, 0.7);
    box-shadow: 0 0 40px rgba(201, 169, 98, 0.08);
}

.service-card.featured .service-glow {
    opacity: 0.6;
}

.service-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 5;
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #0a0f1e;
    background: #c9a962;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

/* Glass card face */
.service-glass {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 20px;
    background: transparent;
    transition: background-color 0.4s ease;
    overflow: hidden;
}

/* Service visual — photo with rounded corners */
.service-visual {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(135deg, rgba(201, 169, 98, 0.10), rgba(255, 255, 255, 0.03));
}

.service-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Carousel mode for service cards */
.service-visual.carousel img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out, transform 0.5s ease;
    z-index: 1;
}

.service-visual.carousel img.active {
    opacity: 1;
    z-index: 2;
}

.service-visual.carousel video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.service-visual.carousel video.active {
    opacity: 1;
    z-index: 2;
}

.service-visual.carousel:hover img,
.service-visual.carousel:hover video {
    transform: scale(1.02);
}

.service-card:hover .service-visual img {
    transform: scale(1.02);
}

/* Glow behind card */
.service-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(201, 169, 98, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
    filter: blur(40px);
}

@media (max-width: 1200px) {
    .service-glow,
    .advantages::before,
    .advantages::after {
        filter: none;
    }
}

.service-card:hover .service-glow {
    opacity: 1;
}

.service-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 8px;
    color: #ffffff;
}

.service-desc {
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 300;
    margin-bottom: 12px;
    max-width: 340px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: #c9a962;
    text-decoration: none;
    text-transform: uppercase;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 14px;
}

/* ========================================
   ADVANTAGES SECTION — Cyan Glow
======================================== */
.advantages {
    position: relative;
    overflow: hidden;
}

/* Hero banner with photo */
.advantages-hero {
    position: relative;
    width: 100%;
    height: 55vh;
    min-height: 400px;
    max-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.advantages-hero-bg {
    position: absolute;
    inset: 0;
    object-fit: cover;
    z-index: 0;
}

.advantages-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 27, 42, 0.65) 0%, rgba(13, 27, 42, 0.85) 100%);
    z-index: 1;
}

.advantages-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 40px;
}

.advantages-hero-content .section-label {
    color: #64c8ff;
    letter-spacing: 4px;
    font-size: 13px;
    margin-bottom: 20px;
}

.advantages-hero-content .section-title {
    font-size: clamp(36px, 5vw, 56px);
    color: #ffffff;
    margin-bottom: 20px;
}

.advantages-hero-content .section-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 520px;
    margin: 0 auto;
}

/* Cards area */
.advantages-cards-wrap {
    position: relative;
    padding: 100px 0;
    background: transparent;
    z-index: 2;
}

/* Cyan glow orbs */
.advantages::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(100, 200, 255, 0.1) 0%, transparent 70%);
    filter: blur(36px);
    pointer-events: none;
    z-index: 0;
}

.advantages::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201, 169, 98, 0.07) 0%, transparent 70%);
    filter: blur(32px);
    pointer-events: none;
    z-index: 0;
}

.advantages .container {
    position: relative;
    z-index: 2;
}

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

.advantage-item {
    position: relative;
    border-radius: 20px;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.advantage-item:hover {
    transform: translateY(-10px);
}

/* Glass card with gradient border wrapper */
.advantage-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1.5px;
    background: linear-gradient(135deg, rgba(201, 169, 98, 0.5), rgba(100, 200, 255, 0.3), rgba(201, 169, 98, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 3;
}

.advantage-item:hover::before {
    opacity: 1;
}

/* Liquid glass card with large photo */
.advantage-glass {
    position: relative;
    z-index: 2;
    padding: 0;
    background: linear-gradient(180deg, rgba(10,15,30,0.82) 0%, rgba(10,15,30,0.68) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: background 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    min-height: 380px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.advantage-item:hover .advantage-glass {
    background: linear-gradient(180deg, rgba(10,15,30,0.88) 0%, rgba(10,15,30,0.72) 100%);
    border-color: rgba(100, 200, 255, 0.2);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.35),
        0 0 50px rgba(100, 200, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

/* Large photo area inside card */
.advantage-visual {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    flex-shrink: 0;
}

.advantage-visual::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(13, 27, 42, 0.9) 0%, transparent 100%);
    pointer-events: none;
}

.advantage-visual img,
.advantage-visual video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.advantage-item:hover .advantage-visual img,
.advantage-item:hover .advantage-visual video {
    transform: scale(1.02);
}

/* Text body */
.advantage-body {
    padding: 20px 28px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.advantage-title {
    position: relative;
    z-index: 2;
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 10px;
    color: #ffffff;
}

.advantage-desc {
    position: relative;
    z-index: 2;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 300;
}

/* ========================================
   SUPPLY SECTION
======================================== */
.supply {
    background: transparent;
    position: relative;
}

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

.supply-card {
    background: rgba(10, 15, 30, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: background-color 0.4s ease, border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.supply-card:hover {
    background: rgba(10, 15, 30, 0.65);
    border-color: rgba(100, 200, 255, 0.2);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.supply-visual {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.supply-visual img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
    z-index: 1;
}

.supply-visual img.active {
    opacity: 1;
    z-index: 2;
}

/* Reverse carousel: slides come from bottom to top */
.supply-visual.reverse img {
    transform: translateY(0);
}

.supply-visual.reverse:hover img.active {
    transform: translateY(-100%);
    opacity: 0;
}

.supply-visual.reverse:hover img.active + img,
.supply-visual.reverse:hover img:nth-child(2) {
    transform: translateY(0);
    opacity: 1;
}

.supply-body {
    padding: 24px;
}

.supply-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 10px;
    color: #ffffff;
}

.supply-desc {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 300;
}

.supply-partner-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 500;
    color: #c9a962;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.supply-partner-link:hover {
    color: #e8d5a3;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

body.lightbox-open {
    overflow: hidden;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

.lightbox-content {
    position: relative;
    z-index: 2;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 3;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(10, 15, 30, 0.6);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(201, 169, 98, 0.2);
    border-color: rgba(201, 169, 98, 0.4);
    color: #c9a962;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(10, 15, 30, 0.6);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.lightbox-nav:hover {
    background: rgba(201, 169, 98, 0.2);
    border-color: rgba(201, 169, 98, 0.4);
    color: #c9a962;
}

.lightbox-nav.prev {
    left: 24px;
}

.lightbox-nav.next {
    right: 24px;
}

.lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
}

/* ========================================
   TOURISM SECTION
======================================== */
.tourism {
    background: transparent;
    position: relative;
}

.tourism-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.tourism-card {
    background: rgba(10, 15, 30, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
    transition: background-color 0.4s ease, border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.tourism-card:hover {
    background: rgba(10, 15, 30, 0.65);
    border-color: rgba(100, 200, 255, 0.2);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.tourism-visual {
    width: 100%;
    height: 260px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.tourism-visual::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(12, 26, 42, 0.9), transparent);
    pointer-events: none;
    z-index: 3;
}

.tourism-visual img,
.tourism-visual video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.tourism-visual img.active,
.tourism-visual video.active {
    opacity: 1;
    z-index: 2;
}

.tourism-body {
    padding: 24px 28px 32px;
}

.tourism-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 400;
    margin-bottom: 12px;
    color: #ffffff;
}

.tourism-desc {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 300;
}

/* ========================================
   PARTNERS SECTION
======================================== */
.partners {
    background: transparent;
    position: relative;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 18px;
    background: rgba(10, 15, 30, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    transition: background-color 0.4s ease, border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
    text-decoration: none;
    cursor: pointer;
}

.partner-item:hover {
    background: rgba(10, 15, 30, 0.65);
    border-color: rgba(100, 200, 255, 0.25);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.partner-icon {
    color: #64c8ff;
    margin-bottom: 20px;
    opacity: 0.8;
    transition: color 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
}

.partner-icon svg {
    width: 36px;
    height: 36px;
}

.partner-item:hover .partner-icon {
    color: #c9a962;
    opacity: 1;
    transform: scale(1.1);
}

.partner-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.partner-desc {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
    line-height: 1.5;
}

.partner-link {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #64c8ff;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
    margin-top: auto;
    padding: 8px 18px;
    border: 1px solid rgba(100, 200, 255, 0.25);
    border-radius: 20px;
}

.partner-item:hover .partner-link {
    color: #c9a962;
    border-color: rgba(201, 169, 98, 0.4);
    background: rgba(201, 169, 98, 0.08);
}

/* ========================================
   CTA SECTION
======================================== */
.cta-section {
    position: relative;
    padding: 120px 0;
    z-index: 2;
    overflow: hidden;
    background: #0e0e0e;
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(14,14,14,0.95) 0%, rgba(14,14,14,0.9) 62%, rgba(14,14,14,1) 100%),
        linear-gradient(135deg, rgba(14,14,14,0.95) 0%, rgba(14,14,14,0.88) 50%, rgba(14,14,14,0.95) 100%);
}

.cta-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.cta-text .section-label {
    margin-bottom: 24px;
}

.cta-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(36px, 4.5vw, 64px);
    font-weight: 300;
    margin-bottom: 24px;
    color: #ffffff;
    line-height: 1.1;
}

.cta-desc {
    font-size: 17px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 40px;
    line-height: 1.7;
}

/* Messengers */
.cta-messengers {
    margin-top: 32px;
}

.messengers-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #c9a962;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.messengers-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.phone-toggle-wrap {
    position: relative;
    display: inline-block;
    margin-top: 12px;
}

.phone-toggle {
    background: rgba(201, 169, 98, 0.12);
    border: 1.5px solid rgba(201, 169, 98, 0.25);
    color: #c9a962;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.phone-toggle:hover {
    background: rgba(201, 169, 98, 0.2);
}

.phone-dropdown {
    display: none;
    gap: 8px;
    margin-top: 8px;
    animation: fadeInUp 0.2s ease both;
}

.phone-dropdown.active {
    display: flex;
}

.phone-dropdown.active .messenger-btn {
    flex: 1 1 0;
    justify-content: center;
}

.messengers-row.phones {
    margin-top: 8px;
}

.messenger-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    letter-spacing: 0.5px;
}

.messenger-btn.whatsapp {
    background: rgba(37, 211, 102, 0.15);
    color: #25D366;
    border: 1.5px solid rgba(37, 211, 102, 0.3);
}

.messenger-btn.whatsapp:hover {
    background: rgba(37, 211, 102, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.2);
}

.messenger-btn.telegram {
    background: rgba(34, 158, 217, 0.15);
    color: #229ED9;
    border: 1.5px solid rgba(34, 158, 217, 0.3);
}

.messenger-btn.telegram:hover {
    background: rgba(34, 158, 217, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(34, 158, 217, 0.2);
}

.messenger-btn.phone {
    background: rgba(201, 169, 98, 0.15);
    color: #c9a962;
    border: 1.5px solid rgba(201, 169, 98, 0.3);
}

.messenger-btn.phone:hover {
    background: rgba(201, 169, 98, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201, 169, 98, 0.2);
}

/* Phone toggle button — only color overrides, sizes come from .messenger-btn */
.messenger-btn.phone-toggle {
    background: rgba(201, 169, 98, 0.12);
    border: 1.5px solid rgba(201, 169, 98, 0.25);
    color: #c9a962;
}

.messenger-btn.phone-toggle:hover {
    background: rgba(201, 169, 98, 0.2);
}

/* CTA Form */
.cta-form-wrapper {
    background: rgba(18, 22, 32, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 40px;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 400;
    transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(201, 169, 98, 0.5);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(201, 169, 98, 0.1);
}

.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
    border-color: rgba(239, 68, 68, 0.75);
    background: rgba(239, 68, 68, 0.08);
}

.field-error {
    display: none;
    color: #fca5a5;
    font-size: 12px;
    line-height: 1.4;
}

.field-error.active,
.form-group input.invalid + .field-error,
.form-group select.invalid + .field-error,
.form-group textarea.invalid + .field-error {
    display: block;
}

.form-consent {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 10px 14px;
    align-items: center;
    position: relative;
    margin: 6px 0 8px;
    padding: 16px 18px;
    border: 1px solid rgba(201, 169, 98, 0.24);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(201, 169, 98, 0.12), rgba(255, 255, 255, 0.035)),
        rgba(255, 255, 255, 0.035);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 16px 36px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.form-consent input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.form-consent input.invalid {
    outline: none;
}

.form-consent:has(input:focus-visible) {
    border-color: rgba(201, 169, 98, 0.75);
    box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.14), 0 16px 36px rgba(0, 0, 0, 0.18);
}

.form-consent:has(input:checked) {
    border-color: rgba(201, 169, 98, 0.58);
    background:
        linear-gradient(135deg, rgba(201, 169, 98, 0.18), rgba(255, 255, 255, 0.045)),
        rgba(255, 255, 255, 0.045);
}

.form-consent:has(input.invalid) {
    border-color: rgba(239, 68, 68, 0.75);
    background:
        linear-gradient(135deg, rgba(239, 68, 68, 0.12), rgba(255, 255, 255, 0.035)),
        rgba(255, 255, 255, 0.035);
}

.form-consent:hover {
    border-color: rgba(201, 169, 98, 0.48);
    transform: translateY(-1px);
}

.form-consent::before {
    content: '';
    position: absolute;
    inset: -60% auto auto -20%;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(201, 169, 98, 0.18), transparent 62%);
    pointer-events: none;
}

.form-consent-box {
    position: relative;
    width: 24px;
    height: 24px;
    border: 1px solid rgba(201, 169, 98, 0.58);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-consent-box::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 4px;
    width: 7px;
    height: 12px;
    border: solid #0a0a0a;
    border-width: 0 2px 2px 0;
    opacity: 0;
    transform: rotate(40deg) scale(0.65);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.form-consent input:checked + .form-consent-box {
    border-color: #d4b876;
    background: linear-gradient(135deg, #f0d878, #c9a962);
    box-shadow: 0 0 18px rgba(201, 169, 98, 0.32);
}

.form-consent input:checked + .form-consent-box::after {
    opacity: 1;
    transform: rotate(40deg) scale(1);
}

.form-consent label {
    position: relative;
    display: grid;
    gap: 4px;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 300;
    cursor: pointer;
}

.form-consent-kicker {
    color: #e8d5a3;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.form-consent-text {
    color: rgba(255, 255, 255, 0.78);
}

.form-consent a {
    position: relative;
    z-index: 3;
    color: #c9a962;
    text-decoration: none;
    border-bottom: 1px solid rgba(201, 169, 98, 0.42);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.form-consent a:hover {
    color: #f0d878;
    border-bottom-color: #c9a962;
}

.form-consent .field-error {
    position: relative;
    grid-column: 2;
    margin-top: -2px;
}

.form-group select {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: #1a1a1a;
    color: #ffffff;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 36px;
    background: #c9a962;
    border: 2px solid #c9a962;
    border-radius: 50px;
    color: #0f0f0f;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background-color 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-top: 8px;
}

.form-submit:hover {
    background: #d4b876;
    border-color: #d4b876;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 169, 98, 0.3);
}

.form-submit:disabled {
    cursor: wait;
    opacity: 0.78;
    transform: none;
    box-shadow: none;
}

.form-submit.success {
    background: #4ade80;
    border-color: #4ade80;
    color: #0a0a0a;
}

.form-submit.error {
    background: #ef4444;
    border-color: #ef4444;
    color: #ffffff;
}

.form-status {
    min-height: 1.4em;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    line-height: 1.5;
}

.form-status.success {
    color: #86efac;
}

.form-status.error {
    color: #fca5a5;
}

.form-status.info {
    color: #e8d5a3;
}

.form-submit svg {
    transition: transform 0.3s ease;
}

.form-submit:hover svg {
    transform: translateX(4px);
}

/* ========================================
   AG CLUB VILLAS SECTION
======================================== */
.agclub {
    background: rgba(10, 15, 30, 0.3);
    position: relative;
}

.agclub-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.agclub-item {
    text-align: center;
    padding: 28px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
}

.agclub-num {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 400;
    color: #c9a962;
    margin-bottom: 8px;
    line-height: 1;
    text-shadow:
        0 1px 1px rgba(0,0,0,0.9),
        0 1px 3px rgba(0,0,0,0.6);
}

.agclub-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    line-height: 1.4;
    text-shadow:
        0 1px 1px rgba(0,0,0,0.9),
        0 1px 3px rgba(0,0,0,0.6);
}

.agclub-note {
    text-align: center;
    margin-top: 32px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-shadow:
        0 1px 1px rgba(0,0,0,0.9),
        0 1px 3px rgba(0,0,0,0.6);
}

/* ========================================
   FOOTER PARTNERS
======================================== */
.cta-footer-partners {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 80px auto 0;
    padding: 40px 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-footer-partners h4 {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #c9a962;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.footer-partner-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(10, 15, 30, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    text-decoration: none;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.footer-partner-item:hover {
    background: rgba(10, 15, 30, 0.6);
    border-color: rgba(100, 200, 255, 0.2);
    transform: translateY(-2px);
}

.footer-partner-icon {
    color: #64c8ff;
    flex-shrink: 0;
    opacity: 0.8;
    margin-top: 2px;
}

.footer-partner-item:hover .footer-partner-icon {
    color: #c9a962;
    opacity: 1;
}

.footer-partner-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.footer-partner-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.5px;
    overflow-wrap: break-word;
}

.footer-partner-desc {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.3px;
    overflow-wrap: break-word;
}

/* ========================================
   CTA FOOTER BAR
======================================== */
.cta-footer-bar {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1280px;
    margin: 80px auto 0;
    padding: 48px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    gap: 48px;
    flex-wrap: wrap;
    background: #0e0e0e;
}

.cta-footer-brand {
    flex: 1;
    min-width: 200px;
}

.cta-footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 6px;
    display: block;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #c9a962 0%, #f0d878 25%, #ffffff 50%, #f0d878 75%, #c9a962 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: shimmer 5s linear infinite;
    text-shadow: 0 0 20px rgba(201, 169, 98, 0.3), 0 0 40px rgba(201, 169, 98, 0.1);
}

.cta-footer-brand p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 300;
    letter-spacing: 0.5px;
}

.cta-footer-col {
    min-width: 140px;
}

.cta-footer-col h4 {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #c9a962;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.cta-footer-col p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 2;
    font-weight: 300;
}

.cta-footer-col a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.3s ease;
}

.cta-footer-col a:hover {
    color: #c9a962;
}

/* ========================================
   ANIMATIONS
======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero .title-line,
.hero .description,
.hero .cta-button {
    animation: fadeInUp 1s ease both;
}

.hero .title-line:nth-child(1) { animation-delay: 0.35s; }
.hero .title-line:nth-child(2) { animation-delay: 0.45s; }
.hero .description { animation-delay: 0.55s; }
.hero .cta-wrapper { animation: fadeInUp 0.8s ease both; animation-delay: 0.65s; }
.hero .stats-section { animation: fadeInUp 0.8s ease both; animation-delay: 0.95s; }

/* Scroll reveal for sections */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* ========================================
   ACCESSIBILITY
======================================== */
.nav-link:focus-visible,
.cta-button:focus-visible,
.messenger-btn:focus-visible,
.lang-btn:focus-visible,
.form-submit:focus-visible,
.project-slider-btn:focus-visible,
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible,
.menu-toggle:focus-visible {
    outline: 2px solid #c9a962;
    outline-offset: 4px;
    border-radius: 4px;
}

@media (min-width: 1025px) {
    .section,
    .cta-section,
    .tourism,
    .services,
    .projects,
    .advantages,
    .agclub,
    .about {
        content-visibility: auto;
        contain-intrinsic-size: 900px;
    }
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1200px) {
    .main-nav {
        gap: 10px;
    }

    .nav-link {
        font-size: 11px;
        letter-spacing: 0.5px;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 32px;
    }

    .projects-slider {
        height: 380px;
    }

    .about-glass-card {
        padding: 36px;
    }

    .about-glass-inner {
        gap: 40px;
    }

    .about-photo-ring {
        width: 220px;
        height: 300px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-visual {
        width: 100%;
        height: 180px;
    }

    .supply-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tourism-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .partner-item {
        padding: 28px 18px;
    }

    .partner-name {
        font-size: 20px;
    }

    .cta-grid {
        gap: 48px;
        padding: 0 32px;
    }

    .cta-footer-partners {
        padding: 32px 32px 0;
        margin-top: 60px;
    }

    .footer-partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .cta-footer-bar {
        padding: 40px 32px;
        gap: 32px;
    }

    .advantages-hero {
        height: 45vh;
        min-height: 320px;
    }

    .advantages-hero-content .section-title {
        font-size: 36px;
    }

    .advantages-hero-content .section-desc {
        font-size: 16px;
    }

    .advantages-cards-wrap {
        padding: 60px 0;
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .advantage-glass {
        min-height: 340px;
    }

    .advantage-visual {
        height: 210px;
    }

    .advantage-body {
        padding: 18px 22px 24px;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.98);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 0;
        margin-left: 0;
        padding-left: 24px;
        border-left: none;
    }

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

    .nav-link {
        padding: 16px 0;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        font-size: 11px;
        letter-spacing: 0.5px;
    }

    .menu-toggle {
        display: flex;
    }
}

@media (max-width: 1120px) {
    .about-glass-inner,
    .cta-grid {
        grid-template-columns: 1fr;
    }

    .about-left {
        flex-direction: row;
        justify-content: center;
        gap: 32px;
    }

    .about-right-content {
        min-width: 0;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .header {
        padding: 16px 0;
    }

    .logo {
        font-size: 16px;
        letter-spacing: 2px;
        flex-shrink: 0;
    }

    .lang-switcher {
        gap: 8px;
        margin-left: 8px;
        padding-left: 8px;
        flex-shrink: 0;
    }

    .lang-btn {
        font-size: 10px;
        padding: 2px 4px;
    }

    .menu-toggle {
        padding: 4px;
        flex-shrink: 0;
    }

    .hero {
        padding: 120px 0 0;
    }

    .hero-content {
        padding-bottom: 16px;
    }

    .main-title {
        margin-bottom: 24px;
    }

    .description {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .hero-locations {
        margin-bottom: 16px;
    }

    .loc-list {
        font-size: 11px;
        gap: 8px 10px;
    }

    .hero-tags {
        margin-top: auto;
        padding-top: 16px;
    }

    .tag-list {
        gap: 5px;
    }

    .tag-pill {
        padding: 5px 12px;
        font-size: 9px;
        letter-spacing: 1px;
    }

    .section {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .about-glass-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .about-left {
        flex-direction: row;
        justify-content: center;
        gap: 32px;
    }

    .about-photo-ring {
        width: 200px;
        height: 280px;
    }

    .about-competencies {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .competency-item {
        padding: 20px 16px;
    }

    .competency-icon {
        font-size: 28px;
    }

    .project-slide-name {
        font-size: 28px;
    }

    .project-slide-overlay {
        padding: 32px 28px 28px;
    }

    .project-name {
        font-size: 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .supply-grid {
        grid-template-columns: 1fr;
    }

    .tourism-grid {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .partner-item {
        padding: 24px 14px;
    }

    .partner-name {
        font-size: 20px;
    }

    .advantages-hero {
        height: 40vh;
        min-height: 280px;
    }

    .advantages-hero-content {
        padding: 0 24px;
    }

    .advantages-hero-content .section-title {
        font-size: 28px;
    }

    .advantages-hero-content .section-desc {
        font-size: 14px;
    }

    .advantages-cards-wrap {
        padding: 48px 0;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .advantage-glass {
        min-height: 300px;
    }

    .advantage-visual {
        height: 190px;
    }

    .advantage-body {
        padding: 16px 20px 22px;
    }

    .advantage-title {
        font-size: 22px;
    }

    .messengers-row {
        flex-direction: column;
    }

    .messengers-row.phones {
        flex-direction: row;
        gap: 8px;
    }

    .phone-toggle-wrap {
        display: block;
    }

    .messenger-btn.phone-toggle {
        width: 100%;
        justify-content: center;
    }

    .messenger-btn {
        justify-content: center;
    }

    .cta-section {
        padding: 80px 0;
    }

    .cta-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 0 24px;
    }

    .cta-footer-partners {
        padding: 24px 24px 0;
        margin-top: 48px;
    }

    .footer-partners-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .footer-partner-item {
        padding: 10px 14px;
        gap: 10px;
    }

    .footer-partner-name {
        font-size: 15px;
    }

    .footer-partner-desc {
        font-size: 10px;
    }

    .cta-footer-bar {
        padding: 32px 24px;
        gap: 28px;
    }

    .cta-form-wrapper {
        padding: 32px;
    }

    .service-visual {
        width: 100%;
        height: 200px;
    }

    .scroll-indicator {
        right: 24px;
        bottom: 24px;
    }
}


/* iPhone narrow-width fixes */
@media (max-width: 480px) {
    .stats-section {
        width: 100%;
        margin-left: 0;
    }

    .cta-wrapper,
    .messengers-row,
    .messengers-row.phones,
    .phone-dropdown,
    .cta-footer-bar {
        max-width: 100%;
        min-width: 0;
    }

    .cta-button,
    .messenger-btn,
    .phone-toggle,
    .phone-option,
    .footer-partner-item,
    .partner-item,
    .project-card,
    .service-card {
        max-width: 100%;
    }

    .messenger-btn,
    .phone-option,
    .footer-partner-name,
    .footer-partner-desc,
    .partner-name,
    .partner-desc {
        overflow-wrap: anywhere;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .projects-slider {
        height: 320px;
    }

    .hero {
        padding: 90px 0 0;
        min-height: 100vh;
    }

    .hero-content {
        padding-bottom: 12px;
    }

    .content-wrapper {
        max-width: 100%;
    }

    .title-line, .description {
        overflow-wrap: break-word;
    }

    .cta-wrapper {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    .cta-button.pill {
        padding: 8px 14px 8px 18px;
        font-size: 12px;
    }

    .pill-arrow {
        width: 24px;
        height: 24px;
    }

    .about-play {
        width: 38px;
        height: 38px;
    }

    .stats-section {
        padding: 24px 0 40px;
        border-radius: 16px 16px 0 0;
    }

    .stats-grid {
        gap: 4px;
    }

    .stat-number {
        font-size: 22px;
        margin-bottom: 4px;
    }

    .stat-label {
        font-size: 9px;
    }

    .stat-item:not(:last-child)::after {
        height: 50%;
        top: 25%;
    }

    .cta-button {
        padding: 16px 28px;
        font-size: 12px;
        justify-content: center;
    }

    .cta-button.large {
        padding: 18px 32px;
    }

    .preloader-content {
        padding: 0 16px;
    }

    .preloader-brand {
        font-size: 28px;
        letter-spacing: 2px;
    }

    .preloader-tagline {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .preloader-bar-wrap {
        width: 260px;
        height: 4px;
    }

    .preloader-status {
        flex-direction: column;
        gap: 6px;
    }

    .preloader-text {
        font-size: 13px;
        letter-spacing: 1px;
    }

    .preloader-percent {
        font-size: 18px;
    }

    .scroll-indicator {
        display: none;
    }

    .about-glass-card {
        padding: 24px;
        border-radius: 24px;
    }

    .about-left {
        flex-direction: column;
        align-items: center;
    }

    .about-photo-ring {
        width: 160px;
        height: 220px;
    }

    .about-competencies {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .competency-item {
        padding: 16px 12px;
        border-radius: 16px;
    }

    .competency-icon {
        font-size: 24px;
    }

    .competency-text {
        font-size: 10px;
    }

    .project-slide-name {
        font-size: 22px;
    }

    .project-slide-overlay {
        padding: 24px 20px 20px;
    }

    .project-slide-tag {
        font-size: 10px;
        padding: 4px 10px;
    }

    .project-name {
        font-size: 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-visual {
        width: 100%;
        height: 200px;
    }

    .agclub-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .agclub-num {
        font-size: 24px;
    }

    .agclub-label {
        font-size: 11px;
    }

    .agclub-note {
        font-size: 13px;
        margin-top: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .cta-grid {
        padding: 0 20px;
    }

    .cta-footer-bar {
        padding: 28px 20px;
        gap: 24px;
    }

    .cta-form-wrapper {
        padding: 24px;
    }
}

/* ========================================
   PERFORMANCE: disable heavy effects on mobile
======================================== */
@media (max-width: 768px), (hover: none) {
    .header.scrolled,
    .about-glass-card,
    .competency-item,
    .cta-button.secondary,
    .cta-form-wrapper,
    .lightbox-backdrop,
    .project-slider-btn,
    .main-nav,
    .service-card,
    .advantage-glass,
    .cta-bg-overlay {
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }

    .header.scrolled { background: rgba(20, 20, 20, 0.98); }
    .about-glass-card { background: rgba(10, 15, 30, 0.65); }
    .competency-item { background: rgba(255, 255, 255, 0.12); }
    .cta-form-wrapper { background: rgba(18, 22, 32, 0.85); }
    .lightbox-backdrop { background: rgba(0, 0, 0, 0.97); }
    .service-card { background: rgba(10, 15, 30, 0.72); }
    .advantage-glass { background: linear-gradient(180deg, rgba(10,15,30,0.85) 0%, rgba(10,15,30,0.75) 100%); }
}

@media (max-width: 768px) {
    .preloader-grid,
    .preloader-particles::before,
    .preloader-particles::after,
    .advantages::before,
    .advantages::after {
        animation: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }

    .bg-slider,
    .section-img img,
    .hero,
    .section,
    .cta-section {
        transform: none !important;
    }
}
