/* Footer: secondary rule, dark band; brand column (logo, description, display-type phone, contact lines) beside
 * three link columns with secondary headings; hairline above the bottom bar. */
.ocf-footer {
    background: var(--cardinal-band);
    color: var(--ocf-body-alt);
}

.ocf-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 340fr) minmax(0, 876fr);
    gap: calc(var(--ocf-grid-gap) * 2.667);
    padding-block: calc(var(--ocf-space-unit) * 4.5) calc(var(--ocf-space-unit) * 3.5);
}

.ocf-footer-brand-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: calc(var(--ocf-space-unit) * 1.125);
}

.ocf-footer-brand .ocf-brand-image { object-position: left center; }

.ocf-footer-brand-column > p {
    color: var(--ocf-body-alt);
    font-size: calc(var(--font-body-size) * 0.889);
    line-height: 1.625;
}

.ocf-footer-phone {
    color: var(--ocf-heading-alt);
    font-family: var(--ocf-font-heading), system-ui, sans-serif;
    font-size: calc(var(--font-h3-size) * 1.25);
    font-weight: var(--ocf-font-h2-weight);
    line-height: 1.07;
}

.ocf-footer-phone:hover { color: var(--ocf-secondary); }

.ocf-footer-contact {
    display: grid;
    gap: calc(var(--ocf-space-unit) * 0.5);
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: var(--ocf-font-small-size);
    line-height: 1.55;
}

.ocf-footer-contact a,
.ocf-footer-contact__row {
    display: inline-flex;
    align-items: flex-start;
    gap: calc(var(--ocf-space-unit) * 0.5);
    color: var(--ocf-body-alt);
}

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

.ocf-footer-icon {
    flex-shrink: 0;
    width: calc(var(--ocf-space-unit) * 1);
    height: calc(var(--ocf-space-unit) * 1);
    margin-top: 0.15em;
    color: var(--ocf-secondary);
}

.ocf-footer-columns {
    display: flex;
    flex-wrap: wrap;
    gap: calc(var(--ocf-grid-gap) * 1.5) calc(var(--ocf-grid-gap) * 2.667);
}

.ocf-footer-columns > nav { min-width: calc(var(--ocf-space-unit) * 8); }

.ocf-footer-heading {
    margin-bottom: calc(var(--ocf-space-unit) * 0.875);
    color: var(--ocf-secondary);
    font-family: var(--ocf-font-heading), system-ui, sans-serif;
    font-size: var(--cardinal-label-size);
    font-weight: var(--font-weight-bold);
    letter-spacing: var(--cardinal-label-tracking);
    line-height: 1.2;
    text-transform: uppercase;
}

.ocf-footer-links {
    display: grid;
    gap: calc(var(--ocf-space-unit) * 0.5);
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: calc(var(--font-body-size) * 0.889);
    line-height: 1.625;
}

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

.ocf-footer-bottom {
    border-top: var(--card-border-width) solid var(--ocf-border-alt);
    font-size: var(--ocf-font-small-size);
}

.ocf-footer-bottom .container-global {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: calc(var(--ocf-space-unit) * 0.5) var(--ocf-grid-gap);
    padding-block: var(--ocf-grid-gap);
}

.ocf-footer-bottom div {
    display: flex;
    flex-wrap: wrap;
    gap: calc(var(--ocf-space-unit) * 1.25);
}

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

@media (max-width: 1023px) {
    .ocf-footer-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) {
    .ocf-footer-grid { padding-block: calc(var(--ocf-space-unit) * 3) calc(var(--ocf-space-unit) * 2.5); }
    .ocf-footer-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(var(--ocf-grid-gap) * 1.333) var(--ocf-grid-gap); }
    .ocf-footer-columns > nav:first-child { grid-column: 1 / -1; }
}

/* OCF_AGENT_BLOCK:footer-logo-white START */
.ocf-footer .ocf-footer-brand { display: inline-flex; align-items: center; padding: calc(var(--ocf-space-unit) * 0.75) calc(var(--ocf-space-unit) * 1); background: #ffffff; border-radius: var(--card-radius, 8px); }
.ocf-footer .ocf-footer-brand .ocf-brand-image { filter: none !important; display: block; height: 52px; width: auto; max-width: 240px; }
/* OCF_AGENT_BLOCK:footer-logo-white END */

/* OCF_AGENT_BLOCK:mobile-cta-bar START */
.ocf-mobile-cta-bar { display: none; }
@media (max-width: 767px) {
  .ocf-mobile-cta-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: #ffffff; box-shadow: 0 -4px 18px rgba(15, 23, 42, 0.18); }
  .ocf-mobile-cta-bar__btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 10px; border-radius: 8px; font-family: var(--ocf-font-heading), system-ui, sans-serif; font-size: 15px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; text-decoration: none; text-align: center; line-height: 1.15; }
  .ocf-mobile-cta-bar__btn--call { background: var(--ocf-primary, #1D4ED8); color: #ffffff; }
  .ocf-mobile-cta-bar__btn--form { background: var(--ocf-secondary, #F5A524); color: #0f172a; }
  .ocf-mobile-cta-bar__btn svg { flex: 0 0 auto; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}
/* OCF_AGENT_BLOCK:mobile-cta-bar END */
