/* Custom styles matching architectural and premium agency branding */
* {
    box-sizing: border-box;
}

/* Base interactive focus indicator to pass WCAG AA standards */
*:focus-visible {
    outline: 2px solid #C5A880 !important;
    outline-offset: 4px;
}

/* Ensure custom cursor never interrupts or traps tactile/click inputs */
#custom-cursor {
    pointer-events: none !important;
}

/* Hide standard touch elements scrollbars on testimonials dynamic list */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}
.scrollbar-hide {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Smooth Scrolling Line Keyframes */
@keyframes scrollLine {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(200%);
    }
}

/* Classic subtle movement for architectural visual layout */
@keyframes kenburns {
    0% {
        transform: scale(1.02);
    }
    50% {
        transform: scale(1.08);
    }
    100% {
        transform: scale(1.02);
    }
}

/* Subtle editorial text links line transition */
.hover-link {
    position: relative;
}

.hover-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #C5A880;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.hover-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Selection aesthetics matching matte layout */
::selection {
    background-color: #C5A880;
    color: #161616;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #161616;
}

::-webkit-scrollbar-thumb {
    background: #1c1c1c;
    border: 1px solid #C5A880;
}

::-webkit-scrollbar-thumb:hover {
    background: #C5A880;
}

/* Dynamic Entrance reveals and smoothness */
#servicios, #filosofia, #portafolio, #metodo, #estudio {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.active-reveal {
    opacity: 1 !important;
    transform: translateY(0) !important;
}
