:root {
    --color-primary: #4A5D4C;
    --color-primary-dark: #3A4A3C;
    --color-primary-light: #6B7D6D;
    --color-accent: #C9A962;
    --color-accent-dark: #A88B3F;
    --color-accent-light: #DFC78F;
    --color-bg: #FAF8F5;
    --color-bg-alt: #F0EDE8;
    --color-bg-dark: #1A1D1A;
    --color-text: #2D2F2D;
    --color-text-muted: #5A5D5A;
    --color-text-light: #8A8D8A;
    --color-border: #D8D5D0;
    --color-white: #FFFFFF;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.16);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --duration-fast: 0.15s;
    --duration-normal: 0.3s;
    --duration-slow: 0.5s;
    --z-base: 1;
    --z-header: 100;
    --z-modal: 200;
    --z-cursor: 300;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

.cursor, .cursor-follower {
    position: fixed;
    pointer-events: none;
    z-index: var(--z-cursor);
    opacity: 0;
    transition: opacity var(--duration-normal) ease;
}

body:hover .cursor,
body:hover .cursor-follower {
    opacity: 1;
}

.cursor {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease-out, width 0.2s ease, height 0.2s ease;
}

.cursor-follower.hover {
    width: 60px;
    height: 60px;
    border-color: var(--color-primary);
}

@media (max-width: 768px) {
    .cursor, .cursor-follower {
        display: none;
    }
}

.loader {
    position: fixed;
    inset: 0;
    background: var(--color-bg-dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    margin-bottom: var(--space-xl);
}
.logo-loader{
    max-width: 1000px;
}

.loader-bar {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.loader-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary-light), var(--color-accent));
    animation: loadProgress 1.5s var(--ease-out) forwards;
}

@keyframes loadProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-header);
    padding: var(--space-md) 0;
    transition: background-color var(--duration-normal) ease,
                box-shadow var(--duration-normal) ease,
                padding var(--duration-normal) ease;
}

.header.scrolled {
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    padding: var(--space-sm) 0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
    transition: transform var(--duration-normal) ease;
}

.logo:hover .logo-img {
    transform: scale(1.02);
}

.nav-list {
    display: flex;
    gap: var(--space-xl);
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    position: relative;
    padding: var(--space-sm) 0;
    transition: color var(--duration-fast) ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--duration-normal) var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

.nav-link.active::after,
.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    width: 32px;
    height: 24px;
    position: relative;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    position: absolute;
    width: 100%;
    height: 3px;
    right: 0px;
    background: var(--color-text);
    border-radius: var(--radius-full);
    transition: transform var(--duration-normal) var(--ease-out),
                opacity var(--duration-fast) ease;
}

.hamburger {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger::before {
    content: '';
    top: -8px;
    
}

.hamburger::after {
    content: '';
    bottom: -8px;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        max-width: 320px;
        height: 100vh;
        background: var(--color-bg);
        padding: 100px var(--space-xl) var(--space-xl);
        transform: translateX(100%);
        transition: transform var(--duration-slow) var(--ease-out);
        box-shadow: var(--shadow-xl);
    }
    
    .nav.active {
        transform: translateX(0);
    }
    
    .nav-list {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .nav-link {
        font-size: 1.25rem;
    }

    .logo-loader{
    max-width: 100%;
}

.loader-bar {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
}
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent-dark);
    margin-bottom: var(--space-md);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-text);
    margin-bottom: var(--space-lg);
}

.title-accent {
    color: var(--color-primary);
}

.section-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: 
        radial-gradient(circle at 20% 30%, var(--color-primary) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, var(--color-primary) 1px, transparent 1px);
    background-size: 60px 60px;
}

.bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
}

.bg-pattern-dark {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-bg-dark) 0%, #252A25 100%);
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal:nth-child(1) { transition-delay: 0s; }
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 70% 20%, rgba(74, 93, 76, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 30% 80%, rgba(201, 169, 98, 0.06) 0%, transparent 40%),
        linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234A5D4C' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: floatShape 20s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(74, 93, 76, 0.15);
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(201, 169, 98, 0.12);
    bottom: 20%;
    left: 5%;
    animation-delay: -5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: rgba(74, 93, 76, 0.1);
    top: 50%;
    left: 30%;
    animation-delay: -10s;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
    box-shadow: var(--shadow-sm);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 500;
    margin-bottom: var(--space-xl);
}

