:root {
    /* Color Palette - Indigo & Costanero */
    --bg-main: #060608;
    --bg-surface: #111114;
    --bg-surface-hover: #18181c;
    --bg-card: rgba(17, 17, 20, 0.75);
    
    --text-primary: #f8f9fa;
    --text-secondary: #a1a1aa;
    --text-muted: #63636b;
    
    --accent-indigo: #0E32A3;
    --accent-costanero: #307582;
    --accent-indigo-glow: rgba(14, 50, 163, 0.25);
    --accent-costanero-glow: rgba(48, 117, 130, 0.25);
    
    --accent-light: #f8f9fa;
    --accent-muted: #3f3f46;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.2);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    cursor: none; /* Hide native cursor */
}

a, button, [onclick], .carousel-btn, .carousel-item-3d, .nav-link, .btn, select, input, textarea {
    cursor: none !important; /* Force hide on clickables too */
}


/* Typography */
h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding: 100px 0;
}

/* Canvas Background */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    opacity: 0.8;
    pointer-events: none;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: transparent;
    transition: var(--transition-normal);
    padding: 24px 0;
}

.navbar.scrolled {
    background: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    transition: var(--transition-normal);
}

.navbar .container {
    max-width: 1600px;
}

.navbar.scrolled .nav-content {
    height: 80px;
}

.logo {
    font-size: 1.8rem;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-left: -20px; /* Slight push even more to the left */
}

.logo-img {
    height: 60px;
    width: auto;
    display: block;
    transition: var(--transition-normal);
}

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

@media (max-width: 900px) {
    .navbar {
        padding: 12px 0;
    }
    
    .nav-content {
        height: 70px;
    }

    .logo-img {
        height: 45px;
    }
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    justify-content: flex-end; /* Align links to the right */
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-link:not(.button-outline)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-indigo);
    transition: var(--transition-normal);
}

.nav-link:not(.button-outline):hover::after,
.nav-link.active:not(.button-outline)::after {
    width: 100%;
}

.button-outline {
    border: 1px solid var(--border-color);
    padding: 8px 20px;
    border-radius: 4px;
}

.button-outline:hover {
    border-color: var(--accent-light);
    background: rgba(255, 255, 255, 0.05);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    justify-self: end;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 6, 8, 0.95);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    justify-content: flex-end; /* Align to the right */
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    background: var(--bg-surface);
    width: 300px; /* Sidebar width */
    height: 100%;
    padding: 100px 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    transform: translateX(100%); /* Start off-screen to the right */
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 1px solid var(--border-color);
}

.mobile-menu.open .mobile-menu-content {
    transform: translateX(0);
}

.close-menu-btn {
    position: absolute;
    top: 40px;
    right: 40px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-nav-links a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    padding: 16px 32px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-indigo), var(--accent-costanero), var(--accent-indigo));
    background-size: 200% auto;
    background-position: left center;
    color: #ffffff;
    font-weight: 600;
}

.btn-primary:hover {
    background-position: right center;
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5), 0 0 20px var(--accent-indigo-glow);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    border-color: var(--accent-light);
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

/* Section Shared */
.section-header {
    margin-bottom: 60px;
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.title-line {
    height: 2px;
    width: 40px;
    background-color: var(--accent-indigo);
}

.title-line.center-line {
    margin: 16px auto 0;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 120px;
    overflow: hidden;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 900px;
}

.subtitle-tag {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 24px;
    background: linear-gradient(180deg, #ffffff 0%, var(--accent-indigo) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0 auto 40px;
    max-width: 700px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-visual {
    position: relative;
    height: 100%;
}

.background-glow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
}

.abstract-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.85;
    will-change: transform;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14, 50, 163, 0.5) 0%, transparent 80%);
    top: -15%;
    right: -10%;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(48, 117, 130, 0.45) 0%, transparent 80%);
    bottom: -5%;
    left: -10%;
    animation-delay: -5s;
}

