/* =========================================
   1. CSS Variables & Reset (Unique Editorial Theme)
   ========================================= */
:root {
    --primary: #0f172a;       /* Midnight Blue */
    --primary-light: #1e293b;
    --accent: #d97706;        /* Burnt Gold / Amber */
    --accent-hover: #b45309;
    --bg-body: #fafaf9;       /* Warm Off-White */
    --bg-card: #ffffff;
    --text-main: #44403c;     /* Warm Charcoal */
    --text-heading: #0c0a09;  /* Deep Charcoal */
    --text-muted: #78716c;
    --border: #e7e5e4;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --radius: 4px;            /* Sharper, more editorial corners */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-main);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.8;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: var(--accent); transition: color 0.2s ease; font-weight: 500; }
a:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 3px; }
ul, ol { margin-left: 24px; margin-bottom: 24px; }
li { margin-bottom: 12px; }

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

/* =========================================
   2. Mobile Header
   ========================================= */
.mobile-header {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: none;
}

.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; color: var(--primary); letter-spacing: -0.5px; }

.hamburger {
    background: none; border: none; cursor: pointer; padding: 8px;
    display: flex; flex-direction: column; gap: 5px;
}
.hamburger span {
    display: block; width: 24px; height: 2px; background: var(--text-heading);
    transition: 0.3s;
}

.mobile-nav {
    display: none; background: var(--bg-card); border-bottom: 1px solid var(--border);
    padding: 20px 24px;
}
.mobile-nav.active { display: block; }
.mobile-nav ul { list-style: none; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.mobile-nav a { color: var(--text-main); font-weight: 600; font-size: 1.05rem; text-decoration: none; }
.btn-nav {
    background: var(--primary); color: white !important; padding: 12px 20px;
    border-radius: var(--radius); text-align: center; display: block; text-decoration: none !important;
}

/* =========================================
   3. Hero Section
   ========================================= */
.hero {
    background: var(--primary);
    color: white;
    padding: 100px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle geometric background pattern using CSS only */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fde68a;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
    color: #ffffff;
}

.hero p {
    font-size: 1.25rem;
    color: #cbd5e1;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: white !important;
    padding: 16px 36px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.2s ease;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); text-decoration: none !important; }

/* =========================================
   4. Main Layout Grid (Sidebar + Content)
   ========================================= */
.main-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 64px;
    margin-top: -60px; 
    margin-bottom: 80px;
    position: relative;
    z-index: 10;
}

/* Sidebar */
.sidebar { position: relative; }
.sticky-nav {
    position: sticky;
    top: 100px;
    background: var(--bg-card);
    padding: 32px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.nav-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.sticky-nav ul { list-style: none; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.sticky-nav a {
    display: block;
    padding: 10px 12px;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius);
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}
.sticky-nav a:hover { background: #f5f5f4; color: var(--primary); text-decoration: none; }
.sticky-nav a.active {
    background: #fffbeb;
    color: var(--accent);
    border-left-color: var(--accent);
    font-weight: 600;
}
.sticky-nav a.highlight {
    color: var(--primary);
    font-weight: 700;
    margin-top: 12px;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

/* Article Body */
.article-body {
    background: var(--bg-card);
    padding: 56px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.article-body h2 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    font-size: 2.2rem;
    font-weight: 700;
    margin-top: 56px;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}
.article-body h2:first-of-type { margin-top: 0; }

.article-body h3 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 16px;
}

.article-body p { margin-bottom: 24px; font-size: 1.05rem; color: var(--text-main); }
.article-body a { border-bottom: 1px dashed var(--accent); }
.article-body a:hover { border-bottom-style: solid; }

/* Process Grid */
.process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 40px 0;
}

.process-card {
    background: #fafaf9;
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.process-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }

.step-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 16px;
}
.process-card h3 { margin-top: 0; font-size: 1.2rem; font-family: var(--font-main); font-weight: 700; }
.process-card p { margin-bottom: 0; font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }

/* FAQ Section */
.faq-section { display: flex; flex-direction: column; gap: 16px; margin-top: 40px; }
.faq-item {
    background: #fafaf9;
    border-left: 4px solid var(--primary);
    padding: 28px;
    border-radius: 0 var(--radius) var(--radius) 0;
    transition: background 0.2s ease;
}
.faq-item:hover { background: #f5f5f4; }
.faq-item h3 { margin-top: 0; margin-bottom: 12px; font-size: 1.15rem; color: var(--text-heading); font-family: var(--font-main); font-weight: 700; }
.faq-item p { margin-bottom: 0; font-size: 1rem; color: var(--text-muted); line-height: 1.7; }

/* Contact Section */
.contact-section {
    margin-top: 80px;
    padding-top: 64px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.contact-card {
    background: var(--primary);
    color: white;
    padding: 56px;
    border-radius: var(--radius);
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
.contact-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.contact-card h2 { font-family: var(--font-heading); color: white; margin-bottom: 16px; font-size: 2rem; }
.contact-card > p { color: #cbd5e1; margin-bottom: 40px; font-size: 1.1rem; }

.contact-details {
    text-align: left;
    display: inline-block;
    width: 100%;
    max-width: 350px;
    margin-bottom: 40px;
}
.detail-item { margin-bottom: 24px; display: flex; flex-direction: column; }
.detail-item strong {
    color: #fde68a;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
    font-weight: 700;
}
.detail-item a, .detail-item span {
    color: white;
    font-weight: 500;
    font-size: 1.15rem;
    text-decoration: none;
}
.detail-item a:hover { color: #fde68a; text-decoration: none; }

.btn-large { padding: 18px 48px; font-size: 1.1rem; background: white; color: var(--primary) !important; }
.btn-large:hover { background: #f5f5f4; transform: translateY(-2px); }

/* Footer */
footer { background: var(--primary); color: #94a3b8; text-align: center; padding: 48px 0; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-content p { margin-bottom: 8px; font-size: 0.9rem; }

/* =========================================
   5. Responsive Design
   ========================================= */
@media (max-width: 1024px) {
    .main-layout { grid-template-columns: 1fr; margin-top: 0; gap: 40px; }
    .sidebar { display: none; } 
    .mobile-header { display: block; }
    .hero { padding-top: 60px; }
    .hero h1 { font-size: 2.5rem; }
    .article-body { padding: 40px 32px; }
    .process-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1.1rem; }
    .article-body { padding: 32px 20px; }
    .article-body h2 { font-size: 1.8rem; }
    .contact-card { padding: 40px 24px; }
    .btn-large { width: 100%; text-align: center; }
}