/* ═══════════════════════════════════════════════
   Chiro 1 — Template Override Layer
   ═══════════════════════════════════════════════
   Thin override on base theme (boldslate-plumber).
   Only what's different. All colors via var(--ocf-*).
   ═══════════════════════════════════════════════ */



/* ─── Hero: Centered overlay ─── */

.chiro1-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: -5rem;
}

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

.chiro1-hero-bg {
    position: absolute;
    inset: 0;
}

.chiro1-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chiro1-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(26, 35, 50, 0.55) 0%,
        rgba(26, 35, 50, 0.7) 100%
    );
}

.chiro1-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 720px;
    padding: 8rem 2rem 6rem;
}

.chiro1-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--ocf-secondary);
    margin-bottom: 1.5rem;
}

.chiro1-hero h1 {
    font-family: var(--ocf-font-heading);
    font-size: var(--text-hero);
    font-weight: 400;
    color: var(--ocf-heading-alt);
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.chiro1-hero h1 em {
    font-style: italic;
    color: var(--ocf-secondary);
}

.chiro1-hero-sub {
    font-size: var(--text-lg);
    line-height: 1.7;
    color: var(--ocf-body-alt);
    margin-bottom: 2.5rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}


/* ─── Testimonial Marquee ─── */

.chiro1-marquee {
    padding: 3rem 0;
    background: var(--ocf-bg);
    overflow: hidden;
    border-bottom: 1px solid var(--ocf-border-light);
}

.chiro1-marquee-track {
    display: flex;
    gap: 2rem;
    animation: chiro1-marquee 40s linear infinite;
    width: max-content;
}

.chiro1-marquee:hover .chiro1-marquee-track {
    animation-play-state: paused;
}

@keyframes chiro1-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.chiro1-marquee-card {
    flex-shrink: 0;
    width: 380px;
    background: var(--ocf-bg);
    border: 1px solid var(--ocf-border-light);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
}

.chiro1-marquee-card blockquote {
    font-size: var(--text-sm);
    line-height: 1.7;
    color: var(--ocf-body);
    margin-bottom: 1.25rem;
    flex: 1;
}

.chiro1-marquee-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--ocf-border-light);
}

.chiro1-marquee-author strong {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--ocf-heading);
}

.chiro1-marquee-author span {
    font-size: var(--text-xs);
    color: var(--ocf-label);
}

.chiro1-marquee-stars {
    display: flex;
    gap: 2px;
    color: #e8b931;
}

.chiro1-marquee-stars svg {
    width: 0.875rem;
    height: 0.875rem;
    fill: currentColor;
}


/* ─── Services: Zigzag ─── */

.chiro1-services {
    padding: 6rem 0;
    background: var(--ocf-bg);
}

.chiro1-services-header {
    text-align: center;
    max-width: 580px;
    margin: 0 auto 4rem;
}

.chiro1-service-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 4rem;
}

.chiro1-service-row:last-child { margin-bottom: 0; }

@media (min-width: 768px) {
    .chiro1-service-row {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
    .chiro1-service-row:nth-child(even) .chiro1-service-image { order: 2; }
    .chiro1-service-row:nth-child(even) .chiro1-service-content { order: 1; }
}

.chiro1-service-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--ocf-bg-alt);
}

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

.chiro1-service-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--ocf-accent) 10%, transparent);
    color: var(--ocf-accent);
    margin-bottom: 1.25rem;
}

.chiro1-service-icon svg { width: 1.5rem; height: 1.5rem; }

.chiro1-service-content h3 {
    font-family: var(--ocf-font-heading);
    font-size: var(--text-2xl);
    font-weight: 400;
    color: var(--ocf-heading);
    margin-bottom: 0.75rem;
}

.chiro1-service-content p {
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--ocf-body);
    margin-bottom: 1.5rem;
    max-width: 420px;
}

.chiro1-service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--ocf-accent);
    text-decoration: none;
    transition: gap 0.3s ease;
}

.chiro1-service-link:hover { gap: 0.625rem; }
.chiro1-service-link svg { width: 1rem; height: 1rem; }


/* ─── About: Centered editorial ─── */

.chiro1-about {
    padding: 6rem 0;
    background: var(--ocf-bg-alt);
}

.chiro1-about-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.chiro1-about-inner .heading-section { margin-bottom: 2rem; }

.chiro1-about-text {
    font-size: var(--text-lg);
    line-height: 1.8;
    color: var(--ocf-body);
    margin-bottom: 1.25rem;
}

.chiro1-commitments {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

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

.chiro1-commitment {
    padding: 1.5rem;
    background: var(--ocf-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--ocf-border-light);
}

.chiro1-commitment h4 {
    font-family: var(--ocf-font-heading);
    font-size: var(--text-base);
    font-weight: 400;
    color: var(--ocf-heading);
    margin-bottom: 0.5rem;
}

.chiro1-commitment p {
    font-size: var(--text-sm);
    line-height: 1.6;
    color: var(--ocf-body);
}


/* ─── CTA Banner ─── */

.chiro1-cta {
    padding: 6rem 0;
    background: var(--ocf-bg-dark);
    position: relative;
    overflow: hidden;
}

.chiro1-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        url('data:image/svg+xml,%3Csvg%20width%3D%2240%22%20height%3D%2240%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M0%200L40%2040M40%200L0%2040%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%220.5%22%20opacity%3D%220.04%22%2F%3E%3C/svg%3E'),
        linear-gradient(135deg, var(--ocf-bg-dark), color-mix(in srgb, var(--ocf-bg-dark) 80%, var(--ocf-accent)));
    background-size: 40px 40px, 100% 100%;
    pointer-events: none;
}

