/*
Theme Name: Anchor Clinical Consulting
Theme URI: https://anchorclinicalconsulting.com
Author: Perplexity Computer
Description: Professional legal nurse consulting theme for Anchor Clinical Consulting, PLLC
Version: 1.0
*/

/* =============================================
   CSS CUSTOM PROPERTIES — BRAND PALETTE
   ============================================= */
:root {
    --navy:        #0D1F3C;
    --french-blue: #4169A4;
    --gold:        #C9A84C;
    --white:       #FFFFFF;
    --muted:       #6B7280;
    --light-bg:    #F8F9FB;
    --border:      #E5E7EB;
    --shadow-sm:   0 1px 3px rgba(13,31,60,0.08);
    --shadow-md:   0 4px 16px rgba(13,31,60,0.12);
    --shadow-lg:   0 8px 32px rgba(13,31,60,0.16);

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;

    --text-xs:   0.75rem;
    --text-sm:   0.875rem;
    --text-base: 1rem;
    --text-lg:   1.125rem;
    --text-xl:   1.25rem;
    --text-2xl:  1.5rem;
    --text-3xl:  1.875rem;
    --text-4xl:  2.25rem;
    --text-5xl:  3rem;
    --text-6xl:  3.75rem;

    --space-1:  0.25rem;
    --space-2:  0.5rem;
    --space-3:  0.75rem;
    --space-4:  1rem;
    --space-5:  1.25rem;
    --space-6:  1.5rem;
    --space-8:  2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    --max-width: 1200px;
    --nav-height: 72px;
    --transition: 0.2s ease;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.65;
    color: var(--navy);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--french-blue);
    text-decoration: none;
    transition: color var(--transition);
}

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

ul {
    list-style: none;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy);
}

h1 { font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl)); }
h2 { font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl)); }
h3 { font-size: clamp(var(--text-xl),  3vw, var(--text-2xl)); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
    font-size: var(--text-base);
    line-height: 1.7;
    color: #374151;
}

.lead {
    font-size: var(--text-lg);
    line-height: 1.65;
    color: #374151;
}

/* =============================================
   LAYOUT UTILITIES
   ============================================= */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.section {
    padding: var(--space-20) 0;
}

.section--dark {
    background: var(--navy);
    color: var(--white);
}

.section--dark h1,
.section--dark h2,
.section--dark h3 {
    color: var(--white);
}

.section--light {
    background: var(--light-bg);
}

.section--gold {
    background: var(--gold);
}

.text-center { text-align: center; }
.text-gold    { color: var(--gold); }
.text-muted   { color: var(--muted); }
.text-white   { color: var(--white); }

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .grid-2,
    .grid-3,
    .grid-4 { grid-template-columns: 1fr; }
    .section { padding: var(--space-16) 0; }
    .container { padding: 0 var(--space-4); }
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

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

.btn--primary:hover {
    background: #b8943d;
    border-color: #b8943d;
    color: var(--navy);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

.btn--outline:hover {
    background: rgba(255,255,255,0.12);
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-1px);
}

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

.btn--navy:hover {
    background: #1a3360;
    border-color: #1a3360;
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* =============================================
   NAVIGATION
   ============================================= */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: var(--navy);
    transition: box-shadow var(--transition);
}

#site-header.scrolled {
    box-shadow: 0 2px 20px rgba(13,31,60,0.3);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
}

.site-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
}

.site-logo__icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.site-logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.site-logo__name {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.01em;
}

