/* ==========================================
   LESS is MORE — Custom Styles
   ========================================== */

/* Base */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection */
::selection {
    background-color: #c46452;
    color: #fff;
}

/* ==========================================
   Hero Animations
   ========================================== */
.hero-eyebrow {
    animation: fadeSlideUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.hero-title {
    animation: fadeSlideUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

.hero-subtitle {
    animation: fadeSlideUp 0.8s ease-out 0.6s forwards;
    opacity: 0;
}

.hero-ctas {
    animation: fadeSlideUp 0.8s ease-out 0.8s forwards;
    opacity: 0;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   Section Labels & Titles
   ========================================== */
.section-label {
    letter-spacing: 0.25em;
}

.section-title {
    letter-spacing: -0.02em;
}

/* ==========================================
   Service Cards
   ========================================== */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background-color: #c46452;
    transition: height 0.5s ease;
}

.service-card:hover::before {
    height: 100%;
}

/* ==========================================
   Approach Steps
   ========================================== */
.approach-step {
    opacity: 1;
}

.approach-step:hover .w-16 {
    transform: scale(1.1);
}

/* ==========================================
   Form Inputs
   ========================================== */
.form-input {
    border-radius: 0;
}

.form-input:focus {
    border-color: #c46452;
    box-shadow: 0 0 0 1px #c46452;
}

.form-submit {
    position: relative;
    overflow: hidden;
}

.form-submit::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.form-submit:hover::after {
    left: 100%;
}

/* ==========================================
   Mobile Menu
   ========================================== */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
}

#mobile-menu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.2s; }
#mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.3s; }
#mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.4s; }

/* ==========================================
   Scroll Reveal (below the fold only)
   Progressive enhancement: content is visible by default,
   animation is added via JS only.
   ========================================== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal[data-reveal] {
        opacity: 0;
        transform: translateY(40px);
    }

    .reveal[data-reveal="left"] {
        transform: translateX(-40px);
    }

    .reveal[data-reveal="right"] {
        transform: translateX(40px);
    }
}

/* ==========================================
   Responsive
   ========================================== */
@media (max-width: 767px) {
    .hero-title {
        font-size: 2.75rem;
    }

    .section-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 5.5rem;
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: #d9ba92;
    border-radius: 4px;
}

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