/* ═══════════════════════════════════════════════════ */
/* BASE                                               */
/* ═══════════════════════════════════════════════════ */

html {
    scroll-behavior: smooth;
}

::selection {
    background: rgba(201, 168, 76, 0.3);
    color: white;
}

/* ═══════════════════════════════════════════════════ */
/* HERO GRADIENT BACKDROP                             */
/* ═══════════════════════════════════════════════════ */

.hero-gradient {
    background:
        radial-gradient(ellipse 80% 60% at 50% 120%, rgba(201, 168, 76, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 70% 50%, rgba(201, 168, 76, 0.03) 0%, transparent 50%),
        #0A0A0A;
}

/* ═══════════════════════════════════════════════════ */
/* THIN RULE LINES                                    */
/* ═══════════════════════════════════════════════════ */

.rule-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06) 20%, rgba(255,255,255,0.06) 80%, transparent);
}

/* ═══════════════════════════════════════════════════ */
/* LAUREL / DECORATIVE BORDER                         */
/* ═══════════════════════════════════════════════════ */

.laurel-border {
    border: 1px solid rgba(201, 168, 76, 0.12);
    position: relative;
}

.laurel-border::before,
.laurel-border::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border-color: rgba(201, 168, 76, 0.25);
    border-style: solid;
}

.laurel-border::before {
    top: -1px;
    left: -1px;
    border-width: 1px 0 0 1px;
}

.laurel-border::after {
    bottom: -1px;
    right: -1px;
    border-width: 0 1px 1px 0;
}

/* ═══════════════════════════════════════════════════ */
/* NOISE TEXTURE                                      */
/* ═══════════════════════════════════════════════════ */

.noise {
    position: fixed;
    inset: 0;
    opacity: 0.025;
    pointer-events: none;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px 200px;
}

/* ═══════════════════════════════════════════════════ */
/* HORIZONTAL SCROLL TICKER                           */
/* ═══════════════════════════════════════════════════ */

.ticker-track {
    display: flex;
    width: max-content;
    animation: ticker 30s linear infinite;
}

@keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════ */
/* STAGGER ENTRANCE                                   */
/* ═══════════════════════════════════════════════════ */

.fade-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero-specific entrance */
.hero-enter {
    opacity: 0;
    transform: translateY(40px);
    animation: hero-rise 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-enter-d1 { animation-delay: 0.15s; }
.hero-enter-d2 { animation-delay: 0.35s; }
.hero-enter-d3 { animation-delay: 0.55s; }
.hero-enter-d4 { animation-delay: 0.75s; }

@keyframes hero-rise {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ═══════════════════════════════════════════════════ */
/* GLOWING BORDER CARD                                */
/* ═══════════════════════════════════════════════════ */

.glow-card {
    position: relative;
    background: #0F0F0F;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: border-color 0.5s, box-shadow 0.5s;
}

.glow-card:hover {
    border-color: rgba(201, 168, 76, 0.15);
    box-shadow: 0 0 40px -10px rgba(201, 168, 76, 0.08);
}

/* ═══════════════════════════════════════════════════ */
/* COUNTER / NUMBER HIGHLIGHT                         */
/* ═══════════════════════════════════════════════════ */

.stat-number {
    font-variant-numeric: tabular-nums;
    background: linear-gradient(180deg, #C9A84C 0%, #8B6914 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ═══════════════════════════════════════════════════ */
/* FORM STYLES                                        */
/* ═══════════════════════════════════════════════════ */

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 16px 0 12px;
    color: white;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    transition: border-color 0.4s;
    outline: none;
    background: transparent;
}

.form-input:focus {
    border-bottom-color: rgba(201, 168, 76, 0.5);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.15);
}

.form-select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 16px 0 12px;
    color: white;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    transition: border-color 0.4s;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='rgba(255,255,255,0.25)' stroke-width='1.2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    cursor: pointer;
}

.form-select:focus {
    border-bottom-color: rgba(201, 168, 76, 0.5);
}

.form-select option {
    background: #141414;
    color: white;
}

.form-textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 16px 0 12px;
    color: white;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    transition: border-color 0.4s;
    outline: none;
    resize: vertical;
    min-height: 100px;
}

.form-textarea:focus {
    border-bottom-color: rgba(201, 168, 76, 0.5);
}

.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.15);
}

/* ═══════════════════════════════════════════════════ */
/* SERVICE ALTERNATING BACKGROUNDS                    */
/* ═══════════════════════════════════════════════════ */

.service-block:nth-child(even) {
    background: #0D0D0D;
}

/* ═══════════════════════════════════════════════════ */
/* REDUCED MOTION                                     */
/* ═══════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
    .ticker-track { animation: none; }
    .hero-enter {
        animation: none;
        opacity: 1;
        transform: none;
    }
    .fade-up {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
