/* =====================================================
   INFO PAGES — Contact (.ct-) and About (.ab-)
   Everything else on these two pages reuses services.css
   and page-hero.css; only the bits below are new.
   ====================================================== */

/* =====================================================
   CONTACT — BRANCH CARDS
   ====================================================== */
.ct-branches {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.ct-branch {
    display: flex;
    flex-direction: column;
    padding: 26px 24px 24px;
    background: #ffffff;
    border: 1px solid #e8e3da;
    border-radius: 20px;
    transition: transform 350ms cubic-bezier(.2, .8, .2, 1),
                box-shadow 350ms cubic-bezier(.2, .8, .2, 1),
                border-color 350ms ease;
}

.ct-branch:hover {
    transform: translateY(-5px);
    border-color: rgba(254, 111, 1, .38);
    box-shadow: 0 24px 48px rgba(23, 23, 20, .1);
}

/* Location image, styled like .ct-map but sized to sit inside the card. */
.ct-branch-media {
    margin-bottom: 18px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e8e3da;
    background: var(--cream-2, #faf6ef);
}

.ct-branch-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 857 / 335;
    object-fit: cover;
}

.ct-branch-head {
    display: flex;
    align-items: center;
    gap: 13px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f1ece3;
}

.ct-branch-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #ffe9db;
    color: var(--orange-dark, #cb5901);
    transition: all 320ms cubic-bezier(.2, .8, .2, 1);
}

.ct-branch:hover .ct-branch-icon {
    background: var(--orange, #fe6f01);
    color: #ffffff;
}

.ct-branch-icon i,
.ct-branch-icon svg {
    width: 19px;
    height: 19px;
}

.ct-branch-name {
    font-family: "Manrope", sans-serif;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -.5px;
    color: var(--black, #171714);
}

.ct-branch-tag {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--orange-dark, #cb5901);
}

/* ---- Detail rows ---- */
.ct-rows {
    display: grid;
    gap: 14px;
    padding: 18px 0 20px;
}

.ct-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.ct-row i,
.ct-row svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 3px;
    color: var(--orange, #fe6f01);
}

.ct-row dt {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    color: #a8a294;
}

.ct-row dd {
    margin-top: 2px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.55;
    color: var(--black, #171714);
    word-break: break-word;
}

.ct-row dd a {
    transition: color 240ms ease;
}

.ct-row dd a:hover {
    color: var(--orange-dark, #cb5901);
}

/* ---- Card actions ---- */
.ct-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: auto;
}

.ct-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    transition: all 300ms cubic-bezier(.2, .8, .2, 1);
}

.ct-btn i,
.ct-btn svg {
    width: 15px;
    height: 15px;
    font-size: 15px;
}

.ct-btn-wa {
    background: #25d366;
    color: #06331a;
}

.ct-btn-wa:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(37, 211, 102, .3);
}

.ct-btn-ghost {
    background: #f6f1e8;
    color: var(--black, #171714);
}

.ct-btn-ghost:hover {
    background: var(--orange, #fe6f01);
    transform: translateY(-2px);
}

/* =====================================================
   CONTACT — MAP
   ====================================================== */
.ct-map {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #e8e3da;
    background: #ffffff;
    box-shadow: 0 24px 52px rgba(23, 23, 20, .1);
}

.ct-map img {
    display: block;
    width: 100%;
    height: auto;
}

.ct-map figcaption {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    border-top: 1px solid #f1ece3;
    font-size: 13px;
    line-height: 1.6;
    color: var(--gray, #706b61);
}

.ct-map figcaption i,
.ct-map figcaption svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: var(--orange, #fe6f01);
}

/* =====================================================
   ABOUT — NUMBERS
   ====================================================== */
.ab-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.ab-stat {
    padding: 26px 22px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #e8e3da;
    text-align: center;
    transition: transform 350ms cubic-bezier(.2, .8, .2, 1), box-shadow 350ms ease;
}

.ab-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 44px rgba(23, 23, 20, .09);
}

.ab-stat strong {
    display: block;
    font-family: "Manrope", sans-serif;
    font-size: clamp(30px, 3.6vw, 42px);
    font-weight: 800;
    letter-spacing: -1.6px;
    line-height: 1;
    color: var(--orange-dark, #cb5901);
}

.ab-stat span {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray, #706b61);
    line-height: 1.5;
}

/* =====================================================
   RESPONSIVE
   ====================================================== */
@media (max-width: 1000px) {
    .ab-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    .ct-branches {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .ab-stats {
        grid-template-columns: 1fr;
    }
    .ct-branch {
        padding: 22px 18px 20px;
    }
    .ct-actions .ct-btn {
        flex: 1 1 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ct-branch,
    .ct-btn,
    .ab-stat {
        transition: none;
    }
}

/*
 * SR#24 — the branch's live Google map, in the same slot the photograph uses.
 *
 * Same border, radius and aspect ratio as `.ct-branch-media img`, so a card with a map and a card
 * with a photograph line up in the grid. `width: 100%` with a border-box ratio is what keeps the
 * iframe inside the card on a phone: an iframe defaults to 300px wide and would otherwise sit
 * short of the card's edge, and a fixed pixel width would push the page sideways.
 */
.ct-branch-map iframe {
    display: block;
    width: 100%;
    aspect-ratio: 857 / 335;
    border: 0;
}

/*
 * SR#33 — the branch card's empty map state.
 *
 * Occupies exactly the slot the map would, so a card without a location lines up in the grid with
 * one that has it. Says plainly that there is no map rather than showing a picture of a different
 * place, which is what the static fallback image did.
 */
.ct-branch-nomap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    aspect-ratio: 857 / 335;
    color: var(--gray, #706b61);
    font-size: 13.5px;
    font-weight: 600;
    text-align: center;
    background:
        repeating-linear-gradient(45deg, #f4f1ea 0 10px, #faf6ef 10px 20px);
}
.ct-branch-nomap svg { width: 22px; height: 22px; opacity: .55; }
