/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { min-height: 100vh; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

/* ===== SCROLL REVEAL (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #7B2D3B 0%, #a12037 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(123,45,59,0.25);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(123,45,59,0.35);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #7B2D3B;
    text-decoration: none;
    border: 1.5px solid #f5a8b8;
    padding: 0.6rem 1.4rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
}
.btn-secondary:hover {
    background: #fdf0f2;
    border-color: #7B2D3B;
}

/* ===== NAV LINKS ===== */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #7B2D3B;
    transition: width 0.3s ease;
    border-radius: 1px;
}
.nav-link:hover::after { width: 100%; }

/* ===== MOBILE NAV ===== */
.mobile-nav-link {
    display: block;
}

/* ===== INPUTS ===== */
.input-field {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1.5px solid #fce7eb;
    border-radius: 0.75rem;
    background: #fefdfb;
    color: #5e1f2a;
    font-size: 0.9rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}
.input-field::placeholder { color: #f5a8b8; }
.input-field:focus {
    border-color: #7B2D3B;
    box-shadow: 0 0 0 3px rgba(123,45,59,0.08);
}
.input-field.error {
    border-color: #e04767;
    box-shadow: 0 0 0 3px rgba(224,71,103,0.08);
}
.input-field.error::placeholder { color: #e04767; }

/* ===== SERVICE CARDS ===== */
.service-card {
    background: #fefdfb;
    border: 1px solid #fce7eb;
    border-radius: 1.25rem;
    padding: 0;
    transition: all 0.35s ease;
    height: 100%;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(123,45,59,0.1);
    border-color: #fad0d9;
}

/* ===== AREA CARDS ===== */
.area-card {
    text-decoration: none;
    display: block;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.area-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(123,45,59,0.2);
}

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-card {
    transition: all 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(123,45,59,0.08);
}

/* ===== STAT CARDS ===== */
.stat-card {
    border-right: 1px solid #fce7eb;
    transition: background 0.2s ease;
}
.stat-card:hover { background: #fef6f7; }
.stat-card:nth-child(4n) { border-right: none; }

/* ===== HEADER SCROLLED ===== */
header.scrolled {
    background: rgba(254,253,251,0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(123,45,59,0.06), 0 4px 20px rgba(123,45,59,0.04);
}

/* ===== FORM ERROR MESSAGE ===== */
.form-error {
    color: #c42f4b;
    font-size: 0.75rem;
    margin-top: 0.3rem;
    display: none;
}
.input-field.error ~ .form-error { display: block; }
