/* ── Reset & Tokens ───────────────────────────────── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand palette, sampled from the COA Auditing logo */
    --navy: #0b3856;
    --navy-deep: #072740;
    --navy-mid: #11507a;
    --teal: #39a5a5;
    --teal-text: #1f7f84;
    --teal-tint: #e7f4f3;
    --gold: #c7954f;
    --gold-dark: #a87a38;
    --gold-tint: #f8f0e3;

    --ink: #1b2b3a;
    --muted: #566779;
    --bg-soft: #f4f7f9;
    --cream: #fbf8f3;
    --white: #ffffff;
    --border: #e1e7ec;
    --success: #2e7d5b;

    /* Legacy aliases (used by blog templates and JS-rendered markup) */
    --primary-color: var(--navy);
    --secondary-color: var(--navy-deep);
    --accent-color: var(--teal);
    --text-dark: var(--ink);
    --text-light: var(--muted);
    --bg-light: var(--bg-soft);
    --border-color: var(--border);
    --success-color: var(--success);

    --font-heading: 'Jost', 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --radius: 14px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 3px rgba(11, 56, 86, 0.08);
    --shadow: 0 6px 24px rgba(11, 56, 86, 0.08);
    --shadow-lg: 0 16px 40px rgba(11, 56, 86, 0.14);
    --nav-height: 76px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.65;
    color: var(--ink);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--navy);
    line-height: 1.2;
    font-weight: 600;
}

a {
    color: var(--teal-text);
}

img {
    max-width: 100%;
    display: block;
}

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

section[id] {
    scroll-margin-top: var(--nav-height);
}

/* ── Navigation ───────────────────────────────────── */
.navbar {
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(160%) blur(8px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: var(--nav-height);
    gap: 1.5rem;
}

.nav-brand a {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 52px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1.75rem;
}

.nav-menu a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.35rem 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a.active,
.nav-menu a[aria-current="page"] {
    color: var(--navy);
    border-bottom-color: var(--gold);
}

.nav-menu .nav-cta {
    background-color: var(--navy);
    color: var(--white);
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    border-bottom: none;
}

.nav-menu .nav-cta:hover {
    background-color: var(--navy-mid);
    color: var(--white);
}

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--navy);
}

.nav-toggle svg {
    width: 28px;
    height: 28px;
}

/* ── Buttons ──────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.75rem;
    border-radius: 999px;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--navy-deep);
}

.btn-primary:hover {
    background-color: #d5a562;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(199, 149, 79, 0.35);
}

.btn-ghost {
    background-color: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--navy);
    border-radius: 999px;
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s ease;
    margin-top: auto;
    align-self: flex-start;
}

.btn-outline:hover {
    background-color: var(--navy);
    color: var(--white);
}

/* ── Hero ─────────────────────────────────────────── */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 85% 20%, rgba(57, 165, 165, 0.35), transparent 55%),
        linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-mid) 100%);
    color: var(--white);
    padding: 7rem 0 6.5rem;
}

.hero::after {
    content: '';
    position: absolute;
    right: -4%;
    bottom: -10%;
    width: 560px;
    height: 290px;
    background: url('/images/coa-logo-white.png') no-repeat center / contain;
    opacity: 0.06;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 760px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.25rem;
}

.eyebrow::before {
    content: '';
    width: 36px;
    height: 2px;
    background-color: var(--gold);
}

.hero-content h2 {
    color: var(--white);
    font-size: 3.25rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.92);
}

.hero-description {
    font-size: 1.05rem;
    margin-bottom: 2.25rem;
    max-width: 640px;
    color: rgba(255, 255, 255, 0.78);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 2rem;
    margin-top: 3rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    list-style: none;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}

.hero-trust li::before {
    content: '✓';
    color: var(--gold);
    font-weight: 700;
    margin-right: 0.5rem;
}

/* ── Sections ─────────────────────────────────────── */
section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 3.5rem;
    color: var(--navy);
}

.section-title::after {
    content: '';
    display: block;
    width: 56px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--gold), var(--teal));
    margin: 1rem auto 0;
}

/* Icon badge (replaces emoji icons) */
.icon-badge {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--teal-tint);
    color: var(--navy);
    flex-shrink: 0;
}

.icon-badge svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-badge.gold {
    background-color: var(--gold-tint);
    color: var(--gold-dark);
}

/* ── Who We Serve ─────────────────────────────────── */
.who-we-serve {
    background-color: var(--white);
}

.serve-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1040px;
    margin: 0 auto;
}

