/* --- VARIABLES & BASE --- */
:root {
    --color-history: #2C2825; /* Café oscuro elegante */
    --color-modern: #F4F1EA;  /* Crema papel */
    --color-accent: #5D9B84;  /* Verde Sarlat */
    --color-text: #2D3436;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Montserrat', sans-serif;
    --input-bg: rgba(255,255,255,0.9);
}

* { box-sizing: border-box; }

body { 
    margin: 0; padding: 0; 
    font-family: var(--font-sans); 
    background-color: var(--color-modern); 
    color: var(--color-text); 
    overflow-x: hidden; 
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-serif); margin: 0; }
a { text-decoration: none; color: inherit; }

/* Fix para símbolo de moneda */
.currency { font-family: 'Montserrat', sans-serif !important; font-weight: 400; margin-right: 1px; }

/* --- NAVBAR (RESPONSIVE ELITE) --- */
.glass-nav { 
    position: fixed; top: 0; left: 0; width: 100%; padding: 15px 20px; z-index: 1000; 
    display: flex; justify-content: space-between; align-items: center; 
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(15px); 
    -webkit-backdrop-filter: blur(15px); border-bottom: 1px solid rgba(0,0,0,0.05);
    user-select: none; -webkit-tap-highlight-color: transparent;
}

.nav-brand { font-family: var(--font-serif); font-weight: 700; font-size: 1.2rem; color: var(--color-history); z-index: 1002; }

/* Botón Hamburguesa (Solo Móvil) */
.hamburger-btn {
    display: none; /* Oculto en PC */
    background: none; border: none; cursor: pointer; color: var(--color-text);
    z-index: 1002; padding: 5px;
}
.hamburger-btn svg { width: 28px; height: 28px; stroke: currentColor; stroke-width: 2; }

/* Contenedor de Enlaces e Idiomas */
.nav-wrapper {
    display: flex; align-items: center; gap: 20px;
}

.nav-links { display: flex; gap: 25px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-item { position: relative; cursor: pointer; }

.nav-link { 
    text-decoration: none; color: var(--color-text); font-size: 0.85rem; font-weight: 600; 
    text-transform: uppercase; letter-spacing: 1px; transition: color 0.2s; opacity: 0.8; 
    display: flex; align-items: center; gap: 5px; padding: 5px 0;
}
.nav-link:hover, .nav-item.active .nav-link { color: var(--color-accent); opacity: 1; }
.nav-link svg { width: 10px; height: 10px; transition: transform 0.3s; }

/* Lang Selector */
.lang-selector { display: flex; gap: 10px; margin-right: 15px; border-right: 1px solid #ddd; padding-right: 15px; }
.lang-selector a { font-size: 0.75rem; font-weight: 700; opacity: 0.5; transition: 0.2s; color: var(--color-text); text-decoration: none; }
.lang-selector a.active { opacity: 1; color: var(--color-accent); border-bottom: 2px solid var(--color-accent); }

/* DROPDOWN MENU */
.dropdown-menu { 
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px); 
    background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(15px); padding: 8px; 
    border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.15); list-style: none; 
    min-width: 210px; border: 1px solid rgba(0,0,0,0.05); 
    opacity: 0; visibility: hidden; pointer-events: none; transition: all 0.2s ease;
}
.dropdown-menu.show { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.nav-item:hover .dropdown-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); } /* Desktop Hover */