.shape-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(14, 50, 163, 0.4) 0%, transparent 80%);
    top: 40%;
    left: 45%;
    animation-duration: 15s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -30px) scale(1.1); }
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 60px;
}

.service-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    display: flex;
    min-height: 270px;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    transition: var(--transition-normal);
    pointer-events: none;
    z-index: 2;
}

.service-card:hover::after {
    border-color: var(--accent-indigo);
}

/* Left side: service info */
.service-info {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 30px;
    padding: 40px;
}

.service-icon {
    font-size: 2.2rem;
    color: var(--accent-indigo);
    background: rgba(255, 255, 255, 0.03);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    flex-shrink: 0;
}

.service-card:hover .service-icon {
    background: var(--accent-indigo);
    color: var(--bg-main);
}

.service-content {
    flex-grow: 1;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
    font-family: var(--font-heading);
    color: var(--text-primary);
    letter-spacing: 1px;
}

.service-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Right side: carousel */
.service-carousel {
    width: 340px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    background: var(--bg-main);
    border-left: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.carousel-track {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.carousel-track img.carousel-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease-in-out;
}

.carousel-track img.carousel-slide.active-slide {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 10px;
    background: rgba(6, 6, 8, 0.9);
    border-top: 1px solid var(--border-color);
}

.carousel-btn {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 0.8rem;
}

.carousel-btn:hover {
    background: var(--accent-indigo);
    color: var(--bg-main);
    border-color: var(--accent-indigo);
}

.carousel-counter {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    min-width: 60px;
    text-align: center;
}

.carousel-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-muted);
    gap: 12px;
}

.carousel-placeholder i {
    font-size: 2.5rem;
    opacity: 0.3;
}

.carousel-placeholder span {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.5;
}

/* Services Responsive */
@media (max-width: 900px) {
    .service-card {
        flex-direction: column;
        min-height: auto;
    }
    
    .service-carousel {
        width: 100%;
        height: 280px;
        border-left: none;
        border-top: 1px solid var(--border-color);
    }
    
    .service-info {
        padding: 30px;
    }
}

@media (max-width: 600px) {
    .service-info {
        flex-direction: column;
        gap: 20px;
        padding: 25px;
    }
}



.uniforms-highlight {
    background: linear-gradient(135deg, rgba(30, 30, 36, 0.8) 0%, rgba(20, 20, 23, 0.8) 100%);
    border: 1px solid var(--border-hover);
    border-radius: 8px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.uniforms-highlight::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transform: skewX(-20deg);
    animation: shine 6s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.highlight-content {
    max-width: 1100px;
}

.highlight-icon {
    font-size: 2.5rem;
    color: var(--accent-light);
    margin-bottom: 20px;
}

.highlight-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.highlight-content strong {
    color: var(--text-primary);
    font-weight: 500;
    display: block;
    margin-bottom: 8px;
}

/* 3D Interactive Carousel Section */
.carousel-3d-section {
    background: var(--bg-main);
    overflow: hidden;
    perspective: 1500px;
}

.container-carousel {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.carousel-stage {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
    transform-style: preserve-3d;
}

.carousel-3d-container {
    position: absolute;
    width: 280px;
    height: 400px;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out; /* Smooth but responsive to JS */
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-item-3d {
    position: absolute;
    width: 280px;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.8);
    border: 1px solid var(--border-color);
    backface-visibility: hidden;
    cursor: pointer;
    transition: var(--transition-normal);
    background: var(--bg-surface);
}

.carousel-item-3d img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0.8) contrast(1.1);
    transition: var(--transition-normal);
}

.carousel-item-3d:hover {
    border-color: var(--accent-indigo);
}

.carousel-item-3d:hover img {
    filter: brightness(1.1) contrast(1.1);
}

.carousel-controls {
    text-align: center;
    margin-top: 20px;
}

.carousel-hint {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: rgba(255, 255, 255, 0.03);
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
}

.carousel-hint i {
    margin-right: 8px;
    color: var(--accent-indigo);
}

