:root {
    --cg-contact-bordeaux: #570801;
    --cg-contact-blue: #039ee6;
    --cg-contact-magenta: #e5007e;
    --cg-contact-ink: #231f20;
    --cg-contact-copy: #5e5653;
    --cg-contact-line: #e1d8d4;
    --cg-contact-soft: #f8f4f2;
    --cg-contact-white: #ffffff;
}

.cg-contact2,
.cg-contact2 * {
    box-sizing: border-box;
}

.cg-contact2 {
    width: 100%;
    margin: 0;
    padding: 0;
}

.cg-contact2-shell {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.cg-contact2-eye,
.cg-contact2-h1,
.cg-contact2-h2,
.cg-contact2-h3,
.cg-contact2-lead,
.cg-contact2-copy,
.cg-contact2-service__desc,
.cg-contact2-new__desc,
.cg-contact2-location__title,
.cg-contact2-location__address,
.cg-contact2-close__eye,
.cg-contact2-close__title,
.cg-contact2-close__copy {
    margin: 0;
}

.cg-contact2-eye {
    color: var(--cg-contact-bordeaux);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .11em;
    line-height: 1.3;
    text-transform: uppercase;
}

.cg-contact2-h1 {
    max-width: 900px;
    margin-top: 16px;
    color: var(--cg-contact-ink);
    font-size: clamp(42px, 5vw, 66px);
    font-weight: 600;
    letter-spacing: -.035em;
    line-height: 1.04;
}

.cg-contact2-lead {
    max-width: 760px;
    margin-top: 24px;
    color: var(--cg-contact-copy);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
}

.cg-contact2-h2 {
    margin-top: 12px;
    color: var(--cg-contact-ink);
    font-size: 34px;
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.18;
}

.cg-contact2-h3,
.cg-contact2-location__title {
    color: var(--cg-contact-ink);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -.01em;
    line-height: 1.25;
}

.cg-contact2-copy {
    max-width: 720px;
    margin-top: 14px;
    color: var(--cg-contact-copy);
    font-size: 17px;
    line-height: 1.65;
}

.cg-contact2-head {
    max-width: 790px;
}

.cg-contact2-hero {
    background: var(--cg-contact-white);
}

.cg-contact2-hero__inner {
    padding-top: 96px;
    padding-bottom: 92px;
}

/* Existing patients and members first */
.cg-contact2-service {
    background: var(--cg-contact-soft);
}

.cg-contact2-service > .cg-contact2-shell {
    padding-top: 84px;
    padding-bottom: 86px;
}

.cg-contact2-service__list {
    margin-top: 42px;
    border-top: 1px solid var(--cg-contact-line);
}

.cg-contact2-service__row {
    display: grid;
    grid-template-columns: minmax(280px, .9fr) minmax(0, 1.35fr);
    align-items: center;
    gap: 54px;
    padding: 29px 0;
    border-bottom: 1px solid var(--cg-contact-line);
}

.cg-contact2-service__action.bricks-button {
    display: inline-flex;
    width: fit-content;
    min-height: 0;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--cg-contact-bordeaux) !important;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.25;
    text-align: left;
    text-decoration: none !important;
}

.cg-contact2-service__action.bricks-button::after {
    content: "→";
    display: inline-block;
    font-size: .95em;
    line-height: 1;
    transition: transform .18s ease;
}

.cg-contact2-service__action.bricks-button:hover::after,
.cg-contact2-service__action.bricks-button:focus-visible::after {
    transform: translateX(5px);
}

.cg-contact2-service__desc {
    max-width: 650px;
    color: var(--cg-contact-copy);
    font-size: 16px;
    line-height: 1.65;
}

/* New requests */
.cg-contact2-new {
    background: var(--cg-contact-white);
}

.cg-contact2-new > .cg-contact2-shell {
    padding-top: 88px;
    padding-bottom: 94px;
}

.cg-contact2-new__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 46px;
    border-top: 1px solid var(--cg-contact-line);
}

.cg-contact2-new__item {
    position: relative;
    min-height: 245px;
    padding: 34px 36px 4px 0;
}