.title-line {
    display: block;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
}

.title-line.accent {
    color: var(--color-primary);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-2xl);
    max-width: 480px;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary-dark));
    opacity: 0;
    transition: opacity var(--duration-normal) ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(74, 93, 76, 0.3);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary span,
.btn-primary .btn-icon {
    position: relative;
    z-index: 1;
}

.btn-icon {
    width: 18px;
    height: 18px;
    transition: transform var(--duration-normal) ease;
}

.btn-primary:hover .btn-icon {
    transform: translateX(4px);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background: var(--color-white);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.hero-visual {
    position: relative;
}

.hero-image-container {
    position: relative;
}

.hero-image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.frame-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border: 2px solid var(--color-accent);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.hero-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.hero-image-frame:hover .hero-image {
    transform: scale(1.02);
}

.hero-card {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--color-white);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-white);
}

.card-content {
    display: flex;
    flex-direction: column;
}

.card-label {
    font-size: 0.75rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-value {
    font-weight: 600;
    color: var(--color-text);
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-text-light);
    transition: color var(--duration-fast) ease;
}

.scroll-indicator:hover {
    color: var(--color-primary);
}

.scroll-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: var(--color-border);
    position: relative;
    overflow: hidden;
}

.scroll-dot {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
    0% { top: 0; opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-description {
        max-width: 100%;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-card {
        left: 50%;
        transform: translateX(-50%);
        bottom: -20px;
    }
    
    .hero-scroll {
        display: none;
    }
}

.about {
    position: relative;
    padding: var(--space-4xl) 0;
    overflow: hidden;
}

.about-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.about-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: var(--space-4xl);
    align-items: start;
}

.about-image-container {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.about-image-wrapper:hover .about-image {
    transform: scale(1.02);
}

.image-accent {
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-accent);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-badge {
    position: absolute;
    top: 20px;
    right: -20px;
    background: var(--color-primary);
    color: var(--color-white);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.badge-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
}

.badge-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

.about-text {
    padding-top: var(--space-lg);
}

.about-intro {
    margin-bottom: var(--space-2xl);
}

.intro-text {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

.intro-text strong {
    color: var(--color-primary);
    font-weight: 600;
}

.principles-title,
.commitment-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: var(--space-lg);
}

.principles-grid {
    display: grid;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.principle-card {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: var(--color-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: border-color var(--duration-fast) ease, 
                box-shadow var(--duration-fast) ease,
                transform var(--duration-fast) ease;
}

.principle-card:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-md);
    transform: translateX(8px);
}

.principle-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--color-bg-alt), var(--color-white));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
}

.principle-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-primary);
}

.principle-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
}

.principle-content p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.commitment-text {
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}

.commitment-values {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.value-tag {
    padding: var(--space-sm) var(--space-md);
    background: var(--color-bg-alt);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-primary);
    transition: background var(--duration-fast) ease;
}

.value-tag:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

@media (max-width: 900px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .about-image-container {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .about {
        padding: var(--space-3xl) 0;
    }
    
    .about-image {
        height: 400px;
    }
    
    .about-badge {
        right: 10px;
        top: 10px;
    }
}

.projects {
    position: relative;
    padding: var(--space-4xl) 0;
    overflow: hidden;
}

.projects-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.projects-subtitle {
    max-width: 600px;
    margin: 0 auto;
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.amenities {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    margin-bottom: var(--space-3xl);
    flex-wrap: wrap;
}

.amenity {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-lg);
    background: var(--color-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    min-width: 140px;
    transition: transform var(--duration-normal) ease,
                box-shadow var(--duration-normal) ease;
}

.amenity:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.amenity-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.amenity-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--color-accent);
}

.amenity span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text);
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.model-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: transform var(--duration-normal) ease,
                box-shadow var(--duration-normal) ease;
}

.model-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.model-card.featured {
    border-color: var(--color-accent);
    position: relative;
}

.featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--color-accent);
    color: var(--color-white);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 10;
}

.model-image-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.model-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.model-card:hover .model-image {
    transform: scale(1.05);
}

.model-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 29, 26, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--duration-normal) ease;
}

.model-card:hover .model-overlay {
    opacity: 1;
}

.model-view-btn {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: var(--color-white);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-size: 0.9rem;
    font-weight: 600;
    transform: translateY(10px);
    transition: transform var(--duration-normal) ease,
                background var(--duration-fast) ease;
}

