/* ============================================================
   GLOBAL RESET & ROOT VARIABLES
   All variables defined ONCE here — used across all 3 files
============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--ff-body);
    background: var(--cream);
    color: var(--text-dark);
    line-height: 1.65;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--ff-body); }

:root {
    --gold:        #C9A84C;
    --gold-light:  #E8C97A;
    --gold-dark:   #9A7430;
    --navy:        #0A1628;
    --navy-mid:    #112240;
    --navy-soft:   #1A3257;
    --cream:       #FAF7F2;
    --cream-dark:  #F0EBE0;
    --white:       #FFFFFF;
    --gray-100:    #F5F5F5;
    --gray-200:    #E8E8E8;
    --gray-500:    #8A8A9A;
    --gray-700:    #4A4A5A;
    --text-dark:   #0F1A2E;
    --text-mid:    #3A4A60;
    --text-light:  #7A8A9E;
    --ff-display:  'Playfair Display', Georgia, serif;
    --ff-body:     'DM Sans', system-ui, sans-serif;
    --ff-mono:     'DM Mono', monospace;
    --shadow-sm:   0 2px 8px rgba(10,22,40,0.08);
    --shadow-md:   0 8px 32px rgba(10,22,40,0.12);
    --shadow-lg:   0 24px 64px rgba(10,22,40,0.16);
    --shadow-gold: 0 8px 32px rgba(201,168,76,0.25);
    --radius-sm:   6px;
    --radius-md:   12px;
    --radius-lg:   20px;
    --radius-xl:   32px;
    --transition:  0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ============================================================
   SHARED UTILITY CLASSES (used across index, header, footer)
============================================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
}

.section { padding: 110px 0; }

/* Section label */
.s-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--ff-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}
.s-label::before {
    content: '';
    display: inline-block;
    width: 28px; height: 2px;
    background: var(--gold);
    flex-shrink: 0;
}

/* Section title */
.s-title {
    font-family: var(--ff-display);
    font-size: clamp(30px, 4vw, 50px);
    font-weight: 700;
    line-height: 1.18;
    color: var(--text-dark);
    margin-bottom: 16px;
}
.s-title .hi { color: var(--gold); }
.s-title-white { color: var(--white) !important; }

/* Section subtitle */
.s-sub {
    font-size: 15.5px;
    color: var(--text-light);
    line-height: 1.75;
    max-width: 550px;
}

/* Center text helper */
.tc { text-align: center; }
.tc .s-sub { margin: 0 auto; }
.tc .s-label { justify-content: center; }

/* Gold divider */
.s-divider {
    width: 52px; height: 3px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
    border-radius: 2px;
    margin: 14px 0 26px;
}
.tc .s-divider { margin: 14px auto 26px; }

/* ============================================================
   BUTTONS
============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: var(--radius-sm);
    border: none;
    font-family: var(--ff-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: var(--transition);
    cursor: pointer;
    white-space: nowrap;
}
.btn-gold {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
    color: var(--navy);
    box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(201,168,76,0.45);
}
.btn-dark {
    background: var(--navy);
    color: var(--white);
}
.btn-dark:hover {
    background: var(--navy-soft);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-outline {
    background: transparent;
    border: 1.5px solid var(--navy);
    color: var(--navy);
}
.btn-outline:hover {
    background: var(--navy);
    color: var(--white);
}
.btn-outline-white {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.35);
    color: var(--white);
}
.btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.vis { opacity: 1; transform: none; }

.reveal-left {
    opacity: 0;
    transform: translateX(-44px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal-left.vis { opacity: 1; transform: none; }

.reveal-right {
    opacity: 0;
    transform: translateX(44px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal-right.vis { opacity: 1; transform: none; }

/* ============================================================
   WIPE-RIGHT HEADING ANIMATION
============================================================ */
.wipe-wrap {
    overflow: hidden;
    display: block;
}
.wipe-text {
    display: block;
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 0.9s cubic-bezier(0.77,0,0.18,1), opacity 0.4s ease;
}
.wipe-text.wipe-vis {
    transform: translateX(0);
    opacity: 1;
}
.wipe-text.wipe-d1 { transition-delay: 0.1s; }
.wipe-text.wipe-d2 { transition-delay: 0.22s; }
.wipe-text.wipe-d3 { transition-delay: 0.34s; }

/* ============================================================
   NAVBAR
============================================================ */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(10,22,40,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201,168,76,0.12);
    transition: var(--transition);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 16px;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}
.nav-logo-icon {
    width: 38px; height: 38px;
 
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.nav-logo-text {
    font-family: var(--ff-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.3px;
}

/* Nav links */
.nav-list {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    flex: 1;
    justify-content: center;
}
.nav-list a {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.68);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}
.nav-list a:hover {
    color: var(--gold-light);
    background: rgba(201,168,76,0.1);
}
.nav-list a.active {
    color: var(--gold-light);
    background: rgba(201,168,76,0.08);
}

/* Nav actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.hamburger:hover { background: rgba(255,255,255,0.06); }
.hamburger span {
    display: block;
    width: 22px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile drawer */
.mobile-menu {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(10,22,40,0.99);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201,168,76,0.12);
    padding: 20px 28px 28px;
    z-index: 999;
    flex-direction: column;
    gap: 4px;
    transform: translateY(-10px);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.mobile-menu.open {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}
.mobile-menu a {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.72);
    padding: 11px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.mobile-menu a:hover { color: var(--gold-light); background: rgba(201,168,76,0.08); }
.mobile-menu-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.07);
}
.mobile-menu-actions .btn { flex: 1; justify-content: center; padding: 12px; font-size: 13px; }

/* ============================================================
   RESPONSIVE — Navbar
============================================================ */
@media (max-width: 1100px) {
    .nav-list a { font-size: 12px; padding: 7px 9px; }
}
@media (max-width: 900px) {
    .nav-list { display: none; }
    .nav-actions { display: none; }
    .hamburger { display: flex; }
}
@media (max-width: 480px) {
    .nav-inner { height: 64px; }
    .nav-logo-text { font-size: 19px; }
    .mobile-menu { top: 64px; padding: 16px 20px 24px; }
}