/* ================================================================
   Prime Axis Construction — Core Stylesheet
   ================================================================ */

:root {
    --dark: #0A0A0A;
    --dark-card: #141414;
    --dark-border: #222222;
    --gold: #C8A55A;
    --gold-light: #D4B56A;
    --light: #F5F2ED;
    --white: #FFFFFF;
    --muted: #888888;
    --body-text: #B0B0B0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--dark);
    color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--gold);
    color: var(--dark);
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ================================================================
   Custom select
   ================================================================ */
select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C8A55A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

/* ================================================================
   Horizontal rule accent
   ================================================================ */
.hr-gold {
    width: 60px;
    height: 1px;
    background: var(--gold);
}

/* ================================================================
   Section divider line
   ================================================================ */
.section-line {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--dark-border), transparent);
}

/* ================================================================
   Subtle image hover
   ================================================================ */
.img-zoom {
    overflow: hidden;
}
.img-zoom img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.img-zoom:hover img {
    transform: scale(1.04);
}

/* ================================================================
   Card hover
   ================================================================ */
.card-hover {
    transition: border-color 0.25s ease, background-color 0.25s ease;
}
.card-hover:hover {
    border-color: #333;
    background-color: #1A1A1A;
}

/* ================================================================
   Link underline
   ================================================================ */
.link-line {
    position: relative;
    display: inline-block;
}
.link-line::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.25s ease;
}
.link-line:hover::after {
    width: 100%;
}

/* ================================================================
   Client Logo Marquee
   ================================================================ */
.marquee-wrapper {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 50s linear infinite;
    will-change: transform;
}
@keyframes marquee {
    0%   { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* ================================================================
   Testimonial Carousel (CSS Scroll Snap)
   ================================================================ */
.testimonial-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial-slide {
    min-width: 100%;
    flex-shrink: 0;
    scroll-snap-align: start;
}

/* ================================================================
   FAQ Accordion
   ================================================================ */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}
.faq-answer.open {
    max-height: 500px;
    opacity: 1;
}
.faq-chevron {
    transition: transform 0.25s ease;
}
.faq-chevron.rotated {
    transform: rotate(180deg);
}

/* ================================================================
   prefers-reduced-motion
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .marquee-track { animation: none; }
}
