/* ============================================================
   TIP LOCATIONS
   ============================================================ */

.tip-locations,
.tip-locations *,
.tip-locations *::before,
.tip-locations *::after {
    box-sizing: border-box;
}

.tip-locations {
    --tip-red: #e30613;
    --tip-red-dark: #bd0010;
    --tip-yellow: #ffd600;
    --tip-dark: #15171a;
    --tip-text: #555960;
    --tip-muted: #777b81;
    --tip-bg: #ffffff;
    --tip-card: #ffffff;
    --tip-soft: #f7f7f7;
    --tip-border: #e7e7e7;
    --tip-description: #6e7277;

    position: relative;
    width: 100%;
    padding: 108px 0 112px;
    overflow: hidden;
    background: var(--tip-bg);
    font-family: "Inter", Arial, sans-serif;
}

.tip-locations::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--tip-red) 0%, var(--tip-red) 84%, var(--tip-yellow) 84%, var(--tip-yellow) 100%);
}

.tip-locations.tip-locations--no-top-line::before {
    display: none;
}

.tip-locations__container {
    width: calc(100% - 80px);
    max-width: 1350px;
    margin: 0 auto;
}

.tip-locations__header {
    max-width: 760px;
    margin: 0 auto 58px;
    text-align: center;
}

.tip-locations__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--tip-muted);
    font-size: 10px;
    font-weight: 450;
    line-height: 1;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.tip-locations__eyebrow > span {
    width: 30px;
    height: 1px;
    background: var(--tip-red);
}

.tip-locations__header h2 {
    margin: 0;
    color: var(--tip-dark);
    font-size: clamp(39px, 3.45vw, 54px);
    font-weight: 610;
    line-height: 1.04;
    letter-spacing: -.043em;
    text-wrap: balance;
}

.tip-locations__header h2 strong {
    position: relative;
    display: inline-block;
    color: var(--tip-red);
    font-weight: 610;
}

.tip-locations__header h2 strong::after {
    content: "";
    position: absolute;
    left: 2px;
    bottom: -7px;
    width: 62px;
    height: 3px;
    background: var(--tip-yellow);
}

.tip-locations__header p {
    max-width: 680px;
    margin: 25px auto 0;
    color: var(--tip-text);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.72;
}

.tip-locations__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.tip-location {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--tip-card);
    border: 1px solid var(--tip-border);
    border-radius: 8px;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.tip-location:hover {
    transform: translateY(-6px);
    border-color: rgba(227, 6, 19, .17);
    box-shadow: 0 20px 48px rgba(20, 22, 25, .08);
}

.tip-location__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 20px 21px 15px;
}

.tip-location__number {
    min-width: 18px;
    color: #b7b9bd;
    font-size: 10px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: .10em;
}

.tip-location__number--hidden {
    visibility: hidden;
}

.tip-location__place {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--tip-red);
    font-size: 10px;
    font-weight: 550;
    line-height: 1;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.tip-location__pin {
    width: 11px;
    height: 11px;
    flex: 0 0 11px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tip-location__logo {
    position: relative;
    height: 142px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 20px;
    padding: 16px;
    overflow: hidden;
    background: var(--tip-soft);
    border-radius: 5px;
}

.tip-location__logo img {
    display: block;
    width: 100%;
    max-width: 265px;
    height: auto;
    max-height: 105px;
    object-fit: contain;
    transition: transform .35s ease;
}

.tip-location:hover .tip-location__logo img {
    transform: scale(1.025);
}

.tip-location__logo-line {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    display: flex;
}

.tip-location__logo-line span {
    width: 79%;
    background: var(--tip-red);
}

.tip-location__logo-line i {
    flex: 1;
    background: var(--tip-yellow);
}

.tip-location__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 23px 21px 21px;
}

.tip-location h3 {
    margin: 0;
    color: var(--tip-dark);
    font-size: 19px;
    font-weight: 610;
    line-height: 1.2;
    letter-spacing: -.025em;
}

.tip-location__area {
    margin: 6px 0 0;
    color: var(--tip-red);
    font-size: 11px;
    font-weight: 520;
    line-height: 1.4;
}

.tip-location__description {
    flex: 1;
    min-height: 64px;
    margin: 15px 0 0;
    color: var(--tip-description);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.6;
}

.tip-location__button,
.tip-location__button:link,
.tip-location__button:visited {
    min-height: 56px;
    display: flex;
    align-items: stretch;
    margin-top: 23px;
    overflow: hidden;
    color: #fff !important;
    background: var(--tip-red) !important;
    border: 1px solid var(--tip-red) !important;
    border-radius: 9px;
    text-decoration: none !important;
    box-shadow: 0 10px 24px rgba(227, 6, 19, .13);
    transition: transform .25s ease, background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.tip-location__button-text {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 18px;
    color: #fff !important;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.005em;
}

.tip-location__button-arrow {
    width: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    color: #111 !important;
    background: var(--tip-yellow) !important;
    transition: width .27s ease;
}

.tip-location__button-arrow svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .27s ease;
}

.tip-location__button:hover {
    transform: translateY(-2px);
    color: #fff !important;
    background: var(--tip-red-dark) !important;
    border-color: var(--tip-red-dark) !important;
    box-shadow: 0 14px 30px rgba(227, 6, 19, .20);
}

.tip-location__button:hover .tip-location__button-arrow {
    width: 61px;
}

.tip-location__button:hover .tip-location__button-arrow svg {
    transform: translateX(3px);
}

.tip-location__button:focus-visible {
    outline: 3px solid var(--tip-yellow);
    outline-offset: 4px;
}

@media (max-width: 1100px) {
    .tip-locations {
        padding: 90px 0;
    }

    .tip-locations__container {
        width: calc(100% - 52px);
    }

    .tip-locations__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 21px;
    }

    .tip-location__logo {
        height: 155px;
    }

    .tip-location__description {
        min-height: auto;
    }
}

@media (max-width: 767px) {
    .tip-locations {
        padding: 74px 0 78px;
    }

    .tip-locations__container {
        width: calc(100% - 38px);
    }

    .tip-locations__header {
        margin-bottom: 42px;
        text-align: left;
    }

    .tip-locations__eyebrow {
        justify-content: flex-start;
        margin-bottom: 14px;
        font-size: 9px;
    }

    .tip-locations__header h2 {
        font-size: clamp(35px, 9.5vw, 44px);
        font-weight: 600;
    }

    .tip-locations__header p {
        margin-top: 22px;
        font-size: 14px;
        line-height: 1.65;
    }

    .tip-locations__grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .tip-location {
        border-radius: 7px;
    }

    .tip-location__head {
        padding: 19px 19px 14px;
    }

    .tip-location__logo {
        height: 145px;
        margin: 0 19px;
    }

    .tip-location__body {
        padding: 21px 19px 20px;
    }

    .tip-location h3 {
        font-size: 20px;
    }

    .tip-location__description {
        min-height: 0;
    }

    .tip-location__button {
        margin-top: 21px;
    }
}

@media (max-width: 410px) {
    .tip-locations__container {
        width: calc(100% - 30px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .tip-location,
    .tip-location__logo img,
    .tip-location__button,
    .tip-location__button-arrow,
    .tip-location__button-arrow svg {
        transition: none !important;
    }
}