.model-card:hover .model-view-btn {
    transform: translateY(0);
}

.model-view-btn:hover {
    background: var(--color-accent);
    color: var(--color-white);
}

.model-view-btn svg {
    width: 20px;
    height: 20px;
}

.model-content {
    padding: var(--space-lg);
}

.model-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-md);
}

.model-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-text);
}

.model-price {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    background: var(--color-bg-alt);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
}

.model-description {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.model-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: var(--space-lg);
}

.spec {
    text-align: center;
}

.spec-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
}

.spec-label {
    font-size: 0.75rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.model-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.feature {
    font-size: 0.8rem;
    padding: var(--space-xs) var(--space-sm);
    background: var(--color-bg-alt);
    border-radius: var(--radius-sm);
    color: var(--color-text-muted);
}

.model-details-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    transition: background var(--duration-fast) ease;
}

.model-details-btn:hover {
    background: var(--color-primary-dark);
}

.model-details-btn svg {
    width: 18px;
    height: 18px;
    transition: transform var(--duration-fast) ease;
}

.model-details-btn:hover svg {
    transform: translateX(4px);
}

.projects-note {
    text-align: center;
    margin-top: var(--space-xl);
}

.projects-note p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    font-style: italic;
}

@media (max-width: 1024px) {
    .models-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .model-card:last-child {
        grid-column: span 2;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .projects {
        padding: var(--space-3xl) 0;
    }
    
    .models-grid {
        grid-template-columns: 1fr;
    }
    
    .model-card:last-child {
        grid-column: auto;
        max-width: none;
    }
    
    .amenities {
        gap: var(--space-md);
    }
    
    .amenity {
        min-width: 100px;
        padding: var(--space-md);
    }
}

.contact {
    position: relative;
    padding: var(--space-4xl) 0;
    overflow: hidden;
}

.contact .section-tag,
.contact .section-title,
.contact .contact-description {
    color: var(--color-white);
}

.contact .section-tag {
    color: var(--color-accent-light);
}

.contact-description {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: var(--space-2xl);
    max-width: 400px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
}

.contact-info {
    padding-right: var(--space-xl);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    transition: background var(--duration-fast) ease,
                border-color var(--duration-fast) ease,
                transform var(--duration-fast) ease;
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-accent);
    transform: translateX(8px);
}

.method-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
}

.method-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--color-accent);
}

.method-content {
    display: flex;
    flex-direction: column;
}

.method-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.6);
}

.method-value {
    font-weight: 600;
    color: var(--color-white);
}

.credits-info h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: var(--space-md);
}

.credits-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.credit-tag {
    padding: var(--space-sm) var(--space-md);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--color-white);
    transition: background var(--duration-fast) ease;
}

.credit-tag:hover {
    background: var(--color-accent);
}

.contact-form-container {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-xl);
}

.form-header {
    margin-bottom: var(--space-xl);
}

.form-header h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.form-header p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: var(--space-md);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--color-text);
    transition: border-color var(--duration-fast) ease,
                box-shadow var(--duration-fast) ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(74, 93, 76, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--color-text-light);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235A5D5A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit {
    width: 100%;
    padding: var(--space-md) var(--space-xl);
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: background var(--duration-fast) ease;
}

.form-submit:hover {
    background: var(--color-primary-dark);
}

.submit-loading {
    display: none;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-dark);
}

.form-submit.loading .submit-text {
    visibility: hidden;
}

.form-submit.loading .submit-loading {
    display: flex;
}

