/* ============================================================
   footer-enhance.css
   Redesign of the site FOOTER in MasterPage.master.
   The markup was rebuilt around .ft-* classes, so this file owns
   the footer outright -- the old .footer / .footer-item-* rules in
   theme.css and responsive.css no longer have anything to match.

   Palette matches header-enhance.css (logo teal):
     dark teal #006e80   base #00879d (logo)   light #00a6b8
     footer ink #1b2f3a -> #233a46   muted text #9fb3bc
   ============================================================ */

/* ============================================================
   1) SHELL
   ============================================================ */
.ft {
    position: relative;
    background: linear-gradient(180deg, #233a46 0%, #1b2f3a 100%);
    color: #c8d6dc;
    font-size: 14px;
    line-height: 1.7;
}

/* thin brand strip across the very top of the footer */
.ft::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, #006e80 0%, #00879d 55%, #00a6b8 100%);
}

.ft a { color: #c8d6dc; text-decoration: none; }
.ft a:hover,
.ft a:focus { color: #ffffff; text-decoration: none; }

/* ============================================================
   2) GRID  ->  4 columns, brand column a touch wider
   ============================================================ */
.ft-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1.15fr 1fr;
    gap: 40px 36px;
    padding: 58px 0 50px;
}

.ft-col { min-width: 0; }

/* ============================================================
   3) COLUMN HEADINGS
   ============================================================ */
.ft-title {
    position: relative;
    margin: 0 0 24px;
    padding-bottom: 12px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
}
.ft-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 38px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #00879d, #00a6b8);
}

/* ============================================================
   4) BRAND COLUMN
   ============================================================ */
.ft-logo {
    display: inline-block;
    margin-bottom: 18px;
}
.ft-logo img {
    display: block;
    width: 210px;
    height: auto;
    /* the logo is teal-on-transparent and reads muddy on the dark panel,
       so it is flipped to a flat white wordmark here */
    filter: brightness(0) invert(1);
    opacity: .95;
    transition: opacity .25s ease;
}
.ft-logo:hover img { opacity: 1; }

.ft-about {
    margin: 0 0 22px;
    max-width: 330px;
    color: #9fb3bc;
    font-size: 13.5px;
    line-height: 1.8;
}

