* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Helvetica Neue', Arial, sans-serif; }
body { background-color: #f8f5f0; color: #333; overflow-y: auto; overflow-x: hidden; }

/* CANVAS 3D: Fijo, fondo, recibe clics */
#webgl-canvas { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100vw; 
    height: 100vh; 
    z-index: 1; 
    outline: none; 
    pointer-events: auto; 
    touch-action: none; /* Evita gestos del navegador */
}

/* CAPA UI: Flota encima, NO bloquea el canvas */
#ui-layer { 
    position: relative; 
    width: 100%; 
    z-index: 10; 
    pointer-events: none; /* El contenedor no bloquea */
}

/* Solo estos elementos capturan clics */
header, nav, .hero-box, button, a, .info-section, .card, h1, h2, p {
    pointer-events: auto;
    user-select: none; /* Evita que el texto se seleccione al arrastrar */
    -webkit-user-select: none;
}

/* HEADER */
header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 2rem 4rem; 
    background: rgba(248, 245, 240, 0.9); 
    backdrop-filter: blur(5px);
    position: sticky; top: 0; z-index: 20;
    width: 100%;
}
header h1 { color: #b89653; letter-spacing: 4px; font-size: 1.8rem; }
nav a { color: #333; text-decoration: none; margin-left: 2rem; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; }
nav a:hover { color: #b89653; }

/* HERO CONTENT (Texto sobre el 3D) */
.hero-content {
    height: 100vh;
    display: flex;
    align-items: center;
    padding-left: 10%;
    pointer-events: none; /* El fondo del hero no bloquea */
}
.hero-box {
    max-width: 450px; 
    background: rgba(248, 245, 240, 0.85); 
    padding: 2.5rem; 
    border-radius: 10px; 
    backdrop-filter: blur(10px); 
    border: 1px solid #e0d5c1;
    pointer-events: auto; /* La caja de texto sí captura clics */
}
.hero-box h2 { font-size: 3.5rem; color: #222; margin-bottom: 1rem; line-height: 1.1; }
.hero-box p { color: #555; margin-bottom: 2rem; font-size: 1.1rem; }
button { padding: 1rem 2rem; background-color: #b89653; border: none; color: white; text-transform: uppercase; letter-spacing: 2px; cursor: pointer; transition: background 0.3s; }
button:hover { background-color: #a07d3e; }

/* SECCIONES DE SCROLL */
.info-section {
    min-height: 100vh;
    padding: 4rem 10%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: 1px solid #e0d5c1;
}
.info-section h2 { font-size: 2.5rem; text-align: center; margin-bottom: 2rem; color: #222; }
.cards { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; }
.card {
    background: #f8f5f0;
    padding: 2rem;
    border: 1px solid #e0d5c1;
    width: 200px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s;
    color: #b89653;
    font-weight: bold;
}
.card:hover { transform: translateY(-5px); border-color: #b89653; }

.dark-section { background: #222; color: #eee; }
.dark-section h2 { color: #b89653; }
.dark-section p { margin-bottom: 0.5rem; font-size: 1.1rem; }

#loader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #f8f5f0; display: flex; justify-content: center; align-items: center; z-index: 100; transition: opacity 0.5s; }
#loader h2 { color: #b89653; font-weight: 300; letter-spacing: 2px; }

/* --- ESTILOS DEL HEADER CON OLAS 3D --- */
header {
    position: sticky; 
    top: 0; 
    z-index: 20;
    width: 100%;
    height: 120px; /* Altura fija para el header */
    overflow: hidden;
    background: #f8f5f0;
    border-bottom: 1px solid #e0d5c1;
}

#header-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none; /* Las olas no bloquean los clics */
}

.header-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 4rem;
    pointer-events: auto; /* El contenido sí captura clics */
}

/* --- MEJORA DEL HERO (ESTILO ALBANES) --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

.hero-box {
    background: transparent !important; /* Quitamos el fondo blanco para que se vea más limpio */
    backdrop-filter: none !important;
    border: none !important;
    padding: 0 !important;
    max-width: 500px;
}

.subtitle-gold {
    display: block;
    color: #b89653;
    font-size: 0.9rem;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem !important;
    color: #1a1a1a;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero-desc {
    color: #444;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.btn-outline {
    background: white !important;
    color: #1a1a1a !important;
    border: 1px solid #1a1a1a !important;
    padding: 1rem 2rem !important;
    font-size: 0.8rem !important;
    letter-spacing: 2px !important;
    font-weight: 600;
    transition: all 0.3s ease !important;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-outline:hover {
    background: #1a1a1a !important;
    color: white !important;
}

/* --- ESTILO PROFESIONAL HERO (ALTA JOYERÍA) --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,400&family=Montserrat:wght@300;400;500&display=swap');

.hero-content {
    height: 100vh;
    display: flex;
    align-items: center;
    padding-left: 10%;
    pointer-events: none;
}

.hero-box {
    max-width: 500px;
    background: transparent !important;
    backdrop-filter: none !important;
    border: none !important;
    padding: 0 !important;
    pointer-events: auto;
}

.subtitle-gold {
    display: block;
    font-family: 'Montserrat', sans-serif;
    color: #b89653;
    font-size: 0.75rem;
    letter-spacing: 5px; /* Mucho espacio entre letras */
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 5.5rem !important; /* Título muy grande */
    color: #1a1a1a;
    line-height: 0.95;
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-desc {
    font-family: 'Montserrat', sans-serif;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    font-weight: 300;
}

/* Botón tipo enlace de lujo */
.btn-text {
    font-family: 'Montserrat', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding-bottom: 5px;
    border-bottom: 1px solid #1a1a1a;
    transition: all 0.3s ease;
}

.btn-text .arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-text:hover {
    color: #b89653;
    border-bottom-color: #b89653;
}

.btn-text:hover .arrow {
    transform: translateX(10px); /* La flecha se desliza a la derecha */
}

/* 1. El fondo sutil de crema a dorado pálido */
.hero-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 55%; 
    height: 100%;
    background: radial-gradient(circle at 10% 50%, rgba(184, 150, 83, 0.25) 0%, rgba(248, 245, 240, 0.9) 70%);
    z-index: -1;
    pointer-events: none;
}

/* 2. La caja de cristal (Glassmorphism) */
.hero-glass {
    max-width: 550px;
    background: rgba(255, 255, 255, 0.4) !important; /* Fondo semitransparente */
    backdrop-filter: blur(15px) !important; /* Desenfoque de fondo */
    -webkit-backdrop-filter: blur(15px) !important; /* Soporte para Safari */
    border: 1px solid rgba(255, 255, 255, 0.6) !important; /* Borde brillante */
    border-radius: 20px;
    padding: 3rem !important;
    box-shadow: 0 10px 30px rgba(184, 150, 83, 0.1); /* Sombra suave dorada */
    pointer-events: auto;
    position: relative;
    z-index: 2;
}

.subtitle-gold {
    display: block;
    font-family: 'Montserrat', sans-serif;
    color: #b89653;
    font-size: 0.75rem;
    letter-spacing: 6px; 
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 5rem !important; 
    color: #111;
    line-height: 0.95;
    margin-bottom: 1.5rem;
    font-weight: 400;
    letter-spacing: -1px;
}

.hero-desc {
    font-family: 'Montserrat', sans-serif;
    color: #444;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

/* 3. Botón elegante con línea dorada */
.btn-text {
    font-family: 'Montserrat', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: #111;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding-bottom: 8px;
    border-bottom: 2px solid #b89653;
    transition: all 0.4s ease;
}

.btn-text .arrow {
    font-size: 1.2rem;
    color: #b89653;
    transition: transform 0.4s ease;
}

.btn-text:hover {
    color: #b89653;
}

.btn-text:hover .arrow {
    transform: translateX(10px);
}

/* Ajuste para que el canvas 3D no se superponga al texto */
#webgl-canvas {
    z-index: 0; 
}

/* --- HERO CORREGIDO: CAPAS Y Z-INDEX --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

/* El canvas 3D debe estar al fondo de todo, pero visible */
#webgl-canvas {
    z-index: 1 !important;
}

.hero-content {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    padding-left: 8%;
    pointer-events: none;
    overflow: hidden;
    z-index: 10; /* Por encima del canvas */
}

/* El fondo degradado NO debe llegar a la mitad de la pantalla */
.hero-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 45%; /* Reducido para no tocar el anillo */
    height: 100%;
    background: radial-gradient(circle at 0% 50%, rgba(184, 150, 83, 0.3) 0%, rgba(248, 245, 240, 0.0) 70%);
    z-index: 1; /* Debajo de la caja, encima del canvas */
    pointer-events: none;
}

/* La caja de cristal solo ocupa su espacio, no tapa el anillo */
.hero-glass {
    max-width: 500px;
    background: rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    border-radius: 15px;
    padding: 2.5rem !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    pointer-events: auto;
    position: relative;
    z-index: 10; /* Por encima del canvas y del backdrop */
}

.subtitle-gold {
    display: block;
    font-family: 'Montserrat', sans-serif;
    color: #b89653;
    font-size: 0.75rem;
    letter-spacing: 5px; 
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4.5rem !important; 
    color: #111;
    line-height: 0.95;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero-desc {
    font-family: 'Montserrat', sans-serif;
    color: #444;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 400;
}

.btn-text {
    font-family: 'Montserrat', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #111;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding-bottom: 5px;
    border-bottom: 2px solid #b89653;
    transition: all 0.3s ease;
}

.btn-text .arrow {
    font-size: 1.2rem;
    color: #b89653;
    transition: transform 0.3s ease;
}

.btn-text:hover {
    color: #b89653;
}

.btn-text:hover .arrow {
    transform: translateX(5px);
}

/* Ajustes para el Header y el Logo 3D */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    padding: 0 4rem;
    box-sizing: border-box;
    background: rgba(248, 245, 240, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(184, 150, 83, 0.2);
}

.logo-3d-container {
    width: 180px;
    height: 70px;
    cursor: pointer;
    position: relative;
}

.logo-3d-container canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

/* Ajuste de tamaño para el logo 3D */
.logo-3d-container {
    width: 180px;
    height: 80px; /* Un poco más alto para que se vea mejor */
    cursor: pointer;
    position: relative;
    /* Opcional: añadir un fondo sutil para que contraste */
    /* background: rgba(255, 255, 255, 0.1); */
    /* border-radius: 8px; */
}

.logo-3d-container canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

/* --- Estilos para la nueva sección de Colecciones 3D --- */
.collections-section {
    background: rgba(248, 245, 240, 0.95); /* Fondo crema */
    padding: 6rem 10%;
    text-align: center;
}

.collections-3d-grid {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.collection-3d-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 180px; /* Ancho de cada item */
}

/* El contenedor circular donde irá el canvas 3D */
.viewer-container {
    width: 160px;
    height: 160px;
    border-radius: 50%; /* Hace el círculo */
    overflow: hidden; /* Recorta lo que salga del círculo */
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%); /* Fondo sutil */
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    margin-bottom: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.viewer-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(184, 150, 83, 0.2); /* Sombra dorada al pasar el ratón */
}

/* El canvas que Three.js insertará dentro del contenedor */
.viewer-container canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

.collection-3d-item p {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* =========================================
   ESTILOS DEFINITIVOS PARA COLECCIONES 3D
   ========================================= */
.collections-section {
    padding: 6rem 10% !important;
    text-align: center !important;
    background: rgba(248, 245, 240, 0.95) !important;
}

    width: 100% !important;
    height: 100% !important;
    display: block !important;
}

.collection-3d-item p {
    font-size: 1rem !important;
    color: #333 !important;
    font-weight: 500 !important;
    margin-top: 0.5rem !important;
}

/* =========================================
   FOOTER PREMIUM
   ========================================= */
.premium-footer {
    background: #1a1a1a;
    color: #d1d1d1;
    padding: 4rem 10% 1rem;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    border-top: 1px solid rgba(184, 150, 83, 0.3);
    margin-top: 4rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: #b89653;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.footer-col p, .footer-col li {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #a0a0a0;
    margin-bottom: 0.5rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s;
}

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

/* Marca y Logo */
.footer-logo {
    color: #b89653;
    font-size: 1.8rem;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-desc {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

/* Formulario Newsletter */
.newsletter-form {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #444;
    padding-bottom: 0.5rem;
    transition: border-color 0.3s;
}

.newsletter-form:focus-within {
    border-color: #b89653;
}

.newsletter-form input {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    width: 100%;
    outline: none;
}

.newsletter-form input::placeholder {
    color: #666;
}

.newsletter-form button {
    background: transparent;
    border: none;
    color: #b89653;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.3s;
}

.newsletter-form button:hover {
    transform: translateX(5px);
}

/* Iconos Sociales */
.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #444;
    border-radius: 50%;
    color: #d1d1d1;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: #b89653;
    border-color: #b89653;
    color: #1a1a1a;
}

/* Parte inferior */
.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: #666;
}

/* =========================================
   SECCIÓN: GALERÍA PREMIUM
   ========================================= */
.premium-gallery-section {
    padding: 6rem 10%;
    background: #f8f5f0;
    text-align: center;
    position: relative;
    z-index: 2;
}

.gallery-header h2 {
    font-size: 2.8rem;
    color: #222;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.gallery-header p {
    color: #666;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
    font-size: 1rem;
}

.premium-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    aspect-ratio: 3 / 4;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(184, 150, 83, 0.25);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1rem 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    text-align: left;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
}

/* =========================================
   SECCIÓN: RESEÑAS PREMIUM
   ========================================= */
.reviews-section-premium {
    padding: 5rem 10%;
    background: #ffffff;
    position: relative;
    z-index: 2;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.reviews-header h2 {
    font-size: 2rem;
    color: #222;
    font-weight: 500;
}

.reviews-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reviews-rating .stars {
    color: #f5b301;
    font-size: 1.2rem;
}

.reviews-rating .rating-score {
    font-size: 1.5rem;
    font-weight: bold;
    color: #222;
}

.reviews-rating .rating-count {
    color: #888;
    font-size: 0.9rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.review-card-premium {
    background: #fdfbfb;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(184, 150, 83, 0.15);
}

.review-user {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.user-avatar {
    width: 45px;
    height: 45px;
    background: #b89653;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.review-user h4 {
    font-size: 1rem;
    color: #333;
    margin: 0;
}

.review-date {
    font-size: 0.8rem;
    color: #999;
    margin: 0;
}

.review-stars {
    color: #f5b301;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.review-text {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* =========================================
   BOTÓN FLOTANTE WHATSAPP
   ========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* =========================================
   ASISTENTE VIRTUAL FLOTANTE
   ========================================= */
.assistant-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #1a1a1a;
    color: #b89653;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.3s ease;
}
.assistant-float:hover {
    transform: scale(1.1);
}
.assistant-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184,150,83,0.4) 0%, transparent 70%);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

/* Ventana del Asistente */
.assistant-window {
    position: fixed;
    bottom: 100px;
    left: 30px;
    width: 320px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 1001;
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e0d5c1;
}
.assistant-window.active {
    display: flex;
}
.assistant-header {
    background: #1a1a1a;
    color: #b89653;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.assistant-header h3 {
    font-size: 1rem;
    margin: 0;
}
.assistant-header button {
    background: none;
    border: none;
    color: #b89653;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}
.assistant-body {
    padding: 1rem;
    height: 250px;
    overflow-y: auto;
    background: #f8f5f0;
}
.message {
    padding: 0.8rem 1rem;
    border-radius: 12px;
    margin-bottom: 0.8rem;
    max-width: 80%;
    font-size: 0.9rem;
    line-height: 1.4;
}
.bot-message {
    background: #ffffff;
    color: #333;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.user-message {
    background: #b89653;
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 4px;
}
.assistant-input {
    display: flex;
    padding: 0.8rem;
    background: #fff;
    border-top: 1px solid #eee;
}
.assistant-input input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    outline: none;
    font-size: 0.9rem;
}
.assistant-input button {
    background: #b89653;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    margin-left: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
}

/* =========================================
   PRELOADER PREMIUM CON DIAMANTE 3D
   ========================================= */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 1s ease, visibility 1s ease;
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
}

#loader-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.loader-text {
    position: relative;
    z-index: 2;
    color: #b89653;
    font-size: 3rem;
    letter-spacing: 12px;
    font-weight: 300;
    margin-top: 20vh; /* Lo empuja hacia abajo para no tapar el diamante */
    opacity: 0;
    animation: fadeInText 2s ease forwards 0.5s;
}

.loader-subtext {
    position: relative;
    z-index: 2;
    color: #b89653;
    font-size: 0.8rem;
    letter-spacing: 8px;
    opacity: 0;
    animation: fadeInText 2s ease forwards 1s;
}

@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   BOTÓN DE HAMBURGUESA PREMIUM
   ========================================= */
.hamburger-btn {
    display: none; /* Oculto en desktop por defecto */
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
    position: relative;
}

.hamburger-line {
    display: block;
    width: 28px;
    height: 2px;
    background-color: #b89653;
    margin: 6px 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

/* Animación a X cuando está activo */
.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mostrar el botón solo en móviles/tablets */
@media (max-width: 900px) {
    .hamburger-btn {
        display: block;
    }
    /* Ocultar la navegación horizontal original en móvil */
    header nav {
        display: none;
    }
}

/* =========================================
   MENÚ OVERLAY PREMIUM
   ========================================= */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(26, 26, 26, 0.95); /* Fondo oscuro semitransparente */
    backdrop-filter: blur(15px); /* Efecto de cristal */
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-overlay-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.menu-link {
    color: #b89653;
    text-decoration: none;
    font-size: 2rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 300;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease, color 0.3s ease;
}

.menu-overlay.active .menu-link {
    opacity: 1;
    transform: translateY(0);
}

/* Retraso en cascada para los enlaces */
.menu-overlay.active .menu-link:nth-child(1) { transition-delay: 0.1s; }
.menu-overlay.active .menu-link:nth-child(2) { transition-delay: 0.2s; }
.menu-overlay.active .menu-link:nth-child(3) { transition-delay: 0.3s; }
.menu-overlay.active .menu-link:nth-child(4) { transition-delay: 0.4s; }
.menu-overlay.active .menu-link:nth-child(5) { transition-delay: 0.5s; }

.menu-link:hover {
    color: #ffffff;
    text-shadow: 0 0 20px rgba(184, 150, 83, 0.8);
}

/* =========================================
   FORZAR BOTÓN DE HAMBURGUESA SIEMPRE VISIBLE
   ========================================= */
.hamburger-btn {
    display: block !important;
    position: absolute !important;
    right: 2rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 1005 !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    padding: 10px !important;
}

.hamburger-line {
    display: block !important;
    width: 30px !important;
    height: 3px !important;
    background-color: #b89653 !important;
    margin: 6px 0 !important;
    transition: all 0.4s ease !important;
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg) !important;
}
.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0 !important;
}
.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg) !important;
}

header {
    position: relative !important;
}

/* =========================================
   CORRECCIÓN FINAL DEL BOTÓN DE HAMBURGUESA
   ========================================= */
header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 2rem !important;
}

