/*
 * Branch (ფილიალი) single page — transporter-core.
 * Full-bleed hero, then a centered 1500px body with a 3-column card row
 * (map | address | working hours) and a capabilities strip. Design system:
 * #F7F7F7 ground, white 5px-radius cards, no black borders, site fonts
 * (MarkGeo headings / FiraGO body) via the theme tokens with fallbacks.
 */

/* ── Hero ── */
.trc-branch__hero {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    min-height: 460px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background-color: #0f0f0f;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    isolation: isolate;
}
.trc-branch__scrim {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.72) 100%);
}
.trc-branch__hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 36px 46px;
}
.trc-branch__title {
    margin: 0 0 8px;
    font-family: var(--tr-font-ka-head, "MarkGeo", sans-serif);
    font-size: 48px;
    line-height: 1.05;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
}
.trc-branch__crumb {
    margin: 0;
    font-family: var(--tr-font-ka, "FiraGO", sans-serif);
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
}

/* ── Body ── */
.trc-branch__body {
    max-width: 1500px;
    margin: 0 auto;
    padding: 40px 0 60px;
}

.trc-branch__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}
@media (max-width: 980px) {
    .trc-branch__grid { grid-template-columns: 1fr; }
}

.trc-branch__card {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    padding: 26px 28px;
}
.trc-branch__map-card { padding: 0; overflow: hidden; }
.trc-branch__map {
    width: 100%;
    height: 100%;
    min-height: 440px;
    border-radius: 5px;
    background: #e9e9e9;
}

.trc-branch__h {
    margin: 0 0 20px;
    font-family: var(--tr-font-ka-head, "MarkGeo", sans-serif);
    font-size: 24px;
    line-height: 1.15;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--tr-text-strong, #111);
}

/* Address card */
.trc-branch__rows { display: flex; flex-direction: column; gap: 16px; }
.trc-branch__row {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    font-family: var(--tr-font-ka, "FiraGO", sans-serif);
    font-size: 15px;
    line-height: 1.5;
    color: var(--tr-text-strong, #111);
    transition: color 0.15s ease;
}
a.trc-branch__row:hover { color: var(--tr-brand, #BF3434); }
.trc-branch__ic {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--tr-brand, #BF3434);
    color: #fff;
}
.trc-branch__ic svg { display: block; }

.trc-branch__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.trc-branch__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 5px;
    background: #f3f3f3;
    color: var(--tr-text-strong, #111);
    font-family: var(--tr-font-ka, "FiraGO", sans-serif);
    font-size: 14px;
    font-weight: 600;
    transition: background 0.15s ease, color 0.15s ease;
}
.trc-branch__btn:hover { background: var(--tr-brand, #BF3434); color: #fff; }
.trc-branch__btn-ic { line-height: 0; }

/* Hours card */
.trc-branch__hours { display: flex; flex-direction: column; }
.trc-branch__hour {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-family: var(--tr-font-ka, "FiraGO", sans-serif);
    font-size: 15px;
    color: var(--tr-text-strong, #111);
}
.trc-branch__hour:last-child { border-bottom: 0; }
.trc-branch__hour.is-weekend { color: var(--tr-brand, #BF3434); }
.trc-branch__day { font-weight: 500; }
.trc-branch__time { font-variant-numeric: tabular-nums; }

/* Capabilities */
.trc-branch__caps {
    margin-top: 20px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    padding: 26px 28px;
}
.trc-branch__caps-row { display: flex; flex-wrap: wrap; gap: 28px; }
.trc-branch__cap {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--tr-font-ka, "FiraGO", sans-serif);
    font-size: 14px;
    color: var(--tr-text, #555);
}
.trc-branch__cap-ic {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f3f3f3;
    color: var(--tr-text-strong, #111);
}

@media (max-width: 600px) {
    .trc-branch__hero { min-height: 300px; }
    .trc-branch__title { font-size: 32px; }
    .trc-branch__hero-inner { padding: 0 18px 28px; }
    .trc-branch__map { min-height: 300px; }
    .trc-branch__card:not(.trc-branch__map-card),
    .trc-branch__caps { padding: 22px; }
}