.serve-card {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-top: 4px solid var(--teal);
    border-radius: var(--radius);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.serve-card:nth-child(2) {
    border-top-color: var(--gold);
}

.serve-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.serve-card h3 {
    font-size: 1.6rem;
}

.serve-card p {
    color: var(--muted);
    line-height: 1.8;
}

.serve-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.serve-list li {
    color: var(--ink);
    padding-left: 1.75rem;
    position: relative;
}

.serve-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.15rem;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    background-color: var(--teal-tint);
    color: var(--teal-text);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Services ─────────────────────────────────────── */
.services {
    background-color: var(--bg-soft);
}

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

.service-card {
    background-color: var(--white);
    padding: 2rem 1.75rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-card .icon-badge {
    margin-bottom: 1.25rem;
}

.service-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--muted);
    line-height: 1.75;
    font-size: 0.97rem;
}

/* ── Benefits ─────────────────────────────────────── */
.benefits {
    background-color: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
}

.benefit-item {
    text-align: left;
    padding-left: 1.25rem;
    border-left: 3px solid var(--gold);
}

.benefit-item h3 {
    margin-bottom: 0.6rem;
    font-size: 1.35rem;
}

.benefit-item p {
    color: var(--muted);
    line-height: 1.75;
}

/* ── About ────────────────────────────────────────── */
.about {
    background-color: var(--cream);
}