/* Responsive adjustments for 3D stage */
@media (max-width: 768px) {
    .carousel-stage {
        height: 500px;
    }
    
    .carousel-3d-container, .carousel-item-3d {
        width: 200px;
        height: 300px;
    }
}

@media (max-width: 480px) {
    .carousel-stage {
        height: 400px;
    }
    
    .carousel-3d-container, .carousel-item-3d {
        width: 160px;
        height: 240px;
    }
}

/* End 3D Carousel Styles */

/* About Section */

.about {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content-box {
    margin-top: 40px;
}

.lead-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.about-content-box p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.signature {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.sig-name {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-indigo);
}

.sig-title {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-visual {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    width: 320px;
    height: 440px;
    z-index: 1;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    filter: brightness(0.9);
    transition: var(--transition-slow);
}

.image-border {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 140px;
    height: 140px;
    border-top: 3px solid var(--accent-indigo);
    border-right: 3px solid var(--accent-indigo);
    border-radius: 4px;
    z-index: -1;
    transition: var(--transition-slow);
}

.about-visual:hover .about-image {
    filter: brightness(1.1);
    transform: translateY(-10px) scale(1.02);
}

.about-visual:hover .image-border {
    transform: translate(10px, -10px);
}

.about-image-wrapper {
    position: relative;
    width: 320px;
    height: 440px;
    z-index: 1;
    animation: float-image 4s ease-in-out infinite alternate;
}

@keyframes float-image {
    0% { transform: translateY(0); }
    100% { transform: translateY(-15px); }
}

.glass-card-accent {
    position: absolute;
    bottom: 20px;
    right: -20px;
    background: rgba(20, 20, 25, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-hover);
    padding: 24px;
    border-radius: 8px;
    text-align: center;
    z-index: 2;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-light);
    line-height: 1;
}

.stat-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
}

/* Clientes */
.clients-logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.client-logo-item {
    padding: 30px;
    background: #000000; /* Pure black background */
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 210px; /* 1.5x from 140px */
    border-radius: 8px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.client-logo-item img {
    max-width: 90%; /* Slight increase in relative size too */
    max-height: 85%;
    object-fit: contain;
    opacity: 0.8;
    transition: var(--transition-normal);
}

.client-logo-item:hover {
    background: var(--bg-surface-hover);
    border-color: var(--accent-indigo);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.client-logo-item:hover img {
    opacity: 1; /* Full opacity on hover */
    transform: scale(1.1);
}

.client-logo-item.logo-large {
    padding: 10px;
}

.client-logo-item.logo-large img {
    max-width: 100%;
    max-height: 100%;
    transform: scale(1.1);
    opacity: 1;
}

.client-logo-item.logo-large:hover img {
    transform: scale(1.2);
}

.client-logo-item.logo-medium {
    padding: 20px;
}

.client-logo-item.logo-medium img {
    max-width: 95%;
    max-height: 90%;
    opacity: 1;
}

@media (max-width: 768px) {
    .clients-logo-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 20px;
    }
    
    .client-logo-item {
        height: 180px;
        padding: 20px;
    }
}

/* Contacto */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.contact-subtitle {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.contact-desc {
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
    flex-shrink: 0;
}

.info-text span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.info-text a, .info-text address {
    color: var(--text-primary);
    font-style: normal;
    font-weight: 500;
}

.info-text a:hover {
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--accent-light);
    color: var(--bg-main);
    transform: translateY(-3px);
}

/* Form */
.contact-form-container {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.btn-whatsapp {
    background: #25D366 !important;
    color: #fff !important;
}

.btn-whatsapp:hover {
    background: #128C7E !important;
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.3);
}

.btn-email {
    width: 100%;
}

.form-group {
    position: relative;
    margin-bottom: 24px;
}

.form-group input, 
.form-group textarea,
.form-group select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
    outline: none;
}

.form-group select {
    color: var(--text-secondary);
    appearance: none;
    -webkit-appearance: none;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="%23a1a1aa" viewBox="0 0 16 16"><path d="M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z"/></svg>') no-repeat right center;
    cursor: pointer;
}

