/* ================================================================
   HeavenRCM — Global Design Tokens, Reset & Shared Utilities
   ================================================================ */

/* ========== DESIGN TOKENS ========== */
:root {
    --gold: #FFC570;
    --cream: #EFD2B0;
    --steel: #547792;
    --navy: #1A3263;
    --navy-deep: #0f1f3d;
    --navy-light: #253d6b;
    --gold-dim: rgba(255, 197, 112, 0.15);
    --white: #ffffff;
    --gray-100: #f7f8fa;
    --gray-200: #e8ecf1;
    --gray-600: #6b7a8d;
    --text-primary: #ffffff;
    --text-secondary: rgba(255,255,255,0.7);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    --shadow-card: 0 8px 32px rgba(0,0,0,0.18);
    --shadow-glow: 0 0 40px rgba(255,197,112,0.2);
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;
}

/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-main);
    background: var(--navy-deep);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ========== LAYOUT ========== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ========== TYPOGRAPHY UTILITIES ========== */
.text-gradient {
    background: linear-gradient(135deg, var(--gold), var(--cream));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== SECTION HEADERS ========== */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.section-header--left { text-align: left; margin: 0 0 36px; }
.section-tag {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px;
    color: var(--gold); margin-bottom: 14px;
    background: var(--gold-dim); padding: 6px 16px; border-radius: 100px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700; line-height: 1.2; margin-bottom: 16px;
}
.section-subtitle { color: var(--text-secondary); font-size: 1.05rem; }

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 32px; border-radius: 100px; font-weight: 600; font-size: 0.95rem;
    transition: var(--transition); cursor: pointer; border: 2px solid transparent;
    position: relative; overflow: hidden;
}
.btn--primary {
    background: linear-gradient(135deg, var(--gold), #e6a84d);
    color: var(--navy); border-color: var(--gold);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn--outline { border-color: rgba(255,255,255,0.3); color: var(--white); }
.btn--outline:hover { border-color: var(--gold); color: var(--gold); }
.btn--lg { padding: 18px 36px; font-size: 1rem; }

/* ========== GLASS CARD BASE ========== */
.glass-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
    transition: var(--transition);
}
.glass-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,197,112,0.2);
    background: rgba(255,255,255,0.07);
}

/* ========== PAGE HERO (reusable across inner pages) ========== */
.page-hero {
    padding: 160px 0 80px;
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at top center, rgba(255,197,112,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.page-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800; margin-bottom: 16px;
}
.page-hero__subtitle {
    color: var(--text-secondary); font-size: 1.1rem;
    max-width: 600px; margin: 0 auto;
}
.page-hero__breadcrumb {
    display: flex; align-items: center; justify-content: center;
    gap: 8px; margin-bottom: 20px; font-size: 0.85rem;
    color: var(--text-secondary);
}
.page-hero__breadcrumb a { color: var(--gold); transition: var(--transition); }
.page-hero__breadcrumb a:hover { opacity: 0.8; }

/* ========== SCROLL ANIMATIONS ========== */
.animate-on-scroll {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
