@font-face {
    font-family: "GT Sectra";
    font-display: swap;
    src: url("../fonts/gt-sectra.woff2") format("woff2");
}

@font-face {
    font-family: "Neue Montreal";
    font-display: swap;
    src: url("../fonts/neue-montreal.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-display: swap;
    src: url("../fonts/inter.woff2") format("woff2");
}

@font-face {
    font-family: "Neue Montreal Light";
    font-display: swap;
    src: url("../fonts/neue-montreal-light.woff2") format("woff2");
}

:root {
    --bg-color: #000;
    --text-color: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.5);
    --accent-color: #f2e9d2;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'GT Sectra', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --grid-gap: 20px;
    --container-width: 1344px;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

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

/* Staggered delay for child elements if needed */
.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

.contenido {
    /*padding: 0 16rem 0 18rem;*/
}

h1,
h2,
h3 {
    font-family: 'GT Sectra';
    font-weight: lighter;
}

.arquitecto {
    margin-top: 10px;
    font-family: 'GT Sectra';
    font-weight: 300;
    font-size: 9px;
    letter-spacing: 1.26px;
    line-height: 13.5px;
    color: #EBE4D8;
    text-transform: uppercase;
}

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

/* Navbar Base */
.navbar {
    width: 100%;
    z-index: 1000;
    padding: 20px 60px;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    /*padding: 15px 60px;*/
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logos y Wrappers */
.logo-img {
    height: 26px;
    width: auto;
    display: block;
}

.logo-casacor {
    height: 24px;
    width: auto;
    display: block;
}

.logos-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-divider {
    width: 1px;
    height: 25px;
    background-color: rgba(255, 255, 255, 0.2);
}

/* Visibilidad Condicional */
.desktop-only {
    display: flex;
}

.mobile-only {
    display: none;
}

@media (max-width: 991px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: flex !important;
    }
}

/* Links de Navegación */
.nav-links {
    display: flex;
    gap: 45px;
    align-items: center;
}

.nav-links li a {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
    font-family: 'Neue Montreal';
}

.nav-links li a:hover {
    color: #fff;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 1px;
    background: #fff;
}

@media (max-width: 991px) {
    .navbar {
        padding: 12px 20px;
    }

    .hamburger {
        display: flex;
    }

    /* Logos más pequeños en móvil */
    .mobile-only .logo-img {
        height: 18px;
    }

    .mobile-only .logo-casacor {
        height: 16px;
    }

    .nav-divider {
        height: 20px;
    }

    .logos-wrapper {
        gap: 10px;
    }
}

/* Overlay Menu */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000;
    z-index: 2000;
    display: none;
    flex-direction: column;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.menu-overlay.active {
    display: flex;
    opacity: 1;
}

.menu-overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.menu-overlay-header .logo-img {
    height: 18px;
}

.menu-overlay-header .logo-casacor {
    height: 16px;
}

.close-btn {
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
}

.close-btn span {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #fff;
}

.close-btn span:first-child {
    transform: rotate(45deg);
}

.close-btn span:last-child {
    transform: rotate(-45deg);
}

.menu-overlay-content {
    flex: 1;
    display: flex;
    align-items: center;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mobile-nav-links li {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.5s ease forwards;
}

.menu-overlay.active .mobile-nav-links li {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(0.1s * var(--i));
}

.mobile-nav-links li a {
    font-family: 'GT Sectra';
    font-size: 48px;
    text-transform: uppercase;
    color: #fff;
    transition: var(--transition);
}

.mobile-nav-links li a:hover {
    color: #B3966F;
    padding-left: 10px;
}

.menu-overlay-footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--text-muted);
}

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

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

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), transparent 70%),
        linear-gradient(to bottom, transparent 60%, var(--bg-color));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 800px;
    margin-left: 26%;
    /* Balanced according to video */
}

.hero-subtitle {
    font-family: 'Neue Montreal';
    font-weight: 400;
    font-size: 10px;
    line-height: 15px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #B3966F;
}

