/* ── Reset & Base ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
}

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

::selection {
    background: #B85C38;
    color: #FDFBF8;
}

/* ── Navigation ── */
.nav-fixed {
    background: rgba(253, 251, 248, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(184, 92, 56, 0.08);
    transition: box-shadow 0.4s ease;
}

.nav-fixed.scrolled {
    box-shadow: 0 1px 20px rgba(184, 92, 56, 0.06);
}

.nav-link {
    position: relative;
}

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

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

/* ── Mobile Menu ── */
.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: #B85C38;
    transition: width 0.3s ease;
}

.mobile-link:hover::after {
    width: 100%;
}

.menu-line {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#menu-toggle.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
}

#menu-toggle.active .menu-line:nth-child(2) {
    opacity: 0;
    width: 0;
}

#menu-toggle.active .menu-line:nth-child(3) {
    width: 6;
    transform: rotate(-45deg) translate(3px, -3px);
}

/* ── Hero ── */
.hero-eyebrow {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.hero-title {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.hero-subtitle {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

.hero-cta {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.8s;
}

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

@keyframes scroll {
    0% { top: 0; opacity: 1; }
    100% { top: 28px; opacity: 0; }
}

.scroll-dot {
    animation: scroll 1.5s ease-in-out infinite;
}

/* ── Buttons ── */
.cta-primary {
    border-radius: 0;
    letter-spacing: 0.2em;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.08);
    transition: left 0.4s ease;
}

.cta-primary:hover::before {
    left: 0;
}

.cta-secondary {
    border-radius: 0;
    letter-spacing: 0.2em;
    transition: all 0.4s ease;
}

.cta-secondary:hover {
    background: rgba(184, 92, 56, 0.04);
    border-color: #B85C38;
}

/* ── Dividers ── */
.divider-line {
    transition: width 0.6s ease;
}

/* ── Reveal Animations ── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s ease 0.15s, transform 0.8s ease 0.15s;
}

.reveal-delay.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Eyebrow ── */
.eyebrow {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 400;
}

/* ── Menu Items ── */
.menu-item {
    border-bottom: 1px solid rgba(184, 92, 56, 0.08);
    padding-bottom: 1rem;
    transition: padding-left 0.3s ease;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    padding-left: 8px;
}

.menu-item:hover p:first-child {
    color: #B85C38;
    transition: color 0.3s ease;
}

/* ── Form Inputs ── */
.input-field {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(184, 92, 56, 0.2);
    padding: 0.75rem 0;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    color: #4F281C;
    outline: none;
    transition: border-color 0.3s ease;
    border-radius: 0;
    -webkit-appearance: none;
}

.input-field:focus {
    border-bottom-color: #B85C38;
}

.input-field::placeholder {
    color: #C4A06E;
    font-weight: 300;
}

select.input-field {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23C4A06E' stroke-width='1.5' 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 0 center;
    padding-right: 2rem;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #F9F4EC;
}

::-webkit-scrollbar-thumb {
    background: #D9BC92;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #B85C38;
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-title span {
        display: inline;
    }
}
