/* ==========================================================================
   ASvybe Advocates Premium Design System & Theme Stylesheet
   ========================================================================== */

/* Custom Reset & Base Properties */
:root {
    --bg-navy: #0f172a;
    --bg-charcoal: #1e293b;
    --bg-card: rgba(30, 41, 59, 0.7);
    --gold: #c5a880;
    --gold-light: #d8c2a3;
    --gold-glow: rgba(197, 168, 128, 0.4);
    --text-white: #ffffff;
    --text-light: #f1f5f9;
    --text-muted: #94a3b8;
    --text-gray: #cbd5e1;
    --border-gold: rgba(197, 168, 128, 0.3);
    --border-light: rgba(148, 163, 184, 0.1);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --font-serif: 'Cinzel', serif;
    --font-sans: 'Montserrat', sans-serif;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-navy);
}

body {
    font-family: var(--font-sans);
    color: var(--text-gray);
    line-height: 1.6;
    overflow-x: hidden;
    background: radial-gradient(circle at top, var(--bg-charcoal) 0%, var(--bg-navy) 100%);
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-navy);
}
::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light);
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.gold-text {
    color: var(--gold);
}

.gold-text-glow {
    color: var(--gold-light);
    text-shadow: 0 0 10px var(--gold-glow);
}

.mt-3 {
    margin-top: 1.5rem;
}

/* Buttons (Touch Targets >= 48px) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    padding: 15px 30px; /* Ensures vertical height is 52px */
    min-height: 52px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, #a4865d 100%);
    color: var(--bg-navy);
    border: 1px solid var(--gold);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 1px solid var(--border-gold);
}

.btn-secondary:hover {
    background: rgba(197, 168, 128, 0.1);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.btn-glow {
    box-shadow: 0 4px 20px var(--gold-glow);
}

.btn-glow:hover {
    box-shadow: 0 6px 25px rgba(197, 168, 128, 0.6);
}

.btn-sm {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--gold);
    border: 1px solid var(--border-gold);
    padding: 10px 20px;
    border-radius: 4px;
    min-height: 48px; /* Ensures touch target compliance */
    background: rgba(30, 41, 59, 0.5);
    transition: var(--transition-smooth);
}

.btn-sm:hover {
    color: var(--text-white);
    background: var(--gold);
    border-color: var(--gold);
    transform: translateX(4px);
}

/* ==========================================================================
   Header & Announcement Bar
   ========================================================================== */

.top-bar {
    background-color: #090d16;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.75rem;
    color: var(--text-muted);
    padding: 8px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-crest {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
    border: 2px solid var(--gold);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    box-shadow: 0 0 10px var(--gold-glow);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 1px;
    line-height: 1.1;
}

.logo-subtitle {
    font-size: 0.6rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    font-weight: 600;
    margin-top: 2px;
}

/* Nav Menu (Desktop) */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    font-family: var(--font-sans);
    color: var(--text-gray);
    font-weight: 500;
    font-size: 0.85rem;
    text-decoration: none;
    letter-spacing: 0.5px;
    padding: 10px 0;
    transition: var(--transition-smooth);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold);
    transition: var(--transition-smooth);
}

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

.nav-btn {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--bg-navy);
    background-color: var(--gold);
    border: 1px solid var(--gold);
    border-radius: 4px;
    padding: 12px 24px;
    min-height: 48px;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 10px var(--gold-glow);
}

.nav-btn:hover {
    background-color: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-1px);
}

.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 1.6rem;
    cursor: pointer;
    min-width: 48px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
}

/* Mobile Drawer (Touch Optimized) */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100%;
    background-color: var(--bg-navy);
    border-left: 1px solid var(--border-gold);
    z-index: 1100;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
}

.mobile-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-logo {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold);
}

.drawer-close {
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 1.6rem;
    cursor: pointer;
    min-width: 48px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.drawer-link {
    font-family: var(--font-sans);
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition-smooth);
}

.drawer-link:hover {
    color: var(--gold);
    padding-left: 5px;
}