header nav {
    display: flex !important;
    gap: 2rem !important;
    margin-left: auto !important;
    margin-right: 1rem !important;
}

.hamburger-btn {
    display: block !important;
    position: static !important;
    transform: none !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    padding: 10px !important;
    margin-left: 0 !important;
    z-index: 1005 !important;
}

.hamburger-line {
    display: block !important;
    width: 28px !important;
    height: 2px !important;
    background-color: #b89653 !important;
    margin: 6px 0 !important;
    transition: all 0.4s ease !important;
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg) !important;
}
.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0 !important;
}
.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg) !important;
}

@media (max-width: 900px) {
    header nav {
        display: none !important;
    }
    .hamburger-btn {
        margin-left: auto !important;
    }
}

/* =========================================
   REDISEÑO DE LA SECCIÓN HERO (ANILLO)
   ========================================= */
.hero-section {
    position: relative !important;
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    /* Fondo con degradado sutil para quitar el blanco plano */
    background: radial-gradient(circle at 70% 50%, #ffffff 0%, #f8f5f0 60%, #f0ebe1 100%) !important;
    padding: 0 5% !important;
    overflow: hidden !important;
}

.hero-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 1400px !important;
    gap: 2rem !important;
    z-index: 2 !important;
}

/* Columna Izquierda: Tarjeta de texto */
.hero-text-card {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(10px) !important;
    padding: 3rem !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05) !important;
    max-width: 500px !important;
    border: 1px solid rgba(184, 150, 83, 0.2) !important;
}

