/* ZTRN - Glassmorphism Design */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Inter:wght@300;400;500;600&display=swap');

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background: #08080a;
    color: #e8e8e8;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    opacity: 0;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #08080a 0%, #141417 50%, #040405 100%);
    pointer-events: none;
    z-index: -2; /* Detrás de todo */
}

body.ready {
    opacity: 1;
}

/* ========== TIPOGRAFÍA ========== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-wrap: balance;
}

h1 { font-size: 4rem; line-height: 1.1; }
h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.8rem; margin-bottom: 1rem; }
h4 { font-size: 1.4rem; }

p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #c0c0c0;
    margin: 0 0 1rem 0;
    text-wrap: pretty;
}

a {
    color: #e8e8e8;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #c6a43f;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========== MAIN LAYOUT ========== */
main {
    width: 100%;
    position: relative;
    z-index: 1;
}

section {
    width: 100%;
    padding: 100px 20px;
    margin: 0 auto;
    position: relative;
}

/* ========== BANNER HERO ========== */
.banner {
    position: relative;
    width: 100%;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    background-size: cover !important;
    background-position: center !important;
    padding: 100px 20px;
    padding-top: 25%;
    padding-bottom: 20%;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    margin-top: calc(-4vw - 70px);
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
}

.banner h1 {
    width: 90%;
    max-width: 900px;
    margin: 0 auto 30px;
    text-align: center;
    font-size: 4rem;
    line-height: 1.2;
    transition: filter 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    letter-spacing: -0.05rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.banner p {
    opacity: 1;
    margin-bottom: 30px;
    font-size: 1.2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 2;
}

.banner .links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.banner a {
    margin: 0;
    opacity: 0.8;
    transition: all 0.3s ease;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    padding: 12px 32px;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.banner a:hover {
    opacity: 1;
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 20px rgba(198, 164, 63, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.banner-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.banner:has(.links a:hover) h1 {
    filter: blur(4px);
}

.banner:has(.links a:hover) .banner-blur {
    opacity: 1 !important;
}

/* ========== INTRO SECTION ========== */
.intro-section {
    text-align: center;
    padding: 120px 20px;
}

.intro-section h2 {
    font-size: 3.5rem;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #ffffff 0%, #d0d0d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.intro-section .subtitle {
    font-size: 1.3rem;
    color: #b0b0b0;
    max-width: 700px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
}

/* ========== SERVICES SECTION ========== */
.services-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    margin: 50px 20px;
    padding: 80px 40px;
}

.services-section h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.8rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 45px;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(198, 164, 63, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(198, 164, 63, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #ffffff;
    position: relative;
    z-index: 2;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
    color: #b0b0b0;
    position: relative;
    z-index: 2;
}

/* ========== WORK SECTION ========== */
.work-section {
    padding: 120px 20px;
}

.work-section h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.8rem;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.work-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.work-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.work-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    position: relative;
}

.work-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.work-card:hover .work-image img {
    transform: scale(1.08);
}

.work-card h3 {
    font-size: 1.5rem;
    margin: 30px 30px 15px;
    color: #ffffff;
}

.work-card p {
    margin: 0 30px 30px;
    font-size: 0.95rem;
    color: #a0a0a0;
}

/* ========== CTA SECTION ========== */
.cta-section {
    background: linear-gradient(135deg, rgba(198, 164, 63, 0.08) 0%, rgba(198, 164, 63, 0.04) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(198, 164, 63, 0.25);
    border-radius: 24px;
    margin: 50px 20px;
    padding: 100px 40px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(198, 164, 63, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.cta-section h2 {
    margin-bottom: 50px;
    font-size: 2.8rem;
}

.cta-button {
    display: inline-block;
    padding: 16px 48px;
    background: linear-gradient(135deg, rgba(198, 164, 63, 0.3), rgba(198, 164, 63, 0.2));
    border: 1.5px solid rgba(198, 164, 63, 0.6);
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 500;
    color: #e8e8e8;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(198, 164, 63, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.cta-button:hover {
    background: linear-gradient(135deg, rgba(198, 164, 63, 0.4), rgba(198, 164, 63, 0.3));
    border-color: rgba(198, 164, 63, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(198, 164, 63, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.cta-button:active {
    transform: translateY(-1px);
}

/* ========== CONTACT SECTION ========== */
.contact-section {
    text-align: center;
    padding: 120px 20px;
}

.contact-section h2 {
    margin-bottom: 50px;
    font-size: 2.8rem;
}

.contact-info {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 50px;
    border-radius: 16px;
    max-width: 600px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.contact-info p {
    margin: 25px 0;
    font-size: 1.1rem;
    color: #d0d0d0;
}

.contact-info strong {
    color: #ffffff;
    font-weight: 500;
}

.contact-info a {
    color: #c6a43f;
    border-bottom: 1.5px solid rgba(198, 164, 63, 0.4);
    transition: all 0.3s ease;
}

.contact-info a:hover {
    color: #e8d0a0;
    border-bottom-color: rgba(198, 164, 63, 0.8);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px){
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.2rem; }
    h3 { font-size: 1.5rem; }
    
    section {
        padding: 80px 20px;
    }
    
    .services-section,
    .cta-section {
        margin: 40px 20px;
        padding: 60px 30px;
    }
}

@media (max-width: 768px){
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.3rem; }
    
    section {
        padding: 60px 15px;
    }
    
    .banner {
        padding-top: 30%;
        padding-bottom: 25%;
    }
    
    .banner h1 {
        font-size: 2.2rem;
    }
    
    .banner p {
        font-size: 1rem;
    }
    
    .services-grid,
    .work-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card,
    .contact-info {
        padding: 30px;
    }
    
    .work-image {
        height: 200px;
    }
}

@media (max-width: 480px){
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.1rem; }
    
    section {
        padding: 40px 12px;
    }
    
    .banner {
        padding: 40px 12px;
        padding-top: 40%;
        padding-bottom: 30%;
    }
    
    .banner h1 {
        font-size: 1.6rem;
    }
    
    .banner p {
        font-size: 0.9rem;
    }
    
    .banner a {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
    
    .services-section,
    .cta-section {
        margin: 30px 12px;
        padding: 40px 20px;
        border-radius: 16px;
    }
    
    .service-card {
        padding: 25px;
    }
    
    .cta-button {
        padding: 12px 32px;
        font-size: 0.9rem;
    }
}

/* ========== PROCESO (SIN CARDS) ========== */
.process-section {
    padding: 100px 20px;
    text-align: center;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    min-width: 180px;
    text-align: center;
    position: relative;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.process-step:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.step-number {
    display: inline-block;
    font-size: 3.5rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
    background: linear-gradient(135deg, #e8d0a0, #c6a43f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(198, 164, 63, 0.15) 0%, transparent 70%);
    z-index: -1;
}

.process-step h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #ffffff;
    letter-spacing: 0.02em;
}

.process-step p {
    font-size: 0.85rem;
    color: #a0a0a0;
    margin: 0;
    line-height: 1.5;
}

/* ========== SHOWROOM CTA (SIN CARD) ========== */
.showroom-cta {
    padding: 100px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin: 40px 0;
}

.showroom-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.showroom-cta p {
    font-size: 1rem;
    color: #b0b0b0;
    margin-bottom: 40px;
}

.cta-group {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-link {
    display: inline-block;
    padding: 12px 28px;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-link.primary {
    background: transparent;
    border: 1.5px solid rgba(198, 164, 63, 0.6);
    color: #e8e8e8;
}

.cta-link.primary:hover {
    background: rgba(198, 164, 63, 0.15);
    border-color: rgba(198, 164, 63, 1);
    transform: translateY(-2px);
}

.cta-link.secondary {
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.3);
    color: #c0c0c0;
    padding: 12px 8px;
}

.cta-link.secondary:hover {
    border-bottom-color: rgba(198, 164, 63, 0.8);
    color: #ffffff;
}

/* Responsive */
@media (max-width: 768px){
    .process-steps {
        flex-direction: column;
        gap: 30px;
    }
    
    .process-step {
        border-bottom: none;
        padding-bottom: 30px;
    }
    
    .process-step:last-child {
        padding-bottom: 30px;
    }
    
    .showroom-cta h2 {
        font-size: 1.8rem;
    }
    
    .cta-group {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
}

/* ========== LEGACY PAGE ========== */

/* Legacy Hero */
.legacy-banner {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.legacy-banner h1 {
    font-size: 4.5rem;
    max-width: 1000px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Timeline */
.timeline-section {
    padding: 120px 20px;
}
.timeline-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 50px;
}
.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 24px;
    width: 2px;
    background: linear-gradient(to bottom, rgba(198, 164, 63, 0), rgba(198, 164, 63, 0.5) 10%, rgba(198, 164, 63, 0.5) 90%, rgba(198, 164, 63, 0));
}
.timeline-item {
    position: relative;
    margin-bottom: 80px;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #08080a;
    border: 2px solid #c6a43f;
    box-shadow: 0 0 15px rgba(198, 164, 63, 0.6);
}
.timeline-year {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #c6a43f;
    margin-bottom: 10px;
    line-height: 1;
}
.timeline-content {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

/* Editorial Grid */
.materiality-section {
    padding: 100px 20px;
}
.editorial-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 350px;
    gap: 30px;
}
.grid-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.grid-item.tall {
    grid-column: span 2;
    grid-row: span 2;
}
.grid-item.wide {
    grid-column: span 2;
    grid-row: span 1;
}
.grid-item.square {
    grid-column: span 2;
    grid-row: span 1;
}
.grid-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(to top, rgba(8, 8, 10, 0.9) 0%, rgba(8, 8, 10, 0) 100%);
    transition: all 0.4s ease;
}
.grid-item:hover .grid-overlay {
    background: linear-gradient(to top, rgba(8, 8, 10, 0.95) 0%, rgba(8, 8, 10, 0.4) 100%);
    padding-bottom: 50px;
}

@media (max-width: 768px) {
    .editorial-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }
    .grid-item.tall, .grid-item.wide, .grid-item.square {
        grid-column: span 1;
    }
}

/* ========== CONTACT PAGE ========== */
.contact-page-wrapper {
    padding: 120px 20px 80px;
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
}

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

.contact-info h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.contact-info .subtitle {
    font-size: 1.1rem;
    color: #b0b0b0;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.detail-item .label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #c6a43f;
    font-weight: 500;
}

.detail-item .value {
    font-size: 1.2rem;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.detail-item .value:hover {
    color: #c6a43f;
}

.contact-form-container {
    padding: 50px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.contact-form-container h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

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

.input-group {
    display: flex;
    flex-direction: column;
}

.glass-input, .glass-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 20px;
    border-radius: 12px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.glass-textarea {
    min-height: 150px;
    resize: vertical;
}

.glass-input:focus, .glass-textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(198, 164, 63, 0.5);
    box-shadow: 0 0 15px rgba(198, 164, 63, 0.2);
}

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

.glass-button {
    background: linear-gradient(135deg, #c6a43f 0%, #a48424 100%);
    color: #08080a;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 16px 30px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.glass-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(198, 164, 63, 0.3);
}

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
    .contact-form-container {
        padding: 30px;
    }
}

/* ========== FURNITURE PAGE ========== */
.furniture-gallery {
    padding: 100px 20px;
}
.furniture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}
.furniture-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/5;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
    cursor: pointer;
}
.furniture-item::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(8, 8, 10, 0.2);
    transition: background 0.4s ease;
}
.furniture-item:hover::after {
    background: rgba(8, 8, 10, 0.6);
}
.furniture-details {
    position: absolute;
    bottom: -50px;
    left: 0; right: 0;
    padding: 30px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
}
.furniture-item:hover .furniture-details {
    bottom: 0;
    opacity: 1;
}
.furniture-details h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}
.furniture-details p {
    font-size: 0.9rem;
    color: #c6a43f;
    margin: 0;
}
.craftsmanship-section {
    padding: 100px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.craftsmanship-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.craftsmanship-section p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: #b0b0b0;
    line-height: 1.8;
}

/* ========== ARCHITECTURE PAGE ========== */
.architecture-works {
    padding: 80px 0;
}
.work-row {
    display: flex;
    align-items: center;
    min-height: 70vh;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.work-row:nth-child(even) {
    flex-direction: row-reverse;
}
.work-img {
    flex: 1;
    height: 70vh;
    background-size: cover;
    background-position: center;
}
.work-text {
    flex: 1;
    padding: 60px;
    background: #08080a;
}
.work-text h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #c6a43f;
}
.work-text p {
    font-size: 1.2rem;
    color: #b0b0b0;
}
@media (max-width: 900px) {
    .work-row, .work-row:nth-child(even) {
        flex-direction: column;
    }
    .work-img, .work-text {
        width: 100%;
    }
    .work-img {
        height: 50vh;
    }
}

/* ========== MODERN WEB GUIDANCE: SCROLL-DRIVEN ANIMATIONS ========== */
@media (prefers-reduced-motion: no-preference) {
    @supports ((animation-timeline: view()) and (animation-range: entry)) {
        
        /* 1. HERO PARALLAX (Esto sí funciona bien con view-timeline) */
        .banner, .legacy-banner {
            view-timeline: --banner-timeline block;
        }
        
        @keyframes hero-parallax {
            to { 
                transform: translateY(120px) scale(0.95); 
                opacity: 0; 
                filter: blur(10px);
            }
        }
        
        .banner h1, .banner p, .banner .links, .legacy-banner h1, .legacy-banner p {
            animation: hero-parallax linear both;
            animation-timeline: --banner-timeline;
            animation-range: exit-crossing 0% exit 100%;
        }

        /* Enhanced hover physics for cards */
        .service-card:hover, .work-card:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 20px 40px rgba(198, 164, 63, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.4);
            border-color: rgba(255, 255, 255, 0.3);
            backdrop-filter: blur(20px) saturate(200%);
            -webkit-backdrop-filter: blur(20px) saturate(200%);
            transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
    }
}

/* 2. SCROLL ENTRY EFFECTS (INTERSECTION OBSERVER ROBUSTO) */
.process-step, 
.service-card, 
.work-card, 
.cta-section, 
.showroom-cta,
.timeline-item,
.grid-item,
.furniture-item,
.work-row,
.text-reveal {
    opacity: 0;
    transform: translateY(50px);
    filter: blur(5px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, filter 0.6s ease-out;
    will-change: opacity, transform;
    /* Glassmorphism defaults */
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
}

.process-step.visible, 
.service-card.visible, 
.work-card.visible, 
.cta-section.visible, 
.showroom-cta.visible,
.timeline-item.visible,
.grid-item.visible,
.furniture-item.visible,
.work-row.visible,
.text-reveal.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}
        
        /* Staggered process steps if supported */
        .process-steps {
            /* Container needs to preserve layout for stagger */
            perspective: 1000px;
        }
        
        /* Enhanced hover physics for cards */
        .service-card:hover, .work-card:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 20px 40px rgba(198, 164, 63, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.4);
            border-color: rgba(255, 255, 255, 0.3);
            backdrop-filter: blur(20px) saturate(200%);
            -webkit-backdrop-filter: blur(20px) saturate(200%);
            transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
    }
}