/* ==========================================
   MSQUARE Gold PMS - Premium Design System
   ========================================== */

:root {
    /* Color Palette */
    --bg-primary: #07080B;
    --bg-secondary: #0E1017;
    --bg-card: rgba(18, 20, 28, 0.65);
    --bg-card-hover: rgba(26, 29, 41, 0.85);
    
    --gold-primary: #D4AF37;
    --gold-light: #F5D77F;
    --gold-dark: #996515;
    --gold-glow: rgba(212, 175, 55, 0.25);
    --gold-gradient: linear-gradient(135deg, #FFF0BD 0%, #F5D77F 25%, #D4AF37 60%, #AA7C11 100%);
    --gold-border: rgba(212, 175, 55, 0.2);

    --text-primary: #F3F4F6;
    --text-secondary: #9CA3AF;
    --text-muted: #6B7280;

    --font-heading: 'Cinzel', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;

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

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

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

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Scroll Progress Bar */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gold-gradient);
    width: 0%;
    z-index: 9999;
    transition: width 0.1s ease-out;
}

/* Layout Utilities */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
    position: relative;
}

.section-dark {
    background-color: var(--bg-secondary);
}

.text-center {
    text-align: center;
}

.hidden {
    display: none !important;
}

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

.green-text {
    color: #10B981 !important;
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}

.glass-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.12);
    transform: translateY(-4px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--gold-gradient);
    color: #07080B;
    border-color: var(--gold-primary);
    box-shadow: 0 4px 20px var(--gold-glow);
}

.btn-primary:hover {
    box-shadow: 0 6px 28px rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    border-color: var(--gold-border);
}

.btn-outline:hover {
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.08);
    color: var(--gold-light);
}

.btn-block {
    width: 100%;
}

/* Section Header */
.section-header {
    margin-bottom: 3.5rem;
}

.section-tag {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold-primary);
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* Navigation Header */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: var(--transition);
    background: rgba(7, 8, 11, 0.6);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(7, 8, 11, 0.95);
    border-bottom-color: var(--gold-border);
}

.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.4));
    transition: var(--transition);
}

.brand-logo:hover .logo-img {
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.8));
    transform: scale(1.02);
}

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

.brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.brand-tagline {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--gold-primary);
    letter-spacing: 1.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.nav-item {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-item:hover {
    color: var(--gold-light);
}

.nav-btn {
    background: var(--gold-gradient);
    color: #07080B;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.nav-btn:hover {
    box-shadow: 0 4px 15px var(--gold-glow);
    color: #07080B;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1.5rem;
}

/* Mobile Overlay Drawer */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.mobile-menu-content {
    position: absolute;
    right: 0;
    top: 0;
    width: 80%;
    max-width: 340px;
    height: 100%;
    background: var(--bg-secondary);
    border-left: 1px solid var(--gold-border);
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.mobile-close {
    align-self: flex-end;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    margin-bottom: 1.5rem;
}

.mobile-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--gold-light);
}

.mobile-logo-img {
    height: 32px;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.mobile-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
}

.mobile-btn {
    margin-top: 1rem;
    background: var(--gold-gradient);
    color: #07080B;
    text-align: center;
    padding: 0.8rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 10rem;
    padding-bottom: 6rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

#gold-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-radial-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid var(--gold-border);
    font-size: 0.85rem;
    color: var(--gold-light);
    margin-bottom: 1.8rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold-primary);
    box-shadow: 0 0 10px var(--gold-primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    max-width: 960px;
    margin: 0 auto 1.5rem auto;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto 2.5rem auto;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 4rem;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stat-card {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

.stat-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gold-light);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Grids */
.grid {
    display: grid;
    gap: 1.8rem;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Executive Summary */
.summary-card {
    padding: 2rem;
    position: relative;
}

.summary-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: rgba(212, 175, 55, 0.25);
    margin-bottom: 1rem;
}

.summary-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.summary-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Why Gold */
.feature-card {
    padding: 2rem;
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--gold-border);
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.highlight-card {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(18, 20, 28, 0.9) 100%);
    border-color: var(--gold-primary);
}

