/* ═══════════════════════════════════════════════
   BoldSlate — Global Design System
   ═══════════════════════════════════════════════
   Plugin injects semantic design tokens as CSS vars:
     --ocf-heading, --ocf-body, --ocf-accent, etc.
   Everything below references those directly.
   ═══════════════════════════════════════════════ */


/* ─── NON-TOKEN GLOBALS ─── */
:root {
    /* Fluid Type Scale (clamp: min, preferred, max) */
    --text-xs:   clamp(0.6875rem, 0.65rem + 0.2vw, 0.75rem);
    --text-sm:   clamp(0.8125rem, 0.775rem + 0.2vw, 0.875rem);
    --text-base: clamp(0.9375rem, 0.9rem + 0.2vw, 1rem);
    --text-lg:   clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
    --text-xl:   clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --text-2xl:  clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
    --text-3xl:  clamp(1.875rem, 1.4rem + 2.4vw, 3.25rem);
    --text-4xl:  clamp(2.25rem, 1.6rem + 3.2vw, 4rem);
    --text-hero: clamp(2.8rem, 1.8rem + 5vw, 6.5rem);

    /* Border Radius */
    --radius-sm:   6px;
    --radius:      10px;
    --radius-lg:   16px;
    --radius-full: 9999px;

    /* Shadows (tinted with heading color) */
    --shadow-sm:  0 1px 3px  color-mix(in srgb, var(--ocf-heading) 5%, transparent);
    --shadow:     0 4px 16px color-mix(in srgb, var(--ocf-heading) 8%, transparent);
    --shadow-lg:  0 12px 40px color-mix(in srgb, var(--ocf-heading) 12%, transparent);

    /* Transitions */
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --duration: 0.3s;
    --duration-slow: 0.5s;
}


/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── Base ─── */
html {
    scroll-behavior: smooth;
}

[id] {
    scroll-margin-top: 6rem;
}

body {
    font-family: var(--ocf-font-body), system-ui, sans-serif;
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--ocf-body);
    background-color: var(--ocf-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 5rem;
}

@media (min-width: 1024px) {
    body { padding-top: 6rem; }
}

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

body.admin-bar {
    margin-top: 0 !important;
}

::selection {
    background-color: var(--ocf-accent-hover);
    color: var(--ocf-bg);
}

a {
    color: inherit;
    text-decoration: none;
}


/* ═══════════════════════════════════════════════
   GLOBAL LAYOUT
   ═══════════════════════════════════════════════ */

.container-global {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 640px) {
    .container-global { padding-left: 2rem; padding-right: 2rem; }
}

@media (min-width: 1024px) {
    .container-global { padding-left: 3rem; padding-right: 3rem; }
}

.section-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media (min-width: 640px) {
    .section-padding { padding-top: 5rem; padding-bottom: 5rem; }
}

@media (min-width: 1024px) {
    .section-padding { padding-top: 6rem; padding-bottom: 6rem; }
}

.section-padding .section-padding { padding-top: 0; padding-bottom: 0; }
.section-padding .container-global .container-global { padding-left: 0; padding-right: 0; }


/* ═══════════════════════════════════════════════
   GLOBAL TYPOGRAPHY
   ═══════════════════════════════════════════════ */

.eyebrow {
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--ocf-label);
}

.heading-section {
    font-family: var(--ocf-font-heading), Georgia, serif;
    font-weight: 600;
    color: var(--ocf-heading);
    letter-spacing: -0.02em;
    line-height: 1.08;
}

.heading-section.size-lg { font-size: var(--text-3xl); }
.heading-section.size-xl { font-size: var(--text-hero); }

.text-body {
    font-size: var(--text-base);
    line-height: 1.75;
    color: var(--ocf-body);
}

.text-label {
    font-size: var(--text-xs);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ocf-label);
}


/* ═══════════════════════════════════════════════
   GLOBAL BUTTONS
   ═══════════════════════════════════════════════ */

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: var(--ocf-accent);
    color: var(--ocf-bg);
    padding: 1rem 2rem;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none;
    border-radius: var(--radius);
    transition: all var(--duration) ease;
}

.btn-primary:hover {
    background-color: var(--ocf-accent-hover);
}