.hero-subtitle-movil {
    display: none;
}

.hero-title {
    font-family: 'GT Sectra';
    font-weight: 300;
    font-size: 115px;
    line-height: 106.27px;
    letter-spacing: -2.31px;
    margin-bottom: 40px;
    color: #ffffff;
}

.hero-desc {
    font-family: 'Neue Montreal';
    font-weight: 400;
    font-size: 17px;
    line-height: 30px;
    letter-spacing: 0px;
    color: var(--text-muted);
    margin-bottom: 60px;
}

.hero-cta {
    font-family: 'Neue Montreal';
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;
    letter-spacing: 0px;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    padding-left: 15px;
    max-width: 450px;
    color: #EBE4D8;
    margin-left: 2.8rem;
}

.hero-mouse {
    display: none;
}

/* Strategic Partners Bar */
.partners-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(220, 201, 168, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
    padding: 10px 0;
    overflow: hidden;
    z-index: 10;
}

.partners-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 0 40px;
}

.partners-title {
    font-family: 'Neue Montreal';
    font-size: 10px;
    font-weight: 400;
    color: rgba(235, 228, 216, 0.42);
    text-transform: uppercase;
    white-space: nowrap;
    letter-spacing: 3px;
}

.partners-logos-wrapper {
    display: flex;
    align-items: center;
}

.partners-logos {
    display: flex;
    align-items: center;
    gap: 0;
}

.logos-set {
    display: flex;
    align-items: center;
    gap: 40px;
    padding-right: 40px;
}

.mobile-only-loop {
    display: none;
}

.partner-logo {
    height: 24px;
    width: auto;
    /*opacity: 0.6;*/
    transition: opacity 0.3s ease;
    filter: brightness(0) invert(1);
    display: block;
}

.partner-logo.logo-barrington {
    height: 40px;
}

.partner-logo.logo-spradling {
    height: 20px;
}

.partner-logo.logo-proquinal {
    height: 31px;
}

.partner-logo.logo-viplastic {
    height: 39px;
    margin-top: -0.5rem;
}

.partner-logo:hover {
    opacity: 1;
}

@media (max-width: 991px) {
    .partners-bar {
        padding: 5px 0;
    }

    .partners-container {
        flex-direction: column;
        gap: 8px;
        padding: 0;
    }

    .partners-title {
        text-align: left;
        width: 100%;
        padding-left: 30px;
        opacity: 0.4;
        font-size: 10px;
        color: rgba(235, 228, 216, 0.42);
    }

    .partners-logos-wrapper {
        width: 100%;
        overflow: hidden;
        mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
        -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    }

    .mobile-only-loop {
        display: flex;
    }

    .partners-logos {
        display: flex;
        animation: logoLoop 20s linear infinite;
        width: max-content;
        gap: 0;
    }

    .logos-set {
        display: flex;
        gap: 60px;
        padding-right: 60px;
    }

    .partner-logo {
        height: 21px;
        opacity: 0.5;
    }

    .partner-logo.logo-barrington {
        height: 40px;
    }

    @keyframes logoLoop {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-50%);
        }
    }
}

html {
    scroll-behavior: smooth;
}

/* Section Common */
.section {
    padding: 40px 0;
    scroll-margin-top: 80px;
}

.serif-title {
    font-family: 'GT Sectra';
    font-weight: 300;
    font-size: 60px;
    line-height: 57.42px;
    letter-spacing: -1.2px;
    margin-bottom: 30px;
    color: #ffffff;
}

.materials-section .serif-title {
    font-weight: 500;
}

/* Intro Section */
.intro-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

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

.accent-p {
    max-width: 380px;
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: -0.31px;
    color: var(--text-muted);
}

.intro-body {
    background: #11100f;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 58px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    font-size: 18px;
    letter-spacing: 5%;
    color: #EBE4D8;
    /*margin-top: 60px;*/
}

.intro-text p {
    margin-bottom: 24px;
    color: var(--text-muted);
    font-family: 'Neue Montreal';
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: 0.05em;
    text-align: justify;
    /* 5% */
}