/* PMS Strategy Interactive Tabs */
.strategy-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover, .tab-btn.active {
    background: var(--gold-gradient);
    color: #07080B;
    border-color: var(--gold-primary);
    box-shadow: 0 4px 20px var(--gold-glow);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

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

.tab-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.tab-info {
    padding: 1rem 0;
}

.pillar-tag {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--gold-primary);
    margin-bottom: 0.5rem;
    display: block;
}

.tab-info h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.tab-info p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.check-list i {
    color: var(--gold-primary);
    flex-shrink: 0;
}

.tab-visual {
    padding: 3rem;
    text-align: center;
}

.level-bars {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.level-bar {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--gold-border);
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold-light);
    text-align: left;
}

.buffer-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 3px solid var(--gold-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    box-shadow: 0 0 30px var(--gold-glow);
}

.buf-pct {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gold-light);
}

.buf-label {
    font-size: 0.65rem;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.profit-chart-icon, .shield-icon {
    font-size: 4rem;
    color: var(--gold-primary);
    margin-bottom: 1rem;
    height: 64px;
    width: 64px;
}

.profit-badge {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
}

/* Timeline */
.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gold-border);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    justify-content: flex-end;
    padding-left: 50%;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-left: 0;
    padding-right: 50%;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 1.5rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--gold-primary);
    border: 4px solid var(--bg-primary);
    transform: translateX(-50%);
    box-shadow: 0 0 12px var(--gold-primary);
}

.timeline-card {
    width: 90%;
    padding: 1.8rem;
}

.timeline-date {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--gold-primary);
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
}

.highlight-timeline {
    border-color: var(--gold-primary);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(18, 20, 28, 0.9) 100%);
}

/* Risk Framework Table */
.risk-table-wrap {
    overflow-x: auto;
    padding: 1rem;
}

.risk-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.risk-table th, .risk-table td {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.risk-table th {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.05);
}

.risk-name {
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.risk-name i {
    color: var(--gold-primary);
}

.highlight-text {
    color: var(--gold-light);
    font-weight: 600;
}

/* Performance Metrics & Chart */
.gold-metrics-grid {
    margin-bottom: 3rem;
}

.metric-box {
    padding: 2rem;
    text-align: center;
}

.metric-num {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.metric-title {
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.metric-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.chart-wrapper {
    padding: 2rem;
    margin-bottom: 3rem;
}

.chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.chart-header h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
}

.chart-header p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.chart-legend {
    display: flex;
    gap: 1.5rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.legend-dot.gold { background: var(--gold-primary); }
.legend-dot.blue { background: #3B82F6; }

.canvas-container {
    position: relative;
    width: 100%;
    height: 320px;
}

#performanceChart {
    width: 100%;
    height: 100%;
}

/* Investment Return Calculator */
.calculator-wrapper {
    padding: 2.5rem;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

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

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

.form-group input, 
.form-group select {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: rgba(12, 14, 22, 0.85);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: var(--transition);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-with-icon i,
.input-with-icon svg {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold-primary);
    width: 18px;
    height: 18px;
    pointer-events: none;
    z-index: 5;
}

.input-with-icon input {
    width: 100%;
    padding-left: 2.8rem !important;
}

select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23D4AF37' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2rem;
    padding-right: 2.5rem;
}

.form-group input:focus, 
.form-group select:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 15px var(--gold-glow);
    background: rgba(18, 20, 28, 0.95);
}

.slider-wrap {
    margin-top: 0.8rem;
}

input[type="range"] {
    width: 100%;
    accent-color: var(--gold-primary);
}

.calc-results {
    background: rgba(7, 8, 11, 0.6);
    border: 1px solid var(--gold-border);
    padding: 2rem;
    border-radius: var(--radius-md);
    text-align: center;
}

.res-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.res-value {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    margin: 0.5rem 0;
}

.res-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.result-details {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1rem;
    margin-bottom: 1.5rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

/* Onboarding & Contact */
.onboarding-grid {
    margin-bottom: 3.5rem;
}

.step-card {
    padding: 2rem;
}

.step-badge {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--gold-primary);
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
}

.step-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.contact-offices-grid {
    gap: 2rem;
}

.contact-office-card {
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.office-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 1.2rem;
}

.office-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid var(--gold-border);
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.office-icon svg {
    width: 24px;
    height: 24px;
}

.office-header h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 0.2rem;
}

.office-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold-primary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.office-body {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-detail-item svg {
    color: var(--gold-primary);
    width: 20px;
    height: 20px;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.contact-detail-item strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
}

.contact-detail-item p {
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.4;
    margin: 0;
}

.phone-link, .email-link {
    color: var(--gold-light);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.phone-link:hover, .email-link:hover {
    color: #FFF;
    text-shadow: 0 0 10px var(--gold-glow);
}

.email-link {
    font-size: 1.1rem;
}

.email-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.highlight-contact-card {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(18, 20, 28, 0.95) 100%);
    border-color: var(--gold-primary);
}

/* Map Embed Styling */
.map-embed-wrapper,
.map-embed-wrapper:visited,
.map-embed-wrapper:link {
    position: relative;
    width: 100%;
    height: 170px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--gold-border);
    display: block;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none !important;
    background: #0E1017;
}

.map-embed-wrapper:hover {
    border-color: var(--gold-primary);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.25);
    transform: translateY(-2px);
}