.hero-tag {
    color: #b89653 !important;
    font-size: 0.8rem !important;
    letter-spacing: 4px !important;
    text-transform: uppercase !important;
    margin-bottom: 1rem !important;
    font-weight: 600 !important;
}

.hero-title {
    font-size: 4rem !important;
    color: #1a1a1a !important;
    line-height: 1.1 !important;
    margin-bottom: 1.5rem !important;
    font-family: 'Playfair Display', serif !important; /* Si tienes esta fuente, si no, usa la que tengas */
}

.hero-desc {
    color: #555 !important;
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
    margin-bottom: 2rem !important;
}

.hero-btn {
    background: transparent !important;
    border: 1px solid #b89653 !important;
    color: #b89653 !important;
    padding: 1rem 2rem !important;
    font-size: 0.9rem !important;
    letter-spacing: 2px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.hero-btn:hover {
    background: #b89653 !important;
    color: #fff !important;
}

.hero-btn span {
    transition: transform 0.3s ease !important;
}

.hero-btn:hover span {
    transform: translateX(5px) !important;
}

/* Columna Derecha: Visual (Anillo 3D + Features) */
.hero-visual {
    position: relative !important;
    flex: 1 !important;
    height: 80vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Las features flotan a la derecha del anillo */
.hero-features {
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
    z-index: 3 !important;
}

.feature-item {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(5px) !important;
    padding: 1rem 1.5rem !important;
    border-radius: 12px !important;
    border: 1px solid rgba(184, 150, 83, 0.1) !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.03) !important;
    transition: transform 0.3s ease !important;
}

.feature-item:hover {
    transform: translateX(-10px) !important;
    background: rgba(255, 255, 255, 0.9) !important;
}

.feature-icon {
    color: #b89653 !important;
    font-size: 1.5rem !important;
}

.feature-item h4 {
    font-size: 0.95rem !important;
    color: #1a1a1a !important;
    margin: 0 !important;
    font-weight: 600 !important;
}

.feature-item p {
    font-size: 0.8rem !important;
    color: #777 !important;
    margin: 0 !important;
}

/* =========================================
   NUEVO HERO PREMIUM (LIMPIO Y PROFESIONAL)
   ========================================= */
.hero-premium-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8%;
    background: transparent; /* Deja ver el canvas 3D del fondo */
    z-index: 10;
    pointer-events: none; /* Permite interactuar con el anillo detrás */
}

