/* ==========================================================================
   BH Group Inc / BH Legal Support Group - Premium CSS Design System
   Brand Color Palette: Deep Navy & Regal Gold
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-dark: #070c1e;
    --bg-surface: #0f172a;
    --bg-card: rgba(15, 23, 42, 0.75);
    --bg-card-hover: rgba(26, 37, 66, 0.85);
    
    --primary-navy: #1b264f;
    --primary-blue: #274060;
    
    --accent-gold: #d4af37;
    --accent-gold-bright: #f59e0b;
    --accent-gold-gradient: linear-gradient(135deg, #f59e0b 0%, #d4af37 50%, #b38b22 100%);
    --accent-gold-glow: rgba(212, 175, 55, 0.25);
    
    --whatsapp-color: #25d366;
    --whatsapp-hover: #1ebd56;
    
    --text-white: #ffffff;
    --text-light: #e2e8f0;
    --text-muted: #94a3b8;
    --text-dark: #0f172a;
    
    --border-gold: rgba(212, 175, 55, 0.25);
    --border-light: rgba(255, 255, 255, 0.1);
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
    --shadow-gold: 0 10px 30px -10px rgba(212, 175, 55, 0.3);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 15% 20%, rgba(27, 38, 79, 0.4) 0%, transparent 40%),
        radial-gradient(circle at 85% 70%, rgba(212, 175, 55, 0.08) 0%, transparent 45%);
    background-attachment: fixed;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography Utilities */
.gold-text {
    background: var(--accent-gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.heading-font {
    font-family: var(--font-heading);
}

/* Header & Navigation */
.top-bar {
    background-color: rgba(7, 12, 30, 0.95);
    border-bottom: 1px solid var(--border-light);
    padding: 0.6rem 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.top-bar-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
}

.top-bar-item svg {
    color: var(--accent-gold);
    width: 16px;
    height: 16px;
}

.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-gold);
    transition: var(--transition-normal);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-badge {
    width: 48px;
    height: 48px;
    background: var(--accent-gold-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    box-shadow: var(--shadow-gold);
    font-weight: 800;
    font-size: 1.25rem;
}

.logo-text h1 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.logo-text span {
    font-size: 0.75rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-light);
    transition: var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-gold-gradient);
    transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-cta-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    outline: none;
}

.btn-gold {
    background: var(--accent-gold-gradient);
    color: var(--text-dark);
    box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px -8px rgba(212, 175, 55, 0.5);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-gold);
    color: var(--accent-gold);
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--text-white);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: var(--whatsapp-color);
    color: var(--text-white);
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.4);
}

.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-white);
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 6rem 0 5rem;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 1rem;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-full);
    color: var(--accent-gold);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-white);
    margin-bottom: 1.2rem;
}

.hero-tagline {
    font-size: 1.25rem;
    color: var(--accent-gold);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.stat-item h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-gold);
}

.stat-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-card-preview {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    position: relative;
}

.hero-card-preview::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    bottom: -10px;
    left: -10px;
    border-radius: calc(var(--radius-lg) + 10px);
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.2), transparent 70%);
    z-index: -1;
}

.preview-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.preview-header h3 {
    font-family: var(--font-heading);
    color: var(--text-white);
    font-size: 1.4rem;
}

.preview-header p {
    color: var(--accent-gold);
    font-size: 0.9rem;
}

.quick-quiz-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-bottom: 1.5rem;
}

.quiz-option-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.quiz-option-btn:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--accent-gold);
    color: var(--text-white);
    transform: translateX(4px);
}

/* Urgent Callouts Section */
.urgent-section {
    padding: 4rem 0;
    background: rgba(10, 17, 40, 0.6);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 3.5rem;
}

.section-subtitle {
    color: var(--accent-gold);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    color: var(--text-white);
    line-height: 1.25;
}

.urgent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.urgent-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.75rem 1.25rem;
    text-align: center;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.urgent-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-gold-gradient);
    opacity: 0;
    transition: var(--transition-fast);
}

.urgent-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-gold);
    box-shadow: var(--shadow-lg);
}

.urgent-card:hover::after {
    opacity: 1;
}

.urgent-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
}

.urgent-card h4 {
    font-size: 1.1rem;
    color: var(--text-white);
    margin-bottom: 0.6rem;
}

.urgent-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
}

.urgent-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--accent-gold);
    font-size: 0.85rem;
    font-weight: 700;
}

/* Practice Areas & Services Section */
.services-section {
    padding: 6rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-6px);
    box-shadow: var(--shadow-gold);
    background: var(--bg-card-hover);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.2rem;
}

.service-badge-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--accent-gold-gradient);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-header h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text-white);
    line-height: 1.3;
}

.service-card p {
    font-size: 0.925rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-features {
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.4rem;
}

.service-features svg {
    color: var(--accent-gold);
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.service-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

/* Assessment Tool Section */
.assessment-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, rgba(7, 12, 30, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
}

.assessment-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    max-width: 850px;
    margin: 0 auto;
}

.quiz-step {
    display: none;
}

.quiz-step.active {
    display: block;
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.quiz-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    margin-bottom: 2rem;
    overflow: hidden;
}

.quiz-progress-fill {
    height: 100%;
    background: var(--accent-gold-gradient);
    width: 25%;
    transition: width 0.3s ease;
}

.quiz-question-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--text-white);
    margin-bottom: 1rem;
    text-align: center;
}

.quiz-choices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
}

.quiz-choice-card {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
    text-align: center;
}

.quiz-choice-card:hover {
    background: rgba(212, 175, 55, 0.12);
    border-color: var(--accent-gold);
    transform: translateY(-3px);
}

.quiz-choice-card h4 {
    font-size: 1.1rem;
    color: var(--text-white);
    margin-bottom: 0.4rem;
}

.quiz-choice-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Why Choose Us & Process */
.features-section {
    padding: 6rem 0;
    background: rgba(15, 23, 42, 0.5);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.feature-box {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
}

.feature-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.feature-box h4 {
    font-size: 1.2rem;
    color: var(--text-white);
    margin-bottom: 0.75rem;
}

.feature-box p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* FAQs Accordion */
.faq-section {
    padding: 6rem 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 1.05rem;
    font-weight: 700;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-answer {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.925rem;
    color: var(--text-muted);
    display: none;
    line-height: 1.7;
}

.faq-item.open .faq-answer {
    display: block;
}

.faq-item.open {
    border-color: var(--border-gold);
}

.faq-item.open .faq-question {
    color: var(--accent-gold);
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: var(--bg-surface);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
}

.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.contact-method-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.method-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(212, 175, 55, 0.15);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-details span {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.method-details h4 {
    font-size: 1.1rem;
    color: var(--text-white);
}

.contact-form-container {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(7, 12, 30, 0.7);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-white);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

textarea.form-control {
    resize: vertical;
    min-height: 110px;
}

/* Footer */
.main-footer {
    background: #040814;
    border-top: 1px solid var(--border-light);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.footer-title {
    font-family: var(--font-heading);
    color: var(--text-white);
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 600px;
    padding: 2.5rem;
    position: relative;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    transition: var(--transition-normal);
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.5rem;
}

.modal-close:hover {
    color: var(--text-white);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-surface);
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition-normal);
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.3rem;
    }

    .quiz-choices {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}