.intro-text p strong {
    color: var(--text-color);
}

.collage-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    /*background: #1a1a1a;*/
    display: flex;
    justify-content: center;
    align-items: center;
}

.collage-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: rgba(0, 0, 0, 0.3);*/
    pointer-events: none;
    /* Crucial to let clicks pass to video controls */
    z-index: 2;
}

.play-icon-overlay {
    position: absolute;
    z-index: 3;
    width: 80px;
    height: 80px;
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    opacity: 0.8;
    transition: var(--transition);
}

.collage-container:hover .play-icon-overlay {
    opacity: 1;
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.1);
}

.collage-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.collage-label {
    position: absolute;
    top: 40px;
    left: 40px;
    z-index: 4;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
}

.collage-brand-overlay {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 4;
    text-align: right;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
}

/* Materials Section */
.materials-section {
    /*background: #111;*/
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    /* Tighter margin as in image */
}

.header-desc {
    max-width: 500px;
}

.header-desc p {
    font-family: 'Inter';
    font-weight: 300;
    font-size: 16px;
    line-height: 27.52px;
    letter-spacing: -0.31px;
    color: #ebe4d88a;
}

.materials-slider-container {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    cursor: grab;
    padding: 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
    user-select: none;
    -webkit-user-select: none;
}

/* Horizontal Scroll Fades */
.materials-slider-container::before,
.materials-slider-container::after,
.spaces-slider-container::before,
.spaces-slider-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 250px;
    /* VIP Width: space for a natural transition */
    height: 100%;
    z-index: 10;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    backdrop-filter: blur(40px);
    /* Deep, luxurious blur */
    -webkit-backdrop-filter: blur(40px);
    will-change: opacity;
}

