/* ============================================================
   SMITH & ASSOCIATES — GLOBAL FOUNDATION
   Premium Real Estate Appraisal | Est. 1989
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --bg-dark: #0d0f14;
    --bg-panel: #13161e;
    --bg-card: #181c26;
    --gold: #c9a84c;
    --gold-light: #e8c96d;
    --gold-dim: rgba(201, 168, 76, 0.15);
    --navy: #1a2744;
    --navy-light: #243560;
    --white: #f0ece4;
    --text-dim: #8a8fa8;
    --border: #2a2f42;
    --border-gold: rgba(201, 168, 76, 0.3);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

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

body {
    background-color: var(--bg-dark);
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(26, 39, 68, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(201, 168, 76, 0.05) 0%, transparent 50%);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ── HEADER ── */
header {
    background: rgba(13, 15, 20, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-gold);
    padding: 1.2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-block { display: flex; flex-direction: column; }
.logo-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 1px;
}
.logo-sub {
    font-size: 0.7rem;
    color: var(--gold);
    letter-spacing: 3px;
    text-transform: uppercase;
}

nav { display: flex; gap: 2.5rem; align-items: center; }
nav a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: 0.3s;
    position: relative;
}
nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: 0.3s;
}
nav a:hover { color: var(--gold); }
nav a:hover::after { width: 100%; }
nav a.active { color: var(--gold); }

.nav-cta {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold) !important;
    padding: 8px 20px;
    border-radius: 2px;
    transition: 0.3s !important;
}
.nav-cta:hover {
    background: var(--gold) !important;
    color: var(--bg-dark) !important;
}
.nav-cta::after { display: none !important; }

/* ── HERO ── */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(26, 39, 68, 0.4) 0%, transparent 60%),
        linear-gradient(225deg, rgba(201, 168, 76, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--gold);
    opacity: 0.5;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero-title span { color: var(--gold); }

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto 3rem auto;
    font-weight: 300;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 4rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.stat-item { text-align: center; }
.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--gold);
    font-weight: 700;
    display: block;
}
.stat-label {
    font-size: 0.75rem;
    color: var(--text-dim);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
    margin: 0 auto;
}

/* ── BUTTONS ── */
.btn-primary {
    display: inline-block;
    background: var(--gold);
    color: var(--bg-dark);
    padding: 14px 36px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 2px;
}
.btn-primary:hover {
    background: var(--gold-light);
    box-shadow: 0 0 30px rgba(201, 168, 76, 0.3);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--gold);
    padding: 14px 36px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid var(--border-gold);
    cursor: pointer;
    transition: 0.3s;
    border-radius: 2px;
    margin-left: 1rem;
}
.btn-outline:hover {
    border-color: var(--gold);
    background: var(--gold-dim);
}

/* ── SECTION FOUNDATIONS ── */
section { padding: 6rem 2rem; }

.section-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-dim);
    max-width: 600px;
    line-height: 1.8;
    font-weight: 300;
}

.section-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, var(--gold), transparent);
    margin: 1.5rem 0;
}

.container { max-width: 1200px; margin: 0 auto; }

/* ── CARDS ── */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-top: 2px solid var(--gold);
    padding: 2.5rem;
    border-radius: 4px;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}
.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.03) 0%, transparent 60%);
    pointer-events: none;
}
.card:hover {
    border-color: var(--border-gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    display: block;
}

.card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.card-text {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.8;
}

/* ── CREDENTIAL BADGE ── */
.credential-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1.5rem;
}
.credential-badge {
    background: var(--gold-dim);
    border: 1px solid var(--border-gold);
    color: var(--gold);
    padding: 6px 16px;
    font-size: 0.75rem;
    letter-spacing: 1px;
    border-radius: 2px;
}

/* ── COUNTY GRID ── */
.county-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 2rem;
}
.county-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--gold);
    padding: 12px 16px;
    font-size: 0.85rem;
    color: var(--text-dim);
    transition: 0.3s;
}
.county-item:hover {
    border-color: var(--gold);
    color: var(--white);
    background: var(--gold-dim);
}
.county-state {
    font-size: 0.7rem;
    color: var(--gold);
    letter-spacing: 2px;
    display: block;
    margin-bottom: 2px;
}

/* ── CONTACT FORM ── */
.form-group { margin-bottom: 1.5rem; }
.form-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}
.form-input {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    padding: 12px 16px;
    transition: 0.3s;
    border-radius: 2px;
}
.form-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}
.form-select { appearance: none; cursor: pointer; }

/* ── FOOTER ── */
footer {
    background: var(--bg-panel);
    border-top: 1px solid var(--border-gold);
    padding: 3rem;
    text-align: center;
}
.footer-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}
.footer-tagline {
    font-size: 0.8rem;
    color: var(--gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}
.footer-links { display: flex; gap: 2rem; justify-content: center; margin-bottom: 2rem; }
.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.3s;
}
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 0.75rem; color: var(--text-dim); }

/* ── ABOUT SECTION ── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 6rem;
    align-items: center;
}
.about-hex {
    width: 160px;
    height: 160px;
    background: var(--gold-dim);
    border: 2px solid var(--border-gold);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 2rem;
}

/* ── SERVICES GRID ── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 3rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    header { padding: 1rem 1.5rem; }
    nav { gap: 1.5rem; }
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .hero-stats { gap: 2rem; }
    section { padding: 4rem 1.5rem; }
}