.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
    color: #EFC88B;
    transition: color 0.3s ease;
}
.group:hover .material-symbols-outlined,
.hover-trigger:hover .material-symbols-outlined {
    color: #F39FB3;
}
.filled-icon {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #F6F6F6;
}
::-webkit-scrollbar-thumb {
    background: #E6D1D8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #F39FB3;
}
.bg-grid-pattern {
    background-image: linear-gradient(to right, rgba(68, 68, 68, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(68, 68, 68, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
}
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.reveal-snap-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.reveal-snap-left.active {
    opacity: 1;
    transform: translateX(0);
}
.reveal-snap-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.reveal-snap-right.active {
    opacity: 1;
    transform: translateX(0);
}
.stagger-parent .stagger-child {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.stagger-parent.active .stagger-child {
    opacity: 1;
    transform: translateY(0);
}
.stagger-parent.active .stagger-child:nth-child(1) { transition-delay: 0.1s; }
.stagger-parent.active .stagger-child:nth-child(2) { transition-delay: 0.2s; }
.stagger-parent.active .stagger-child:nth-child(3) { transition-delay: 0.3s; }
.stagger-parent.active .stagger-child:nth-child(4) { transition-delay: 0.4s; }
.stagger-parent.active .stagger-child:nth-child(5) { transition-delay: 0.5s; }
.stagger-parent.active .stagger-child:nth-child(6) { transition-delay: 0.6s; }
.structural-line {
    position: absolute;
    background-color: #F39FB3;
    opacity: 0.2;
    transition: height 1.5s ease-out, width 1.5s ease-out;
}
.structural-line.vertical {
    width: 1px;
    height: 0;
    top: 0;
}
.structural-line.vertical.active {
    height: 100%;
}
.structural-line.horizontal {
    height: 1px;
    width: 0;
    left: 0;
}
.structural-line.horizontal.active {
    width: 100%;
}
.float-btn {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.float-btn:hover {
    transform: translateY(-5px);
}
.card-masonry {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
}
.card-masonry .content-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 40%, transparent 100%);
}
/* =========================
   Ensamblaje SIN desenfoque
   ========================= */

/* Entrada suave desde abajo */
@keyframes float-in-up {
    0%   { opacity: 0; transform: translate3d(0, 18px, 0); }
    100% { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* Desde la izquierda */
@keyframes float-in-left {
    0%   { opacity: 0; transform: translate3d(-22px, 0, 0); }
    100% { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* Desde la derecha */
@keyframes float-in-right {
    0%   { opacity: 0; transform: translate3d(22px, 0, 0); }
    100% { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* Contenedor de la rejilla */
@keyframes assemble-grid {
    0%   { opacity: 0; transform: translate3d(0, 14px, 0) scale(0.99); }
    100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

/* Tiles: encajan sin blur */
@keyframes tile-pop {
    0%   { opacity: 0; transform: translate3d(0, 10px, 0) scale(0.97); }
    100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

/* =========================
   Botones sincronizados
   ========================= */

/* Animación única aplicada al botón entero (fondo + texto juntos) */
@keyframes btn-assemble {
    0%   { opacity: 0; transform: translate3d(0, 14px, 0) scale(0.985); }
    60%  { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
    100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

.btn-assemble {
    opacity: 0;                 /* Evita que se pinte el fondo antes */
    transform: translate3d(0, 14px, 0) scale(0.985);
    animation: btn-assemble 700ms cubic-bezier(.2,.8,.2,1) both;
    will-change: transform, opacity; /* Más suave y consistente */
}

.btn-assemble-1 { animation-delay: 1.00s; }
.btn-assemble-2 { animation-delay: 1.10s; }

/* =========================
   Stagger de la rejilla
   ========================= */

.hero-assemble .grid > div {
    opacity: 0;
    animation: tile-pop 650ms cubic-bezier(.2,.8,.2,1) both;
    will-change: transform, opacity;
}

.hero-assemble .grid > div:nth-child(1) { animation-delay: 1.30s; }
.hero-assemble .grid > div:nth-child(2) { animation-delay: 1.40s; }
.hero-assemble .grid > div:nth-child(3) { animation-delay: 1.50s; }
.hero-assemble .grid > div:nth-child(4) { animation-delay: 1.60s; }
.hero-assemble .grid > div:nth-child(5) { animation-delay: 1.70s; }
.hero-assemble .grid > div:nth-child(6) { animation-delay: 1.80s; }

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
    .btn-assemble,
    .hero-assemble .grid > div {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

