/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, video, svg {
    display: block;
    max-width: 100%;
}

button, input, select, textarea {
    font: inherit;
    color: inherit;
}

/* ===== SKIP LINK ===== */
.skip-link {
    background: #6B1D3A;
    color: #fff;
    padding: 0.75rem 1.5rem;
    z-index: 9999;
    font-weight: 600;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FDF8F5;
}
::-webkit-scrollbar-thumb {
    background: #f9c2ce;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #f491a8;
}

/* ===== NAVIGATION ===== */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #d93054;
    transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link:focus::after {
    width: 100%;
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #6B1D3A;
    color: #fff;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #6B1D3A;
}
.btn-primary:hover,
.btn-primary:focus {
    background: #4a1328;
    border-color: #4a1328;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(107, 29, 58, 0.3);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: #6B1D3A;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #6B1D3A;
}
.btn-outline:hover,
.btn-outline:focus {
    background: #6B1D3A;
    color: #fff;
    transform: translateY(-2px);
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    background: #fff;
    color: #6B1D3A;
    padding: 1rem 2.25rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}
.btn-hero-primary:hover,
.btn-hero-primary:focus {
    background: #fdf0ed;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #fff;
    padding: 1rem 2.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}
.btn-hero-secondary:hover,
.btn-hero-secondary:focus {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* ===== INPUTS ===== */
.input-field {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1.5px solid #fce4e9;
    border-radius: 8px;
    background: #fef8f7;
    font-size: 0.9375rem;
    color: #4a1328;
    transition: all 0.2s ease;
    outline: none;
}
.input-field::placeholder {
    color: #f491a8;
}
.input-field:hover {
    border-color: #f491a8;
}
.input-field:focus {
    border-color: #6B1D3A;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(107, 29, 58, 0.1);
}
.input-field:invalid:not(:placeholder-shown) {
    border-color: #d93054;
}

/* ===== TRUST ITEMS ===== */
.trust-item {
    padding: 0 1.5rem;
}
.trust-item:hover .font-serif {
    color: #d93054;
    transition: color 0.3s ease;
}

/* ===== SERVICE CARDS ===== */
.service-card {
    padding: 1.5rem;
    border-radius: 16px;
    transition: all 0.4s ease;
    background: #fff;
    border: 1px solid transparent;
}
.service-card:hover {
    border-color: #fce4e9;
    box-shadow: 0 20px 60px rgba(107, 29, 58, 0.08);
    transform: translateY(-4px);
}

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-card {
    transition: all 0.4s ease;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(107, 29, 58, 0.1);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: #6B1D3A;
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 30;
    box-shadow: 0 4px 15px rgba(107, 29, 58, 0.3);
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: #4a1328;
    transform: translateY(-2px);
}

/* ===== HERO ANIMATIONS ===== */
.hero-eyebrow {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}
.hero-headline {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
}
.hero-sub {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
}
.hero-ctas {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.8s;
}
.hero-scroll {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 1s;
}

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

@keyframes scrollLine {
    0% {
        transform: translateY(-24px);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(24px);
        opacity: 0;
    }
}
.animate-scroll-line {
    animation: scrollLine 1.5s ease-in-out infinite;
}

/* ===== REVEAL ANIMATIONS (below fold only) ===== */
.reveal {
    /* Default state: visible — JS adds animated state */
}

.reveal.animated {
    animation: revealIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.reveal-delay-1 { animation-delay: 0.1s; }
.reveal-delay-2 { animation-delay: 0.2s; }
.reveal-delay-3 { animation-delay: 0.3s; }
.reveal-delay-4 { animation-delay: 0.4s; }

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

/* ===== MOBILE MENU ===== */
#mobile-menu {
    transition: max-height 0.3s ease, opacity 0.3s ease;
}
#mobile-menu.hidden {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}
#mobile-menu:not(.hidden) {
    max-height: 400px;
    opacity: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .font-serif.text-5xl,
    .font-serif.text-6xl {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    .trust-item {
        padding: 0 0.5rem;
    }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
    .reveal.animated {
        opacity: 1;
        transform: none;
    }
}