.spinner {
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .contact-info {
        padding-right: 0;
        text-align: center;
    }
    
    .contact-description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .contact-methods {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: var(--space-2xl);
    }
    
    .credits-info {
        text-align: center;
    }
    
    .credits-list {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .contact {
        padding: var(--space-3xl) 0;
    }
    
    .contact-form-container {
        padding: var(--space-lg);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

.footer {
    background: var(--color-bg-dark);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: var(--space-lg);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.footer-logo {
    height: auto;
    width: 150px;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: var(--space-xl);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: color var(--duration-fast) ease;
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    transition: background var(--duration-fast) ease;
}

.footer-social a:hover {
    background: var(--color-accent);
}

.footer-social svg {
    width: 20px;
    height: 20px;
    fill: var(--color-white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright,
.location {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: var(--space-xl);
        text-align: center;
    }
    
    .footer-brand {
        flex-direction: column;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-md) var(--space-lg);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 50;
    transition: transform var(--duration-normal) ease,
                box-shadow var(--duration-normal) ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: var(--color-text);
    color: var(--color-white);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all var(--duration-normal) ease;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

@media (max-width: 640px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}

.modal {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--duration-normal) ease,
                visibility var(--duration-normal) ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    max-width: 800px;
    max-height: 90vh;
    width: 100%;
    overflow-y: auto;
    transform: translateY(20px) scale(0.95);
    transition: transform var(--duration-normal) var(--ease-out);
}

.modal.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
    border-radius: var(--radius-full);
    z-index: 10;
    transition: background var(--duration-fast) ease;
}

.modal-close:hover {
    background: var(--color-text);
}

.modal-close:hover svg {
    stroke: var(--color-white);
}

.modal-close svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-text);
}

.modal-body {
    padding: var(--space-2xl);
}

.modal-model-name {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.modal-model-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--space-xl);
}

.modal-section {
    margin-bottom: var(--space-xl);
}

.modal-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.modal-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--space-md);
}

.modal-spec-item {
    background: var(--color-bg);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    text-align: center;
}

.modal-spec-item .value {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
}

.modal-spec-item .label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.modal-distribution {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.modal-floor {
    background: var(--color-bg);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
}

.modal-floor-title {
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.modal-floor-list {
    list-style: none;
}

.modal-floor-list li {
    padding: var(--space-xs) 0;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.modal-floor-list li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
    margin-right: var(--space-sm);
}

.modal-cta {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

@media (max-width: 640px) {
    .modal-distribution {
        grid-template-columns: 1fr;
    }
    
    .modal-cta {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
    
    .floating {
        animation: none;
    }
    
    .scroll-dot {
        animation: none;
    }
    
    .shape {
        animation: none;
    }
}

.gallery {
    position: relative;
    padding: var(--space-4xl) 0;
    overflow: hidden;
}

.gallery-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.gallery-subtitle {
    max-width: 500px;
    margin: 0 auto;
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.gallery-video-featured {
    margin-bottom: var(--space-3xl);
}

.video-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--color-bg-dark);
    box-shadow: var(--shadow-xl);
}

.video-wrapper video {
    width: 100%;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(26, 29, 26, 0.8) 0%,
        rgba(26, 29, 26, 0.2) 50%,
        rgba(26, 29, 26, 0.4) 100%
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity var(--duration-normal) ease;
}

.video-wrapper.playing .video-overlay {
    opacity: 0;
    pointer-events: none;
}

.video-play-btn {
    width: 80px;
    height: 80px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--duration-normal) ease,
                background var(--duration-fast) ease;
    box-shadow: 0 8px 32px rgba(201, 169, 98, 0.4);
}

.video-play-btn:hover {
    transform: scale(1.1);
    background: var(--color-accent-dark);
}

.video-play-btn svg {
    width: 32px;
    height: 32px;
    fill: var(--color-white);
    margin-left: 4px;
}

.video-info {
    position: absolute;
    bottom: var(--space-xl);
    left: var(--space-xl);
    color: var(--color-white);
}

.video-category {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: var(--color-accent);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
}

.video-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md) var(--space-lg);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    opacity: 0;
    transition: opacity var(--duration-normal) ease;
}

.video-wrapper:hover .video-controls,
.video-wrapper.playing .video-controls {
    opacity: 1;
}

.video-control-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: var(--radius-md);
    transition: background var(--duration-fast) ease;
    color: var(--color-white);
}

.video-control-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.video-control-btn svg {
    width: 20px;
    height: 20px;
}

.video-progress-container {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    cursor: pointer;
    overflow: hidden;
}

.video-progress-bar {
    height: 100%;
    background: var(--color-accent);
    width: 0%;
    border-radius: var(--radius-full);
    transition: width 0.1s linear;
}

.video-time {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-variant-numeric: tabular-nums;
    min-width: 80px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(280px, auto);
    gap: var(--space-md);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-bg-alt);
    transition: transform var(--duration-normal) ease,
                box-shadow var(--duration-normal) ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s var(--ease-out);
    padding: var(--space-sm); 
}

.gallery-item:hover .gallery-image {
    transform: scale(1.02);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-lg);
    background: linear-gradient(
        to top,
        rgba(26, 29, 26, 0.95) 0%,
        rgba(26, 29, 26, 0.7) 60%,
        transparent 100%
    );
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    opacity: 1; 
    transition: background var(--duration-normal) ease;
}

