/* Home page navbar, "A: glass pill" (picked 2026-12-05).
   At the top of the page the bar is clear and sits over the banner photo with white text.
   After 30px of scrolling js/metro-glass-nav.js adds .is-solid and the bar pulls in from the
   edges into a floating frosted pill with dark text. Below 1181px it shows the logo, a call
   button and a menu button that opens a full-screen menu (#gp-sheet). */

.gp, .gp-sheet {
    --gp-red: #e90b0f;
    --gp-ink: #141416;
    --gp-sub: #5a5a62;
}
.gp {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    pointer-events: none;
}
/* soft shade at the top of the banner so white text stays readable */
.gp::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 150px;
    background: linear-gradient(180deg, rgba(0, 0, 0, .58) 0%, rgba(0, 0, 0, .22) 55%, rgba(0, 0, 0, 0) 100%);
    transition: opacity .35s ease;
    pointer-events: none;
}
.gp.is-solid::before { opacity: 0; }

.gp-in {
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 100%;
    height: 84px;
    margin: 0 auto;
    padding: 0 40px;
    border-radius: 0;
    color: #fff;
    pointer-events: auto;
    transition: max-width .45s cubic-bezier(.2, .7, .2, 1), height .35s ease, margin .35s ease, padding .35s ease,
        background-color .35s ease, box-shadow .35s ease, border-radius .45s ease, color .25s ease;
}
.gp.is-solid .gp-in {
    max-width: min(1180px, calc(100% - 40px));
    gap: 18px;
    height: 64px;
    margin-top: 12px;
    padding: 0 10px 0 22px;
    border-radius: 999px;
    color: var(--gp-ink);
    background-color: rgba(255, 255, 255, .84);
    -webkit-backdrop-filter: blur(14px) saturate(1.5);
    backdrop-filter: blur(14px) saturate(1.5);
    box-shadow: 0 12px 34px -14px rgba(0, 0, 0, .42), inset 0 0 0 1px rgba(255, 255, 255, .65);
}

/* logo: white version over the photo, dark version in the pill */
.gp h1.gp-brand { margin: 0; padding: 0; font-size: 0; line-height: 0; flex: none; }
.gp-logo { position: relative; display: block; height: 36px; width: 214px; transition: height .35s ease, width .35s ease; }
.gp-logo img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; transition: opacity .3s ease; }
.gp-logo .gp-logo-k { opacity: 0; }
.gp.is-solid .gp-logo { height: 32px; width: 190px; }
.gp.is-solid .gp-logo .gp-logo-w { opacity: 0; }
.gp.is-solid .gp-logo .gp-logo-k { opacity: 1; }

/* links */
.gp-links { display: flex; align-items: center; gap: 24px; margin: 0 auto; }
.gp .gp-links > a,
.gp .gp-dd > button {
    position: relative;
    display: inline-block;
    padding: 8px 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}
.gp .gp-links > a::after,
.gp .gp-dd > button::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 2px;
    border-radius: 2px;
    background: var(--gp-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}
.gp .gp-links > a:hover::after,
.gp .gp-links > a:focus-visible::after,
.gp .gp-links > a.is-on::after,
.gp .gp-dd:hover > button::before { transform: scaleX(1); }
.gp .gp-links > a:hover,
.gp .gp-links > a:focus { color: inherit; text-decoration: none; }

/* Services drop-down */
.gp-dd { position: relative; }
.gp .gp-dd > button::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 0 3px 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
}
.gp-dd-menu {
    position: absolute;
    top: 100%;
    left: -18px;
    min-width: 230px;
    margin-top: 12px;
    padding: 8px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .38);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.gp-dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.gp-dd:hover .gp-dd-menu,
.gp-dd.is-open .gp-dd-menu { opacity: 1; visibility: visible; transform: none; }
.gp .gp-dd-menu a {
    display: block;
    padding: 10px 14px;
    border-radius: 9px;
    color: var(--gp-ink);
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none;
}
.gp .gp-dd-menu a:hover,
.gp .gp-dd-menu a:focus { background: #fdeaea; color: var(--gp-red); text-decoration: none; }

/* phone number, CTA, call and menu buttons */
.gp-act { display: flex; align-items: center; gap: 18px; flex: none; }
/* in the pill there is less room: the phone number shows as an icon only (its number stays for screen readers) */
.gp.is-solid .gp-links { gap: 20px; }
.gp.is-solid .gp-act { gap: 12px; }
.gp.is-solid .gp-tel b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gp.is-solid .gp-tel { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(20, 20, 22, .06); }
.gp .gp-tel {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.gp .gp-tel:hover, .gp .gp-tel:focus { color: inherit; text-decoration: none; }
.gp-tel svg, .gp-call svg { width: 17px; height: 17px; flex: none; }
.gp .gp-cta,
.gp-sheet .gp-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    padding: 0 6px 0 20px;
    border-radius: 999px;
    background: var(--gp-red);
    color: #fff;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .2s ease;
}
.gp .gp-cta:hover, .gp .gp-cta:focus, .gp-sheet .gp-cta:hover, .gp-sheet .gp-cta:focus { background: #c4080c; color: #fff; text-decoration: none; }
.gp-cta i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; }
.gp-cta i svg { width: 15px; height: 15px; color: var(--gp-red); }
.gp .gp-call {
    display: none;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gp-red);
    color: #fff;
}
.gp-burger {
    display: none;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: inherit;
    cursor: pointer;
}
.gp-burger span, .gp-burger span::before, .gp-burger span::after {
    display: block;
    position: relative;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}
