/* ─── Carmel footer ───
 * Near-black band (--carmel-footer): brand column (logo, description, phone / email / address with light primary
 * icons) and three link columns with display-type headings; a hairline above the bottom bar. Four columns on
 * desktop, two on tablets, one on phones. */
.ocf-footer {
    padding-top: clamp(52px, 39.6px + 3.43vw, 88px);
    background: var(--carmel-footer);
    color: color-mix(in srgb, var(--carmel-on-dark) 62%, var(--carmel-footer));
    font-size: 15px;
}

.ocf-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: 48px;
}

.ocf-footer-columns { display: contents; }

.ocf-footer-brand-column { display: flex; flex-direction: column; align-items: flex-start; }
.ocf-footer-brand .ocf-brand-image { object-position: left center; }

.ocf-footer-brand-column > p {
    max-width: 320px;
    margin-top: 22px;
    color: inherit;
    line-height: 1.7;
}

.ocf-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.ocf-footer-contact a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--carmel-on-dark);
}

.ocf-footer-contact a:hover { color: var(--carmel-accent); }
.ocf-footer-contact svg { flex: none; width: 18px; height: 18px; color: var(--carmel-accent); }

.ocf-footer-heading {
    margin: 0 0 18px;
    color: var(--carmel-on-dark);
    font-family: var(--ocf-font-heading), system-ui, sans-serif;
    font-size: 26px;
    letter-spacing: 0.06em;
    line-height: 1;
    text-transform: uppercase;
}

.ocf-footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ocf-footer-links a { color: inherit; }
.ocf-footer-links a:hover { color: var(--carmel-on-dark); }

/* ocf_render_nav_menu('footer') prints bare links; keep them stacked like list items. */
.ocf-footer-links > a { display: block; }

.ocf-footer-bottom {
    margin-top: clamp(44px, 36.6px + 1.9vw, 64px);
}

.ocf-footer-bottom .container-global {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 26px 0;
    border-top: var(--card-border-width) solid color-mix(in srgb, var(--carmel-on-dark) 10%, var(--carmel-footer));
    font-size: 14px;
}

.ocf-footer-bottom .container-global > div { display: flex; flex-wrap: wrap; gap: 6px 0; }
.ocf-footer-bottom a { color: inherit; }
.ocf-footer-bottom a:hover { color: var(--carmel-on-dark); }
.ocf-footer-bottom .container-global > div > a + a::before { content: '·'; margin: 0 0.45em; }

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

@media (max-width: 640px) {
    .ocf-footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .ocf-footer-bottom .container-global { flex-direction: column; }
}

/* Carmel: footer uses --carmel-foot (primary mixed into near-black), plain sentence-case headings, no icons. */
.ocf-footer { padding-top: 72px; background: var(--carmel-foot); color: color-mix(in srgb, var(--carmel-on-dark) 62%, var(--carmel-foot)); }
.ocf-footer-grid { grid-template-columns: minmax(0, 398fr) repeat(3, minmax(0, 249fr)); gap: 56px; }
.ocf-footer-brand-column > p { margin-top: 16px; line-height: 1.6; }
.ocf-footer-contact svg { display: none; }
.ocf-footer-contact a:hover, .ocf-footer-links a:hover, .ocf-footer-bottom a:hover { color: var(--carmel-on-dark); }
.ocf-footer-heading { margin-bottom: 14px; font-family: var(--ocf-font-body), system-ui, sans-serif; font-size: 15px; font-weight: var(--font-weight-medium); letter-spacing: 0; line-height: 1.3; text-transform: none; }
.ocf-footer-links { gap: 6px; }
.ocf-footer-bottom .container-global { font-size: 13px; border-top-color: color-mix(in srgb, #fff 10%, transparent); }
@media (max-width: 1023px) { .ocf-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; } .ocf-footer-brand-column { grid-column: 1 / -1; } }
@media (max-width: 640px) { .ocf-footer { padding-top: 56px; } .ocf-footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* OCF_AGENT_BLOCK:wolf-logo-integrated-footer START */
.ocf-footer {
  background: var(--wolf-brand-surface);
  color: var(--wolf-brand-muted);
  border-top: 1px solid var(--wolf-brand-line);
  --ocf-control-accent: var(--ocf-link);
}
.ocf-footer .ocf-footer-heading,
.ocf-footer .ocf-footer-contact a { color: var(--wolf-brand-ink); }
.ocf-footer .ocf-footer-heading { font-size: 16px; font-weight: 600; }
.ocf-footer .ocf-footer-links a:hover,
.ocf-footer .ocf-footer-contact a:hover,
.ocf-footer .ocf-footer-bottom a:hover { color: var(--ocf-link); text-decoration: underline; text-underline-offset: 4px; }
.ocf-footer .ocf-footer-bottom .container-global { border-top-color: var(--wolf-brand-line); }
.ocf-footer .ocf-footer-brand-column > p { margin-top: 20px; }
@media (max-width: 640px) {
  .ocf-footer .ocf-footer-grid { gap: 32px; }
  .ocf-footer .ocf-footer-contact a { overflow-wrap: anywhere; }
}
/* OCF_AGENT_BLOCK:wolf-logo-integrated-footer END */

/* OCF_AGENT_BLOCK:wolf-reference-footer-colors START */
.ocf-footer {
  background: var(--ocf-dark-bg);
  color: var(--ocf-dark-body);
  border-top-color: var(--ocf-dark-bg);
  --ocf-control-accent: var(--ocf-primary);
}
.ocf-footer .ocf-footer-heading,
.ocf-footer .ocf-footer-contact a { color: var(--ocf-dark-heading); }
.ocf-footer .ocf-footer-links a:hover,
.ocf-footer .ocf-footer-contact a:hover,
.ocf-footer .ocf-footer-bottom a:hover { color: var(--ocf-primary); }
.ocf-footer .ocf-footer-bottom .container-global { border-top-color: var(--ocf-dark-border); }
.ocf-footer .wolf-footer-socials .wolf-social-link { color: var(--ocf-dark-heading); }
.ocf-footer .wolf-footer-socials .wolf-social-link:hover { color: var(--ocf-primary-text); background: var(--ocf-primary); }
.ocf-footer .wolf-footer-socials .wolf-social-link:focus-visible { outline-color: var(--ocf-primary); }
/* OCF_AGENT_BLOCK:wolf-reference-footer-colors END */

/* OCF_AGENT_BLOCK:wolf-service-first-footer START */
.ocf-footer { border-top: 5px solid var(--ocf-primary); }
.ocf-footer .ocf-footer-heading { font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: 15px; }
.ocf-footer .ocf-footer-links { gap: 10px; }
.ocf-footer .ocf-footer-contact a { font-weight: 600; }
.ocf-footer .ocf-footer-links a:hover,
.ocf-footer .ocf-footer-contact a:hover,
.ocf-footer .ocf-footer-bottom a:hover { color: var(--ocf-dark-heading); }
.ocf-footer .wolf-footer-socials .wolf-social-link { border: 1px solid var(--ocf-dark-border); border-radius: var(--ocf-button-radius); }
.ocf-footer .wolf-social-links { gap: 8px; }
/* OCF_AGENT_BLOCK:wolf-service-first-footer END */
