/* Variables & Reset */
:root {
    --bg-canvas: #f4f1ea;
    --bg-surface: #ffffff;
    --bg-dark: #161514; /* Deep charcoal replacing banned navy */
    --bg-dark-hover: #22201e;
    --accent-gold: #d4a84b;
    --accent-gold-hover: #b8903c;
    --text-primary: #161514;
    --text-light: #f4f1ea;
    --text-muted: #5e5954;
    
    --font-display: 'Trebuchet MS', 'Lucida Grande', 'Lucida Sans Unicode', sans-serif;
    --font-body: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    
    --radius-pill: 50px;
    --radius-round: 50%;
    --radius-none: 0;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote, margin { margin: 0; padding: 0; }
body {
    font-family: var(--font-body);
    background-color: var(--bg-canvas);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-wrap: anywhere;
    hyphens: auto;
}
img { max-width: 100%; display: block; object-fit: cover; }
ul, ol { list-style-position: inside; }

/* Typography */
h1, h2, h3, h4, h5 { font-family: var(--font-display); line-height: 1.2; font-weight: 700; margin-bottom: var(--space-md); }
h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
p { margin-bottom: var(--space-md); font-size: 1.05rem; }

/* Structural Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-md); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Floating Header & Footer */
.floating-bar {
    background-color: var(--bg-dark);
    color: var(--text-light);
    border-radius: var(--radius-pill);
    margin: var(--space-lg) auto;
    width: 95%;
    max-width: 1200px;
    padding: 1rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 100;
}
.brand-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-light);
    text-decoration: none;
    text-transform: lowercase;
}
.desktop-nav { display: flex; gap: 1.5rem; }
.desktop-nav a, .footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    position: relative;
    transition: color 0.2s ease;
}
.desktop-nav a:hover, .footer-links a:hover { color: var(--accent-gold); }
.desktop-nav a::after {
    content: ''; position: absolute; width: 0; height: 2px;
    bottom: -4px; left: 0; background-color: var(--accent-gold);
    transition: width 0.2s ease;
}
.desktop-nav a:hover::after { width: 100%; }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}
.mobile-nav-panel {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background-color: var(--bg-dark);
    border-radius: 0 0 20px 20px;
    padding: var(--space-md) var(--space-lg);
    flex-direction: column;
    gap: 1rem;
    margin-top: 10px;
}
.mobile-nav-panel.is-open { display: flex; }

/* Buttons & Links */
.btn-main {
    display: inline-block;
    background-color: var(--accent-gold);
    color: var(--text-primary);
    padding: 14px 28px;
    font-family: var(--font-display);
    font-weight: 700;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-none);
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.btn-main:hover { background-color: var(--accent-gold-hover); }
.btn-submit { width: 100%; max-width: 300px; }

.link-text {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid var(--accent-gold);
    padding-bottom: 2px;
    transition: border-width 0.2s ease;
}
.link-text:hover { border-bottom-width: 3px; }
.link-text.light { color: var(--text-light); }

/* Block Sections */
.section-dark {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: var(--space-xl) 0;
}
.section-gold {
    background-color: var(--accent-gold);
    color: var(--text-primary);
    padding: var(--space-xl) 0;
}
.section-canvas {
    background-color: var(--bg-canvas);
    padding: var(--space-xl) 0;
}
.section-dark h2, .section-dark h3 { color: var(--text-light); }
.section-gold h2, .section-gold h3 { color: var(--text-primary); }

/* Page Specifics: Hero */
.hero-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto var(--space-xl);
    background-color: var(--bg-dark);
}
.hero-image-container {
    width: 100%;
    height: 60vh;
    min-height: 400px;
    position: relative;
}
.hero-image-container img { width: 100%; height: 100%; }
.hero-fact-card {
    position: absolute;
    right: 5%;
    bottom: -40px;
    background-color: var(--bg-canvas);
    border: 2px solid var(--accent-gold);
    padding: var(--space-lg);
    width: 90%;
    max-width: 350px;
    z-index: 10;
}
.hero-fact-card h4 { color: var(--accent-gold); font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px; border-bottom: 1px solid var(--accent-gold); padding-bottom: 0.5rem;}
.hero-fact-card ul { list-style: none; margin-top: 1rem; }
.hero-fact-card li { font-weight: 600; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 10px; }
.hero-fact-card li::before { content: '■'; color: var(--accent-gold); font-size: 0.8rem; }

/* Grid Layouts */
.lead-block { max-width: 800px; font-size: 1.25rem; font-family: var(--font-display); margin-bottom: var(--space-xl); color: var(--text-primary); }
.lead-block.dark { color: var(--text-light); }

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
}
.two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}
@media (max-width: 768px) { .two-col-grid { grid-template-columns: 1fr; } }

/* Cards */
.card {
    background-color: var(--bg-surface);
    border-radius: var(--radius-none); /* Square corners */
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.card-image-wrapper { position: relative; height: 240px; }
.card-image-wrapper img { width: 100%; height: 100%; }
.card-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 90px;
    height: 90px;
    border-radius: var(--radius-round); /* Completely round */
    background-color: var(--accent-gold);
    color: var(--bg-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.1;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.badge-value { font-size: 1.25rem; }
.card-content { padding: var(--space-lg); flex-grow: 1; display: flex; flex-direction: column; }
.card-content h3 { margin-bottom: var(--space-sm); }
.card-content p { color: var(--text-muted); flex-grow: 1; }
.card-action { margin-top: var(--space-md); }

/* Forms & Tools */
.inquiry-form {
    background-color: var(--bg-surface);
    padding: var(--space-xl);
    border: 1px solid var(--accent-gold);
}
.form-group { margin-bottom: var(--space-lg); }
.form-group label { display: block; font-weight: 700; margin-bottom: 0.5rem; font-family: var(--font-display); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--bg-dark);
    background-color: var(--bg-canvas);
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: var(--radius-none);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
}

/* Footer specific */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    width: 100%;
}
.footer-col h4 { color: var(--accent-gold); font-size: 1rem; margin-bottom: 1rem; text-transform: uppercase; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-legal-text { font-size: 0.8rem; color: #a39c8e; margin-top: 1rem; }

/* Tables */
table { width: 100%; border-collapse: collapse; margin-bottom: var(--space-lg); }
th, td { padding: 12px; text-align: left; border-bottom: 1px solid var(--bg-dark); }
th { font-family: var(--font-display); background-color: var(--bg-dark); color: var(--text-light); }

/* Utilities */
.mb-lg { margin-bottom: var(--space-lg); }
.mt-lg { margin-top: var(--space-lg); }

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .floating-bar { padding: 1rem 1.5rem; }
}
@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .mobile-menu-btn { display: block; }
    .hero-fact-card { right: 0; left: 0; margin: 0 auto; width: 95%; max-width: none; bottom: -60px; }
    .hero-wrapper { margin-bottom: 80px; }
    .card-badge { top: -10px; right: -10px; width: 70px; height: 70px; }
    .floating-bar { border-radius: 20px; }
}
@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    .inquiry-form { padding: var(--space-md); }
}

@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