.btn-primary svg,
.btn-primary i {
    width: 1rem;
    height: 1rem;
    transition: transform var(--duration) ease;
}

.btn-primary:hover svg,
.btn-primary:hover i {
    transform: translateX(4px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ocf-body);
    font-size: var(--text-sm);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid var(--ocf-border);
    padding-bottom: 2px;
    transition: all var(--duration) ease;
}

.btn-secondary:hover {
    color: var(--ocf-heading);
    border-bottom-color: var(--ocf-heading);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: color-mix(in srgb, var(--ocf-heading-alt) 10%, transparent);
    color: var(--ocf-bg);
    padding: 1rem 2rem;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none;
    border: 1px solid var(--ocf-border-alt);
    border-radius: var(--radius);
    transition: all var(--duration) ease;
}

.btn-ghost:hover {
    background-color: color-mix(in srgb, var(--ocf-heading-alt) 15%, transparent);
    border-color: color-mix(in srgb, var(--ocf-heading-alt) 20%, transparent);
}


/* ═══════════════════════════════════════════════
   GLOBAL CARD
   ═══════════════════════════════════════════════ */

.card {
    background: var(--ocf-bg);
    border: 1px solid color-mix(in srgb, var(--ocf-border-light) 6%, transparent);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all var(--duration-slow) ease;
}

.card:hover {
    border-color: var(--ocf-border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

@media (min-width: 640px) { .card { padding: 2.5rem; } }
@media (min-width: 1024px) { .card { padding: 3rem; } }


/* ═══════════════════════════════════════════════
   GLOBAL DIVIDERS
   ═══════════════════════════════════════════════ */

.divider {
    width: 4rem;
    height: 1px;
    background-color: var(--ocf-divider);
}

.divider-light {
    width: 100%;
    height: 1px;
    background-color: color-mix(in srgb, var(--ocf-border-light) 6%, transparent);
}


/* ═══════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════ */

.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: var(--ocf-bg);
    border-bottom: 1px solid color-mix(in srgb, var(--ocf-border-light) 6%, transparent);
}

.nav-inner {
    display: flex;
    align-items: center;
    height: 5rem;
}

@media (min-width: 1024px) {
    .nav-inner { height: 6rem; }
}

.nav-logo {
    position: relative;
    z-index: 10;
    flex-shrink: 0;
    margin-right: auto;
    font-family: var(--ocf-font-heading), Georgia, serif;
    font-size: var(--text-xl);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--ocf-heading);
    transition: color var(--duration) ease;
}

@media (min-width: 1024px) {
    .nav-logo { font-size: var(--text-2xl); }
}

.nav-logo:hover { color: var(--ocf-accent-hover); }

.nav-logo-img {
    height: 2rem;
    width: auto;
    display: block;
}

@media (min-width: 1024px) {
    .nav-logo-img { height: 2.5rem; }
}

.nav-logo-mark { flex-shrink: 0; }
.nav-logo-text { margin-left: 0.5rem; }
.footer-brand-mark { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.footer-logo-mark { flex-shrink: 0; }

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .nav-links { display: flex; }
}

@media (min-width: 1280px) {
    .nav-links { gap: 2.5rem; }
}

.nav-link {
    position: relative;
    font-size: var(--text-xs);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ocf-heading);
    transition: color var(--duration) ease;
}

.nav-link:hover { color: var(--ocf-accent); }

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--ocf-accent);
    transition: width var(--duration) var(--ease);
}

.nav-link:hover::after { width: 100%; }

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    margin-left: auto;
}

@media (min-width: 1024px) {
    .nav-right { gap: 1.5rem; }
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ocf-heading);
    font-size: var(--text-sm);
    font-weight: 500;
    transition: color var(--duration) ease;
}

.nav-phone span {
    display: inline;
}

.nav-phone:hover { color: var(--ocf-accent-hover); }

.nav-phone svg {
    width: 0.875rem;
    height: 0.875rem;
}

.nav-divider {
    display: none;
    width: 1px;
    height: 1.5rem;
    background: color-mix(in srgb, var(--ocf-border) 60%, transparent);
}

@media (min-width: 1024px) {
    .nav-divider { display: block; }
}

