/* ============================================
   Schlickmann Design System
   Shared component classes used across all pages.
   Loaded site-wide after schlickmann.css.

   Tokens: --color-primary (#12243B navy), --color-secondary (#6D8BB2 steel),
           --color-primary-light (#728CAC accent), --color-gold (#B8924E),
           --color-text (#2d2d2d), --color-text-muted (#636363),
           --color-bg-alt (#F9F9FB)
   Heading font: Roc Grotesk · Body: Roboto
   ============================================ */

/* ── Section structure ──────────────────────── */
.section-pad         { padding: 90px 0; }
.section-pad-tight   { padding: 70px 0; }
.section-pad-wide    { padding: 110px 0; }
.section-bg-muted    { background: var(--color-bg-alt); }
.section-bg-navy     { background: var(--color-primary); color: #fff; }

/* ── Eyebrow label (uppercase with border-left) ── */
.section-label {
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 18px;
    padding-left: 10px;
    border-left: 3px solid var(--color-secondary);
    line-height: 1.4;
}
.section-label--white  { color: rgba(255, 255, 255, 0.85); border-left-color: rgba(255, 255, 255, 0.7); }
.section-label--accent { color: #728CAC; border-left-color: #728CAC; }

/* ── Section h2 with split colors ── */
.section-h2 {
    font-family: var(--font-heading);
    font-size: 48px !important;
    font-weight: 600 !important;
    line-height: 48px !important;
    letter-spacing: normal !important;
    margin: 0 0 24px;
    color: #728CAC !important;
}
.section-h2 span { display: block; }
.section-h2 > span:first-child { color: #12243B; }
.section-h2 .text-accent,
.text-accent { color: #728CAC; display: block; }
.section-h2--white { color: #fff !important; }
.section-h2--white > span:first-child { color: #FFFFFF !important; }

/* ── Section header wrapper ── */
.section-header { text-align: center; max-width: 780px; margin: 0 auto 50px; padding: 0 16px; }
.section-header--left { text-align: left; max-width: none; padding: 0; margin-left: 0; margin-right: 0; }
.section-subtitle {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.65;
    margin: 0 auto;
    max-width: 640px;
}

/* ── Pill buttons (WP-fidelity sizing) ── */
.btn-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 15px 30px;
    border-radius: 999px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    border: 1.5px solid transparent;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}
.btn-pill svg { stroke-width: 2.5; }
.btn-pill--dark   { background: #6D8BB2; color: #000; border-color: #6D8BB2; }
.btn-pill--dark:hover { background: #5a7898; border-color: #5a7898; transform: translateY(-1px); }
.btn-pill--light  { background: transparent; color: #000; border-color: #6D8BB2; }
.btn-pill--light:hover { background: rgba(109,139,178,0.08); transform: translateY(-1px); }
.btn-pill--accent { background: #6D8BB2; color: #000; border-color: #6D8BB2; }
.btn-pill--accent:hover { background: #5a7898; transform: translateY(-1px); }
.btn-pill--ghost  { background: rgba(255,255,255,0.06); color: #fff; border-color: rgba(255,255,255,0.55); backdrop-filter: blur(4px); }
.btn-pill--ghost:hover { background: rgba(255,255,255,0.14); border-color: #fff; transform: translateY(-1px); }
.btn-pill--solid-light { background: #fff; color: var(--color-primary); border-color: #fff; box-shadow: 0 8px 22px rgba(0,0,0,0.12); }
.btn-pill--solid-light:hover { background: var(--color-secondary); border-color: var(--color-secondary); color: #fff; transform: translateY(-1px); }
.btn-pill.btn-lg { padding: 18px 36px; font-size: 17px; }

/* ── Eyebrow pill with optional pulse dot (used on home + quote) ── */
.eyebrow-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(109, 139, 178, 0.15);
    border: 1px solid rgba(109, 139, 178, 0.4);
    color: rgba(255, 255, 255, 0.92);
    font-family: 'Roboto', sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1.4;
}
.eyebrow-pill--light {
    background: rgba(109,139,178,0.10);
    color: var(--color-secondary);
    border-color: rgba(109,139,178,0.25);
}
.eyebrow-pulse {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #54E0A0;
    box-shadow: 0 0 0 0 rgba(84,224,160,0.6);
    animation: eyebrowPulse 2s ease-out infinite;
}
@keyframes eyebrowPulse {
    0%   { box-shadow: 0 0 0 0 rgba(84,224,160,0.6); }
    70%  { box-shadow: 0 0 0 10px rgba(84,224,160,0); }
    100% { box-shadow: 0 0 0 0 rgba(84,224,160,0); }
}

/* ── Card (white) — generic surface ── */
.ds-card {
    background: #FFFFFF;
    border: 1px solid #EEF1F5;
    border-radius: 16px;
    padding: 28px 26px;
    box-shadow: 0 6px 18px rgba(18, 36, 59, 0.06);
    transition: transform 0.32s ease, box-shadow 0.32s ease;
}
.ds-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(18, 36, 59, 0.10);
}
.ds-card--feature {
    padding: 32px 28px;
}
.ds-card-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--color-primary), #1a2c4a);
    color: #FFFFFF;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
    box-shadow: 0 6px 18px rgba(18,36,59,0.18);
}
.ds-card-icon--accent { background: linear-gradient(135deg, var(--color-secondary), #5a7898); }
.ds-card h3, .ds-card-title {
    font-family: var(--font-heading) !important;
    font-size: 1.18rem !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    color: var(--color-primary) !important;
    margin: 0 0 10px !important;
}
.ds-card p, .ds-card-desc {
    font-size: 0.94rem;
    line-height: 1.65;
    color: var(--color-text-muted);
    margin: 0;
}

/* ── Stats counter row ── */
.ds-stats {
    display: flex; align-items: stretch;
    justify-content: space-between;
    gap: 30px;
}
.ds-stat-item { flex: 1; text-align: center; }
.ds-stat-divider { width: 1px; background: #E1E5EB; align-self: stretch; }
.ds-stat-value {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1;
    color: var(--color-secondary);
    display: inline-flex; align-items: baseline;
}
.ds-stat-suffix { color: var(--color-secondary); }
.ds-stat-label {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-top: 12px;
}
@media (max-width: 768px) {
    .ds-stats { flex-direction: column; gap: 24px; }
    .ds-stat-divider { width: 80%; height: 1px; align-self: center; }
}

/* ============================================
   Review card (.review-*) — shared across home carousel + /reviews grid
   Default width is 100% (fills container); home carousel overrides via cqi.
   ============================================ */
.review-card {
    width: 100%;
    min-height: 300px;
    background: #FFFFFF;
    border-radius: 14px;
    padding: 22px 22px 20px;
    color: var(--color-text);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
    display: flex; flex-direction: column;
    gap: 12px;
    box-sizing: border-box;
}
.review-card-header { display: flex; align-items: center; gap: 10px; }
.review-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--color-bg-alt);
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-primary);
    font-size: 17px;
    line-height: 1;
}
.review-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.review-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.review-author { font-size: 0.92rem; font-weight: 600; color: var(--color-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.review-date { font-size: 0.74rem; color: var(--color-text-muted); }
.review-source { width: 20px; height: 20px; flex-shrink: 0; }
.review-stars {
    font-size: 0.98rem;
    color: var(--color-gold);
    letter-spacing: 2.5px;
    line-height: 1;
}
.review-stars-empty { color: #E1E5EB; }
.review-text {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--color-text);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: -webkit-line-clamp 0.3s ease;
}
.review-card.expanded .review-text {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}
.review-toggle {
    align-self: flex-start;
    background: none; border: 0; padding: 0;
    color: var(--color-secondary);
    font-family: 'Roboto', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.2s ease;
    margin-top: -2px;
}
.review-toggle:hover { color: var(--color-primary); }
.review-toggle[hidden] { display: none; }

/* ============================================
   Closing CTA pattern (.cta-final-*) — used on every page
   2-col grid: content LEFT (eyebrow+h2+lead+trust+areas+actions)
              + glassmorphism card RIGHT (phone+divider+schedule+meta)
   ============================================ */
.cta-final-section {
    padding: 110px 0 120px;
    background:
        radial-gradient(circle at 15% 20%, rgba(109, 139, 178, 0.18) 0%, transparent 55%),
        radial-gradient(circle at 90% 80%, rgba(184, 146, 78, 0.10) 0%, transparent 50%),
        linear-gradient(135deg, var(--color-primary) 0%, #1a2c4a 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta-final-section .container { max-width: 1500px; }
.cta-final-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 70px;
    align-items: center;
}

.cta-final-content { color: #fff; }
.cta-final-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(109, 139, 178, 0.15);
    border: 1px solid rgba(109, 139, 178, 0.4);
    color: rgba(255, 255, 255, 0.92);
    font-family: 'Roboto', sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 22px;
}
.cta-final-pulse {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #54E0A0;
    box-shadow: 0 0 0 0 rgba(84, 224, 160, 0.6);
    animation: ctaPulse 2s ease-out infinite;
}
@keyframes ctaPulse {
    0%   { box-shadow: 0 0 0 0 rgba(84, 224, 160, 0.6); }
    70%  { box-shadow: 0 0 0 10px rgba(84, 224, 160, 0); }
    100% { box-shadow: 0 0 0 0 rgba(84, 224, 160, 0); }
}

.cta-final-section .section-h2 { color: #fff !important; margin: 0 0 22px; text-align: left; }
.cta-final-section .section-h2 > span:first-child { color: #fff !important; }

.cta-final-lead {
    font-family: 'Roboto', sans-serif;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.86);
    margin: 0 0 28px;
    max-width: 580px;
}
.cta-final-lead strong { color: #fff; font-weight: 600; }

.cta-final-trust {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 28px;
}
.cta-final-trust li {
    display: flex; align-items: center; gap: 10px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.92rem;
    line-height: 1.4;
}
.cta-final-trust li svg { color: var(--color-secondary); flex-shrink: 0; }
.cta-final-trust li strong { color: #fff; font-weight: 600; }

.cta-final-areas {
    margin: 22px 0 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.86rem;
    line-height: 1.6;
}
.cta-final-areas-label {
    display: inline-block;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 10.5px;
    color: var(--color-secondary);
    margin-right: 6px;
}
.cta-final-areas strong { color: #fff; font-weight: 600; }

/* RIGHT card (glassmorphism) */
.cta-final-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    padding: 36px 32px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
    color: #fff;
}
.cta-final-card-eyebrow {
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: 8px;
}
.cta-final-card-title {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    margin: 0 0 22px;
}

.cta-final-phone {
    display: flex; align-items: center; gap: 14px;
    padding: 18px 20px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    text-decoration: none;
    color: #fff;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}
.cta-final-phone:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.32);
    transform: translateY(-1px);
}
.cta-final-phone-icon {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--color-secondary);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.cta-final-phone-body { display: flex; flex-direction: column; gap: 2px; }
.cta-final-phone-label {
    font-family: 'Roboto', sans-serif;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-secondary);
}
.cta-final-phone-num {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}
.cta-final-phone-hours { font-size: 11.5px; color: rgba(255, 255, 255, 0.6); }

.cta-final-divider {
    display: flex; align-items: center; gap: 12px;
    margin: 18px 0;
    color: rgba(255, 255, 255, 0.45);
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.cta-final-divider::before,
.cta-final-divider::after {
    content: ''; flex: 1; height: 1px;
    background: rgba(255, 255, 255, 0.14);
}

.cta-final-schedule {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 16px 22px;
    border-radius: 14px;
    background: #FFFFFF;
    color: var(--color-primary);
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-decoration: none;
    transition: background 0.22s ease, transform 0.2s ease, box-shadow 0.22s ease;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
}
.cta-final-schedule:hover {
    background: var(--color-secondary);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(109, 139, 178, 0.4);
}

.cta-final-meta {
    margin: 26px 0 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    display: flex; flex-direction: column; gap: 14px;
}
.cta-final-meta > div { display: flex; align-items: flex-start; gap: 12px; }
.cta-final-meta dt {
    width: 28px; height: 28px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(109, 139, 178, 0.18);
    color: var(--color-secondary);
    display: flex; align-items: center; justify-content: center;
    margin-top: 2px;
}
.cta-final-meta dd { margin: 0; font-size: 12.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.78); }

@media (max-width: 1100px) {
    .cta-final-grid { grid-template-columns: 1fr; gap: 50px; }
    .cta-final-card { max-width: 480px; }
}
@media (max-width: 768px) {
    .cta-final-section { padding: 80px 0 90px; }
    .cta-final-trust { grid-template-columns: 1fr; gap: 12px; }
    .cta-final-card { padding: 28px 24px; }
    .cta-final-card-title { font-size: 1.4rem; }
    .cta-final-phone-num { font-size: 1.2rem; }
}