.hero-premium-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    gap: 4rem;
}

/* Tarjeta de texto con efecto cristal */
.hero-glass-card {
    pointer-events: auto; /* Permite hacer clic en el botón */
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 3.5rem 3rem;
    border-radius: 20px;
    border: 1px solid rgba(184, 150, 83, 0.3);
    box-shadow: 0 25px 50px rgba(0,0,0,0.08);
    max-width: 480px;
    z-index: 12;
    animation: floatCard 6s ease-in-out infinite; /* Animación de flotación sutil */
}

@keyframes floatCard {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.hero-pretitle {
    display: block;
    color: #b89653;
    font-size: 0.85rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-main-title {
    font-size: 4.5rem;
    color: #1a1a1a;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    font-weight: 400;
    letter-spacing: -1px;
}

.hero-subtitle {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-cta-btn {
    background: transparent;
    border: 1px solid #b89653;
    color: #b89653;
    padding: 1.2rem 2.5rem;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    border-radius: 4px;
}

.hero-cta-btn:hover {
    background: #b89653;
    color: #fff;
    box-shadow: 0 10px 20px rgba(184, 150, 83, 0.3);
}

.hero-arrow {
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}

.hero-cta-btn:hover .hero-arrow {
    transform: translateX(5px);
}

/* Espacio para el anillo 3D */
.hero-3d-space {
    flex: 1;
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    pointer-events: none; /* El ratón pasa a través hacia el canvas */
    position: relative;
}

/* Indicador de Scroll */
.hero-scroll-indicator {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
}

.hero-scroll-indicator span {
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #888;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: #b89653;
    animation: scrollDown 2s infinite;
    transform-origin: top;
}

@keyframes scrollDown {
    0% { transform: scaleY(0); opacity: 0; }
    50% { transform: scaleY(1); opacity: 1; }
    100% { transform: scaleY(1); opacity: 0; }
}

/* Responsive para móviles */
@media (max-width: 900px) {
    .hero-premium-container {
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
    }
    .hero-main-title {
        font-size: 3rem;
    }
    .hero-3d-space {
        display: none; /* Ocultar el indicador en móvil para no estorbar */
    }
    .hero-glass-card {
        margin-top: 4rem;
        padding: 2rem;
    }
}

/* =========================================
   FEATURES PREMIUM EN EL HERO
   ========================================= */
.hero-premium-section {
    background: radial-gradient(circle at 60% 50%, #ffffff 0%, #f8f5f0 70%, #f0ebe1 100%) !important;
}

.hero-3d-space {
    position: relative !important;
    justify-content: center !important;
    align-items: flex-end !important;
}

.hero-features-premium {
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    pointer-events: auto !important;
    z-index: 15 !important;
}

.feature-premium-item {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px) !important;
    padding: 1.2rem 1.8rem !important;
    border-radius: 12px !important;
    border: 1px solid rgba(184, 150, 83, 0.2) !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    width: 230px !important;
    cursor: default !important;
}

.feature-premium-item:hover {
    transform: translateX(-10px) !important;
    box-shadow: 0 15px 30px rgba(184, 150, 83, 0.15) !important;
    background: rgba(255, 255, 255, 0.95) !important;
}

.feature-premium-icon {
    color: #b89653 !important;
    font-size: 1.3rem !important;
}

.feature-premium-item h4 {
    font-size: 0.95rem !important;
    color: #1a1a1a !important;
    margin: 0 !important;
    font-weight: 600 !important;
}

.feature-premium-item p {
    font-size: 0.8rem !important;
    color: #777 !important;
    margin: 0 !important;
}

/* Forzar transparencia en el Hero para que el anillo 3D se vea */
.hero-premium-section {
    background: transparent !important;
}

/* Asegurar que el canvas 3D esté por encima del fondo pero detrás del texto */
#webgl-canvas {
    z-index: 1 !important;
}

/* Asegurar que el overlay de UI esté por encima del canvas */
#ui-overlay {
    z-index: 10 !important;
}

/* Ajuste fino de las features para que no tapen el anillo */
.hero-features-premium {
    right: -2rem !important; /* Mover un poco más a la derecha */
    top: 55% !important;
}

.hero-3d-space {
    justify-content: flex-end !important; /* Alinear el contenido (features) a la derecha */
    padding-right: 4rem !important;
}

/* =========================================
   TARJETA DE CRISTAL DORADO PREMIUM
   ========================================= */
.hero-glass-card {
    background: rgba(184, 150, 83, 0.15) !important; /* Dorado muy transparente */
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(184, 150, 83, 0.4) !important; /* Borde dorado */
    box-shadow: 0 20px 50px rgba(184, 150, 83, 0.15) !important; /* Sombra dorada */
    border-radius: 20px !important;
}

/* Ajustar el color del texto para que resalte sobre el fondo dorado */
.hero-pretitle {
    color: #a07d3e !important; /* Dorado más oscuro para contraste */
    text-shadow: 0 1px 2px rgba(255,255,255,0.8) !important;
}

.hero-main-title {
    color: #1a1a1a !important;
    text-shadow: 0 2px 5px rgba(255,255,255,0.5) !important;
}

.hero-subtitle {
    color: #333 !important;
    text-shadow: 0 1px 2px rgba(255,255,255,0.8) !important;
}

/* Botón ajustado para que contraste con el fondo dorado */
.hero-cta-btn {
    background: rgba(255, 255, 255, 0.3) !important;
    border: 1px solid #b89653 !important;
    color: #1a1a1a !important;
    backdrop-filter: blur(5px) !important;
}

.hero-cta-btn:hover {
    background: #b89653 !important;
    color: #ffffff !important;
}

/* Asegurar que el fondo del hero sea transparente para ver el anillo */
.hero-premium-section {
    background: transparent !important;
}

/* =========================================
   TARJETA DE CRISTAL DORADO INTENSO (PREMIUM)
   ========================================= */
.hero-glass-card {
    /* Fondo dorado mucho más visible pero manteniendo transparencia */
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.45) 0%, rgba(184, 150, 83, 0.25) 100%) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 215, 0, 0.6) !important; /* Borde dorado brillante */
    box-shadow: 0 20px 50px rgba(184, 150, 83, 0.3), inset 0 0 20px rgba(255, 215, 0, 0.1) !important; /* Sombra y brillo interior */
    border-radius: 20px !important;
}