.nav-cta {
    display: none;
    align-items: center;
    padding: 0.625rem 1.5rem;
    background: var(--ocf-accent);
    color: var(--ocf-bg);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border-radius: var(--radius);
    transition: all var(--duration) ease;
}

@media (min-width: 1024px) {
    .nav-cta { display: inline-flex; }
}

.nav-cta:hover { background: var(--ocf-accent-hover); }

.nav-mobile-btn {
    display: block;
    padding: 0.5rem;
    margin-right: -0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

@media (min-width: 1024px) {
    .nav-mobile-btn { display: none; }
}

.nav-mobile-btn svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--ocf-heading);
}

/* Dropdown */
.nav-dropdown { position: relative; display: flex; align-items: center; }

.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-dropdown-chevron {
    width: 0.75rem;
    height: 0.75rem;
    transition: transform 0.2s ease;
}

.nav-dropdown-panel {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

.nav-dropdown-panel .dropdown-menu {
    background: var(--ocf-bg);
    border: 1px solid color-mix(in srgb, var(--ocf-border-light) 6%, transparent);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    padding: 0.5rem;
}

.nav-dropdown-panel .dropdown-menu--wide {
    min-width: 420px;
    columns: 2;
    column-gap: 0.25rem;
}

.nav-dropdown-panel .dropdown-menu--wide .dropdown-item {
    break-inside: avoid;
}

.dropdown-item {
    display: block;
    padding: 0.625rem 0.875rem;
    font-size: var(--text-sm);
    color: var(--ocf-body);
    border-radius: var(--radius);
    transition: all 150ms ease;
}

.dropdown-item:hover {
    color: var(--ocf-heading);
    background: var(--ocf-bg-alt);
}

/* Item with inline icon */
.dropdown-item--area {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.dropdown-item-icon {
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--ocf-accent);
}

.dropdown-item-icon svg {
    width: 1.125rem;
    height: 1.125rem;
}

.dropdown-item--area svg {
    flex-shrink: 0;
    color: var(--ocf-body);
    transition: color 150ms ease;
}

.dropdown-item--area:hover svg,
.dropdown-item--area:hover .dropdown-item-icon {
    color: var(--ocf-accent);
}

/* Mobile menu */
.mobile-menu {
    display: none;
    background: var(--ocf-bg);
    border-top: 1px solid var(--ocf-border-light);
}

@media (min-width: 1024px) {
    .mobile-menu { display: none !important; }
}

.mobile-menu-inner {
    padding: 1.5rem;
}

.mobile-accordion { border-bottom: 1px solid var(--ocf-bg-alt); }

.mobile-accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.75rem 0;
    background: none;
    border: none;
    font-size: var(--text-xs);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ocf-body);
    cursor: pointer;
    transition: color var(--duration) ease;
}

.mobile-accordion-trigger:hover { color: var(--ocf-heading); }

.mobile-accordion-chevron {
    width: 1rem;
    height: 1rem;
    transition: transform 0.2s ease;
}

.mobile-accordion-panel {
    display: none;
    padding: 0 0 0.75rem 1rem;
}

.mobile-accordion-panel a {
    display: block;
    padding: 0.5rem 0;
    font-size: var(--text-sm);
    color: var(--ocf-body);
    transition: color var(--duration) ease;
}

.mobile-accordion-panel a:hover { color: var(--ocf-heading); }

.mobile-link {
    display: block;
    padding: 0.75rem 0;
    font-size: var(--text-xs);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ocf-body);
    border-bottom: 1px solid var(--ocf-bg-alt);
    transition: color var(--duration) ease;
}

.mobile-link:hover { color: var(--ocf-heading); }

.mobile-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 1rem;
    color: var(--ocf-heading);
    font-weight: 500;
}

.mobile-phone svg {
    width: 1rem;
    height: 1rem;
}


/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */

.hero-grain {
    background-image: url('data:image/svg+xml,%3Csvg viewBox=%220 0 512 512%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cfilter id=%22noise%22%3E%3CfeTurbulence type=%22fractalNoise%22 baseFrequency=%220.65%22 numOctaves=%224%22 stitchTiles=%22stitch%22/%3E%3C/filter%3E%3Crect width=%22100%25%22 height=%22100%25%22 filter=%22url(%23noise)%22/%3E%3C/svg%3E');
    opacity: 0.025;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--ocf-bg);
    overflow: hidden;
}