.materials-slider-container::before,
.spaces-slider-container::before {
    left: -1px;
    /* This masks the blur itself, making it fade out naturally */
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    background: linear-gradient(to right, #000 0%, transparent 100%);
}

.materials-slider-container::after,
.spaces-slider-container::after {
    right: -1px;
    /* This masks the blur itself, making it fade out naturally */
    -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    background: linear-gradient(to left, #000 0%, transparent 100%);
}

.materials-slider-container.show-fade-left::before,
.spaces-slider-container.show-fade-left::before {
    opacity: 1;
}

.materials-slider-container.show-fade-right::after,
.spaces-slider-container.show-fade-right::after {
    opacity: 1;
}

.materials-slider-container::-webkit-scrollbar {
    display: none;
}

.materials-slider-container.grabbing {
    cursor: grabbing;
}

.materials-slider {
    display: flex;
    padding: 20px max(40px, calc((100vw - var(--container-width)) / 2 + 40px));
    transition: transform 0.1s ease-out;
    will-change: transform;
    transform: translateZ(0);
}

.materials-grid {
    display: grid;
    grid-template-columns: 450px 350px 350px 450px 350px 350px 450px;
    grid-template-rows: 350px 350px;
    gap: var(--grid-gap);
    flex: 0 0 auto;
}

/* Dynamic Grid Logic - Senior Approach */

/* X1: Large Vertical (Fixed 2 rows) */
.materials-grid> :nth-child(1) {
    grid-column: 1;
    grid-row: 1 / 3;
    height: auto !important;
    /* Let grid control height */
}

/* X2: Horizontal (2 columns, Row 1) */
.materials-grid> :nth-child(2) {
    grid-column: 2 / 4;
    grid-row: 1;
}

/* X3 (New): Large Vertical (Middle) */
.materials-grid> :nth-child(3) {
    grid-column: 4;
    grid-row: 1 / 3;
    height: auto !important;
}

/* X4 (Old 3): Square (Col 5, Row 1) */
.materials-grid> :nth-child(4) {
    grid-column: 5;
    grid-row: 1;
}

/* X5 (Old 4): Square (Col 6, Row 1) */
.materials-grid> :nth-child(5) {
    grid-column: 6;
    grid-row: 1;
}

/* X6 (Old 5): Square (Col 2, Row 2) */
.materials-grid> :nth-child(6) {
    grid-column: 2;
    grid-row: 2;
}

/* X7 (Old 6): Square (Col 3, Row 2) */
.materials-grid> :nth-child(7) {
    grid-column: 3;
    grid-row: 2;
}

/* X8 (Old 7): Horizontal (Col 5-6, Row 2) */
.materials-grid> :nth-child(8) {
    grid-column: 5 / 7;
    grid-row: 2;
}

/* X9 (New): Large Vertical (End) */
.materials-grid> :nth-child(9) {
    grid-column: 7;
    grid-row: 1 / 3;
    height: auto !important;
}

.material-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    background: #1a1a1a;
    height: 100%;
    /* Fill grid cell */
}


.material-card video {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: var(--transition);
    user-drag: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.material-card:hover .card-bg {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: end;
    align-items: end;
}

.play-btn {
    background: none;
    border: 5px solid #f5f5f57d;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    color: #f5f5f57d;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    margin: 2rem;
    cursor: pointer;
    z-index: 10;
}

.play-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
    color: #fff;
    transform: scale(1.1);
}

.play-pause-icon {
    width: 18px;
    height: 20px;
    position: relative;
    display: flex;
    justify-content: space-between;
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    margin-left: 4px;
}

.play-pause-icon::before,
.play-pause-icon::after {
    content: "";
    display: block;
    width: 9px;
    height: 20px;
    background: currentColor;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Play State (Triangle) */
.play-pause-icon::before {
    clip-path: polygon(0 0, 100% 22.5%, 100% 77.5%, 0% 100%);
}

.play-pause-icon::after {
    clip-path: polygon(0 22.5%, 100% 50%, 100% 50%, 0 77.5%);
    margin-left: -1px;
    /* Precision overlap */
}

/* Pause State (Two Bars) */
.play-btn.playing .play-pause-icon {
    margin-left: 0;
}

.play-btn.playing .play-pause-icon::before,
.play-btn.playing .play-pause-icon::after {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    width: 6px;
}

.play-btn.playing .play-pause-icon::after {
    margin-left: 0;
}

.card-info {
    position: absolute;
    top: 0;
    padding: 22px 20px;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.card-descripcion {
    position: absolute;
    bottom: 40px;
    /*left: 40px;*/
    z-index: 4;
}

.material-card .tag {
    display: inline-block;
    font-family: 'Neue Montreal';
    font-weight: lighter;
    font-size: 9px;
    line-height: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(5px);
    margin-bottom: 10px;
}

.material-card h3 {
    font-size: 28px;
    margin-bottom: 8px;
    color: rgba(235, 228, 216, 1);

}

.material-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 1);
    font-family: 'Neue Montreal Light';
    letter-spacing: 1px;
    line-height: 23px;
    width: 19rem;
    text-shadow: 0px 1px 3px rgba(0, 0, 0, 1);
}

.materials-subgrid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 400px 400px;
    gap: var(--grid-gap);
}

.materials-subgrid .material-card.horizontal {
    grid-column: 1 / 2;
}

.materials-subgrid .material-card.square {
    height: 400px;
}

/* Spaces Section Slider */
.spaces-slider-container {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    cursor: grab;
    padding: 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
    user-select: none;
    -webkit-user-select: none;
}

.spaces-slider-container::-webkit-scrollbar {
    display: none;
}

.spaces-slider {
    display: flex;
    gap: 30px;
    padding: 20px max(40px, calc((100vw - var(--container-width)) / 2 + 40px));
    transition: transform 0.1s ease-out;
    will-change: transform;
    transform: translateZ(0);
}

