/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; -webkit-font-smoothing: antialiased; }

/* ── Typography ── */
h1, h2, h3, h4 { line-height: 1.2; }

/* ── Navigation ── */
.nav-scrolled {
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
.nav-scrolled.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 20px rgba(78, 45, 67, 0.08);
}

.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #f59e0b;
    border-radius: 1px;
    transition: width 0.25s ease;
}
.nav-link:hover::after {
    width: 100%;
}

/* ── Mobile Menu ── */
#mobile-menu {
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Hero ── */
.hero {
    background: linear-gradient(135deg, #faf5f7 0%, #fef3c7 50%, #f3eaf0 100%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-image {
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ── Buttons ── */
.btn-primary {
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-secondary {
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

/* ── Labels ── */
.label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #d97706;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    padding: 0.4rem 1rem;
    border-radius: 2rem;
}

.label-light {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.15);
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

/* ── Section Titles ── */
.section-title {
    font-family: 'Lora', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #4e2d43;
}

.section-title-light {
    font-family: 'Lora', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #ffffff;
}

/* ── Cards ── */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(78, 45, 67, 0.12);
}

.card-img-wrap {
    transition: transform 0.4s ease;
}
.card:hover .card-img-wrap {
    transform: scale(1.02);
}
.card-img {
    transition: transform 0.5s ease;
}
.card:hover .card-img {
    transform: scale(1.08);
}

/* ── Testimonial Cards ── */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(78, 45, 67, 0.1);
}

/* ── Inputs ── */
.input {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid #e8d4e0;
    border-radius: 1rem;
    font-family: 'Nunito', system-ui, sans-serif;
    font-size: 1rem;
    color: #4e2d43;
    background: #faf5f7;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    outline: none;
    appearance: none;
}
.input:hover {
    border-color: #d4b3c8;
    background: #f3eaf0;
}
.input:focus {
    border-color: #a36490;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(163, 100, 144, 0.15);
}
.input::placeholder {
    color: #b89aaa;
}

select.input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a36490' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

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

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

/* ── 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 {
        opacity: 1;
        transform: none;
    }
    .hero-image { animation: none; }
}