.drawer-btn {
    margin-top: 15px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--bg-navy);
    background-color: var(--gold);
    text-decoration: none;
    text-align: center;
    border-radius: 4px;
    padding: 14px 20px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.drawer-btn:hover {
    background-color: var(--gold-light);
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(9, 13, 22, 0.8);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

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

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    position: relative;
    min-height: calc(90vh - var(--header-height));
    background-image: url('hero-bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 30%, rgba(15, 23, 42, 0.7) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 720px;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-white);
    margin-bottom: 20px;
    padding: 6px 12px;
    background: rgba(197, 168, 128, 0.1);
    border-radius: 4px;
    border-left: 3px solid var(--gold);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-white);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* ==========================================================================
   Stats Bar Section
   ========================================================================== */

.stats-section {
    background-color: #0b111e;
    border-bottom: 1px solid var(--border-gold);
    padding: 50px 0;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
}

.stat-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(197, 168, 128, 0.1);
    border: 1px solid var(--border-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 0 15px rgba(197, 168, 128, 0.05);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.1;
}

.stat-number::after {
    content: '+';
    color: var(--gold);
    font-size: 1.6rem;
    margin-left: 2px;
}

/* Specific styling for confidentiality */
.stats-grid div:nth-child(4) .stat-number::after {
    content: '%';
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Core Practice Areas Grid (JS Accordion)
   ========================================================================== */

.practice-section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px auto;
}

.section-tagline {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 16px;
}

.section-divider {
    width: 60px;
    height: 3px;
    background-color: var(--gold);
    margin: 0 auto 20px auto;
    border-radius: 2px;
    box-shadow: 0 0 10px var(--gold-glow);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
}

/* Accordion Grid Layout */
.practice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.practice-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.practice-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Card main visible header */
.card-header-main {
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    cursor: pointer;
    user-select: none;
    min-height: 96px; /* Ensures spacious touch targeting */
}

.card-icon {
    font-size: 1.8rem;
    color: var(--gold);
    margin-top: 3px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(197, 168, 128, 0.05);
    border-radius: 4px;
    border: 1px solid rgba(197, 168, 128, 0.1);
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.practice-card:hover .card-icon {
    background: rgba(197, 168, 128, 0.15);
    border-color: var(--gold);
}

.card-title-group {
    flex-grow: 1;
}

.card-title-group h3 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 6px;
    transition: var(--transition-smooth);
}

.practice-card:hover .card-title-group h3 {
    color: var(--gold-light);
}

.card-brief {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.accordion-icon {
    font-size: 1.1rem;
    color: var(--text-muted);
    min-width: 48px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    transition: var(--transition-smooth);
}

.practice-card.active .accordion-icon {
    transform: rotate(180deg);
    color: var(--gold);
    background: rgba(197, 168, 128, 0.1);
}

/* Accordion expanded content */
.card-content-accordion {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(15, 23, 42, 0.4);
    border-top: 1px solid transparent;
}

.practice-card.active .card-content-accordion {
    border-top: 1px solid var(--border-light);
}

.accordion-inner {
    padding: 24px;
}

.accordion-text {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.accordion-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.accordion-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.accordion-list li i {
    font-size: 0.65rem;
}

.card-cta {
    display: inline-flex;
    margin-top: 5px;
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */

.why-section {
    padding: 100px 0;
    background-color: #0b111e;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.why-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
}

.why-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.why-image-glow {
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.why-image {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    border: 1px solid var(--border-gold);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    z-index: 2;
    object-fit: cover;
}

.why-content {
    display: flex;
    flex-direction: column;
}

.why-content .section-title {
    text-align: left;
}

.why-content .section-divider {
    margin: 0 0 30px 0;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.why-feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.why-feature-icon {
    width: 44px;
    height: 44px;
    background: rgba(197, 168, 128, 0.08);
    border: 1px solid var(--border-gold);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.why-feature-text h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 6px;
}

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

/* ==========================================================================
   Consultation Booking Form Section
   ========================================================================== */

.consultation-section {
    padding: 100px 0;
}

.consultation-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    padding: 60px 50px;
    max-width: 850px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.consultation-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold) 0%, #a4865d 100%);
}

.consultation-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.consultation-header h2 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
}

.consultation-header p {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Form Styles */
.consultation-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Form inputs >= 48px height for touch targets */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 14px 18px;
    color: var(--text-white);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    min-height: 52px; /* Meets mobile requirement */
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(148, 163, 184, 0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background-color: rgba(15, 23, 42, 0.9);
    box-shadow: 0 0 10px rgba(197, 168, 128, 0.15);
}

.form-group select option {
    background-color: var(--bg-navy);
    color: var(--text-white);
}

.form-submit {
    align-self: center;
    width: 100%;
    max-width: 400px;
    min-height: 54px;
    font-size: 1rem;
    margin-top: 15px;
}

/* ==========================================================================
   Office Location & Contact Section
   ========================================================================== */

.contact-section {
    padding: 100px 0;
    background-color: #0b111e;
    border-top: 1px solid var(--border-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.contact-info-panel h2 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 16px;
}

.contact-info-panel .section-divider {
    margin: 0 0 24px 0;
}

.contact-info-panel > p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 35px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-method-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.contact-method-card.link-card {
    cursor: pointer;
}

.contact-method-card:hover {
    border-color: var(--border-gold);
    transform: translateX(4px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.contact-method-card .contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(197, 168, 128, 0.08);
    border: 1px solid var(--border-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--gold);
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.contact-method-card:hover .contact-icon {
    background-color: var(--gold);
    color: var(--bg-navy);
    box-shadow: 0 0 12px var(--gold-glow);
}

.contact-details h5 {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 4px;
}

.contact-details p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.contact-method-card:hover .contact-details p {
    color: var(--text-light);
}

/* Map Panel */
.contact-map-panel {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-gold);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.map-container-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8);
    z-index: 5;
    pointer-events: none;
}

.map-placeholder {
    background-color: var(--bg-card);
    padding: 40px 30px;
    text-align: center;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.map-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.map-placeholder h4 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 6px;
}

.map-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

/* Simulated Map UI */
.map-simulated-iframe {
    position: relative;
    width: 100%;
    height: 180px;
    background-color: #0c1220;
    border-radius: 4px;
    overflow: hidden;
    background-image: radial-gradient(rgba(197, 168, 128, 0.15) 1px, transparent 0);
    background-size: 16px 16px;
    border: 1px solid var(--border-light);
}

.map-pin-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background-color: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(197, 168, 128, 0.7);
    animation: pulse 1.8s infinite;
}

.map-card-popup {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid var(--border-gold);
    border-radius: 4px;
    padding: 8px 14px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.map-card-popup strong {
    font-family: var(--font-serif);
    font-size: 0.8rem;
    color: var(--text-white);
    display: block;
}

.map-card-popup p {
    font-size: 0.65rem;
    color: var(--gold);
    margin: 2px 0 0 0;
}

/* ==========================================================================
   Premium Footer
   ========================================================================== */

.footer {
    background-color: #070a11;
    border-top: 1px solid var(--border-gold);
    padding: 80px 0 40px 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-about {
    max-width: 350px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 20px;
}

.footer-crest {
    font-size: 1.25rem;
    color: var(--gold);
    border: 1px solid var(--gold);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
}

.footer-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-links-grid {
    display: flex;
    gap: 60px;
}

.footer-link-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link-col h4 {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    color: var(--text-white);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.footer-link-col a {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-link-col a:hover {
    color: var(--gold);
    transform: translateX(2px);
}

.footer-email-link, .footer-phone-link {
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.footer-bottom a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 5px;
}

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

.footer-credit {
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Animations & Scroll Trigger Styling
   ========================================================================== */

/* Initially hidden items */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Triggered active items */
.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(197, 168, 128, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(197, 168, 128, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(197, 168, 128, 0);
    }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .why-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .why-image-wrapper {
        order: 2;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .top-bar {
        display: none; /* Hide top bar on mobile to conserve screen space */
    }

    .header-container {
        padding: 0 16px;
    }

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

    .nav-menu {
        display: none; /* Switch to drawer menu */
    }

    .hero-section {
        padding: 60px 0;
        min-height: 80vh;
    }

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

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .hero-ctas {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-ctas .btn {
        width: 100%;
    }

    .stats-section {
        padding: 35px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-card {
        padding: 10px;
        justify-content: flex-start;
    }

    .practice-section {
        padding: 60px 0;
    }

    .practice-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card-header-main {
        padding: 18px;
    }

    .card-icon {
        font-size: 1.5rem;
        width: 38px;
        height: 38px;
    }

    .card-title-group h3 {
        font-size: 1rem;
    }

    .accordion-inner {
        padding: 18px;
    }

    .why-section {
        padding: 60px 0;
    }

    .why-feature-item {
        gap: 15px;
    }

    .why-feature-icon {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }

    .why-feature-text h4 {
        font-size: 1rem;
    }

    .why-feature-text p {
        font-size: 0.85rem;
    }

    .consultation-section {
        padding: 60px 0;
    }

    .consultation-box {
        padding: 30px 20px;
    }

    .consultation-header h2 {
        font-size: 1.8rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .contact-section {
        padding: 60px 0;
    }

    .contact-info-panel h2 {
        font-size: 1.8rem;
    }

    .contact-method-card {
        padding: 15px;
    }

    .contact-method-card .contact-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }

    .footer {
        padding: 60px 0 30px 0;
    }

    .footer-top {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 40px;
    }

    .footer-links-grid {
        flex-direction: column;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