.hero-image-desktop {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
}

@media (min-width: 1024px) {
    .hero-image-desktop { display: block; }
}

.hero-image-desktop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-desktop::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to right, var(--ocf-bg), color-mix(in srgb, var(--ocf-bg) 80%, transparent), transparent);
}

.hero-accent-line {
    display: none;
    position: absolute;
    left: 3rem;
    top: 8rem;
    bottom: 8rem;
    width: 1px;
    z-index: 20;
    background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--ocf-border) 60%, transparent), transparent);
}

@media (min-width: 1024px) {
    .hero-accent-line { display: block; }
}

.hero-content {
    position: relative;
    z-index: 20;
    width: 100%;
    padding-top: 8rem;
    padding-bottom: 5rem;
}

@media (min-width: 1024px) {
    .hero-content { padding-top: 10rem; padding-bottom: 8rem; }
}

.hero-content-inner { max-width: 48rem; }

.hero-headline span {
    display: block;
    line-height: 1.02;
    letter-spacing: -0.03em;
}

.hero-ctas {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .hero-ctas { flex-direction: row; }
}

.hero-image-mobile {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 12rem;
}

@media (min-width: 640px) {
    .hero-image-mobile { height: 16rem; }
}

@media (min-width: 1024px) {
    .hero-image-mobile { display: none; }
}

.hero-image-mobile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-mobile::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, var(--ocf-bg), color-mix(in srgb, var(--ocf-bg) 60%, transparent), color-mix(in srgb, var(--ocf-bg) 90%, transparent));
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--ocf-body);
}

.hero-scroll span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
}

.scroll-line {
    width: 1px;
    height: 2rem;
    background: linear-gradient(to bottom, var(--ocf-divider), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}


/* ═══════════════════════════════════════════════
   PAGE HEADER (Inner Pages)
   ═══════════════════════════════════════════════ */

.page-header-inner {
    padding-top: 9rem;
    padding-bottom: 5rem;
}

@media (min-width: 1024px) {
    .page-header-inner { padding-top: 11rem; padding-bottom: 6rem; }
}


/* ═══════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════════ */

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s var(--ease),
                transform 0.8s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Kill reveal animation on first section after any hero/header */
.page-header + * .reveal,
.page-header + * .reveal.visible,
.base1-hero + * .reveal,
.base1-hero + * .reveal.visible,
.base1-article-hero + * .reveal,
.base1-article-hero + * .reveal.visible,
.base1-detail-hero + * .reveal,
.base1-detail-hero + * .reveal.visible {
    opacity: 1;
    transform: none;
    transition: none;
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }

@keyframes scroll-pulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
}


/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */

.site-footer {
    background: var(--ocf-bg-dark);
    color: var(--ocf-body-alt);
}

.site-footer a {
    color: var(--ocf-body-alt);
    transition: color var(--duration) ease;
}

.site-footer a:hover { color: var(--ocf-heading-alt); }

.footer-heading {
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ocf-heading-alt);
    margin-bottom: 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 640px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.footer-logo-img {
    height: 2rem;
    width: auto;
    display: block;
    margin-bottom: 1rem;
    background: var(--ocf-bg);
    padding: 0.375rem;
    border-radius: 8px;
}

@media (min-width: 1024px) {
    .footer-logo-img { height: 2.5rem; }
}

.footer-brand-name {
    display: block;
    font-family: var(--ocf-font-heading), Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ocf-heading-alt);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.footer-brand-location {
    display: block;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--ocf-body-alt);
    margin-bottom: 1rem;
}

.footer-brand-desc {
    font-size: var(--text-sm);
    line-height: 1.6;
    color: var(--ocf-body-alt);
    max-width: 20rem;
    margin-bottom: 1rem;
}

.footer-license {
    font-size: 11px;
    color: var(--ocf-body-alt);
}

.footer-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link-list a {
    font-size: var(--text-sm);
}

.footer-hours {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    font-size: var(--text-sm);
}

.footer-hours li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.footer-hours li span:first-child {
    color: var(--ocf-body-alt);
}