.about-content {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.text-link {
    font-weight: 600;
    color: var(--teal-text);
    text-decoration: none;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 2px;
}

.text-link:hover {
    color: var(--navy);
}

/* ── Contact ──────────────────────────────────────── */
.contact {
    background-color: var(--bg-soft);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
    max-width: 1040px;
    margin: 0 auto;
}

.contact-info h3 {
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.contact-info p {
    color: var(--muted);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.contact-details {
    margin-top: 2rem;
    padding: 1.75rem;
    background-color: var(--navy);
    border-radius: var(--radius);
}

.contact-details p {
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
}

.contact-details p:last-child {
    margin-bottom: 0;
}

.contact-details strong {
    color: var(--white);
}

.contact-details a {
    color: var(--gold);
    text-decoration: none;
}

/* Contact Form */
.contact-form {
    background-color: var(--white);
    padding: 2.25rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--ink);
    font-weight: 600;
    font-size: 0.93rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 0.95rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    background-color: var(--white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(57, 165, 165, 0.2);
}

.contact-form .btn-primary {
    width: 100%;
    background-color: var(--navy);
    color: var(--white);
}

.contact-form .btn-primary:hover {
    background-color: var(--navy-mid);
    box-shadow: var(--shadow);
}

/* ── Footer ───────────────────────────────────────── */
.footer {
    background-color: var(--navy-deep);
    color: rgba(255, 255, 255, 0.78);
    padding: 4rem 0 2rem;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-logo {
    height: 64px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-tagline {
    font-family: var(--font-heading);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--gold);
}

.footer h4 {
    color: var(--white);
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.footer ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.footer a:hover {
    color: var(--gold);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
    padding-top: 1.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ── FAQ ──────────────────────────────────────────── */
.faq {
    background-color: var(--white);
}

.faq-list {
    max-width: 820px;
    margin: 0 auto;
}

.faq-list details {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 0.9rem;
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.faq-list details[open] {
    box-shadow: var(--shadow);
    border-color: var(--teal);
}

.faq-list summary {
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--ink);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--gold-dark);
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-list details[open] summary::after {
    content: '−';
}

.faq-list details[open] summary {
    color: var(--navy);
    border-bottom: 1px solid var(--border);
}

.faq-answer {
    padding: 1.25rem 1.5rem;
    color: var(--muted);
    line-height: 1.8;
}

/* ── Form messages ────────────────────────────────── */
.success-message {
    background-color: var(--success);
    color: var(--white);
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    text-align: center;
    display: none;
}

.success-message.show {
    display: block;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    display: none;
}

.error-message.show {
    display: block;
}

/* ── Testimonials ─────────────────────────────────── */
.testimonials {
    background-color: var(--bg-soft);
}

.google-rating-summary {
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: var(--ink);
    flex-wrap: wrap;
}

.google-rating-score {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ink);
}

.google-rating-count {
    color: var(--muted);
    font-size: 0.9rem;
}

.google-badge-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.review-stars {
    color: var(--gold);
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    display: block;
}

.google-rating-summary .review-stars {
    margin-bottom: 0;
}

.google-badge {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--muted);
}

.review-cta {
    text-align: center;
    margin-top: 2.5rem;
}

.review-cta .btn-outline {
    align-self: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    position: relative;
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 2.25rem 1.75rem 1.75rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 0.5rem;
    right: 1.25rem;
    font-family: Georgia, serif;
    font-size: 4rem;
    line-height: 1;
    color: var(--gold);
    opacity: 0.35;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-quote {
    font-size: 1rem;
    color: var(--ink);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.testimonial-author strong {
    color: var(--navy);
    font-size: 1rem;
}

.testimonial-author span {
    color: var(--muted);
    font-size: 0.875rem;
}

/* ── Page header (blog, mission) ──────────────────── */
.page-header {
    background:
        radial-gradient(ellipse at 85% 10%, rgba(57, 165, 165, 0.3), transparent 55%),
        linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-mid) 100%);
    color: var(--white);
    padding: 5rem 0 4.5rem;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 2.75rem;
    margin-bottom: 0.75rem;
}

.page-header p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 680px;
    margin: 0 auto;
}

.page-header .eyebrow {
    justify-content: center;
}

.page-header .eyebrow::after {
    content: '';
    width: 36px;
    height: 2px;
    background-color: var(--gold);
}

/* ── Mission page ─────────────────────────────────── */
.mission-statement {
    background-color: var(--cream);
}

.mission-card {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.mission-logo {
    width: 280px;
    margin: 0 auto 2.5rem;
}

.mission-quote {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--navy);
}

.mission-quote strong {
    font-weight: 600;
    color: var(--teal-text);
}

.pillars {
    background-color: var(--white);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.pillar {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.25rem 2rem;
    box-shadow: var(--shadow-sm);
}

.pillar-number {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--gold-dark);
    margin-bottom: 0.75rem;
    display: block;
}

.pillar h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.pillar p {
    color: var(--muted);
    line-height: 1.8;
}

.values {
    background-color: var(--bg-soft);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.value-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid var(--border);
}

.value-item h3 {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
}

.value-item p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.vision {
    background-color: var(--white);
}

.vision-content {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.vision-content p {
    font-size: 1.2rem;
    color: var(--muted);
    line-height: 1.85;
}

.cta-band {
    background:
        radial-gradient(ellipse at 15% 50%, rgba(57, 165, 165, 0.3), transparent 60%),
        var(--navy);
    color: var(--white);
    text-align: center;
    padding: 4.5rem 0;
}

.cta-band h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.cta-band p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.cta-band .hero-actions {
    justify-content: center;
}

/* ── Blog ─────────────────────────────────────────── */
.blog-listing {
    padding: 4.5rem 0;
    background-color: var(--bg-soft);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.75rem;
}

.blog-card {
    background-color: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.blog-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
}

.blog-meta {
    font-size: 0.875rem;
    color: var(--muted);
}

.page-header .blog-meta,
.page-header .blog-author {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0.75rem;
}

.blog-author {
    color: var(--muted);
}

.blog-card-title {
    font-size: 1.35rem;
    line-height: 1.35;
}

.blog-card-title a {
    color: var(--navy);
    text-decoration: none;
}

.blog-card-title a:hover {
    color: var(--teal-text);
}

.blog-excerpt {
    color: var(--muted);
    line-height: 1.7;
    font-size: 0.95rem;
    flex-grow: 1;
}

.blog-empty {
    text-align: center;
    padding: 4rem 0;
    color: var(--muted);
    font-size: 1.1rem;
}

/* Individual post */
.blog-post-body {
    padding: 4rem 0;
}

.blog-content {
    max-width: 740px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--ink);
}

.blog-content h1,
.blog-content h2,
.blog-content h3 {
    margin: 2rem 0 1rem;
}

.blog-content p {
    margin-bottom: 1.5rem;
}

.blog-content blockquote {
    border-left: 4px solid var(--gold);
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    background-color: var(--cream);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--muted);
}

.blog-content code {
    background-color: var(--bg-soft);
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-size: 0.9em;
}

.blog-post-footer {
    max-width: 740px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 1080px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-menu {
        gap: 1.1rem;
    }
}

@media (max-width: 960px) {
    .nav-toggle {
        display: inline-flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background-color: var(--white);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
        padding: 0.5rem 24px 1.25rem;
    }

    .navbar.nav-open .nav-menu {
        display: flex;
    }

    .nav-menu a {
        display: block;
        padding: 0.85rem 0;
        border-bottom: 1px solid var(--border);
    }

    .nav-menu a:hover,
    .nav-menu a.active,
    .nav-menu a[aria-current="page"] {
        border-bottom-color: var(--border);
        color: var(--teal-text);
    }

    .nav-menu .nav-cta {
        margin-top: 1rem;
        text-align: center;
        padding: 0.85rem;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    section {
        padding: 4.5rem 0;
    }

    .hero {
        padding: 5rem 0 4.5rem;
    }

    .hero-content h2 {
        font-size: 2.35rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .section-title {
        font-size: 1.9rem;
        margin-bottom: 2.5rem;
    }

    .serve-grid,
    .services-grid,
    .benefits-grid,
    .testimonials-grid,
    .blog-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .mission-quote {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .nav-logo {
        height: 44px;
    }

    .hero-content h2 {
        font-size: 1.95rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .serve-card,
    .contact-form {
        padding: 1.75rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}