.gp-burger span::before, .gp-burger span::after { content: ""; position: absolute; left: 0; }
.gp-burger span::before { top: -7px; }
.gp-burger span::after { top: 7px; }
.gp a:focus-visible, .gp button:focus-visible, .gp-sheet a:focus-visible, .gp-sheet button:focus-visible {
    outline: 2px solid var(--gp-red);
    outline-offset: 3px;
    border-radius: 6px;
}

/* banner: the photo now starts at the very top, under the clear bar.
   Its old baked-in line "Complete Client Satisfaction" is real text now (.gp-tag). */
.slider { position: relative; }
.banner1 { background-image: url(../images/banner1-clean.jpg); }
.gp-tag {
    position: absolute;
    left: 40px;
    top: 104px;
    z-index: 5;
    margin: 0;
    color: #fff;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 1px 10px rgba(0, 0, 0, .35);
    pointer-events: none;
}
.gp-tag em { font-style: normal; color: #ee3939; }
.gp-tag .gp-stars { display: block; margin-top: 6px; color: #ee3939; font-size: 26px; letter-spacing: 6px; }

/* full-screen menu for phones and tablets */
.gp-sheet {
    position: fixed;
    inset: 0;
    z-index: 10060;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 22px 28px;
    overflow-y: auto;
    background: #fff;
    color: #141416;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}
.gp-sheet.is-open { opacity: 1; visibility: visible; transform: none; }
.gp-sheet-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.gp-sheet-top img { display: block; width: 190px; height: 32px; }
.gp-sheet-close {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: #f3f3f5;
    color: #141416;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}
.gp-sheet .gp-sheet-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 2px;
    border-bottom: 1px solid #ececf0;
    color: #141416;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
}
.gp-sheet .gp-sheet-link.is-on { color: #e90b0f; }
.gp-sheet .gp-sheet-link::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid #b5b5bd;
    border-bottom: 2px solid #b5b5bd;
    transform: rotate(-45deg);
}
.gp-sheet .gp-sheet-sub { padding-left: 16px; font-size: 15.5px; font-weight: 500; color: #3c3c43; }
.gp-sheet .gp-cta { margin-top: 20px; justify-content: space-between; height: 52px; flex: none; font-size: 15.5px; font-family: inherit; }
.gp-sheet .gp-sheet-contact { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: #5a5a62; }
.gp-sheet .gp-sheet-contact a { color: #141416; font-weight: 600; text-decoration: none; }
html.gp-lock, html.gp-lock body { overflow: hidden; }

/* inner pages (div.gp.gp--page): there is no banner photo under the bar, so it starts as the pill and stays
   the pill; .gp-spacer keeps the page content below it. --hn-bar is what the Legal and Personal pages'
   sticky side columns use to stop under the bar (it was set by the old header's css). */
.gp--page::before { display: none; }
.gp .gp-dd > button.is-on::before { transform: scaleX(1); }
.gp-spacer { height: 88px; }
html:has(.gp--page) { --hn-bar: 84px; scroll-padding-top: 100px; }

/* narrower screens */
@media (max-width: 1320px) {
    .gp-tel b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .gp-links { gap: 20px; }
}
@media (max-width: 1180px) {
    .gp-links, .gp .gp-tel, .gp.is-solid .gp-tel, .gp .gp-cta { display: none; }
    .gp .gp-call, .gp-burger { display: grid; }
    .gp-in { padding: 0 14px 0 20px; justify-content: space-between; height: 72px; }
    .gp-act { gap: 8px; }
    .gp.is-solid .gp-in { max-width: calc(100% - 20px); height: 58px; margin-top: 10px; padding: 0 6px 0 16px; }
    .gp-tag { left: 20px; top: 88px; font-size: 24px; }
    .gp-tag .gp-stars { font-size: 21px; letter-spacing: 4px; }
    .gp-spacer { height: 78px; }
    html:has(.gp--page) { --hn-bar: 76px; scroll-padding-top: 90px; }
}
@media (max-width: 767px) {
    .gp-in { height: 64px; padding: 0 8px 0 14px; }
    .gp-logo { height: 30px; width: 179px; }
    .gp.is-solid .gp-logo { height: 28px; width: 167px; }
    .gp.is-solid .gp-in { height: 54px; }
    .gp::before { height: 120px; }
    .banner1 { min-height: 270px; padding: 0; }
    .gp-tag { left: 16px; top: 76px; font-size: 19px; }
    .gp-tag .gp-stars { font-size: 17px; letter-spacing: 3px; margin-top: 4px; }
    .gp-spacer { height: 74px; }
}
@media (max-width: 360px) {
    .gp-logo { height: 26px; width: 155px; }
    .gp .gp-call { width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
    .gp *, .gp::before, .gp-sheet { transition: none !important; }
}