/* Texto oscuro para contraste sobre el dorado */
.hero-pretitle {
    color: #5a4517 !important; /* Marrón dorado oscuro */
    font-weight: 700 !important;
    letter-spacing: 5px !important;
}

.hero-main-title {
    color: #1a1a1a !important; /* Casi negro para máximo contraste */
}

.hero-subtitle {
    color: #3a2e1a !important; /* Marrón oscuro */
    font-weight: 400 !important;
}

/* Botón que contraste con el fondo dorado */
.hero-cta-btn {
    background: rgba(26, 26, 26, 0.85) !important; /* Fondo oscuro semitransparente */
    border: 1px solid #ffd700 !important; /* Borde dorado brillante */
    color: #ffd700 !important; /* Texto dorado */
    backdrop-filter: blur(5px) !important;
    transition: all 0.4s ease !important;
}

.hero-cta-btn:hover {
    background: #ffd700 !important; /* Dorado sólido al pasar el ratón */
    color: #1a1a1a !important; /* Texto oscuro */
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5) !important; /* Efecto de brillo */
}

/* =========================================
   FEATURES PREMIUM CON EFECTO CRISTAL DORADO
   ========================================= */
.feature-premium-item {
    /* Fondo dorado sutil con transparencia */
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(184, 150, 83, 0.1) 100%) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 215, 0, 0.4) !important; /* Borde dorado */
    box-shadow: 0 10px 25px rgba(184, 150, 83, 0.15), inset 0 0 15px rgba(255, 215, 0, 0.05) !important;
    border-radius: 12px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease !important;
    width: 230px !important;
}