.site-logo__sub {
    font-size: var(--text-xs);
    color: var(--gold);
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.primary-nav ul {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-nav ul li a {
    display: block;
    padding: var(--space-2) var(--space-4);
    color: rgba(255,255,255,0.85);
    font-size: var(--text-sm);
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--transition);
    letter-spacing: 0.01em;
}

.primary-nav ul li a:hover {
    color: var(--white);
    background: rgba(255,255,255,0.08);
}

.nav-cta {
    margin-left: var(--space-4);
    padding: 0.5rem 1.25rem;
    background: var(--gold);
    color: var(--navy) !important;
    border-radius: var(--radius-md);
    font-weight: 600 !important;
    font-size: var(--text-sm) !important;
}

.nav-cta:hover {
    background: #b8943d !important;
    color: var(--navy) !important;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: var(--space-2);
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
}

@media (max-width: 768px) {
    .primary-nav {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--navy);
        padding: var(--space-4);
        border-top: 1px solid rgba(255,255,255,0.1);
        flex-direction: column;
        align-items: flex-start;
    }

    .primary-nav.open {
        display: flex;
    }

    .primary-nav ul {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .primary-nav ul li {
        width: 100%;
    }

    .primary-nav ul li a {
        display: block;
        padding: var(--space-3) var(--space-4);
        width: 100%;
    }

    .nav-cta {
        margin-left: 0;
        margin-top: var(--space-2);
        width: 100%;
        text-align: center;
    }

    .nav-hamburger { display: flex; }
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--navy) 0%, #152b52 60%, #1e3a6e 100%);
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at 80% 50%, rgba(65,105,164,0.2) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(to top, var(--white), transparent);
    pointer-events: none;
}

.hero__inner {
    padding: var(--space-24) 0 var(--space-16);
    max-width: 780px;
}

.hero__label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(201,168,76,0.15);
    border: 1px solid rgba(201,168,76,0.4);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: var(--space-6);
}

.hero__label::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ================================================================
   DOWNLOADS SECTION
   ================================================================ */
.downloads-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
    align-items: start;
}

@media (max-width: 768px) {
    .downloads-grid { grid-template-columns: 1fr; }
}

.downloads-col {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(13,31,60,0.07);
}

.downloads-col--patient {
    background: var(--navy);
}

.downloads-col__header {
    padding: 1.75rem 1.75rem 1.25rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.downloads-col--patient .downloads-col__header {
    border-bottom-color: rgba(201,168,76,0.3);
}

.downloads-col__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--navy);
    margin: 0;
}

.downloads-col--patient .downloads-col__title {
    color: var(--white);
}

.downloads-col__sub {
    font-size: 0.85rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
}

.downloads-col--patient .downloads-col__sub {
    color: rgba(255,255,255,0.65);
}

.downloads-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.downloads-list__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.75rem;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}

.downloads-list__item:last-child {
    border-bottom: none;
}

.downloads-list__item:hover {
    background: #f6f8fb;
}

.downloads-col--patient .downloads-list__item {
    border-bottom-color: rgba(201,168,76,0.2);
}

.downloads-col--patient .downloads-list__item:hover {
    background: rgba(255,255,255,0.05);
}

.downloads-list__info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
    min-width: 0;
}

.downloads-list__name {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--navy);
}

.downloads-col--patient .downloads-list__name {
    color: var(--white);
}

.downloads-list__desc {
    font-size: 0.78rem;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.downloads-col--patient .downloads-list__desc {
    color: rgba(255,255,255,0.55);
}

.btn--download {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    background: transparent;
    border: 1.5px solid var(--french-blue);
    border-radius: 6px;
    color: var(--french-blue);
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
}

.btn--download:hover {
    background: var(--french-blue);
    color: var(--white);
}

.btn--download-gold {
    border-color: var(--gold);
    color: var(--gold);
}

.btn--download-gold:hover {
    background: var(--gold);
    color: var(--navy);
}

.downloads-col__note {
    padding: 1.25rem 1.75rem;
    border-top: 1px solid rgba(201,168,76,0.2);
}

.downloads-col__note p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
    margin: 0;
    line-height: 1.6;
}

.downloads-col__note a {
    color: var(--gold);
    text-decoration: none;
}

.downloads-col__note a:hover {
    text-decoration: underline;
}

/* ================================================================
   SEO hidden tagline list — visible to crawlers, invisible to users */
.seo-taglines {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
}