.footer-hours li span:last-child {
    color: var(--ocf-body-alt);
}

.footer-emergency {
    font-size: var(--text-sm);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--ocf-border-alt);
}

.footer-contact-links {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--text-sm);
}

.footer-contact-links svg {
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid var(--ocf-border-alt);
    margin-top: 4rem;
    padding-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    font-size: var(--text-xs);
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}


/* ═══════════════════════════════════════════════
   TRUST STATS
   ═══════════════════════════════════════════════ */

.trust-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: color-mix(in srgb, var(--ocf-border-light) 6%, transparent);
}

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

.trust-stat {
    background: var(--ocf-bg);
    padding: 2rem;
    text-align: center;
}

@media (min-width: 640px) {
    .trust-stat { padding: 3rem; }
}

.trust-stat-value {
    font-family: var(--ocf-font-heading), Georgia, serif;
    font-size: var(--text-4xl);
    font-weight: 600;
    color: var(--ocf-heading);
    line-height: 1;
    letter-spacing: -0.02em;
}

.trust-stat-label {
    margin-top: 0.5rem;
    font-size: var(--text-xs);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ocf-body);
}


/* ═══════════════════════════════════════════════
   SERVICES GRID
   ═══════════════════════════════════════════════ */

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background: color-mix(in srgb, var(--ocf-border-light) 6%, transparent);
}

@media (min-width: 640px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); }
}


/* ═══════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════ */

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
    background: var(--ocf-bg);
    border: 1px solid color-mix(in srgb, var(--ocf-border-light) 6%, transparent);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all var(--duration-slow) ease;
}

@media (min-width: 640px) {
    .testimonial-card { padding: 2.5rem; }
}

.testimonial-card:hover {
    border-color: var(--ocf-border);
    box-shadow: var(--shadow);
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    color: var(--ocf-accent);
}

.testimonial-stars svg { width: 1rem; height: 1rem; }

.testimonial-text {
    font-size: var(--text-base);
    line-height: 1.75;
    color: var(--ocf-body);
    margin-bottom: 1.5rem;
}

.testimonial-author { font-weight: 600; color: var(--ocf-heading); }
.testimonial-role { font-size: var(--text-sm); color: var(--ocf-body); margin-top: 0.125rem; }


/* ═══════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════ */

.cta-section {
    position: relative;
    background: var(--ocf-bg-dark);
    color: var(--ocf-heading-alt);
    overflow: hidden;
}

.cta-section .eyebrow { color: var(--ocf-label-alt); }
.cta-section .heading-section { color: var(--ocf-heading-alt); }
.cta-section .text-body { color: var(--ocf-body-alt); }

.cta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .cta-grid { grid-template-columns: 7fr 5fr; gap: 5rem; }
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .cta-buttons { flex-direction: row; }
}

.cta-detail-card {
    background: var(--ocf-bg);
    border-radius: var(--radius);
    padding: 2rem;
}

@media (min-width: 640px) { .cta-detail-card { padding: 2.5rem; } }

.cta-detail-item {
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid color-mix(in srgb, var(--ocf-border-light) 6%, transparent);
}

.cta-detail-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.cta-detail-item a {
    color: var(--ocf-heading);
    font-weight: 500;
    transition: color var(--duration) ease;
}

.cta-detail-item a:hover { color: var(--ocf-body); }

.cta-detail-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--ocf-border);
}

/* Testimonials dark variant */
.testimonials-dark {
    position: relative;
    background: var(--ocf-bg-dark);
    overflow: hidden;
}

.testimonials-dark .eyebrow { color: var(--ocf-label-alt); }
.testimonials-dark .heading-section { color: var(--ocf-heading-alt); }

.testimonial-dark-card {
    background: var(--ocf-bg-dark);
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

@media (min-width: 640px) { .testimonial-dark-card { padding: 2.5rem; } }
@media (min-width: 1024px) { .testimonial-dark-card { padding: 3rem; } }

.testimonial-dark-quote {
    font-family: var(--ocf-font-heading), Georgia, serif;
    font-size: var(--text-4xl);
    color: color-mix(in srgb, var(--ocf-border) 40%, transparent);
    line-height: 1;
    margin-bottom: 1.5rem;
}

.testimonial-dark-text {
    color: var(--ocf-body-alt);
    line-height: 1.7;
    font-size: var(--text-base);
    flex: 1;
    margin-bottom: 2.5rem;
}

.testimonial-dark-footer {
    padding-top: 1.5rem;
    border-top: 1px solid var(--ocf-border-alt);
}

.testimonial-dark-author {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--ocf-heading-alt);
}