/* Efecto hover: se ilumina más y se eleva */
.feature-premium-item:hover {
    transform: translateX(-10px) scale(1.02) !important;
    box-shadow: 0 15px 35px rgba(184, 150, 83, 0.3), inset 0 0 20px rgba(255, 215, 0, 0.1) !important;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.4) 0%, rgba(184, 150, 83, 0.2) 100%) !important;
    border-color: rgba(255, 215, 0, 0.8) !important;
}

/* Ajustar colores del texto e iconos para contraste */
.feature-premium-icon {
    color: #5a4517 !important; /* Dorado oscuro */
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5) !important; /* Brillo sutil */
}

.feature-premium-item h4 {
    color: #1a1a1a !important; /* Casi negro */
    font-weight: 600 !important;
}

.feature-premium-item p {
    color: #3a2e1a !important; /* Marrón oscuro */
}

/* =========================================
   HEADER PREMIUM CON EFECTO CRISTAL DORADO
   ========================================= */
header {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(184, 150, 83, 0.05) 100%) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3) !important; /* Línea dorada inferior */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05) !important; /* Sombra suave */
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important; /* Asegura que esté por encima del canvas 3D */
    transition: background 0.3s ease, box-shadow 0.3s ease !important;
}

/* Efecto hover en el header (opcional, para que se ilumine al pasar el ratón) */
header:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(184, 150, 83, 0.1) 100%) !important;
    box-shadow: 0 6px 40px rgba(184, 150, 83, 0.15) !important;
}