/* Rotating headline fade animation */
@keyframes taglineFadeIn {
    0%   { opacity: 0; transform: translateY(10px); }
    12%  { opacity: 1; transform: translateY(0); }
    88%  { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-10px); }
}
.hero__title--animating {
    animation: taglineFadeIn 5.5s ease forwards;
}

.hero__title {
    font-size: clamp(2.25rem, 5.5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: var(--space-6);
    letter-spacing: -0.02em;
}

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

.hero__sub {
    font-size: var(--text-lg);
    line-height: 1.7;
    color: rgba(255,255,255,0.8);
    margin-bottom: var(--space-10);
    max-width: 620px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-12);
}

.hero__credentials {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.credential-chip {
    padding: var(--space-2) var(--space-4);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .hero__inner { padding: var(--space-16) 0 var(--space-12); }
    .hero__actions { flex-direction: column; align-items: flex-start; }
}

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-header {
    margin-bottom: var(--space-12);
}

.section-header.text-center {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-3);
}

.section-title {
    font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl));
    color: var(--navy);
    margin-bottom: var(--space-4);
    line-height: 1.15;
}

.section--dark .section-title {
    color: var(--white);
}

.section-sub {
    font-size: var(--text-lg);
    color: var(--muted);
    line-height: 1.65;
}

.section--dark .section-sub {
    color: rgba(255,255,255,0.7);
}

.section-divider {
    width: 48px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
    margin: var(--space-4) 0 var(--space-6);
}

.text-center .section-divider {
    margin-left: auto;
    margin-right: auto;
}

/* =============================================
   SERVICES SECTION
   ============================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--navy), var(--french-blue));
    opacity: 0;
    transition: opacity var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card--featured {
    background: var(--navy);
    border-color: var(--navy);
}

.service-card--featured .service-card__name,
.service-card--featured .service-card__detail {
    color: var(--white);
}

.service-card--featured .service-card__rate {
    color: var(--gold);
}

.service-card--featured .service-card__desc {
    color: rgba(255,255,255,0.8);
}

.service-card--featured::before {
    background: linear-gradient(90deg, var(--gold), #e6bc5a);
    opacity: 1;
}

.service-card__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-3);
    background: rgba(65,105,164,0.1);
    color: var(--french-blue);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    width: fit-content;
}

.service-card--featured .service-card__badge {
    background: rgba(201,168,76,0.2);
    color: var(--gold);
}

.service-card__name {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--navy);
    margin: 0;
}

.service-card__rate {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--french-blue);
    font-family: var(--font-heading);
}

.service-card__detail {
    font-size: var(--text-sm);
    color: var(--muted);
    font-weight: 500;
    margin-top: -var(--space-2);
}

.service-card__divider {
    width: 32px;
    height: 2px;
    background: var(--border);
    border-radius: 1px;
}

.service-card--featured .service-card__divider {
    background: rgba(255,255,255,0.2);
}

.service-card__desc {
    font-size: var(--text-base);
    color: #374151;
    line-height: 1.65;
    flex: 1;
}

@media (max-width: 1024px) {
    .services-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

@media (max-width: 768px) {
    .services-grid { max-width: 100%; }
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-16);
    align-items: center;
}

.about-image-wrap {
    position: relative;
}

.about-image-wrap::before {
    content: '';
    position: absolute;
    top: -16px; left: -16px;
    right: 16px; bottom: 16px;
    border: 2px solid var(--gold);
    border-radius: var(--radius-xl);
    z-index: 0;
}

.about-image-wrap::after {
    content: '';
    position: absolute;
    bottom: -8px; right: -8px;
    width: 60%;
    height: 50%;
    background: rgba(65,105,164,0.08);
    border-radius: var(--radius-xl);
    z-index: 0;
}

.about-image-wrap img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.about-name {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    color: var(--navy);
    margin: 0;
}

.about-title {
    font-size: var(--text-base);
    color: var(--french-blue);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.about-bio {
    font-size: var(--text-base);
    line-height: 1.75;
    color: #374151;
}

.credentials-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-top: var(--space-2);
}

.credential-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--navy);
}

.credential-item::before {
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230D1F3C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 12px;
}

@media (max-width: 900px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }
    .about-image-wrap img {
        height: 400px;
    }
}

/* =============================================
   WHY ANCHOR SECTION
   ============================================= */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-10);
}