.form-group select option {
    background-color: var(--bg-surface);
    color: var(--text-primary);
}

.form-group select:focus {
    color: var(--text-primary);
}

.form-group label {
    position: absolute;
    top: 12px;
    left: 0;
    color: var(--text-muted);
    font-size: 1rem;
    transition: var(--transition-fast);
    pointer-events: none;
}

.form-group input:focus, 
.form-group textarea:focus,
.form-group select:focus {
    border-bottom-color: var(--accent-light);
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -12px;
    font-size: 0.8rem;
    color: var(--accent-light);
}

.btn-block {
    width: 100%;
    margin-top: 16px;
}

.map-container {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    filter: grayscale(100%) invert(90%) hue-rotate(180deg) contrast(1.2); /* Dark Map Trick */
}

/* Footer */
.footer {
    background: #050506;
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-desc {
    color: var(--text-secondary);
    margin-top: 16px;
    max-width: 300px;
}

.footer h4 {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.footer-links-group ul li {
    margin-bottom: 12px;
}

.footer-links-group a {
    color: var(--text-secondary);
}

.footer-links-group a:hover {
    color: var(--accent-light);
    padding-left: 4px;
}

.footer-contact p {
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-contact i {
    color: var(--text-muted);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.social-links.small .social-link {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
}

/* Responsive */


/* Trajectory Stats */
.achievement-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 40px 20px;
    border-radius: 8px;
    transition: var(--transition-normal);
}

.stat-card:hover {
    border-color: var(--accent-indigo);
    background: var(--bg-surface-hover);
    transform: translateY(-5px);
}

.stat-card .stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-indigo) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-card .stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

@media (max-width: 768px) {
    .achievement-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-container, .about-grid, .contact-grid, .footer-content {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding-top: 160px;
        min-height: auto;
        padding-bottom: 80px;
    }

    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .md-span-2 {
        grid-column: span 1;
    }
}

@media (max-width: 600px) {
    .hero {
        padding-top: 140px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }

    .clients-logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .client-logo-item {
        height: 140px;
        padding: 15px;
    }

    .client-logo-item.logo-large {
        padding: 5px;
    }

    .client-logo-item.logo-medium {
        padding: 10px;
    }
    
    .contact-form-container {
        padding: 24px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* Developer Credit */
.developer-credit {
    text-align: center;
    padding: 20px 0;
    background: #020202;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
}

.developer-credit a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    vertical-align: middle;
    transition: var(--transition-normal);
}

.developer-logo {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1) opacity(0.6); /* Default look matching muted text */
    transition: var(--transition-normal);
}

.developer-credit a:hover .developer-logo {
    filter: brightness(0) invert(1) opacity(1);
    transform: scale(1.05);
}

/* Lightbox Styles */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    backdrop-filter: blur(8px);
    cursor: zoom-out;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    object-fit: contain;
    cursor: default;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: -40px;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.lightbox-close:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .lightbox-close {
        top: -50px;
        right: 0;
    }
}

.carousel-slide, .lightbox-trigger {
    cursor: zoom-in;
}

/* Dresses Grid */
.dresses-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.dress-item {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.dress-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.dress-item:hover {
    border-color: var(--accent-indigo);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.dress-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 900px) {
    .dresses-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .dresses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

/* Floating Trajectory Images (Centered Section) */
.centered-gallery-section {
    position: relative;
    z-index: 10;
}

.floating-gallery-centered {
    position: relative;
    height: 700px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.floating-img-item {
    position: absolute;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    pointer-events: auto;
    transition: var(--transition-slow);
    animation: float-trajectory 6s ease-in-out infinite alternate;
}

.floating-img-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
    transition: var(--transition-slow);
}

.floating-img-item:hover {
    z-index: 50;
    transform: translateY(-20px) scale(1.15) rotate(0deg) !important;
    border-color: var(--accent-indigo);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
}

.floating-img-item:hover img {
    filter: brightness(1.1);
}

@keyframes float-trajectory {
    0% { transform: translateY(0) rotate(-1deg); }
    100% { transform: translateY(-25px) rotate(2deg); }
}

/* Positions for 11 Images in a clustered collage */
.pos-1 { top: 0; left: 5%; width: 240px; height: 170px; z-index: 1; animation-delay: 0s; }
.pos-2 { top: 5%; left: 30%; width: 300px; height: 210px; z-index: 5; animation-delay: -1s; }
.pos-3 { top: 2%; right: 25%; width: 270px; height: 180px; z-index: 2; animation-delay: -2s; }
.pos-4 { top: 10%; right: 2%; width: 240px; height: 170px; z-index: 1; animation-delay: -3s; }

.pos-5 { top: 30%; left: 2%; width: 260px; height: 180px; z-index: 3; animation-delay: -1.5s; }
.pos-6 { top: 35%; left: 35%; width: 340px; height: 240px; z-index: 10; animation-delay: -2.5s; }
.pos-7 { top: 32%; right: 5%; width: 280px; height: 190px; z-index: 4; animation-delay: -0.5s; }

.pos-8 { bottom: 15%; left: 8%; width: 230px; height: 160px; z-index: 2; animation-delay: -3.5s; }
.pos-9 { bottom: 5%; left: 35%; width: 290px; height: 200px; z-index: 6; animation-delay: -4s; }
.pos-10 { bottom: 10%; right: 28%; width: 270px; height: 190px; z-index: 5; animation-delay: -5s; }
.pos-11 { bottom: 0; right: 8%; width: 250px; height: 175px; z-index: 2; animation-delay: -1.2s; }

@media (max-width: 1200px) {
    .trajectory-gallery-container {
        max-width: 100%;
        padding: 0;
    }

    .floating-gallery-centered { 
        height: 600px; 
        transform: scale(0.9);
        transform-origin: center top;
    }
}

@media (max-width: 900px) {
    .floating-gallery-centered { 
        height: 600px; 
        transform: scale(1.1);
        transform-origin: center center;
        margin-bottom: 0;
    }
    
    .centered-gallery-section {
        margin-bottom: 0 !important;
        padding: 40px 0;
    }
}

@media (max-width: 600px) {
    .floating-gallery-centered { 
        height: 500px;
        transform: scale(0.85);
        margin-top: 0;
    }
    
    .pos-1, .pos-2, .pos-3, .pos-4, .pos-5, .pos-6, .pos-7, .pos-8, .pos-9, .pos-10, .pos-11 {
        animation: none !important;
    }
}


@keyframes float-trajectory-mobile {
    0% { transform: translateY(0); }
    100% { transform: translateY(-15px); }
}

/* Custom Cursor Styles - White Circle */
.cursor-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    display: none;
}

.cursor-container.active {
    display: block;
}

.custom-cursor-dot {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

/* Flash Celeste on Hover */
.cursor-container.hover .custom-cursor-dot {
    transform: scale(3);
    background: #e0faff; /* Lightest celeste */
    box-shadow: 0 0 20px #87CEEB, 0 0 40px rgba(135, 206, 235, 0.4);
    border-color: #87CEEB;
}

/* React to Click */
.cursor-container.clicked .custom-cursor-dot {
    transform: scale(0.8);
    background: #87CEEB;
    box-shadow: 0 0 30px #87CEEB;
}

.cursor-container.hover.clicked .custom-cursor-dot {
    transform: scale(2);
}

/* Remove glint for this cleaner design */
.cursor-glint {
    display: none;
}


/* Secondary subtle trail */
.cursor-trail {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background: var(--accent-indigo);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4;
    filter: blur(1px);
    transform: translate(-50%, -50%);
}

.cursor-container.hover ~ .cursor-trail {
    opacity: 0; /* Hide trail on hover to focus on the expanded dot */
}


@media (pointer: coarse) {
    .cursor-container, .cursor-trail {
        display: none !important;
    }
    body {
        cursor: auto !important;
    }
}