.gallery-item:hover .gallery-overlay {
    background: linear-gradient(
        to top,
        rgba(26, 29, 26, 1) 0%,
        rgba(26, 29, 26, 0.8) 60%,
        transparent 100%
    );
}

.gallery-info {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.gallery-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1;
    min-width: 40px;
}

.gallery-text {
    display: flex;
    flex-direction: column;
}

.gallery-category {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    background: var(--color-accent);
    border-radius: var(--radius-sm);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-white);
    margin-bottom: var(--space-xs);
    width: fit-content;
}

.gallery-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-white);
    line-height: 1.3;
}

.gallery-zoom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    z-index: 5;
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: var(--shadow-md);
    pointer-events: none;
}

.gallery-item:hover .gallery-zoom {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.gallery-zoom svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-primary);
}

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-item.large {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .gallery {
        padding: var(--space-3xl) 0;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: minmax(220px, auto);
    }
    
    .gallery-overlay {
        padding: var(--space-md);
    }

    .gallery-number {
        font-size: 1.5rem;
    }

    .gallery-title {
        font-size: 0.95rem;
    }
    
    .video-play-btn {
        width: 60px;
        height: 60px;
    }
    
    .video-play-btn svg {
        width: 24px;
        height: 24px;
    }
    
    .video-title {
        font-size: 10px;
    }
    .video-category{
        font-size: 7px;
    }
    .video-controls {
        padding: var(--space-sm) var(--space-md);
    }
    
    .video-time {
        display: none;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: minmax(250px, auto);
    }
    
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--duration-normal) ease,
                visibility var(--duration-normal) ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image-wrapper {
    position: relative;
    max-height: 80vh;
    overflow: hidden;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-alt);
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain; 
    opacity: 0;
    transform: scale(0.95);
    transition: opacity var(--duration-normal) ease,
                transform var(--duration-normal) ease;
}

.lightbox.active .lightbox-image {
    opacity: 1;
    transform: scale(1);
}

.lightbox-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-lg);
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--color-white);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.lightbox-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0);
    line-height: 1;
}

.lightbox-text {
    display: flex;
    flex-direction: column;
}

.lightbox-category {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: var(--color-accent);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
    width: fit-content;
}

.lightbox-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
}

.lightbox-close {
    position: absolute;
    top: -10px;
    right: 0;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--duration-fast) ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-close svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-white);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--duration-fast) ease;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav.prev {
    left: -80px;
}

.lightbox-nav.next {
    right: -80px;
}

.lightbox-nav svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-white);
}

.lightbox-thumbnails {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    margin-top: var(--space-lg);
    max-width: 100%;
    overflow-x: auto;
    padding: var(--space-sm);
}

.lightbox-thumb {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity var(--duration-fast) ease,
                transform var(--duration-fast) ease;
    border: 2px solid transparent;
    background: var(--color-bg-alt);
}

.lightbox-thumb:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.lightbox-thumb.active {
    opacity: 1;
    border-color: var(--color-accent);
}

.lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 1200px) {
    .lightbox-nav.prev {
        left: var(--space-md);
        z-index: 1;
    }
    
    .lightbox-nav.next {
        right: var(--space-md);
    }
    .lightbox-container {
        padding: 0 var(--space-md);
        flex-direction: column;
        justify-content: center;
        height: 100%;
    }
    
    .lightbox-image-wrapper {
        max-height: 65vh; 
        width: 100%;
        overflow: auto; 
        touch-action: pan-x pan-y;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: var(--radius-lg);
        background: #000;
    }

    .lightbox-image {
        max-height: 65vh;
        width: auto;
        max-width: 100%;
        touch-action: manipulation; 
    }

    .lightbox-info {
        position: absolute; 
        background: transparent;
        text-align: center;
        justify-content: center;
        border-radius: 0;
        margin-top: 5px;
    }

    .lightbox-number {
        display: none;
    }

    .lightbox-text {
        align-items: center;
    }


    .lightbox-nav {
        width: 34px;
        height: 34px;
        opacity: 1;
    }
    
    .lightbox-nav.prev {
        left: var(--space-sm);
        z-index: 1;
    }
    
    .lightbox-nav.next {
        right: var(--space-sm);
    }
    
    .lightbox-close {
        top: var(--space-md);
        right: var(--space-md);
    }
    
    .lightbox-thumbnails {
        display: none;
    }
    
    .lightbox-title {
        font-size: 9px;
        color: #000;
        background-color: #FAF8F5;
        padding: 1px 5px;
        border-radius: 20px;
    }
    .lightbox-category{
        font-size: 7px;
        opacity: 0;
    }
}