.testimonial-dark-role {
    font-size: var(--text-xs);
    color: var(--ocf-label-alt);
    margin-top: 0.125rem;
}

/* Page header dark section */
.page-header {
    position: relative;
    background: var(--ocf-bg-dark);
    overflow: hidden;
    margin-top: -5rem;
}

@media (min-width: 1024px) {
    .page-header { margin-top: -6rem; }
}

.page-header .eyebrow { color: var(--ocf-label-alt); }
.page-header .heading-section { color: var(--ocf-heading-alt); }

.page-header-accent {
    display: none;
    position: absolute;
    left: 3rem;
    top: 4rem;
    bottom: 4rem;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--ocf-border-alt), transparent);
    z-index: 20;
}

@media (min-width: 1024px) { .page-header-accent { display: block; } }


/* ═══════════════════════════════════════════════
   SERVICE ITEM (inside .services-grid)
   ═══════════════════════════════════════════════ */

.service-item {
    background: var(--ocf-bg-alt, var(--ocf-bg));
    padding: 2rem;
    transition: all var(--duration-slow) ease;
    cursor: default;
}

@media (min-width: 640px) { .service-item { padding: 2.5rem; } }
@media (min-width: 1024px) { .service-item { padding: 3rem; } }

.service-item:hover { background: var(--ocf-bg); }

.service-number {
    display: block;
    font-family: var(--ocf-font-heading), Georgia, serif;
    font-size: var(--text-4xl);
    font-weight: 300;
    color: color-mix(in srgb, var(--ocf-border) 50%, transparent);
    margin-bottom: 2rem;
    transition: color var(--duration-slow) ease;
}

.service-item:hover .service-number {
    color: var(--ocf-body);
}

.service-title {
    font-family: var(--ocf-font-heading), Georgia, serif;
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--ocf-heading);
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
}

.service-desc {
    font-size: var(--text-sm);
    color: var(--ocf-body);
    line-height: 1.7;
}

.service-underline {
    margin-top: 2rem;
    width: 0;
    height: 1px;
    background: var(--ocf-body);
    transition: width var(--duration-slow) ease;
}

.service-item:hover .service-underline { width: 3rem; }


/* ═══════════════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════════════ */

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .about-grid { grid-template-columns: 7fr 5fr; gap: 5rem; }
}

.about-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.about-image {
    border-radius: var(--radius);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image:first-child { aspect-ratio: 3/4; }
.about-image:last-child { aspect-ratio: 4/3; align-self: end; }

.about-commitments {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

@media (min-width: 640px) {
    .about-commitments { grid-template-columns: repeat(2, 1fr); }
}


/* ═══════════════════════════════════════════════
   POST CARDS / BLOG
   ═══════════════════════════════════════════════ */

.post-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .post-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .post-grid { grid-template-columns: repeat(3, 1fr); }
}

.post-card {
    border: 1px solid color-mix(in srgb, var(--ocf-border-light) 6%, transparent);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--duration-slow) ease;
}

.post-card:hover {
    border-color: var(--ocf-border);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.post-card-image {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) ease;
}

.post-card:hover .post-card-image img {
    transform: scale(1.05);
}

.post-card-body { padding: 1.5rem; }

.post-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: var(--text-xs);
    color: var(--ocf-body);
}

.post-card-title {
    font-family: var(--ocf-font-heading), Georgia, serif;
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--ocf-heading);
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.post-card-excerpt {
    font-size: var(--text-sm);
    line-height: 1.6;
    color: var(--ocf-body);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* ═══════════════════════════════════════════════
   ARCHIVE GRIDS (Services, Service Areas)
   ═══════════════════════════════════════════════ */

.archive-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .archive-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .archive-grid { grid-template-columns: repeat(3, 1fr); }
}


