/* ─── Base & Utilities ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { overflow-x: hidden; }

/* ─── Buttons ─── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    background: #C05A3A;
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: background 0.25s, transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}
.btn-primary:hover {
    background: #A04528;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(192, 90, 58, 0.35);
}
.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #1E1A17;
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: 12px;
    border: 2px solid #E9C896;
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s, transform 0.2s;
    text-decoration: none;
}
.btn-secondary:hover {
    background: #F9EDD8;
    border-color: #CFA05A;
    transform: translateY(-2px);
}
.btn-white {
    display: inline-flex;
    align-items: center;
    background: #fff;
    color: #C05A3A;
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.25s, transform 0.2s, box-shadow 0.2s;
}
.btn-white:hover {
    background: #FDF8F0;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ─── Form Inputs ─── */
.input-field {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #E9C896;
    border-radius: 10px;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 0.9375rem;
    color: #1E1A17;
    background: #FDF8F0;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    outline: none;
}
.input-field::placeholder { color: #B8A99A; }
.input-field:focus {
    border-color: #C05A3A;
    box-shadow: 0 0 0 3px rgba(192, 90, 58, 0.12);
    background: #fff;
}

/* ─── Header Scroll State ─── */
#header.scrolled {
    background: rgba(253, 248, 240, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

/* ─── Service Cards ─── */
.service-card { perspective: 800px; }
.service-card-inner {
    transform: translateY(0);
    transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.35s;
}
.service-card:hover .service-card-inner {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(192, 90, 58, 0.12);
}

/* ─── Process Steps ─── */
.process-step {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.process-step.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Testimonial Cards ─── */
.testimonial-card {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.testimonial-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Mobile Menu ─── */
.mobile-link {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.3s, transform 0.3s, color 0.2s;
}
.mobile-link:hover { color: #C05A3A; }
body.menu-open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}
body.menu-open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
body.menu-open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
body.menu-open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
body.menu-open .mobile-link:nth-child(4) { transition-delay: 0.2s; }
body.menu-open .mobile-link:nth-child(5) { transition-delay: 0.25s; }

/* ─── Animations ─── */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(3deg); }
}
@keyframes float-reverse {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(10px) rotate(-2deg); }
}
.float-1 { animation: float 6s ease-in-out infinite; }
.float-2 { animation: float-reverse 7s ease-in-out infinite; }
.float-3 { animation: float 8s ease-in-out infinite 1s; }

/* ─── Scroll Reveal ─── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Responsive ─── */
@media (max-width: 767px) {
    .font-serif { font-size: clamp(1.75rem, 5vw, 2.5rem); }
    h1, .font-serif { font-size: clamp(2rem, 6vw, 3rem); }
}