.chiro1-cta-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 580px;
    margin: 0 auto;
}

.chiro1-cta .eyebrow { color: var(--ocf-label-alt); }

.chiro1-cta .heading-section {
    color: var(--ocf-heading-alt);
    margin-bottom: 1.25rem;
}

.chiro1-cta-desc {
    font-size: var(--text-lg);
    line-height: 1.7;
    color: var(--ocf-body-alt);
    margin-bottom: 2.5rem;
}

.chiro1-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}


/* ─── Page Header: Crosshatch texture ─── */

.chiro1-page-header {
    position: relative;
}

.chiro1-page-header-texture {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
    background:
        url('data:image/svg+xml,%3Csvg%20width%3D%2240%22%20height%3D%2240%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M0%200L40%2040M40%200L0%2040%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%220.5%22%20opacity%3D%220.04%22%2F%3E%3C/svg%3E');
    background-size: 40px 40px;
}


/* ─── FAQ Accordion ─── */

.chiro1-faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

@media (min-width: 768px) {
    .chiro1-faq-grid { grid-template-columns: 1fr 1fr; }
}

.chiro1-faq-item {
    border-bottom: 1px solid var(--ocf-border-light);
}

@media (min-width: 768px) {
    .chiro1-faq-item:nth-child(odd) { border-right: 1px solid var(--ocf-border-light); padding-right: 2rem; }
    .chiro1-faq-item:nth-child(even) { padding-left: 2rem; }
}

.chiro1-faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--ocf-font-body);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--ocf-heading);
    transition: color 0.3s ease;
}

.chiro1-faq-trigger:hover { color: var(--ocf-accent); }

.chiro1-faq-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--ocf-label);
}

.chiro1-faq-item.open .chiro1-faq-icon {
    transform: rotate(45deg);
    color: var(--ocf-accent);
}

.chiro1-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.chiro1-faq-answer p {
    padding-bottom: 1.25rem;
    font-size: var(--text-sm);
    line-height: 1.7;
    color: var(--ocf-body);
}


/* ─── Shared button overrides ─── */

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: var(--ocf-accent);
    color: #fff;
    font-family: var(--ocf-font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover { background: var(--ocf-accent-hover); transform: translateY(-1px); }
.btn-primary svg { width: 1rem; height: 1rem; }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--ocf-heading-alt);
    font-family: var(--ocf-font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.05em;
    border: 1px solid var(--ocf-border-alt);
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.25);
}

.btn-ghost svg { width: 1rem; height: 1rem; }


/* ═══════════════════════════════════════════════
   Shared Detail Layout (Service single page)
   ═══════════════════════════════════════════════ */

.base1-detail-section { background: var(--ocf-bg); }

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

@media (min-width: 1024px) {
    .base1-detail-grid {
        grid-template-columns: 1fr 320px;
        gap: 4rem;
    }
}

@media (min-width: 1280px) {
    .base1-detail-grid { gap: 5rem; }
}

.base1-detail-content { min-width: 0; }

.base1-detail-lead {
    font-family: var(--ocf-font-heading), Georgia, serif;
    font-size: var(--text-xl);
    font-weight: 400;
    line-height: 1.7;
    color: var(--ocf-heading);
    letter-spacing: -0.01em;
    margin-bottom: 2.5rem;
}

.base1-detail-img {
    margin-bottom: 3rem;
    border-radius: var(--radius);
    overflow: hidden;
}

.base1-detail-img img { width: 100%; height: auto; display: block; }

.base1-detail-features {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--ocf-border-light);
}

.base1-detail-features-eyebrow { margin-bottom: 1.5rem; }

.base1-detail-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .base1-detail-features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem 2.5rem;
    }
}

.base1-feature-item { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.625rem 0; }
.base1-feature-item svg { width: 1.125rem; height: 1.125rem; color: var(--ocf-accent); flex-shrink: 0; margin-top: 0.125rem; }
.base1-feature-item span { font-size: var(--text-sm); color: var(--ocf-body); line-height: 1.6; }

.base1-detail-aside { display: none; }
@media (min-width: 1024px) { .base1-detail-aside { display: block; } }

.base1-detail-sticky {
    position: sticky;
    top: 9rem;
    background: var(--ocf-bg-alt);
    border: 1px solid var(--ocf-border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.base1-detail-sticky-heading {
    font-family: var(--ocf-font-heading), Georgia, serif;
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--ocf-heading);
    line-height: 1.25;
    margin-bottom: 0.5rem;
}

.base1-detail-sticky-desc { font-size: var(--text-sm); margin-bottom: 1.5rem; }
.base1-detail-sticky-btn { width: 100%; justify-content: center; }
.base1-detail-sticky-btn svg { width: 1rem; height: 1rem; }

.base1-detail-sticky-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--ocf-border-light);
}

.base1-detail-sticky-phone svg { width: 1rem; height: 1rem; color: var(--ocf-body); flex-shrink: 0; }
.base1-detail-sticky-phone a { font-size: var(--text-sm); font-weight: 500; color: var(--ocf-heading); transition: color 0.3s ease; }
.base1-detail-sticky-phone a:hover { color: var(--ocf-accent); }

.base1-detail-sticky-note {
    text-align: center;
    font-size: var(--text-xs);
    color: var(--ocf-body);
    margin-top: 1rem;
    opacity: 0.6;
}

.base1-detail-related { background: var(--ocf-bg-alt); }