.dropdown-link { display: block; padding: 12px 15px; border-radius: 8px; text-decoration: none; color: var(--color-text); font-size: 0.85rem; font-weight: 500; transition: 0.2s; }
.dropdown-link:hover { background: #f4f4f4; color: var(--color-accent); }
.magic-link { background: linear-gradient(to right, #f9f9f9, #fff); border: 1px solid rgba(93, 155, 132, 0.2); color: var(--color-accent) !important; font-weight: 700 !important; display: flex !important; align-items: center; justify-content: space-between; margin-top: 5px; }
.magic-link:hover { background: var(--color-accent) !important; color: white !important; }
.magic-icon { font-size: 1rem; }

/* --- REGLAS MÓVILES (Menú Colapsable) --- */
@media (max-width: 900px) { /* Punto de quiebre ajustado para tablets también */
    .hamburger-btn { display: block; } /* Mostrar botón */

    .nav-wrapper {
        position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
        background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
        flex-direction: column; justify-content: center; align-items: center;
        gap: 30px; 
        transform: translateY(-100%); /* Oculto arriba */
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
    }
    
    .nav-wrapper.active { transform: translateY(0); } /* Mostrar al activar */

    .nav-links { flex-direction: column; gap: 30px; font-size: 1.2rem; }
    .nav-link { font-size: 1.1rem; } /* Texto más grande en móvil */
    
    .lang-selector { border-right: none; padding-right: 0; margin-right: 0; gap: 20px; margin-bottom: 20px; }
    .lang-selector a { font-size: 1rem; }

    /* Dropdown en móvil: Estático debajo */
    .dropdown-menu { 
        position: static; transform: none !important; 
        box-shadow: none; border: 1px solid #eee; margin-top: 10px; 
        text-align: center; display: none; width: 100%;
    }
    .dropdown-menu.show { display: block; animation: slideDown 0.3s ease; }
    .dropdown-link { text-align: center; font-size: 1rem; padding: 15px; }
}

/* --- HERO --- */
.hero { height: 90vh; position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; color: white; background-image: url('../images/fachada.jpg'); background-size: cover; background-position: center; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.8)); }
.hero-content { position: relative; z-index: 2; padding: 20px; animation: fadeIn 1.5s ease; }
.brand-seal { width: 180px; height: 180px; margin-bottom: 20px; border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.hero h1 { display: none; } 
.hero p { color: rgba(255,255,255,0.95); font-size: 1.2rem; letter-spacing: 3px; text-transform: uppercase; font-weight: 500; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.scroll-indicator { position: absolute; bottom: 30px; z-index: 2; animation: bounce 2s infinite; opacity: 0.7; color: white; font-size: 1.5rem; }

/* --- INTRO & AMENITIES --- */
.intro { padding: 80px 20px 40px 20px; text-align: center; max-width: 700px; margin: 0 auto; }
.intro h2 { font-size: 2.5rem; color: var(--color-history); margin-bottom: 20px; }
.intro p { font-size: 1.1rem; line-height: 1.8; color: #555; }
.amenities-strip { background-color: #fff; padding: 30px 20px; margin-bottom: 20px; border-top: 1px solid rgba(0,0,0,0.05); border-bottom: 1px solid rgba(0,0,0,0.05); }
.amenities-container { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (min-width: 768px) { .amenities-container { grid-template-columns: repeat(4, 1fr); gap: 40px; } }
.amenity-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; opacity: 0.8; transition: opacity 0.2s; }
.amenity-item:hover { opacity: 1; }
.amenity-item svg { width: 28px; height: 28px; stroke: var(--color-history); stroke-width: 1.5; }
.amenity-item span { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; color: #666; }

/* --- SPACES --- */
.space-section { padding: 60px 0; border-top: 1px solid rgba(0,0,0,0.05); }
.space-container { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
.space-card-wrapper { margin-bottom: 30px; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.08); background: white; }
.smart-frame.compact .single-space-img { height: 250px; width: 100%; object-fit: cover; }
@media (min-width: 768px) { .smart-frame.compact .single-space-img { height: 350px; } }

.space-details summary { padding: 20px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; list-style: none; transition: 0.2s; }
.space-details summary:hover { background: #fcfcfc; }
.space-details[open] summary { border-bottom: 1px solid #eee; }
.space-details summary::-webkit-details-marker { display: none; }

.summary-info h3 { margin: 0; font-size: 1.1rem; color: var(--color-history); font-family: var(--font-serif); }
.space-capacity-badge { font-size: 0.75rem; color: #888; display: flex; align-items: center; gap: 5px; margin-top: 5px; }
.summary-price { font-weight: 700; color: var(--color-accent); display: flex; align-items: center; gap: 10px; }
.chevron { width: 20px; height: 20px; transition: transform 0.3s; opacity: 0.5; }
.space-details[open] .chevron { transform: rotate(180deg); }
.space-content { padding: 20px; animation: slideDown 0.3s ease; }
.space-content p { font-size: 0.95rem; color: #555; line-height: 1.6; }
.pricing-table-clean { border: 1px solid #eee; border-radius: 8px; padding: 10px; margin-top: 15px; }
.pt-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #f5f5f5; font-size: 0.9rem; }
.pt-row:last-child { border-bottom: none; }
.pt-row.extra { color: #888; font-size: 0.8rem; }
.btn-whatsapp-small { background: var(--color-accent); color: white; border: none; padding: 8px 16px; border-radius: 20px; cursor: pointer; font-size: 0.8rem; font-weight: 600; }
.btn-whatsapp-small:hover { background: #4a856f; }

/* Premium Dark Mode */
.space-details.dark-mode { background: var(--color-history); color: white; }
.space-details.dark-mode summary { color: white; }
.space-details.dark-mode summary:hover { background: rgba(255,255,255,0.05); }
.space-details.dark-mode .summary-info h3 { color: var(--color-modern); }
.space-details.dark-mode .summary-price { color: white; }
.space-details.dark-mode .chevron { stroke: white; }
.space-details.dark-mode .pricing-table-clean { border-color: rgba(255,255,255,0.1); }
.space-details.dark-mode .pt-row { border-bottom-color: rgba(255,255,255,0.1); }
.space-details.dark-mode p { color: rgba(255,255,255,0.8); }

/* --- SMART FRAME (RESPONSIVE PICTURES) --- */
.smart-frame { position: relative; overflow: hidden; background-color: #f0f0f0; }
.single-space-img { width: 100%; display: block; object-fit: cover; transition: transform 0.7s ease; }
@media (max-width: 767px) { .single-space-img { height: 500px; object-position: center bottom; } }
@media (min-width: 768px) { .single-space-img { height: 500px; object-position: center center; } }
.smart-frame:hover .single-space-img { transform: scale(1.03); }

/* --- ARCHITECTURE SLIDER (AUTOMATIC SCANNER & RESPONSIVE FIX) --- */
.img-comp-container { position: relative; height: auto; width: 100%; max-width: 800px; margin: 20px auto; overflow: hidden; border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,0.2); user-select: none; }
.img-comp-img { position: relative; width: 100%; height: auto; overflow: hidden; }
.img-comp-img img { display: block; width: 100%; height: auto; vertical-align: middle; }
.img-comp-overlay { position: absolute; top: 0; left: 0; height: 100%; z-index: 1; width: 50%; border-right: 2px solid white; animation: scanOverlay 5s ease-in-out infinite; overflow: hidden; }
.img-comp-overlay img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.img-comp-slider { position: absolute; z-index: 9; width: 40px; height: 40px; background-color: var(--color-accent); opacity: 0.9; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; top: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 15px rgba(0,0,0,0.5); border: 2px solid white; animation: scanHandle 5s ease-in-out infinite; }
.img-comp-slider svg { width: 20px; }

/* --- PARALLAX & GALLERY --- */
.corridor-break { position: relative; height: 50vh; background-image: url('../images/pasillo.jpg'); background-size: cover; background-position: center; background-attachment: fixed; display: flex; align-items: center; justify-content: center; }
@media (hover: none) { .corridor-break { background-attachment: scroll; } }
.corridor-caption { background-color: rgba(255, 255, 255, 0.95); padding: 30px 50px; border-radius: 4px; text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,0.2); max-width: 90%; }
.corridor-caption h3 { color: var(--color-history); font-size: 1.8rem; margin-bottom: 5px; font-style: italic; }
.corridor-caption span { font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; color: var(--color-accent); font-weight: 700;}
.btn-ghost-gallery { display: inline-flex; align-items: center; gap: 8px; margin-top: 15px; padding: 8px 16px; background: rgba(255,255,255,0.2); color: var(--color-text); border: 1px solid rgba(0,0,0,0.1); border-radius: 30px; font-size: 0.8rem; cursor: pointer; transition: 0.3s; backdrop-filter: blur(4px); font-weight: 600; }
.btn-ghost-gallery:hover { background: rgba(255,255,255,0.9); }
.btn-ghost-gallery svg { width: 16px; height: 16px; }

/* Gallery Overlay - Z-INDEX CORREGIDO */
.gallery-overlay { background: rgba(0,0,0,0.98); flex-direction: column; z-index: 3000; /* ENCIMA DE TODO */ }
.gallery-container { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; position: relative; }
.close-gallery { position: absolute; top: 30px; right: 25px; font-size: 3rem; color: white; cursor: pointer; z-index: 3001; opacity: 0.8; transition: 0.3s; line-height: 1; background: rgba(0,0,0,0.5); border-radius: 50%; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; padding-bottom: 5px; }
.close-gallery:hover { opacity: 1; transform: rotate(90deg); background: rgba(255,255,255,0.2); }
.gallery-scroll { display: flex; gap: 40px; overflow-x: auto; width: 100%; height: 85vh; padding: 0 40px; align-items: center; scroll-snap-type: x mandatory; }
.gallery-scroll::-webkit-scrollbar { height: 4px; }
.gallery-scroll::-webkit-scrollbar-thumb { background: #333; border-radius: 10px; }
.gallery-figure { flex: 0 0 auto; max-height: 100%; max-width: 90vw; position: relative; margin: 0; scroll-snap-align: center; display: flex; flex-direction: column; justify-content: center; }
.gallery-figure img { max-height: 80vh; max-width: 100%; border-radius: 4px; box-shadow: 0 10px 40px rgba(0,0,0,0.5); object-fit: contain; }
.gallery-caption { color: white; text-align: center; margin-top: 15px; font-family: var(--font-serif); font-style: italic; font-size: 1.1rem; letter-spacing: 1px; opacity: 0.8; }

/* --- PATIO APP --- */
.patio-section { background-color: #2C2825; color: var(--color-modern); padding: 80px 0; position: relative; }
.patio-intro { text-align: center; margin-bottom: 50px; padding: 0 20px; }
.patio-intro h2 { color: var(--color-modern); font-size: 2.8rem; }
.patio-intro p { color: rgba(255,255,255,0.7); max-width: 600px; margin: 0 auto; margin-top: 10px;}
.patio-intro .space-capacity { background-color: rgba(255,255,255,0.1); color: rgba(255,255,255,0.9); border-color: rgba(255,255,255,0.2); }
.ai-app-container { width: 100%; max-width: 500px; margin: 0 auto; background-color: white; border-radius: 24px; overflow: hidden; color: var(--color-text); box-shadow: 0 30px 60px rgba(0,0,0,0.6); }
.image-wrapper-ai { position: relative; width: 100%; height: 0; padding-bottom: 75%; background: #000; overflow: hidden; }
#resultImage { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: filter 0.6s, transform 0.6s; }
.decorating-state #resultImage { filter: blur(15px) opacity(0.8); transform: scale(1.02); }
.share-actions-area { background: #f9f9f9; border-top: 1px solid #eee; padding: 15px; display: none; gap: 10px; animation: slideDown 0.4s ease; }
.share-actions-area.visible { display: flex; }
.action-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 12px; border: none; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: 0.2s; }
.btn-copy { background: white; border: 1px solid #ddd; color: var(--color-text); }
.btn-copy:active { background: #eee; }
.btn-share-native { background: var(--color-history); color: white; }
.btn-share-native:active { transform: scale(0.98); opacity: 0.9; }
.ai-controls { padding: 25px; }
.chips-container { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; mask-image: linear-gradient(to right, black 95%, transparent 100%);}
.chip { flex: 0 0 auto; background: #f4f4f4; padding: 10px 16px; border-radius: 20px; font-size: 12px; cursor: pointer; transition: 0.2s; border: 1px solid transparent; font-weight: 500;}
.chip:hover { border-color: var(--color-accent); color: var(--color-accent); background: white;}
.chip:active { background: var(--color-accent); color: white; }
.ai-inputs { display: flex; flex-direction: column; gap: 15px; margin-top: 15px; }
.ai-select, .ai-textarea { width: 100%; padding: 14px; border-radius: 12px; border: 1px solid #ddd; font-family: var(--font-sans); background: var(--input-bg); font-size: 14px;}
.ai-select:focus, .ai-textarea:focus { border-color: var(--color-accent); outline: none; background: white; }
.ai-btn { width: 100%; padding: 18px; background: var(--color-accent); color: white; border: none; border-radius: 12px; font-weight: 700; cursor: pointer; font-size: 16px; transition: 0.2s; box-shadow: 0 10px 20px rgba(93, 155, 132, 0.3); }
.ai-btn:active { transform: scale(0.98); }
.ai-disclaimer { font-size: 0.7rem; color: #999; margin-top: 20px; line-height: 1.4; max-width: 90%; }
.loader-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(255,255,255,0.7); backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: 0.4s; z-index: 10; }
.decorating-state .loader-overlay { opacity: 1; pointer-events: auto; }
.brush-loader svg { width: 50px; height: 50px; fill: var(--color-accent); animation: paint 1s infinite alternate; }

/* --- FULL HOUSE --- */
.full-house { padding: 80px 20px; background-color: var(--color-history); color: white; text-align: center; }
.full-house h2 { color: var(--color-modern); font-size: 2.5rem; margin-bottom: 20px; }
.premium-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; max-width: 1000px; margin: 40px auto; text-align: center; }
.premium-card { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); padding: 25px; border-radius: 16px; backdrop-filter: blur(5px); transition: transform 0.3s; }
.premium-card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.15); }
.premium-label { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; opacity: 0.8; }
.premium-price { font-family: var(--font-serif); font-size: 1.8rem; font-weight: 700; color: #fff; }
.premium-note { font-size: 0.7rem; opacity: 0.6; margin-top: 5px; display: block;}

/* --- FOOTER --- */
footer { padding: 50px 20px; text-align: center; background: #1a1816; color: #666; font-size: 0.9rem; }
.nuvol-link { color: var(--color-accent); text-decoration: none; font-weight: 600; }
.footer-address { margin-top: 15px; font-size: 0.85rem; color: #aaa; display: flex; align-items: center; justify-content: center; gap: 8px; }
.footer-address a { text-decoration: underline; color: #ccc; transition: 0.2s; }
.footer-address a:hover { color: var(--color-accent); }

/* --- MODAL SYSTEM (Z-INDEX 2000) --- */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(8px); z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: 0.3s; }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-card { background: white; padding: 30px; border-radius: 24px; width: 85%; max-width: 320px; text-align: center; transform: scale(0.9); transition: 0.3s; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.modal-overlay.active .modal-card { transform: scale(1); }
.modal-icon { width: 50px; height: 50px; background-color: #F0F7F4; color: var(--color-accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 15px auto; }
.modal-icon svg { width: 24px; height: 24px; }
.btn-modal { padding: 12px 24px; background: var(--color-accent); color: white; border: none; border-radius: 12px; margin-top: 20px; cursor: pointer; font-weight: 600; width: 100%; font-size: 1rem; }
.modal-map-link { display: block; width: 100%; height: 150px; background-image: url('https://maps.googleapis.com/maps/api/staticmap?center=17.98689,-92.917&zoom=15&size=320x150&maptype=roadmap&key=TU_API_KEY'); background-color: #eee; background-size: cover; background-position: center; border-radius: 12px; margin: 15px 0; position: relative; }
.modal-map-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: white; padding: 10px; border-radius: 50%; box-shadow: 0 5px 15px rgba(0,0,0,0.2); color: var(--color-accent); }
.booking-inputs { display: flex; flex-direction: column; gap: 15px; margin: 20px 0; text-align: left; }
.booking-label { font-size: 0.8rem; font-weight: 600; color: var(--color-text); margin-bottom: 5px; display: block; margin-left: 5px; }
.booking-field { width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 12px; font-family: var(--font-sans); font-size: 1rem; color: var(--color-text); background-color: #f9f9f9; outline: none; transition: 0.3s; }
.booking-field:focus { border-color: var(--color-accent); background-color: #fff; box-shadow: 0 4px 12px rgba(93, 155, 132, 0.1); }
input[type="date"] { -webkit-appearance: none; appearance: none; min-height: 45px; }

/* --- ANIMATIONS --- */
@keyframes bounce { 0%, 20%, 50%, 80%, 100% {transform: translateY(0);} 40% {transform: translateY(-10px);} 60% {transform: translateY(-5px);} }
@keyframes paint { from {transform: rotate(-20deg) translateX(-5px);} to {transform: rotate(20deg) translateX(5px);} }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scanOverlay { 0%, 100% { width: 15%; } 50% { width: 85%; } }
@keyframes scanHandle { 0%, 100% { left: 15%; } 50% { left: 85%; } }

.float-wa-btn-container {
    display: none; /* Oculto por defecto */
    position: absolute; 
    bottom: 20px; 
    right: 20px; 
    z-index: 20;
    animation: bounceIn 0.5s ease;
}

.btn-float-wa {
    background: #25D366; 
    color: white; 
    border: none; 
    padding: 10px 20px; 
    border-radius: 30px; 
    font-weight: 700; 
    font-size: 0.9rem;
    display: flex; 
    align-items: center; 
    gap: 8px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.3); 
    cursor: pointer; 
    transition: transform 0.2s;
}

.btn-float-wa:hover { transform: scale(1.05); background: #1ebd59; }
.btn-float-wa svg { width: 20px; height: 20px; fill: currentColor; }

@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.5); }
    100% { opacity: 1; transform: scale(1); }
}

/* ... (Estilos previos) ... */

/* --- CHIPS SCROLL WRAPPER --- */
.chips-scroll-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

/* Contenedor de Chips - Ajustado para Scroll */
.chips-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px 0;
    scroll-behavior: smooth; /* Scroll suave */
    scrollbar-width: none; /* Ocultar scrollbar Firefox */
    flex: 1; /* Ocupar espacio */
}
.chips-container::-webkit-scrollbar { display: none; } /* Ocultar scrollbar Chrome */

.chip {
    flex: 0 0 auto;
    background: #f4f4f4; padding: 10px 16px; border-radius: 20px;
    font-size: 0.75rem; cursor: pointer; transition: 0.2s; border: 1px solid transparent; font-weight: 500;
    user-select: none;
}
.chip:hover { border-color: var(--color-accent); color: var(--color-accent); background: white;}
.chip:active { background: var(--color-accent); color: white; }

/* Botones de Scroll */
.scroll-btn {
    background: rgba(255,255,255,0.8);
    border: 1px solid rgba(0,0,0,0.1);
    color: var(--color-accent);
    width: 30px; height: 30px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.2s;
    position: absolute;
}
.scroll-btn:hover { background: white; transform: scale(1.1); }
.scroll-btn.left { left: -10px; }
.scroll-btn.right { right: -10px; }
.scroll-btn svg { width: 16px; height: 16px; }

/* Ajuste móvil para botones scroll */
@media (max-width: 600px) {
    .scroll-btn { display: none; } /* En móvil el scroll táctil es natural, ocultamos flechas */
    .chips-scroll-wrapper { margin-left: -10px; margin-right: -10px; padding: 0 10px; }
}

/* ... (Resto de estilos previos) ... */