.spaces-slider .space-card {
    flex: 0 0 400px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.spaces-slider a.space-card:hover {
    text-decoration: none;
    transform: translateY(-10px);
}

.space-card {
    padding: 10px 20px;
    border-radius: 30px;
    position: relative;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.space-card.glass-card {
    background:
        linear-gradient(135deg, var(--card-color, rgba(255, 255, 255, 0.03)) 0%, rgba(0, 0, 0, 0.2) 100%),
        radial-gradient(110.36% 115.91% at 82% 22%, rgba(235, 228, 216, 0.08) 0%, rgba(0, 0, 0, 0) 18%),
        linear-gradient(115deg, rgba(0, 0, 0, 0) 37.55%, rgba(235, 228, 216, 0.06) 37.79%, rgba(0, 0, 0, 0) 38.04%);

    backdrop-filter: blur(20px);
}

.space-card:not(.non-clickable):hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
}

.space-card.non-clickable {
    cursor: default;
}

.space-number {
    font-family: 'GT Sectra';
    font-size: 4.5rem;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
}

.status {
    display: block;
    font-family: 'Neue Montreal';
    font-weight: 400;
    font-size: 9px;
    line-height: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    /*color: rgb(179 174 166);*/
    /*margin-bottom: 15px;*/
    border: 1px #212224 solid;
    border-radius: 25px;
    padding: 0.45rem;
    width: max-content;
    background-color: #000;
    color: #EBE4D8;
}

.space-card h3 {
    font-size: 2rem;
    /*margin-bottom: 15px;*/
    line-height: 30px;
}

.space-card p {
    font-size: 16px;
}

.card-01 {
    --card-color: rgba(60, 88, 68, 0.5);
}

.card-02 {
    --card-color: rgba(52, 63, 85, 0.5);
}

.card-03 {
    --card-color: rgba(85, 52, 52, 0.5);
}

.card-04 {
    --card-color: rgba(52, 85, 74, 0.5);
}

.card-05 {
    --card-color: rgba(74, 52, 85, 0.5);
}

.card-06 {
    --card-color: rgba(85, 83, 52, 0.5);
}

.card-07 {
    --card-color: rgba(52, 85, 85, 0.5);
}

.card-08 {
    --card-color: rgba(68, 68, 68, 0.5);
}

.spaces-slider-container.grabbing {
    cursor: grabbing;
    cursor: -webkit-grabbing;
}

.creators {
    margin-top: 40px;
    font-size: 11px !important;
    letter-spacing: 1px;
    /*padding-top: 20px;*/
    font-family: 'Inter';
    color: #B3966F;
}

.space-desc {
    font-family: 'Inter';
    font-weight: 300;
    font-size: 14px;
    line-height: 23.52px;
    letter-spacing: -0.15px;
    color: #EBE4D89E;

}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    /*margin-top: 100px;*/
}

.footer-content {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}


/* Project Footer Footer */
.project-contact-footer {
    background: #000;
    padding: 40px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #222;
}

.footer-logo {
    height: 70px;
    margin-left: 22px;
}

.footer-logo-box {
    display: flex;
    gap: 20px;
    align-items: center;
    /*border-right: 1px solid #333;
    padding-right: 40px;*/
}

.enterprise-logo {
    font-weight: 900;
    font-size: 24px;
    line-height: 1;
}

.contact-info {
    flex: 1;
    padding: 0 40px;
    display: flex;
    gap: 40px;
    font-size: 13px;
    color: var(--text-muted);
}

.contact-col p {
    margin: 2px 0;
    font-family: 'Inter';
    font-weight: 300;
    font-size: 13px;
    line-height: 20px;
    letter-spacing: 0px;
    color: #ebe4d89c;
}

.footer-right {
    text-align: right;
}

.partners-col {
    display: inline-grid;
}