.cg-contact2-new__item + .cg-contact2-new__item {
    padding-left: 36px;
    border-left: 1px solid var(--cg-contact-line);
}

.cg-contact2-new__item::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 76px;
    height: 4px;
}

.cg-contact2-new__item--physio::before {
    background: var(--cg-contact-blue);
}

.cg-contact2-new__item--fitness::before {
    background: var(--cg-contact-magenta);
}

.cg-contact2-new__desc {
    min-height: 78px;
    margin-top: 16px;
    color: var(--cg-contact-copy);
    font-size: 16px;
    line-height: 1.62;
}

.cg-contact2-link.bricks-button {
    display: inline-flex;
    width: fit-content;
    min-height: 0;
    align-items: center;
    gap: 9px;
    margin-top: 25px;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none !important;
}

.cg-contact2-link.bricks-button::after,
.cg-contact2-location__route.bricks-button::after,
.cg-contact2-location__page.bricks-button::after {
    content: "→";
    transition: transform .18s ease;
}

.cg-contact2-link.bricks-button:hover::after,
.cg-contact2-link.bricks-button:focus-visible::after,
.cg-contact2-location__route.bricks-button:hover::after,
.cg-contact2-location__route.bricks-button:focus-visible::after,
.cg-contact2-location__page.bricks-button:hover::after,
.cg-contact2-location__page.bricks-button:focus-visible::after {
    transform: translateX(4px);
}

.cg-contact2-link--physio.bricks-button {
    color: #007ab4 !important;
}

.cg-contact2-link--fitness.bricks-button {
    color: var(--cg-contact-magenta) !important;
}

/* Locations */
.cg-contact2-locations {
    scroll-margin-top: 110px;
    background: var(--cg-contact-soft);
}

.cg-contact2-locations > .cg-contact2-shell {
    padding-top: 88px;
    padding-bottom: 92px;
}

.cg-contact2-location__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 48px;
    border-top: 1px solid var(--cg-contact-line);
}

.cg-contact2-location {
    min-height: 310px;
    padding: 38px 44px 38px 0;
    border-bottom: 1px solid var(--cg-contact-line);
}

.cg-contact2-location:nth-child(even) {
    padding-left: 44px;
    padding-right: 0;
    border-left: 1px solid var(--cg-contact-line);
}

.cg-contact2-location__address {
    margin-top: 11px;
    color: var(--cg-contact-copy);
    font-size: 15px;
    line-height: 1.55;
}

.cg-contact2-location__phone.bricks-button {
    display: inline-flex;
    width: fit-content;
    min-height: 0;
    margin-top: 22px;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--cg-contact-bordeaux) !important;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -.015em;
    line-height: 1.2;
    text-decoration: none !important;
}

.cg-contact2-location__routes {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 26px;
}

.cg-contact2-location__route.bricks-button,
.cg-contact2-location__page.bricks-button {
    display: inline-flex;
    width: fit-content;
    min-height: 0;
    align-items: center;
    gap: 8px;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
    text-decoration: none !important;
}

.cg-contact2-location__route--physio.bricks-button {
    color: #007ab4 !important;
}

.cg-contact2-location__route--fitness.bricks-button {
    color: var(--cg-contact-magenta) !important;
}

.cg-contact2-location__page.bricks-button {
    margin-top: 28px;
    color: var(--cg-contact-bordeaux) !important;
    font-size: 14px;
}

/* Close */
.cg-contact2-close {
    background: var(--cg-contact-bordeaux);
    color: var(--cg-contact-white);
}

.cg-contact2-close__inner {
    padding-top: 82px;
    padding-bottom: 84px;
}

.cg-contact2-close__eye {
    color: rgba(255, 255, 255, .74);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .11em;
    line-height: 1.3;
}

.cg-contact2-close__title {
    max-width: 720px;
    margin-top: 13px;
    color: var(--cg-contact-white);
    font-size: 34px;
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.18;
}

.cg-contact2-close__copy {
    max-width: 690px;
    margin-top: 16px;
    color: rgba(255, 255, 255, .84);
    font-size: 17px;
    line-height: 1.65;
}

