﻿/* --- CSS VARIABLES & RESET --- */
:root {
    --bg-color: #FAFAFA;
    --surface-color: #FFFFFF;
    --text-main: #1C1C1C;
    --text-muted: #555555;
    --border-color: #E0E0E0;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    --spacing-desktop: 96px;
    --spacing-mobile: 64px;
    --container-width: 1100px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 500; color: var(--text-main); line-height: 1.2; }
h1 { font-size: 40px; letter-spacing: -0.01em; margin-bottom: 1.5rem; }
h2 { font-size: 32px; margin-bottom: 1rem; }
h3 { font-size: 24px; margin-bottom: 1rem; }
p, li { font-size: 17px; color: var(--text-muted); font-weight: 300; margin-bottom: 1rem; }

.microline {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 1rem;
    display: block;
    font-weight: 500;
}

/* --- LOGO STYLES --- */
.brand-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    line-height: 0.95;
    color: #1C1C1C;
    user-select: none;
    z-index: 2001;
    position: relative;
}

.brand-logo span { display: block; font-family: 'Cinzel', serif; text-transform: uppercase; }

.brand-logo .word-diamond { font-size: 24px; font-weight: 600; letter-spacing: 0.04em; }
.brand-logo .word-advisory { font-size: 18px; font-weight: 500; letter-spacing: 0.15em; margin-top: 2px; transform: translateX(0.05em); }

/* Footer Logo Specifics */
.footer-logo .word-diamond { font-size: 40px; letter-spacing: 0.06em; }
.footer-logo .word-advisory { font-size: 30px; letter-spacing: 0.15em; transform: translateX(0.05em); margin-left: 0 !important; padding-left: 0 !important; }

/* --- LAYOUT UTILITIES --- */
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 24px; }
.section-padding { padding-top: var(--spacing-desktop); padding-bottom: var(--spacing-desktop); }
.text-center { text-align: center; }

/* Grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.grid-sidebar { display: grid; grid-template-columns: 2fr 1fr; gap: 4rem; }

/* --- HEADER & NAV --- */
header {
    position: sticky;
    top: 0;
    background: rgba(250, 250, 250, 0.98);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
}
.nav-flex { display: flex; justify-content: space-between; align-items: center; }

nav a {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-main);
    text-decoration: none;
    margin-left: 2rem;
    transition: color 0.3s;
    cursor: pointer;
    font-weight: 500;
}
nav a:hover, nav a.active { color: #888; border-bottom: 1px solid #1C1C1C; padding-bottom: 2px; }

/* --- MOBILE MENU --- */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 2001;
}
.mobile-menu-btn span { display: block; width: 100%; height: 2px; background-color: #1C1C1C; transition: all 0.3s ease; }

.mobile-nav-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background-color: #FAFAFA;
    z-index: 2000;
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
    padding-top: 120px;
    opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.mobile-nav-overlay.active { opacity: 1; pointer-events: all; }
.mobile-nav-overlay a { font-family: var(--font-heading); font-size: 24px; color: var(--text-main); text-decoration: none; margin: 1.5rem 0; }

.mobile-menu-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* --- BUTTONS --- */
.btn {
    display: inline-block; padding: 14px 32px; text-decoration: none;
    font-size: 13px; letter-spacing: 1px; text-transform: uppercase;
    transition: all 0.3s; cursor: pointer; border-radius: 2px;
}
.btn-primary { background-color: #1C1C1C; color: #fff; border: 1px solid #1C1C1C; }
.btn-primary:hover { background-color: transparent; color: #1C1C1C; }
.btn-secondary { background-color: transparent; color: #1C1C1C; border: 1px solid #ccc; }
.btn-secondary:hover { border-color: #1C1C1C; }

/* --- UI ELEMENTS --- */
.card { background: var(--surface-color); border: 1px solid var(--border-color); padding: 2.5rem; transition: transform 0.3s ease; }
.card:hover { transform: translateY(-2px); border-color: #bbb; }

.service-list li { list-style: none; position: relative; padding-left: 20px; margin-bottom: 12px; }
.service-list li::before { content: "◆"; font-size: 10px; position: absolute; left: 0; top: 6px; color: #ccc; }

/* --- FORM --- */
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
.form-input, .form-textarea {
    width: 100%; padding: 12px; border: 1px solid #ddd; background: #fff;
    font-family: var(--font-body); font-size: 16px; color: #1C1C1C;
}
.form-textarea { height: 120px; resize: vertical; }

/* --- FOOTER --- */
footer { position: relative; z-index: 1; margin-top: auto; padding: 3rem 0; border-top: 1px solid #ddd; background: #f4f4f4; }

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1024px) {
    nav { display: none; }
    .mobile-menu-btn { display: flex; }
    
    header .brand-logo { align-items: flex-start; }
    header .brand-logo .word-advisory { padding-left: 8px; transform: none; margin-left: 0; }
    
    .footer-logo { align-items: center; }
    .footer-logo .word-advisory { padding-left: 0; }

    .grid-3 { grid-template-columns: 1fr 1fr; }
    .grid-sidebar { grid-template-columns: 1fr; gap: 3rem; }
    h1 { font-size: 36px; }
}

@media (max-width: 768px) {
    h1 { font-size: 32px; }
    .grid-3, .grid-2 { grid-template-columns: 1fr; gap: 2rem; }
    .section-padding { padding-top: var(--spacing-mobile); padding-bottom: var(--spacing-mobile); }
}