/* Responsive */
@media (max-width: 1024px) {
    .contenido {
        padding: 0;
    }

    .hero-title {
        font-size: 5rem;
        line-height: 1.1;
    }

    .intro-body {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        border: 0;
        background: none;
        border-radius: 0;
    }

    .materials-grid {
        width: max-content;
    }
}

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

    .nav-links.desktop-only {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .menu-overlay {
        width: 100%;
        padding: 10px 20px;
    }

    .mobile-nav-links li a {
        font-size: 32px;
    }

    .hero {
        padding: 0 20px;
        justify-content: center;
        /*text-align: center;*/
    }

    .hero-content {
        position: relative;
        z-index: 3;
        margin-left: 0;
        width: 100%;
    }

    .hero-subtitle {
        display: none;
    }

    .hero-subtitle-movil {
        display: block;
        font-family: 'Neue Montreal';
        font-weight: 400;
        font-size: 10px;
        line-height: 15px;
        letter-spacing: 2.8px;
        margin-bottom: 20px;
        text-transform: uppercase;
        color: #B3966F;
    }


    .hero-title {
        font-size: 56px;
        line-height: 1.1;
        letter-spacing: -1px;
    }

    .hero-desc {
        font-size: 18px;
        margin-bottom: 40px;
    }

    .hero-cta {
        /*margin-left: 0;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        padding-top: 20px;
        padding-left: 0;
        margin: 0 auto;*/
        margin-left: 0;
    }

    .hero-mouse {
        margin-top: 5rem;
        display: flex;
        justify-content: center;
    }

    .intro-body {
        grid-template-columns: 1fr;
        padding: 0;
        border: 0;
        background: none;
        border-radius: 0;
    }

    .serif-title {
        font-size: 40px;
        line-height: 1.2;
    }

    .intro-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .accent-p {
        display: none;
        max-width: 100%;
        font-size: 14px;
    }

    .intro-text p {
        margin-bottom: 24px;
        color: #EBE4D86B;
        font-family: 'Neue Montreal';
        font-weight: 400;
        font-size: 14px;
        line-height: 23px;
        letter-spacing: 5%;
        text-align: justify;
    }

    .collage-img {
        width: 100%;
    }

    .section-header {
        flex-direction: column;
        gap: 15px;
    }

    .header-desc {
        max-width: 100%;
    }

    .header-desc p {

        font-size: 14px;
        line-height: 22px;
        letter-spacing: 0;
        color: #FFFFFF99;

    }

    /* Mobile Slider Fades Optimization */
    .materials-slider-container::before,
    .materials-slider-container::after,
    .spaces-slider-container::before,
    .spaces-slider-container::after {
        width: 80px;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        transition: opacity 0.5s ease;
    }



    /* Ajuste de ancho de la grilla para acomodar los 9 items en el slider */
    .materials-grid {
        grid-template-columns: 310px 235px 235px 310px 235px 235px 310px;
        grid-template-rows: 250px 250px;
        width: max-content;
        gap: 15px;
        padding-right: 60px;
        /* Safe space at the end */
    }


    .material-card h3 {
        font-size: 1.2rem;
        margin-bottom: 4px;
    }

    .material-card p {
        font-size: 11px;
        line-height: 1.4;
        font-weight: lighter;
    }

    .card-info {
        padding: 20px;
    }

    .card-descripcion {
        bottom: 20px;
        left: 20px;
    }

    .spaces-slider .space-card {
        flex: 0 0 70vw;
        max-width: 70vw;
        height: 400px;
    }

    .space-number {
        font-size: 3.5rem;
    }

    .space-card h3 {
        font-size: 26px;
        font-family: 'GT Sectra';

    }

    .space-desc {
        font-size: 13px;
    }

    .project-contact-footer {
        flex-direction: column;
        gap: 40px;
        text-align: center;
        padding: 60px 20px;
        border-top: none;
    }

    .footer-logo {
        margin-left: 0;
    }

    .footer-logo-box {
        justify-content: center;
    }

    .contact-info {
        flex-direction: column;
        padding: 0;
        gap: 30px;
    }

    .contact-col {
        text-align: center !important;
        margin-left: 0 !important;
    }

    .partners-col {
        align-items: center;
    }

    .footer-right {
        text-align: center;
    }

    .partner-logo.logo-viplastic {
        height: 40px;
        margin-top: -0.8rem;
    }
}