/* Ajuste de los enlaces del nav para que contrasten con el dorado */
header nav a {
    color: #3a2e1a !important; /* Marrón oscuro */
    font-weight: 500 !important;
    transition: color 0.3s ease !important;
}

header nav a:hover {
    color: #b89653 !important; /* Dorado intenso al pasar el ratón */
}

/* Ajuste del botón de hamburguesa para que se vea bien sobre el dorado */
.hamburger-line {
    background-color: #5a4517 !important; /* Dorado oscuro para que resalte */
}

/* =========================================
   RESPONSIVE MÓVIL DEFINITIVO (SOBRESCRIBE TODO)
   ========================================= */
@media (max-width: 900px) {
    /* 1. Hero: apilar tarjeta y anillo verticalmente */
    .hero-premium-container {
        flex-direction: column !important;
        justify-content: flex-start !important;
        gap: 1rem !important;
        padding-top: 3rem !important;
        padding-bottom: 2rem !important;
    }

    .hero-glass-card {
        margin: 0 auto !important;
        max-width: 92% !important;
        padding: 1.5rem !important;
        border-radius: 16px !important;
    }

    .hero-main-title {
        font-size: 2.2rem !important;
        line-height: 1.1 !important;
    }

    .hero-pretitle {
        font-size: 0.7rem !important;
        letter-spacing: 3px !important;
    }

    .hero-subtitle {
        font-size: 0.9rem !important;
    }

    .hero-cta-btn {
        padding: 0.8rem 1.5rem !important;
        font-size: 0.8rem !important;
    }

    /* 2. Mostrar el espacio del anillo 3D (no ocultarlo) */
    .hero-3d-space {
        display: flex !important;
        height: 40vh !important;
        width: 100% !important;
        justify-content: center !important;
        align-items: center !important;
        padding-right: 0 !important;
    }

    /* 3. Features: en fila, debajo del anillo */
    .hero-features-premium {
        position: static !important;
        transform: none !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 0.8rem !important;
        margin-top: 1rem !important;
        width: 100% !important;
        padding: 0 1rem !important;
    }

    .feature-premium-item {
        width: 140px !important;
        padding: 0.6rem 0.8rem !important;
        flex-direction: column !important;
        text-align: center !important;
        gap: 0.3rem !important;
    }

    .feature-premium-icon {
        font-size: 1.2rem !important;
    }

    .feature-premium-item h4 {
        font-size: 0.75rem !important;
    }

    .feature-premium-item p {
        font-size: 0.65rem !important;
    }

    /* 4. Ocultar el indicador de scroll en móvil */
    .hero-scroll-indicator {
        display: none !important;
    }

    /* 5. Ajustar el header en móvil */
    header {
        padding: 0 1rem !important;
        height: 70px !important;
    }

    .logo-3d-container {
        width: 120px !important;
        height: 50px !important;
    }

    /* 6. Ajustar la galería de colecciones (círculos) */
    .collections-3d-grid {
        gap: 1rem !important;
    }

    .collection-3d-item {
        width: 120px !important;
    }

    .viewer-container {
        width: 110px !important;
        height: 110px !important;
    }

    /* 7. Ajustar las reseñas */
    .reviews-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    /* 8. Ajustar la galería de piezas */
    .premium-gallery {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }

    /* 9. Footer en una columna */
    .footer-container {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        gap: 2rem !important;
    }

    .social-icons {
        justify-content: center !important;
    }

    /* 10. Botones flotantes más pequeños */
    .whatsapp-float, .assistant-float {
        width: 50px !important;
        height: 50px !important;
        bottom: 20px !important;
    }

    .whatsapp-float { right: 20px !important; }
    .assistant-float { left: 20px !important; }

    /* 11. Ventana del asistente más compacta */
    .assistant-window {
        width: 90vw !important;
        left: 5vw !important;
        bottom: 80px !important;
    }
}

/* =========================================
   HEADER LIGERO (SIN DORADO NI BLUR PARA MÓVIL)
   ========================================= */
header {
    background: rgba(255, 255, 255, 0.9) !important; /* Blanco semitransparente, sin dorado */
    backdrop-filter: none !important; /* Eliminar el desenfoque (consume recursos) */
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important; /* Línea sutil */
    box-shadow: none !important; /* Sin sombra pesada */
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
}

/* Ajustar los enlaces del nav para que se vean bien sobre el fondo blanco */
header nav a {
    color: #333 !important; /* Texto oscuro */
    font-weight: 500 !important;
}

header nav a:hover {
    color: #b89653 !important; /* Dorado solo al pasar el ratón */
}

/* Botón de hamburguesa oscuro para que resalte en el header blanco */
.hamburger-line {
    background-color: #333 !important;
}
