/* Herrin Advisory — Site Styles */

:root {
    --navy: #1a3a5c;
    --dark-navy: #0f2440;
    --mid-navy: #263751;
    --gold: #c9a84c;
    --gold-light: #d4b965;
    --text: #2d2d2d;
    --heading: #1a1a2e;
    --muted: #666666;
    --light-muted: #888888;
    --border: #e0ddd8;
    --bg: #f9f8f6;
    --bg-light: #f5f5f7;
    --white: #ffffff;
}

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

body {
    font-family: Georgia, 'Times New Roman', serif;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.7;
    font-size: 17px;
}

/* ---- Navigation ---- */
nav {
    background-color: var(--dark-navy);
    padding: 0.75rem 2rem;
    border-bottom: 2px solid var(--gold);
    position: sticky;
    top: 0;
    z-index: 100;
}
nav .nav-inner {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
nav .nav-brand {
    color: var(--gold);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
}
nav ul { list-style: none; display: flex; gap: 1.75rem; flex-wrap: wrap; }
nav a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.85rem;
    transition: color 0.2s;
}
nav a:hover, nav a.active { color: var(--gold); }

.external-icon { font-size: 0.7rem; opacity: 0.6; }

/* ---- Hero ---- */
.hero {
    background: linear-gradient(135deg, var(--dark-navy) 0%, var(--navy) 100%);
    padding: 5rem 2rem 4.5rem;
    text-align: center;
    border-bottom: 3px solid var(--gold);
}
.hero-inner {
    max-width: 820px;
    margin: 0 auto;
}
.hero h1 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--white);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.hero .tagline {
    color: var(--gold);
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}
.hero .hero-description {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto 2rem;
}
.hero .cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-primary {
    display: inline-block;
    background: var(--gold);
    color: var(--dark-navy);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    letter-spacing: 0.5px;
    transition: background 0.2s, transform 0.1s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-secondary {
    display: inline-block;
    color: var(--white);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.4);
    transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

/* ---- Container ---- */
.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 3rem 2rem;
}
.container-narrow {
    max-width: 780px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* ---- Section headings ---- */
.section-label {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.section-title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.8rem;
    color: var(--heading);
    font-weight: 700;
    margin-bottom: 1rem;
}
.section-subtitle {
    color: var(--muted);
    font-size: 1rem;
    max-width: 640px;
    margin-bottom: 2.5rem;
}

/* ---- Service cards ---- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.service-card:hover {
    border-color: var(--navy);
    box-shadow: 0 4px 16px rgba(26,58,92,0.08);
}
.service-card .card-icon {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}
.service-card h3 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.1rem;
    color: var(--heading);
    margin-bottom: 0.5rem;
}
.service-card .card-description {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}
.service-card .card-detail {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.8rem;
    color: var(--light-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.service-card .card-cta {
    display: inline-block;
    margin-top: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.85rem;
    color: var(--navy);
    font-weight: 600;
    text-decoration: none;
}
.service-card .card-cta:hover { color: var(--gold); }
.limited-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--dark-navy);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.2rem 0.6rem;
    border-radius: 3px;
    margin-left: 0.5rem;
    vertical-align: middle;
}

/* ---- Credibility bar ---- */
.credibility {
    background: var(--mid-navy);
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(201,168,76,0.2);
    border-bottom: 1px solid rgba(201,168,76,0.2);
}
.credibility-inner {
    max-width: 860px;
    margin: 0 auto;
}
.credibility .stat-row {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.credibility .stat {
    text-align: center;
}
.credibility .stat-number {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
}
.credibility .stat-label {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.credibility .orgs {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin-top: 0.5rem;
}

/* ---- About preview ---- */
.about-preview {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}
.about-preview img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 3px solid var(--gold);
    flex-shrink: 0;
}
.about-preview .bio-text { flex: 1; }
.about-preview .bio-text p { margin-bottom: 1rem; }

/* ---- Newsletter callout ---- */
.newsletter-callout {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-left: 3px solid var(--gold);
    border-radius: 0 8px 8px 0;
    padding: 2rem 2.5rem;
    margin: 2rem 0;
}
.newsletter-callout h3 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.1rem;
    color: var(--heading);
    margin-bottom: 0.5rem;
}
.newsletter-callout p {
    color: var(--muted);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}
.newsletter-callout a.callout-link {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.85rem;
    color: var(--navy);
    font-weight: 600;
    text-decoration: none;
}
.newsletter-callout a.callout-link:hover { color: var(--gold); }

/* ---- Footer ---- */
.site-footer {
    background: var(--dark-navy);
    color: rgba(255,255,255,0.6);
    padding: 2.5rem 2rem;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.8rem;
    line-height: 1.6;
}
.site-footer a { color: var(--gold); text-decoration: none; }

/* ---- Service detail page ---- */
.service-detail { margin-bottom: 3rem; }
.service-detail h2 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.4rem;
    color: var(--heading);
    margin-bottom: 0.5rem;
    padding-bottom: 0.3rem;
    border-bottom: 2px solid var(--navy);
}
.service-detail .service-intro {
    color: var(--muted);
    margin-bottom: 1.25rem;
}
.service-detail table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 1.5rem;
    font-size: 0.9rem;
}
.service-detail th {
    background: var(--bg-light);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 600;
    text-align: left;
    padding: 0.6rem 0.85rem;
    border: 1px solid var(--border);
}
.service-detail td {
    padding: 0.5rem 0.85rem;
    border: 1px solid var(--border);
    vertical-align: top;
}

/* ---- About page ---- */
.about-hero-full {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    margin-bottom: 2.5rem;
}
.about-hero-full img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 3px solid var(--gold);
    flex-shrink: 0;
}
.credentials-box {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 3px solid var(--gold);
}
.credentials-box h2 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1rem;
    color: var(--heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}
.credentials-box ul {
    list-style: none;
    padding: 0;
    columns: 2;
    column-gap: 2rem;
}
.credentials-box li {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.9rem;
    color: var(--text);
    padding: 0.3rem 0;
}

/* ---- Book page ---- */
.book-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}
.book-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
}
.book-card h3 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.1rem;
    color: var(--heading);
    margin-bottom: 0.5rem;
}
.book-card p {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .hero { padding: 3rem 1.5rem 2.5rem; }
    .hero h1 { font-size: 1.8rem; }
    .services-grid { grid-template-columns: 1fr; }
    .about-preview, .about-hero-full { flex-direction: column; align-items: center; text-align: center; }
    .credibility .stat-row { gap: 2rem; }
    .book-options { grid-template-columns: 1fr; }
    .credentials-box ul { columns: 1; }
}
@media (max-width: 640px) {
    nav .nav-inner { flex-direction: column; gap: 0.5rem; }
    nav ul { gap: 1rem; justify-content: center; }
    .container, .container-narrow { padding: 2rem 1rem; }
    .hero .cta-group { flex-direction: column; align-items: center; }
}
