/* Palette: Midnight Blue, Searchlight Yellow, Steel Grey */
:root {
    --midnight: #0F172A;
    --dark-blue: #1E293B;
    --yellow: #FBC02D;
    --steel: #64748B;
    --white: #F1F5F9;
    --text: #CBD5E1;
    
    --font-heading: 'Archivo', sans-serif;
    --font-mono: 'Roboto Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--midnight);
    color: var(--text);
    font-family: var(--font-heading);
    line-height: 1.6;
}

.container { width: 90%; max-width: 1100px; margin: 0 auto; }
.section-padding { padding: 100px 0; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; height: auto; }

/* Header */
.quest-header { background: rgba(15, 23, 42, 0.95); padding: 20px 0; position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid #334155; }
.header-flex { display: flex; justify-content: space-between; align-items: center; }

.logo { font-size: 1.5rem; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 10px; letter-spacing: 1px; }
.yellow { color: var(--yellow); }
.icon-search { color: var(--yellow); font-size: 1.2rem; }

.quest-nav a { margin-left: 25px; font-size: 0.9rem; font-weight: 600; text-transform: uppercase; color: var(--steel); }
.quest-nav a:hover, .quest-nav a.active { color: var(--yellow); }

.btn-search { border: 1px solid var(--yellow); color: var(--yellow) !important; padding: 8px 20px; border-radius: 2px; font-family: var(--font-mono); font-size: 0.8rem; }
.btn-search:hover { background: var(--yellow); color: var(--midnight) !important; }

/* Mobile Menu */
.mobile-toggle { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; }
.mobile-toggle span { width: 25px; height: 2px; background: #fff; }

.mobile-drawer { position: fixed; top: 0; right: -100%; width: 280px; height: 100%; background: var(--dark-blue); z-index: 2000; padding: 30px; transition: 0.4s; border-left: 2px solid var(--yellow); }
.mobile-drawer.active { right: 0; }
.close-drawer { color: var(--yellow); font-family: var(--font-mono); background: none; border: 1px solid var(--yellow); padding: 5px 10px; cursor: pointer; margin-bottom: 30px; display: block; width: 100%; text-align: right; }
.mobile-drawer a { display: block; color: #fff; font-size: 1.2rem; margin-bottom: 20px; border-bottom: 1px solid #334155; padding-bottom: 10px; }

@media (max-width: 900px) {
    .quest-nav { display: none; }
    .mobile-toggle { display: flex; }
}

/* Hero */
.hero-quest { height: 85vh; background-size: cover; background-position: center; position: relative; }
.dark-overlay { width: 100%; height: 100%; background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.7)); display: flex; align-items: center; }
.hero-content { max-width: 800px; padding-left: 10%; }
.status-code { font-family: var(--font-mono); color: var(--yellow); background: rgba(251, 192, 45, 0.1); padding: 5px 10px; border: 1px solid var(--yellow); font-size: 0.8rem; display: inline-block; margin-bottom: 20px; }
.hero-content h1 { font-size: 3.5rem; color: #fff; line-height: 1.1; margin-bottom: 20px; font-weight: 700; }
.hero-content p { font-size: 1.2rem; color: var(--steel); margin-bottom: 40px; }

.cta-row { display: flex; gap: 15px; }
.btn-primary { background: var(--yellow); color: var(--midnight); padding: 15px 30px; font-weight: 700; font-family: var(--font-heading); text-transform: uppercase; }
.btn-secondary { border: 1px solid #fff; color: #fff; padding: 14px 30px; font-weight: 700; }

/* Expertise */
.section-head { text-align: center; margin-bottom: 60px; }
.section-head h2 { font-size: 2.5rem; color: #fff; margin-bottom: 15px; }
.search-line { width: 50px; height: 4px; background: var(--yellow); margin: 0 auto; }
.search-line.left { margin: 20px 0; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.exp-card { background: var(--dark-blue); padding: 30px; border: 1px solid #334155; transition: 0.3s; position: relative; overflow: hidden; }
.exp-card:hover { border-color: var(--yellow); transform: translateY(-5px); }
.card-icon { font-size: 2.5rem; margin-bottom: 20px; }
.exp-card h3 { color: #fff; font-size: 1.3rem; margin-bottom: 10px; }
.exp-card p { color: var(--steel); font-size: 0.9rem; margin-bottom: 20px; }
.exp-card a { color: var(--yellow); font-family: var(--font-mono); font-size: 0.8rem; }

/* Data Bar */
.data-bar { background: var(--dark-blue); border-top: 1px solid #334155; border-bottom: 1px solid #334155; padding: 40px 0; margin-top: 60px; }
.data-flex { display: flex; justify-content: space-around; text-align: center; }
.data-item strong { display: block; font-size: 3rem; color: #fff; font-weight: 700; line-height: 1; }
.data-item span { font-family: var(--font-mono); color: var(--yellow); font-size: 0.8rem; letter-spacing: 1px; }

/* Practice Layout */
.practice-layout { display: grid; grid-template-columns: 1fr 2.5fr; gap: 50px; }
.sidebar h3 { color: var(--yellow); margin-bottom: 20px; font-family: var(--font-mono); }
.sidebar ul { list-style: none; padding: 0; }
.sidebar li { padding: 10px 0; border-bottom: 1px solid #334155; color: var(--steel); cursor: pointer; }
.sidebar li.active { color: #fff; border-left: 2px solid var(--yellow); padding-left: 10px; }
.content h1 { color: #fff; font-size: 2.5rem; }
.service-box { background: rgba(255,255,255,0.05); padding: 25px; margin-top: 30px; border-left: 4px solid var(--yellow); }
.service-box h3 { color: #fff; margin-bottom: 10px; }

/* Timeline (Process) */
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 20px; top: 0; height: 100%; width: 2px; background: #334155; }
.timeline-item { padding-left: 60px; position: relative; margin-bottom: 40px; }
.step-num { position: absolute; left: 0; top: 0; width: 40px; height: 40px; background: var(--yellow); color: var(--midnight); font-weight: 700; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-family: var(--font-mono); }
.timeline-item h3 { color: #fff; margin-bottom: 10px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; background: var(--dark-blue); padding: 50px; border: 1px solid #334155; }
.info-block h2 { color: var(--yellow); font-family: var(--font-mono); }
.contact-details { margin-top: 30px; font-family: var(--font-mono); font-size: 0.9rem; }
.contact-details p { margin-bottom: 10px; }

.dark-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.dark-form input, .dark-form select, .dark-form textarea { width: 100%; padding: 15px; background: var(--midnight); border: 1px solid #334155; color: #fff; font-family: var(--font-heading); outline: none; }
.dark-form input:focus { border-color: var(--yellow); }
.btn-submit { width: 100%; background: var(--yellow); color: var(--midnight); border: none; padding: 15px; font-weight: 700; cursor: pointer; font-family: var(--font-heading); }

/* Legal Doc */
.legal-doc { max-width: 800px; margin: 0 auto; background: var(--dark-blue); padding: 50px; }
.legal-doc h1 { color: #fff; }
.legal-doc h3 { color: var(--yellow); margin-top: 30px; font-family: var(--font-mono); }

/* Footer */
.quest-footer { background: #020617; padding: 60px 0 20px; margin-top: 80px; border-top: 1px solid #1E293B; }
.footer-content { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #1E293B; padding-bottom: 30px; margin-bottom: 20px; }
.f-brand h4 { color: #fff; letter-spacing: 1px; }
.f-links a { margin-left: 20px; color: var(--steel); font-family: var(--font-mono); font-size: 0.8rem; }
.f-links a:hover { color: var(--yellow); }
.copyright { text-align: center; font-size: 0.8rem; color: #475569; }

/* Cookie */
.cookie-alert { position: fixed; bottom: 20px; left: 20px; background: var(--midnight); border: 1px solid var(--yellow); padding: 15px 25px; display: flex; align-items: center; gap: 20px; z-index: 3000; display: none; }
.cookie-alert.active { display: flex; }
.cookie-alert p { color: var(--yellow); font-family: var(--font-mono); font-size: 0.8rem; margin: 0; }
.cookie-alert button { background: var(--yellow); color: var(--midnight); border: none; padding: 5px 15px; font-weight: 700; cursor: pointer; }

@media (max-width: 900px) {
    .grid-3, .practice-layout, .contact-grid, .dark-form .form-row, .data-flex { grid-template-columns: 1fr; }
    .hero-content { padding-left: 5%; }
    .footer-content { flex-direction: column; text-align: center; gap: 20px; }
    .data-flex { gap: 30px; }
}