*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { min-height: 100vh; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; border: none; background: none; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── Loader ─── */
.loader-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: #070f17;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader-overlay.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-content { text-align: center; }
.loader-icon {
    width: 56px; height: 56px; margin: 0 auto;
    color: #c9a84c;
    animation: loaderSpin 1.4s ease-in-out infinite;
}
@keyframes loaderSpin {
    0%, 100% { transform: rotate(0deg); opacity: 0.6; }
    50% { transform: rotate(180deg); opacity: 1; }
}

/* ─── Scroll-triggered animations ─── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(32px);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .reveal.revealed,
    .reveal[data-revealed] {
        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; }
}
/* Fallback: always visible if JS is disabled */
@media not all and (prefers-reduced-motion: no-preference) {
    .reveal { opacity: 1; transform: none; }
}

/* ─── Header ─── */
.site-header {
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.site-header.scrolled {
    background: rgba(7, 15, 23, 0.92);
    border-bottom-color: rgba(201, 168, 76, 0.12);
    box-shadow: 0 1px 40px rgba(0,0,0,0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.header-inner { transition: height 0.3s ease; }
.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute; bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: #c9a84c;
    transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link:focus-visible::after { width: 100%; }

/* Mobile menu */
.mobile-nav {
    opacity: 0; visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-nav-link { position: relative; z-index: 1; }
.menu-line { transition: transform 0.3s ease, opacity 0.3s ease; }
#menu-toggle[aria-expanded="true"] .menu-line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
#menu-toggle[aria-expanded="true"] .menu-line:nth-child(2) { opacity: 0; }
#menu-toggle[aria-expanded="true"] .menu-line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ─── Buttons ─── */
.btn-gold {
    background: linear-gradient(135deg, #c9a84c 0%, #e8d5a3 50%, #c9a84c 100%);
    color: #0d1b2a;
    padding: 0.75rem 1.75rem;
    border-radius: 2px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
}
.btn-gold::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, #e8d5a3 0%, #c9a84c 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(201,168,76,0.3); }
.btn-gold:hover::before { opacity: 1; }
.btn-gold span { position: relative; z-index: 1; }
.btn-gold > * { position: relative; z-index: 1; }

.btn-outline-gold {
    border: 1px solid rgba(201,168,76,0.5);
    color: #c9a84c;
    padding: 0.75rem 1.75rem;
    border-radius: 2px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    display: inline-block;
}
.btn-outline-gold:hover {
    background: rgba(201,168,76,0.1);
    border-color: #c9a84c;
}

/* ─── Hero ─── */
.hero-section { position: relative; }
.hero-bg { position: absolute; inset: 0; }
.hero-img { opacity: 0.5; }
.hero-overlay {
    background: linear-gradient(
        135deg,
        rgba(7, 15, 23, 0.92) 0%,
        rgba(13, 27, 42, 0.85) 40%,
        rgba(13, 27, 42, 0.75) 70%,
        rgba(7, 15, 23, 0.88) 100%
    );
}
.hero-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-headline { animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; transform: translateY(24px); }
.hero-badge { animation: heroFadeUp 1s 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; transform: translateY(24px); }
.hero-subtitle { animation: heroFadeUp 1s 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; transform: translateY(24px); }
.hero-ctas { animation: heroFadeUp 1s 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; transform: translateY(24px); }
.hero-cards { animation: heroFadeRight 1s 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; transform: translateX(40px); }
@keyframes heroFadeUp {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeRight {
    to { opacity: 1; transform: translateX(0); }
}
.hero-scroll-indicator { animation: heroFadeUp 1s 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; }
.scroll-line {
    width: 1px; height: 48px;
    background: rgba(201,168,76,0.2);
    position: relative; overflow: hidden;
}
.scroll-line-fill {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 40%;
    background: #c9a84c;
    animation: scrollLineMove 1.8s ease-in-out infinite;
}
@keyframes scrollLineMove {
    0% { top: -40%; }
    100% { top: 100%; }
}

/* ─── Stat Cards ─── */
.stat-card {
    background: rgba(13, 27, 42, 0.7);
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: 4px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
    min-width: 120px;
}
.stat-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201,168,76,0.4);
    box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(201,168,76,0.1);
}
.stat-card--gold .stat-card-number { color: #c9a84c; }
.stat-card--teal .stat-card-number { color: #5eead4; }
.stat-card-icon {
    width: 40px; height: 40px;
    margin: 0 auto 0.75rem;
    color: #5eead4;
}
.stat-card--gold .stat-card-icon { color: #c9a84c; }
.stat-card-number { font-family: 'Playfair Display', serif; font-weight: 600; line-height: 1; margin-bottom: 0.5rem; }
.stat-card-label { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: #92b8d8; }

/* ─── Section shared ─── */
.section-tag { display: inline-flex; }
.section-title { font-family: 'Playfair Display', Georgia, serif; }
.section-subtitle { }
.section-header { }

/* ─── Feature Cards ─── */
.feature-card {
    background: rgba(13, 27, 42, 0.6);
    border: 1px solid rgba(201,168,76,0.08);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201,168,76,0.25);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.feature-card-accent {
    position: absolute; top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c9a84c, transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.feature-card:hover .feature-card-accent { opacity: 1; }
.feature-card-icon { color: #5eead4; }
.feature-card-icon svg { width: 40px; height: 40px; }
.feature-card-title { font-family: 'Playfair Display', Georgia, serif; }
.feature-card-text { }

/* ─── Collection Cards ─── */
.collection-card {
    background: rgba(13, 27, 42, 0.5);
    border: 1px solid rgba(201,168,76,0.08);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.collection-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201,168,76,0.25);
    box-shadow: 0 24px 64px rgba(0,0,0,0.35);
}
.collection-card-img-wrap { position: relative; overflow: hidden; }
.collection-card-img { transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.collection-card:hover .collection-card-img { transform: scale(1.06); }
.collection-card-img-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(7,15,23,0.6) 0%, transparent 50%);
}
.collection-card-body { }
.collection-card-title { font-family: 'Playfair Display', Georgia, serif; }
.collection-card-link { transition: gap 0.3s ease; }
.collection-card-link:hover svg { transform: translateX(4px); }

/* ─── About ─── */
.about-img-main { position: relative; }
.about-img-main-img { border-radius: 2px; }
.about-img-float { z-index: 2; }
.about-img-float-img { border-radius: 2px; }
.about-img-float-border { z-index: -1; }
.about-signature-icon { }

/* ─── Visit ─── */
.visit-info-card, .visit-form-card {
    background: rgba(13, 27, 42, 0.6);
    border: 1px solid rgba(201,168,76,0.1);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.visit-info-card:hover, .visit-form-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201,168,76,0.25);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.visit-info-card-inner, .visit-form-card-inner { position: relative; z-index: 1; }
.visit-info-title { font-family: 'Playfair Display', Georgia, serif; }
.visit-detail-icon { flex-shrink: 0; }
.visit-detail-label { }
.visit-detail-value { }
.visit-map-link { }

/* ─── Form ─── */
.form-label {
    display: block;
    margin-bottom: 0.5rem;
}
.form-input {
    width: 100%;
    background: rgba(7, 15, 23, 0.6);
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: 2px;
    color: #dce6f0;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}
.form-input::placeholder { color: #4a76ab; }
.form-input:focus {
    border-color: rgba(201,168,76,0.5);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.08);
}
.form-select {
    appearance: none;
    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='%23c9a84c' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}
.form-textarea { resize: vertical; min-height: 80px; }
.form-success { margin-top: 1rem; }
.form-success-inner {
    background: rgba(94, 234, 212, 0.06);
    border: 1px solid rgba(94, 234, 212, 0.2);
    border-radius: 4px;
}

/* ─── Footer ─── */
.footer { border-top: 1px solid rgba(201,168,76,0.08); }
.footer-heading { font-family: 'Playfair Display', Georgia, serif; }
.footer-link { }
.footer-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23c9a84c' fill-opacity='0.3' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

/* ─── Back to top ─── */
.back-to-top {
    position: fixed; bottom: 2rem; right: 2rem;
    width: 44px; height: 44px;
    background: rgba(13, 27, 42, 0.8);
    border: 1px solid rgba(201,168,76,0.3);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #c9a84c;
    opacity: 0; visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.3s ease;
    z-index: 50;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: rgba(201,168,76,0.15); }
.back-to-top svg { width: 20px; height: 20px; }

/* ─── Focus visible ─── */
:focus-visible {
    outline: 2px solid #c9a84c;
    outline-offset: 2px;
}

/* ─── Responsive ─── */
@media (max-width: 767px) {
    .hero-headline { font-size: 2.5rem; }
    .hero-cards { flex-direction: column; width: 100%; }
    .stat-card { min-width: auto; }
    .about-img-float { position: relative; bottom: auto; right: auto; margin-top: 1rem; width: 100%; height: 200px; }
    .about-img-main-img { height: 280px !important; }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero-headline { font-size: 3.5rem; }
}

@media (min-width: 1024px) {
    .hero-headline { font-size: 4.5rem; }
}

@media (min-width: 1280px) {
    .hero-headline { font-size: 5rem; }
}