.cg-contact2-close__button.bricks-button {
    display: inline-flex;
    width: fit-content;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    margin-top: 28px;
    padding: 12px 20px !important;
    border: 1px solid var(--cg-contact-white) !important;
    border-radius: 4px !important;
    background: var(--cg-contact-white) !important;
    box-shadow: none !important;
    color: var(--cg-contact-bordeaux) !important;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none !important;
}

.cg-contact2-close__button.bricks-button:hover,
.cg-contact2-close__button.bricks-button:focus-visible {
    background: transparent !important;
    color: var(--cg-contact-white) !important;
}

.cg-contact2 a:focus-visible,
.cg-contact2 .bricks-button:focus-visible {
    outline: 3px solid rgba(229, 0, 126, .35);
    outline-offset: 4px;
}

@media (max-width: 991px) {
    .cg-contact2-shell {
        width: min(940px, calc(100% - 40px));
    }

    .cg-contact2-hero__inner {
        padding-top: 78px;
        padding-bottom: 76px;
    }

    .cg-contact2-h1 {
        font-size: 48px;
    }

    .cg-contact2-h2,
    .cg-contact2-close__title {
        font-size: 30px;
    }

    .cg-contact2-h3,
    .cg-contact2-location__title {
        font-size: 21px;
    }

    .cg-contact2-service > .cg-contact2-shell,
    .cg-contact2-new > .cg-contact2-shell,
    .cg-contact2-locations > .cg-contact2-shell {
        padding-top: 72px;
        padding-bottom: 74px;
    }

    .cg-contact2-service__row {
        grid-template-columns: minmax(230px, .9fr) minmax(0, 1.2fr);
        gap: 34px;
    }

    .cg-contact2-service__action.bricks-button {
        font-size: 21px;
    }

    .cg-contact2-new__item {
        padding-right: 24px;
    }

    .cg-contact2-new__item + .cg-contact2-new__item {
        padding-left: 24px;
    }

    .cg-contact2-location {
        padding-right: 30px;
    }

    .cg-contact2-location:nth-child(even) {
        padding-left: 30px;
    }
}

@media (max-width: 767px) {
    .cg-contact2-shell {
        width: calc(100% - 32px);
    }

    .cg-contact2-hero__inner {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .cg-contact2-h1 {
        margin-top: 13px;
        font-size: 38px;
        line-height: 1.08;
    }

    .cg-contact2-lead {
        margin-top: 20px;
        font-size: 18px;
        line-height: 1.58;
    }

    .cg-contact2-h2,
    .cg-contact2-close__title {
        font-size: 26px;
    }

    .cg-contact2-h3,
    .cg-contact2-location__title {
        font-size: 20px;
    }

    .cg-contact2-service > .cg-contact2-shell,
    .cg-contact2-new > .cg-contact2-shell,
    .cg-contact2-locations > .cg-contact2-shell {
        padding-top: 58px;
        padding-bottom: 62px;
    }

    .cg-contact2-service__list,
    .cg-contact2-new__grid,
    .cg-contact2-location__grid {
        margin-top: 34px;
    }

    .cg-contact2-service__row {
        grid-template-columns: 1fr;
        gap: 9px;
        padding: 24px 0;
    }

    .cg-contact2-service__action.bricks-button {
        width: 100%;
        justify-content: space-between;
        font-size: 20px;
    }

    .cg-contact2-new__grid,
    .cg-contact2-location__grid {
        grid-template-columns: 1fr;
    }

    .cg-contact2-new__item,
    .cg-contact2-new__item + .cg-contact2-new__item {
        min-height: 0;
        padding: 30px 0 32px;
        border-left: 0;
        border-bottom: 1px solid var(--cg-contact-line);
    }

    .cg-contact2-new__desc {
        min-height: 0;
    }

    .cg-contact2-location,
    .cg-contact2-location:nth-child(even) {
        min-height: 0;
        padding: 30px 0 34px;
        border-left: 0;
        border-bottom: 1px solid var(--cg-contact-line);
    }

    .cg-contact2-location__phone.bricks-button {
        font-size: 22px;
    }

    .cg-contact2-close__inner {
        padding-top: 60px;
        padding-bottom: 62px;
    }

    .cg-contact2-close__button.bricks-button {
        width: 100%;
    }
}
