/* ==========================================================================
   Kotorska biskupija — footer
   ========================================================================== */

.kb-footer {
    background: #221a13;
    color: rgba(255, 255, 255, .72);
    font-family: var(--kb-font, 'Roboto', sans-serif);
    font-size: 15px; line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.kb-footer *, .kb-footer *::before, .kb-footer *::after { box-sizing: border-box; }
.kb-footer a { color: rgba(255, 255, 255, .86) !important; text-decoration: none !important; transition: color .2s; }
.kb-footer a:hover { color: #fff !important; }
.kb-footer ul { list-style: none; margin: 0 !important; padding: 0 !important; }
.kb-footer li { margin: 0 !important; padding: 0 !important; list-style: none; }
.kb-footer li::before { display: none !important; }
.kb-footer :focus-visible { outline: 2px solid var(--kb-gold, #c9a46a); outline-offset: 3px; }

.kb-footer__main {
    max-width: 1240px; margin: 0 auto;
    padding: clamp(44px, 5vw, 64px) 24px clamp(32px, 3.5vw, 44px);
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 4vw, 64px);
}

/* Brand u footeru */
.kb-brand--footer { margin-bottom: 14px; }
.kb-brand--footer .kb-brand__name { color: #fff; font-size: 30px; }
.kb-brand--footer .kb-brand__tag { color: var(--kb-gold, #c9a46a); }
.kb-footer__about { margin: 0 0 20px !important; max-width: 340px; color: rgba(255, 255, 255, .62); }

.kb-footer__social { display: flex !important; gap: 8px; }
.kb-footer__social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .18);
}
.kb-footer__social a:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .4); }

.kb-footer__heading {
    margin: 4px 0 16px !important;
    font-family: var(--kb-font, 'Roboto', sans-serif) !important;
    font-size: 12.5px !important; font-weight: 500 !important; line-height: 1.4 !important;
    letter-spacing: .16em !important; text-transform: uppercase !important;
    color: var(--kb-gold, #c9a46a) !important;
}

.kb-footer__links { display: grid; grid-template-columns: repeat(2, max-content); gap: 8px 32px; }
.kb-footer__links a { display: inline-block; }

.kb-footer__contact { display: grid; gap: 10px; }
.kb-footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.kb-footer__contact .kb-icon { width: 18px; height: 18px; margin-top: 3px; color: var(--kb-gold, #c9a46a); flex: none; }
.kb-footer__textlink { display: inline-block; margin-top: 14px; padding-bottom: 2px; border-bottom: 1px solid rgba(255, 255, 255, .3); font-weight: 500; }
.kb-footer__textlink:hover { border-color: #fff; }

/* Kartica "Raspored misa" */
.kb-footer__card {
    padding: 26px; border-radius: 16px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
}
.kb-footer__card > .kb-icon { width: 26px; height: 26px; color: var(--kb-gold, #c9a46a); margin-bottom: 14px; }
.kb-footer__card-title {
    margin: 0 0 8px !important;
    font-family: 'Lora', Georgia, serif !important; font-weight: 500 !important;
    font-size: 22px !important; line-height: 1.25 !important; color: #fff !important; text-transform: none !important;
}
.kb-footer__card-text { margin: 0 0 20px !important; font-size: 14.5px; color: rgba(255, 255, 255, .62); }
.kb-footer .kb-btn--light { background: #fff; color: var(--kb-ink, #2b2118) !important; height: 44px; }
.kb-footer .kb-btn--light:hover { background: #f1ece5; color: var(--kb-ink, #2b2118) !important; }

/* Donja traka */
.kb-footer__bottom {
    max-width: 1240px; margin: 0 auto; padding: 22px 24px 28px;
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: 13.5px; color: rgba(255, 255, 255, .5);
}
.kb-footer__bottom p { margin: 0 !important; }
.kb-footer__bottom a { color: rgba(255, 255, 255, .6) !important; }

@media (max-width: 1023px) {
    .kb-footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .kb-footer__col--brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .kb-footer__main { grid-template-columns: 1fr; padding: 40px 16px 28px; gap: 28px; }
    .kb-footer__links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
    .kb-footer__bottom { padding: 20px 16px 28px; flex-direction: column; }
}
