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

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

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

/* ─── Header ─── */
#site-header {
    transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

#site-header.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff6b4a;
    border-radius: 1px;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ─── Buttons ─── */
.btn-coral {
    background: linear-gradient(135deg, #ff6b4a 0%, #f05028 100%);
    box-shadow: 0 4px 15px rgba(255, 107, 74, 0.3);
    transition: all 0.3s ease;
}

.btn-coral:hover {
    box-shadow: 0 8px 30px rgba(255, 107, 74, 0.45);
    background: linear-gradient(135deg, #ff7d61 0%, #f5603a 100%);
}

.btn-outline-white {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
}

.btn-white {
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.btn-white:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    background: #fff;
}

/* ─── Badges ─── */
.badge-coral {
    background: linear-gradient(135deg, #fff5f2 0%, #ffe8e2 100%);
    color: #f05028;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.4em 1em;
    border-radius: 9999px;
    border: 1px solid rgba(255, 107, 74, 0.2);
}

/* ─── Service Cards ─── */
.service-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.35s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(255, 107, 74, 0.12);
    border-color: rgba(255, 107, 74, 0.2);
}

.service-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 1rem;
    background: linear-gradient(135deg, #fff5f2 0%, #ffe8e2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: all 0.35s ease;
}

.service-card:hover .service-icon-wrap {
    background: linear-gradient(135deg, #ff6b4a 0%, #f05028 100%);
    transform: scale(1.05);
}

.service-icon {
    width: 30px;
    height: 30px;
    color: #f05028;
    transition: color 0.35s ease;
}

.service-card:hover .service-icon {
    color: white;
}

/* ─── Inputs ─── */
.input-field {
    background: white;
    border: 1.5px solid #e2e2e5;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: #2d2d36;
    font-family: inherit;
    transition: all 0.25s ease;
    outline: none;
    width: 100%;
}

.input-field::placeholder {
    color: #a1a1aa;
}

.input-field:hover {
    border-color: #ffb097;
}

.input-field:focus {
    border-color: #ff6b4a;
    box-shadow: 0 0 0 3px rgba(255, 107, 74, 0.12);
}

.input-field.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* ─── Scroll Reveals ─── */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.scroll-reveal:nth-child(2) { transition-delay: 0.1s; }
.scroll-reveal:nth-child(3) { transition-delay: 0.2s; }
.scroll-reveal:nth-child(4) { transition-delay: 0.3s; }
.scroll-reveal:nth-child(5) { transition-delay: 0.35s; }
.scroll-reveal:nth-child(6) { transition-delay: 0.4s; }

/* ─── Mobile Menu ─── */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-nav-link {
    display: block;
}

/* ─── Focus Styles ─── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #ff6b4a;
    outline-offset: 2px;
    border-radius: 0.5rem;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .font-serif {
        line-height: 1.15;
    }
}