.ft-socials { display: flex; flex-wrap: wrap; gap: 9px; }
.ft-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    color: #d5e3e8;
    font-size: 16px;
    transition: background .25s ease, border-color .25s ease,
                color .25s ease, transform .25s ease;
}
.ft-socials a:hover,
.ft-socials a:focus {
    background: linear-gradient(135deg, #00879d, #00a6b8);
    border-color: transparent;
    color: #ffffff;
    transform: translateY(-3px);
}
.ft-socials a i { line-height: 1; }

/* ============================================================
   5) TREATMENT LINK LIST
   ============================================================ */
.ft-links {
    margin: 0;
    padding: 0;
    list-style: none;
}
.ft-links li { margin-bottom: 11px; }
.ft-links li:last-child { margin-bottom: 0; }
.ft-links a {
    position: relative;
    display: inline-block;
    padding-left: 16px;
    color: #9fb3bc;
    font-size: 13.5px;
    line-height: 1.5;
    transition: color .25s ease, transform .25s ease;
}
.ft-links a::before {
    content: "\f105";                 /* fa-angle-right */
    font-family: FontAwesome;
    position: absolute;
    left: 0;
    top: 0;
    color: #00a6b8;
    transition: transform .25s ease;
}
.ft-links a:hover,
.ft-links a:focus {
    color: #ffffff;
    transform: translateX(3px);
}

/* ============================================================
   6) LOCATION BLOCKS
   ============================================================ */
.ft-loc {
    position: relative;
    margin-bottom: 20px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-left: 3px solid #00879d;
    border-radius: 8px;
    background: rgba(255, 255, 255, .04);
    transition: background .25s ease, border-left-color .25s ease;
}
.ft-loc:hover {
    background: rgba(255, 255, 255, .07);
    border-left-color: #00a6b8;
}

.ft-loc-name {
    display: block;
    margin-bottom: 5px;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .2px;
}
.ft-loc-name:hover { color: #7fe0ec !important; }

.ft-loc-addr {
    margin: 0 0 8px;
    color: #9fb3bc;
    font-size: 13px;
    line-height: 1.65;
}

.ft-loc-tel {
    display: inline-flex;
    align-items: center;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .3px;
}
.ft-loc-tel i {
    margin-right: 8px;
    color: #00a6b8;
    font-size: 14px;
}
.ft-loc-tel:hover { color: #7fe0ec !important; }

.ft-mail {
    display: inline-flex;
    align-items: center;
    margin-top: 2px;
    font-size: 13.5px;
    color: #9fb3bc;
    word-break: break-all;
}
.ft-mail i {
    margin-right: 8px;
    color: #00a6b8;
    font-size: 15px;
}
.ft-mail:hover { color: #ffffff; }

/* ============================================================
   7) BOOK-A-VISIT COLUMN
   ============================================================ */
.ft-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 11px;
    padding: 12px 16px;
    /* transparent border so the outlined WhatsApp button below matches the
       filled one's height exactly */
    border: 1px solid transparent;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .3px;
    line-height: 1.2;
    text-align: center;
    color: #ffffff !important;
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.ft-btn i { margin-right: 9px; font-size: 16px; }
.ft-btn:hover,
.ft-btn:focus {
    color: #ffffff !important;
    transform: translateY(-2px);
}

.ft-btn-primary {
    background: linear-gradient(90deg, #00879d, #00a6b8);
    box-shadow: 0 6px 18px rgba(0, 134, 157, .32);
}
.ft-btn-primary:hover { box-shadow: 0 9px 24px rgba(0, 134, 157, .45); }

.ft-btn-wa {
    background: transparent;
    border: 1px solid rgba(37, 211, 102, .55);
    color: #6ee7a0 !important;
    box-shadow: none;
}
.ft-btn-wa:hover,
.ft-btn-wa:focus {
    background: #25d366;
    border-color: #25d366;
    color: #ffffff !important;
}

.ft-fb {
    margin-top: 18px;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    line-height: 0;
    max-width: 280px;
}
.ft-fb iframe { display: block; width: 100%; border: 0; }

/* ============================================================
   8) BOTTOM BAR
   ============================================================ */
.ft-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    background: rgba(0, 0, 0, .18);
}
.ft-bottom-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 18px;
    padding-bottom: 18px;
}
.ft-copy {
    color: #8ea5ae;
    font-size: 13px;
}
.ft-copy a { color: #c8d6dc; font-weight: 600; }
.ft-copy a:hover { color: #ffffff; }

.ft-bottom-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
}
.ft-bottom-nav a {
    position: relative;
    color: #8ea5ae;
    font-size: 13px;
}
.ft-bottom-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -4px;
    height: 1px;
    background: #00a6b8;
    transition: right .25s ease;
}
.ft-bottom-nav a:hover { color: #ffffff; }
.ft-bottom-nav a:hover::after { right: 0; }

/* ============================================================
   9) RESPONSIVE
   ============================================================ */
@media (max-width: 1199px) {
    .ft-grid { gap: 36px 28px; }
    .ft-logo img { width: 190px; }
}

/* tablet -> 2 x 2 */
@media (max-width: 991px) {
    .ft-grid {
        grid-template-columns: 1fr 1fr;
        gap: 34px 30px;
        padding: 48px 0 42px;
    }
    .ft-about { max-width: none; }
}

/* phone -> single stacked column, everything centred */
@media (max-width: 767px) {
    .ft-grid {
        grid-template-columns: 1fr;
        gap: 34px;
        padding: 40px 0 34px;
        text-align: center;
    }
    .ft-title { font-size: 16px; }
    .ft-title::after { left: 50%; transform: translateX(-50%); }

    .ft-logo img { width: 175px; margin: 0 auto; }
    .ft-socials { justify-content: center; }

    .ft-links a { padding-left: 0; }
    .ft-links a::before { display: none; }
    .ft-links a:hover { transform: none; }

    .ft-loc { border-left-width: 1px; text-align: left; }

    .ft-btn { max-width: 320px; margin-left: auto; margin-right: auto; }
    .ft-fb { margin-left: auto; margin-right: auto; }

    .ft-bottom-in {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 12px;
    }
    .ft-bottom-nav { justify-content: center; gap: 8px 18px; }
}

/* ============================================================
   10) FOCUS
   theme.css carries a global `a:focus { border: 2px solid #00dba5 }`,
   which on the footer's fixed-size pills and icon circles shows up as a
   layout-shifting green box. Swap it for an outline ring: same visible
   focus for keyboard users, no reflow.
   ============================================================ */
.ft a:focus,
.ft-bottom a:focus {
    border-color: transparent;
    border-width: 0;
    outline: 2px solid rgba(0, 166, 184, .85);
    outline-offset: 3px;
}
/* these two keep their own 1px border, so only the colour is neutralised */
.ft-socials a:focus,
.ft-btn:focus { border-width: 1px; border-color: transparent; }
.ft-btn-wa:focus { border-color: #25d366; }