.location {
    position: relative;
    padding: var(--space-4xl) 0;
    background: var(--color-bg-alt);
    overflow: hidden;
}

.location-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.location-subtitle {
    max-width: 500px;
    margin: 0 auto;
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.location-wrapper {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: var(--space-xl);
    align-items: stretch;
    min-height: 500px;
}

.location-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.location-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--color-border);
}

.location-icon {
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-white);
}

.location-card-header h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-text);
}

.location-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    color: var(--color-text-muted);
}

.detail-item svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-accent);
    flex-shrink: 0;
}

.location-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all var(--duration-normal) ease;
}

.location-btn:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}

.location-btn svg {
    width: 18px;
    height: 18px;
}

.map-container {
    width: 100%;
    min-height: 500px;
    height: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(20%) contrast(1.1);
}

@media (max-width: 900px) {
    .location-wrapper {
        grid-template-columns: 1fr;
        grid-template-rows: auto 400px;
    }
    
    .location-card {
        order: 2;
    }
    
    .map-container {
        order: 1;
        min-height: 350px;
    }
}

@media (max-width: 640px) {
    .location {
        padding: var(--space-3xl) 0;
    }
    
    .location-card {
        padding: var(--space-lg);
    }
    
    .location-card-header h3 {
        font-size: 1.25rem;
    }
}


.trajectory {
    position: relative;
    padding: var(--space-4xl) 0;
    overflow: hidden;
}

.trajectory-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.trajectory-subtitle {
    max-width: 650px;
    margin: 0 auto;
    color: var(--color-text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

.trajectory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    align-items: stretch;
}

.trajectory-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.trajectory-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.trajectory-card:nth-child(1) { transition-delay: 0s; }
.trajectory-card:nth-child(2) { transition-delay: 0.1s; }
.trajectory-card:nth-child(3) { transition-delay: 0.2s; }

.trajectory-content {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    border: 1px solid var(--color-border);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: border-color var(--duration-fast) ease,
                box-shadow var(--duration-normal) ease,
                transform var(--duration-normal) ease;
}

.trajectory-card:hover .trajectory-content {
    border-color: var(--color-primary-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.trajectory-card.current .trajectory-content {
    border-color: var(--color-accent);
    background: linear-gradient(
        135deg,
        var(--color-white) 0%,
        rgba(201, 169, 98, 0.05) 100%
    );
    position: relative;
    overflow: hidden;
}

.trajectory-card.current .trajectory-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-accent);
}

.trajectory-badge {
    display: inline-block;
    align-self: flex-start;
    padding: var(--space-xs) var(--space-md);
    background: var(--color-bg-alt);
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.trajectory-badge.current {
    background: var(--color-accent);
    color: var(--color-white);
}

.trajectory-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.trajectory-developer {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) var(--space-md);
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
}

.trajectory-developer svg {
    width: 16px;
    height: 16px;
    stroke: var(--color-primary);
}

.trajectory-developer span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-primary);
}

.trajectory-description {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    font-size: 0.95rem;
    flex-grow: 1;
}

.trajectory-location {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-text-light);
    font-size: 0.85rem;
    margin-top: auto;
}

.trajectory-location svg {
    width: 16px;
    height: 16px;
    stroke: var(--color-accent);
}

.trajectory-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
    padding: var(--space-sm) var(--space-lg);
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    transition: background var(--duration-fast) ease,
                transform var(--duration-fast) ease;
}

.trajectory-cta:hover {
    background: var(--color-primary-dark);
    transform: translateX(4px);
}

.trajectory-cta svg {
    width: 16px;
    height: 16px;
    transition: transform var(--duration-fast) ease;
}

.trajectory-cta:hover svg {
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    .trajectory-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trajectory-card:last-child {
        grid-column: span 2;
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .trajectory {
        padding: var(--space-3xl) 0;
    }
    
    .trajectory-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .trajectory-card:last-child {
        grid-column: auto;
        max-width: none;
    }
    
    .trajectory-content {
        padding: var(--space-lg);
    }
    
    .trajectory-name {
        font-size: 1.35rem;
    }
}