/* ═══════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════ */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-grid { grid-template-columns: var(--contact-split, 5fr 7fr); gap: 5rem; }
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-info-item svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--ocf-accent);
    flex-shrink: 0;
    margin-top: 0.125rem;
}


/* ═══════════════════════════════════════════════
   CF7 FORM OVERRIDES
   ═══════════════════════════════════════════════ */

.wpcf7 .form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .wpcf7 .form-grid { grid-template-columns: 1fr 1fr; }
}

.wpcf7 .form-field-full { grid-column: 1 / -1; }

.wpcf7 label {
    display: block;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ocf-body);
    margin-bottom: 0.5rem;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 select,
.wpcf7 textarea {
    display: block;
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--ocf-font-body), system-ui, sans-serif;
    font-size: var(--text-base);
    color: var(--ocf-heading);
    background-color: var(--ocf-bg);
    border: 1px solid color-mix(in srgb, var(--ocf-border-light) 12%, transparent);
    border-radius: var(--radius);
    outline: none;
    transition: border-color var(--duration) ease, box-shadow var(--duration) ease;
    -webkit-appearance: none;
    appearance: none;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 input[type="number"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    border-color: var(--ocf-accent-hover);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--ocf-accent-hover) 8%, transparent);
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
    color: var(--ocf-divider);
    font-weight: 300;
}

.wpcf7 select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235b8ab6' d='M6 8.825L0.375 3.2l0.85-0.85L6 7.125l4.775-4.775 0.85 0.85z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.wpcf7 textarea { min-height: 160px; resize: vertical; }

.wpcf7 input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--ocf-accent);
    color: var(--ocf-bg);
    padding: 1rem 2.5rem;
    font-family: var(--ocf-font-body), system-ui, sans-serif;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--duration) ease;
    margin-top: 0.5rem;
    -webkit-appearance: none;
    appearance: none;
}

.wpcf7 input[type="submit"]:hover { background-color: var(--ocf-accent-hover); }
.wpcf7 input[type="submit"]:active { transform: scale(0.98); }
.wpcf7 .wpcf7-spinner { margin-left: 1rem; }
.wpcf7 .wpcf7-not-valid { border-color: #dc2626 !important; }

.wpcf7 .wpcf7-not-valid-tip {
    font-size: var(--text-xs);
    color: #dc2626;
    margin-top: 0.375rem;
    font-weight: 500;
}

.wpcf7 .wpcf7-response-output {
    margin: 1.5rem 0 0 0;
    padding: 1rem 1.25rem;
    border: 1px solid;
    border-radius: var(--radius);
    font-size: var(--text-sm);
    line-height: 1.5;
}

.wpcf7 form.sent .wpcf7-response-output { border-color: #059669; background-color: #ecfdf5; color: #065f46; }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output { border-color: #dc2626; background-color: #fef2f2; color: #991b1b; }
.wpcf7 form.failed .wpcf7-response-output { border-color: #d97706; background-color: #fffbeb; color: #92400e; }
.wpcf7 p { margin: 0; }


/* ═══════════════════════════════════════════════
   PROSE (for single post/service long-form content)
   ═══════════════════════════════════════════════ */

.prose {
    font-size: var(--text-base);
    line-height: 1.8;
    color: var(--ocf-body);
}

.prose h2, .prose h3, .prose h4 {
    font-family: var(--ocf-font-heading), Georgia, serif;
    color: var(--ocf-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-top: 2em;
    margin-bottom: 0.75em;
}

.prose h2 { font-size: var(--text-2xl); }
.prose h3 { font-size: var(--text-xl); }
.prose h4 { font-size: var(--text-lg); }

.prose p { margin-bottom: 1.25em; }

.prose ul, .prose ol {
    margin-bottom: 1.25em;
    padding-left: 1.5em;
}

.prose li { margin-bottom: 0.5em; }

.prose a {
    color: var(--ocf-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.prose a:hover { color: var(--ocf-accent-hover); }

.prose img {
    border-radius: var(--radius);
    margin: 2em 0;
}

.prose blockquote {
    border-left: 3px solid var(--ocf-accent);
    padding-left: 1.5em;
    margin: 2em 0;
    font-style: italic;
    color: var(--ocf-heading);
}
