/* ============================================================
   CONTACTS PAGE
   ============================================================ */

.contacts-page {
    background: #fff;
}

.contacts-page__main {
    padding: 33px 0 74px;
    overflow-x: clip;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */

.contacts-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 62px;
    font-size: 13px;
    font-weight: 300;
    line-height: 20px;
    letter-spacing: 0.35px;
    text-transform: uppercase;
    color: #555;
}

.contacts-breadcrumb__link {
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
}

.contacts-breadcrumb__link:hover {
    color: #151515;
}

.contacts-breadcrumb__sep {
    color: #555;
}

.contacts-breadcrumb__current {
    color: #555;
}

/* ============================================================
   LAYOUT
   ============================================================ */

.contacts-layout {
    display: grid;
    grid-template-columns: minmax(0, 410px) minmax(0, 1fr);
    column-gap: 60px;
    row-gap: 28px;
    align-items: stretch;
}

/* ============================================================
   CONTACT CARD
   ============================================================ */

.contacts-card {
    --contacts-card-padding-x: 45.27px;
    width: 100%;
    max-width: 410px;
    min-height: 482px;
    height: auto;
    padding: 43.52px var(--contacts-card-padding-x) 32px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.contacts-card__item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    min-width: 0;
}

.contacts-card__section-divider {
    display: block;
    width: calc(100% + 2 * var(--contacts-card-padding-x));
    margin-inline: calc(-1 * var(--contacts-card-padding-x));
    height: 1px;
    background: rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.contacts-card__item + .contacts-card__section-divider {
    margin-top: 32px;
    margin-bottom: 16px;
}

.contacts-card__item--phone + .contacts-card__section-divider {
    margin-top: 32px;
    margin-bottom: 16px;
}

.contacts-card__link-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}

.contacts-card__link-end {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

.contacts-card__divider {
    width: 1px;
    height: 18px;
    background: rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.contacts-card__label {
    display: block;
    margin: 0;
    color: #666;
    font-size: 17px;
    font-weight: 300;
    line-height: 28px;
    text-transform: lowercase;
}

.contacts-card__value {
    display: block;
    margin: 0;
    color: #151515;
    font-size: 23px;
    font-weight: 400;
    line-height: 28px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.contacts-card__value--text {
    max-width: 100%;
}

.contacts-card__value--link {
    text-transform: lowercase;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

.contacts-card__value--link:hover {
    color: #333;
}

.contacts-card__link-row .contacts-card__value {
    margin: 0;
    flex: 1;
    min-width: 0;
}

.contacts-card__arrow {
    width: 13px;
    height: 14px;
    flex-shrink: 0;
    display: block;
    pointer-events: none;
}

.contacts-card__whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: auto;
    width: 320px;
    max-width: 100%;
    height: 50px;
    min-height: 50px;
    max-height: 50px;
    padding: 0;
    border: 1px solid #acacac;
    border-radius: 300px;
    box-sizing: border-box;
    color: #151515;
    font-size: 18px;
    font-weight: 700;
    line-height: 18px;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color 0.2s, background 0.2s;
}

.contacts-card__whatsapp:hover {
    border-color: #151515;
}

/* ============================================================
   MAP
   ============================================================ */

.contacts-map {
    width: 100%;
    min-width: 0;
    min-height: 482px;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: #f0f0f0;
}

.contacts-map__iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-height: 482px;
    border: 0;
}
