/* Contact page */
.editorial-contact {
    padding: 68px 0 105px;
}
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    overflow: hidden;
    border: 1px solid #e0e8df;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 28px 75px rgba(25, 61, 53, .08);
}
.contact-details {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: 62px 52px 30px;
    background: radial-gradient(circle at 100% 0, rgba(132, 177, 145, .24), transparent 44%), linear-gradient(145deg, #265849, #173c35 65%, #12342f);
    color: #fff;
}
.contact-details:before,
.contact-details:after {
    position: absolute;
    width: 460px;
    height: 460px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}
.contact-details:before {
    top: -300px;
    right: -250px;
}
.contact-details:after {
    right: -330px;
    bottom: -320px;
}
.contact-details__content {
    position: relative;
    z-index: 1;
}
.contact-details__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #e2c398;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.contact-details__eyebrow span {
    width: 29px;
    height: 2px;
    background: currentColor;
}
.contact-details h1 {
    margin: 21px 0 17px;
    color: #fff;
    font-size: clamp(36px, 4vw, 53px);
    font-weight: 600;
    letter-spacing: -.045em;
    line-height: 1.1;
}
.contact-details__intro {
    max-width: 440px;
    margin: 0;
    color: rgba(255, 255, 255, .8);
    font-size: 16px;
    line-height: 1.75;
}
.contact-details__items {
    margin-top: 47px;
    border-top: 1px solid rgba(255, 255, 255, .16);
}
.contact-details__item {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 16px;
    padding: 19px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
    color: #fff;
    transition: padding-left .2s ease;
}
a.contact-details__item:hover,
a.contact-details__item:focus {
    padding-left: 5px;
    color: #fff;
    text-decoration: none;
}
.contact-details__icon {
    display: flex;
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 12px;
    background: rgba(255, 255, 255, .09);
    color: #e2c398;
    font-size: 17px;
}
.contact-details__text {
    display: block;
    min-width: 0;
}
.contact-details__text small {
    display: block;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, .57);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.contact-details__text strong {
    display: block;
    overflow-wrap: anywhere;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.55;
}
.contact-details__arrow {
    margin-left: auto;
    color: #e2c398;
    font-size: 18px;
}
.contact-details__signature {
    position: relative;
    z-index: 1;
    margin-top: 65px;
    color: rgba(255, 255, 255, .15);
    font-size: clamp(70px, 8vw, 114px);
    font-weight: 700;
    letter-spacing: -.09em;
    line-height: .9;
    white-space: nowrap;
}
.contact-details__signature span {
    color: #c7a778;
}
.contact-panel {
    min-width: 0;
    padding: 60px 56px 62px;
}
.contact-panel h2 {
    margin: 13px 0 30px;
    color: var(--editorial-ink);
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 600;
    letter-spacing: -.035em;
    line-height: 1.2;
}
.contact-panel__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.contact-panel__fields label,
.contact-panel__captcha > label {
    display: block;
    margin: 0;
    color: var(--editorial-ink);
    font-size: 13px;
    font-weight: 600;
}
.contact-panel__fields label > span {
    display: block;
    margin-bottom: 9px;
}
.contact-panel__wide {
    grid-column: 1 / -1;
}
.contact-panel__fields input,
.contact-panel__fields textarea,
.contact-panel__captcha input {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 12px 15px;
    border: 1px solid #dce5df;
    border-radius: 9px;
    background: #fbfcfa;
    color: var(--editorial-ink);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-panel__fields input,
.contact-panel__captcha input {
    height: 50px;
}
.contact-panel__fields textarea {
    min-height: 128px;
    resize: vertical;
}
.contact-panel__fields input:focus,
.contact-panel__fields textarea:focus,
.contact-panel__captcha input:focus {
    border-color: #8fad9a;
    outline: none;
    box-shadow: 0 0 0 3px rgba(83, 130, 103, .12);
}
.contact-panel__captcha {
    margin-top: 25px;
}
.contact-panel__captcha > label {
    margin-bottom: 10px;
}
.contact-panel__captcha-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.contact-panel__captcha-row img {
    display: block;
    width: 150px;
    height: 52px;
    flex: 0 0 150px;
    border: 0;
    border-radius: 8px;
    background: #f1f7f2;
}
.contact-panel__refresh {
    display: grid;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    place-items: center;
    padding: 0;
    border: 1px solid #dce5df;
    border-radius: 8px;
    background: #f6f8f5;
    color: var(--editorial-ink);
}
.contact-panel__refresh:hover,
.contact-panel__refresh:focus {
    border-color: #a5b9aa;
    background: #ecf3ed;
}
.contact-panel__captcha input {
    height: 52px;
    max-width: 160px;
}
.contact-panel__consent {
    margin: 26px 0 23px;
    color: var(--editorial-muted);
    font-size: 13px;
    line-height: 1.5;
}
.contact-panel__consent label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    font-weight: 400;
    cursor: pointer;
}
.contact-panel__consent input {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    margin: 1px 0 0;
    accent-color: var(--editorial-ink);
}
.contact-panel__consent button {
    margin: 7px 0 0 27px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--editorial-ink);
    font-size: 13px;
    text-align: left;
    text-decoration: underline;
}
.contact-panel__submit {
    display: inline-flex;
    min-width: 200px;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 0 21px;
    border: 0;
    border-radius: 9px;
    background: var(--editorial-ink);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    transition: background .2s ease, transform .2s ease;
}
.contact-panel__submit:hover,
.contact-panel__submit:focus {
    transform: translateY(-2px);
    background: #2b5a49;
    color: #fff;
}
.contact-panel__submit span {
    font-size: 18px;
    font-weight: 400;
}
.contact-panel__messages {
    position: fixed;
    z-index: 2000;
    top: 28px;
    right: 28px;
    display: grid;
    width: min(390px, calc(100vw - 32px));
    gap: 12px;
    pointer-events: none;
}
.contact-panel__messages .alert,
.contact-panel__validation {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    width: 100%;
    margin: 0;
    padding: 20px 50px 20px 20px;
    border: 1px solid #eed9d4;
    border-left: 4px solid #c77966;
    border-radius: 14px;
    background: #fffdfb;
    color: #593f3a;
    box-shadow: 0 18px 48px rgba(27, 48, 42, .18);
    font-size: 14px;
    line-height: 1.55;
    pointer-events: auto;
    animation: contact-notice-in .28s ease both;
}
.contact-panel__messages .alert:before,
.contact-panel__validation-icon {
    display: grid;
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    place-items: center;
    border-radius: 50%;
    background: #f8e8e4;
    color: #a95042;
    font-size: 15px;
    font-weight: 700;
    content: "!";
}
.contact-panel__messages .alert-success {
    border-color: #d5e8da;
    border-left-color: #4f9167;
    background: #f9fdfa;
    color: #2d5b42;
}
.contact-panel__messages .alert-success:before {
    background: #e3f3e8;
    color: #3d8657;
    content: "✓";
}
.contact-panel__messages .alert-content {
    min-width: 0;
    padding: 1px 0 0;
}
.contact-panel__messages .alert-content p,
.contact-panel__validation p {
    margin: 0;
    color: inherit;
    font-size: 14px;
    line-height: 1.55;
}
.contact-panel__messages .alert-content p + p {
    margin-top: 7px;
}
.contact-panel__messages .alert-close-btn,
.contact-panel__validation button {
    position: absolute;
    top: 13px;
    right: 15px;
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #7e8e82;
    font-size: 21px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
}
.contact-panel__messages .alert-close-btn:hover,
.contact-panel__messages .alert-close-btn:focus,
.contact-panel__validation button:hover,
.contact-panel__validation button:focus {
    background: rgba(25, 61, 53, .07);
    color: var(--editorial-ink);
    text-decoration: none;
}
.contact-panel__validation[hidden] {
    display: none;
}
.contact-panel__fields .contact-panel__invalid,
.contact-panel__captcha .contact-panel__invalid {
    border-color: #c77966;
    box-shadow: 0 0 0 3px rgba(199, 121, 102, .15);
}
.contact-coffee {
    position: relative;
    display: flex;
    min-height: 174px;
    align-items: center;
    gap: 29px;
    overflow: hidden;
    margin-top: 25px;
    padding: 30px 38px;
    border: 1px solid #e6d6bb;
    border-radius: 22px;
    background: radial-gradient(circle at 88% 10%, rgba(227, 195, 147, .36), transparent 34%), linear-gradient(120deg, #faf4e9, #f4ead9);
    box-shadow: 0 22px 52px rgba(50, 55, 42, .08);
    color: #193d35;
    text-decoration: none;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.contact-coffee:before {
    position: absolute;
    top: -150px;
    right: -125px;
    width: 340px;
    height: 340px;
    border: 1px solid rgba(105, 80, 53, .12);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}
.contact-coffee:hover,
.contact-coffee:focus {
    transform: translateY(-3px);
    border-color: #d8be95;
    box-shadow: 0 29px 60px rgba(50, 55, 42, .13);
    color: #193d35;
    text-decoration: none;
}
.contact-coffee__icon {
    position: relative;
    display: grid;
    width: 84px;
    height: 84px;
    flex: 0 0 84px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    background: #21493d;
    color: #efd7ad;
    font-size: 34px;
    box-shadow: 0 12px 26px rgba(28, 59, 48, .18);
}
.contact-coffee__copy {
    position: relative;
    display: block;
    min-width: 0;
    flex: 1 1 auto;
}
.contact-coffee__eyebrow {
    display: block;
    margin-bottom: 6px;
    color: #9a7547;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.contact-coffee__copy strong {
    display: block;
    color: #193d35;
    font-size: clamp(24px, 2.4vw, 33px);
    font-weight: 600;
    letter-spacing: -.04em;
    line-height: 1.2;
}
.contact-coffee__description {
    display: block;
    max-width: 630px;
    margin-top: 8px;
    color: #5f6b5c;
    font-size: 14px;
    line-height: 1.55;
}
.contact-coffee__arrow {
    position: relative;
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    border: 1px solid rgba(25, 61, 53, .28);
    border-radius: 50%;
    color: #193d35;
    font-size: 23px;
    line-height: 1;
    transition: background .25s ease, color .25s ease;
}
.contact-coffee:hover .contact-coffee__arrow,
.contact-coffee:focus .contact-coffee__arrow {
    background: #21493d;
    color: #fff;
}
@keyframes contact-notice-in {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .contact-panel__messages .alert,
    .contact-panel__validation,
    .contact-coffee,
    .contact-coffee__arrow {
        animation: none;
        transition: none;
    }
}
@media (max-width: 991px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
    .contact-details {
        padding: 48px 42px 24px;
    }
    .contact-details__signature {
        margin-top: 35px;
        font-size: 80px;
    }
    .contact-panel {
        padding: 48px 42px 52px;
    }
}
@media (max-width: 600px) {
    .contact-coffee {
        align-items: flex-start;
        gap: 15px;
        padding: 25px 22px;
        border-radius: 17px;
    }
    .contact-coffee__icon {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
        font-size: 23px;
    }
    .contact-coffee__copy strong {
        font-size: 23px;
    }
    .contact-coffee__arrow {
        position: absolute;
        right: 17px;
        bottom: 17px;
        width: 34px;
        height: 34px;
        font-size: 19px;
    }
    .contact-coffee__description {
        padding-right: 24px;
        font-size: 13px;
    }
    .contact-panel__messages {
        top: 12px;
        right: 16px;
    }
    .editorial-contact {
        padding: 35px 0 70px;
    }
    .contact-layout {
        border-radius: 17px;
    }
    .contact-details {
        padding: 37px 26px 22px;
    }
    .contact-details__items {
        margin-top: 30px;
    }
    .contact-details__signature {
        font-size: 64px;
    }
    .contact-panel {
        padding: 37px 26px 42px;
    }
    .contact-panel__fields {
        grid-template-columns: 1fr;
        gap: 17px;
    }
    .contact-panel__wide {
        grid-column: auto;
    }
    .contact-panel__captcha-row {
        flex-wrap: wrap;
    }
    .contact-panel__captcha input {
        flex: 1 1 100px;
    }
    .contact-panel__submit {
        width: 100%;
    }
}