.map-iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none;
    filter: brightness(0.7) invert(0.85) hue-rotate(180deg) contrast(120%);
}

.map-pin-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.25);
    border: 2px solid var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    box-shadow: 0 0 20px var(--gold-primary);
    pointer-events: none;
    z-index: 4;
}

.map-pin-pulse svg {
    width: 20px;
    height: 20px;
    color: var(--gold-light);
}

.map-overlay-badge,
.map-overlay-badge:visited,
.map-overlay-badge:link {
    position: absolute;
    bottom: 0.8rem;
    left: 0.8rem;
    background: rgba(7, 8, 11, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--gold-border);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold-light) !important;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
    z-index: 5;
    text-decoration: none !important;
}

.map-overlay-badge svg {
    width: 14px;
    height: 14px;
    color: var(--gold-primary);
}

.map-embed-wrapper:hover .map-overlay-badge {
    background: var(--gold-gradient);
    color: #07080B !important;
    border-color: var(--gold-primary);
}

.map-embed-wrapper:hover .map-overlay-badge svg {
    color: #07080B;
}

.address-link,
.address-link:visited,
.address-link:link {
    color: var(--text-primary) !important;
    text-decoration: none !important;
    transition: var(--transition);
    display: inline;
}

.address-link:hover {
    color: var(--gold-light) !important;
    text-shadow: 0 0 8px var(--gold-glow);
}

.inline-icon,
.inline-icon svg {
    width: 14px;
    height: 14px;
    margin-left: 0.3rem;
    color: var(--gold-primary) !important;
    display: inline-block;
    vertical-align: middle;
}

/* Footer */
.footer {
    background: #040507;
    border-top: 1px solid var(--gold-border);
    padding: 3rem 0;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    height: 36px;
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
}

.footer-name {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--gold-light);
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-disclaimer p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .hero-title { font-size: 2.8rem; }
    .hero-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .tab-grid { grid-template-columns: 1fr; }
    .calc-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-toggle { display: block; }
    .hero-title { font-size: 2.2rem; }
    .hero-description { font-size: 1rem; }
    .hero-stats-grid { grid-template-columns: 1fr; }
    .grid-4, .grid-3 { grid-template-columns: 1fr; }
    .timeline-line { left: 20px; }
    .timeline-item, .timeline-item:nth-child(even) {
        padding-left: 50px;
        padding-right: 0;
        justify-content: flex-start;
    }
    .timeline-dot { left: 20px; }
    .timeline-card { width: 100%; }
    .section-title { font-size: 2rem; }
}