.why-card {
    padding: var(--space-8) var(--space-6);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    transition: all 0.3s ease;
}

.why-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(201,168,76,0.3);
    transform: translateY(-2px);
}

.why-card__icon {
    width: 48px;
    height: 48px;
    background: rgba(201,168,76,0.15);
    border: 1px solid rgba(201,168,76,0.3);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-card__icon svg {
    width: 22px;
    height: 22px;
    color: var(--gold);
}

.why-card__title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

.why-card__desc {
    font-size: var(--text-base);
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .why-grid { grid-template-columns: 1fr; }
}

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-16);
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.contact-info__heading {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    color: var(--navy);
    line-height: 1.2;
}

.contact-info__sub {
    font-size: var(--text-base);
    color: var(--muted);
    line-height: 1.65;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--light-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    text-decoration: none;
    transition: all var(--transition);
}

.contact-detail:hover {
    border-color: var(--french-blue);
    background: rgba(65,105,164,0.04);
    transform: translateX(4px);
}

.contact-detail__icon {
    width: 40px;
    height: 40px;
    background: var(--navy);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail__icon svg {
    width: 18px;
    height: 18px;
    color: var(--gold);
}

.contact-detail__label {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: var(--muted);
}

.contact-detail__value {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--navy);
}

/* Contact Form */
.contact-form-wrap {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-10);
    box-shadow: var(--shadow-md);
}

.contact-form-wrap h3 {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    color: var(--navy);
    margin-bottom: var(--space-6);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--navy);
}

.form-group input,
.form-group textarea {
    padding: var(--space-3) var(--space-4);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--navy);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--french-blue);
    box-shadow: 0 0 0 3px rgba(65,105,164,0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9CA3AF;
}

.form-group textarea {
    min-height: 120px;
}

.form-note {
    font-size: var(--text-sm);
    color: var(--muted);
    background: var(--light-bg);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--gold);
    margin-top: var(--space-4);
    line-height: 1.55;
}

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }
    .form-grid { grid-template-columns: 1fr; }
}

/* =============================================
   FOOTER
   ============================================= */
#site-footer {
    background: var(--navy);
    color: rgba(255,255,255,0.75);
    padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: var(--space-12);
    padding-bottom: var(--space-12);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: var(--space-8);
}

.footer-col__brand .site-logo__name {
    font-size: var(--text-xl);
}

.footer-tagline {
    margin-top: var(--space-4);
    font-size: var(--text-sm);
    line-height: 1.65;
    color: rgba(255,255,255,0.6);
    font-style: italic;
}

.footer-col__heading {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-5);
    letter-spacing: 0.01em;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav ul li a {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: color var(--transition);
}

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

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    font-size: var(--text-sm);
}

.footer-contact-item a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: color var(--transition);
}

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

.footer-contact-icon {
    width: 18px;
    height: 18px;
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 1px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer-copy {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.45);
}

.footer-disclaimer {
    font-size: var(--text-xs);
    color: rgba(255,255,255,0.35);
    max-width: 480px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =============================================
   WORDPRESS BLOCK EDITOR COMPATIBILITY
   ============================================= */
.wp-block-group,
.wp-block-columns {
    margin: 0;
}

.wp-block-paragraph {
    max-width: none;
}

/* Editor Styles */
.editor-styles-wrapper {
    font-family: var(--font-body) !important;
    color: var(--navy) !important;
}

/* =============================================
   UTILITY CLASSES
   ============================================= */
.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;
}

/* Smooth anchor offset for sticky nav */
[id] {
    scroll-margin-top: calc(var(--nav-height) + 16px);
}
