@font-face {
    font-family: 'Manrope';
    src: url('/fonts/Manrope-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('/fonts/Manrope-Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('/fonts/Manrope-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('/fonts/Manrope-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

:root {
    --page-bg: #f6f6f6;
    --text-color: #242424;
    --muted-color: #838383;
    --card-color: #fff;
    --accent-color: #f7941d;
    --button-text-color: #fff;
    --button-radius: 12px;
    --gutter: 16px;
    --transit: .2s ease;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    background: var(--page-bg);
    background-attachment: fixed;
    color: var(--text-color);
    font-family: 'Manrope', Arial, sans-serif, -apple-system;
    font-size: 16px;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.page {
    width: min(100% - 2 * var(--gutter), 560px);
    margin: 0 auto;
    padding: 40px 0 64px;
}

.page__cover {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: -56px;
}

.profile {
    text-align: center;
    margin-bottom: 24px;
    position: relative;
}

.profile__avatar {
    width: 104px;
    height: 104px;
    object-fit: cover;
    margin: 0 auto 16px;
    border: 4px solid var(--card-color);
    border-radius: 50%;
}

.profile__avatar--rounded {
    border-radius: 24px;
}

.profile__avatar--square {
    border-radius: 0;
}

.profile__avatar--logo {
    width: auto;
    max-width: 200px;
    height: 72px;
    border: 0;
    border-radius: 0;
    object-fit: contain;
}

.profile__title {
    margin: 0 0 6px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.01em;
}

.profile__subtitle {
    margin: 0 0 10px;
    color: var(--muted-color);
    font-size: 14px;
    font-weight: 500;
}

.profile__description {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.blocks {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 56px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: var(--button-radius);
    background: var(--accent-color);
    color: var(--button-text-color);
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: transform var(--transit), opacity var(--transit), background var(--transit);
}

.btn:hover {
    opacity: .9;
    transform: translateY(-1px);
}

.btn:active {
    opacity: .75;
    transform: translateY(0);
}

.btn--outline {
    background: transparent;
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.btn--soft {
    background: var(--card-color);
    color: var(--text-color);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}

.btn--wide {
    position: relative;
    justify-content: center;
    min-height: 68px;
    padding: 14px 60px;
    font-size: 17px;
    text-align: center;
}

.btn--wide .btn__icon,
.btn--wide .btn__glyph {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.btn--wide .btn__body {
    max-width: 100%;
}

.btn--wide .btn__title {
    white-space: normal;
}

.btn__icon {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    object-fit: cover;
    border-radius: 8px;
}

.btn__glyph {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
}

.btn__glyph svg {
    width: 26px;
    height: 26px;
    color: currentColor;
}

.btn__body {
    min-width: 0;
}

.btn__title {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn__subtitle {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    font-weight: 500;
    opacity: .7;
}

.block-heading {
    margin: 16px 0 0;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.03em;
}

.block-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}

.block-image {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
}

.block-video {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 16px;
    overflow: hidden;
}

.block-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.block-divider {
    height: 1px;
    margin: 8px 0;
    background: currentColor;
    opacity: .12;
    border: 0;
}

.socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.socials__item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--card-color);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    transition: transform var(--transit);
}

.socials__item:hover {
    transform: translateY(-2px);
}

.socials__item svg {
    width: 22px;
    height: 22px;
    color: var(--accent-color);
}

.banner {
    display: block;
    overflow: hidden;
    border-radius: 16px;
    background: var(--card-color);
    color: var(--text-color);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
    transition: transform var(--transit), opacity var(--transit);
}

a.banner:hover {
    opacity: .95;
    transform: translateY(-1px);
}

.banner__image {
    width: 100%;
    max-height: 240px;
    object-fit: cover;
}

.banner__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 20px;
}

.banner__badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--accent-color);
    color: var(--button-text-color);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.banner__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.02em;
}

.banner__text {
    font-size: 15px;
    line-height: 1.5;
    opacity: .85;
}

.banner__button {
    margin-top: 4px;
    padding: 10px 20px;
    border-radius: var(--button-radius);
    background: var(--accent-color);
    color: var(--button-text-color);
    font-size: 15px;
    font-weight: 600;
}

.card {
    padding: 20px;
    border-radius: 16px;
    background: var(--card-color);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}

.card__title {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 700;
}

.contacts {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 16px;
    row-gap: 12px;
    margin: 0;
    font-size: 15px;
    font-weight: 500;
}

.contacts__label {
    margin: 0;
    color: var(--muted-color);
    font-size: 14px;
    white-space: nowrap;
}

.contacts__value {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    min-width: 0;
}

.contacts__link {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-bottom: 1px solid transparent;
    transition: border-color var(--transit);
}

.contacts__link:hover {
    border-bottom-color: currentColor;
}

.copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--muted-color);
    cursor: pointer;
    transition: background var(--transit), color var(--transit);
}

.copy:hover {
    background: rgba(127, 127, 127, .12);
    color: var(--text-color);
}

.copy__icon,
.copy__check {
    width: 16px;
    height: 16px;
}

.copy__check {
    display: none;
    color: #41ad70;
}

.copy--done .copy__icon {
    display: none;
}

.copy--done .copy__check {
    display: block;
}

@media (max-width: 480px) {
    .contacts {
        grid-template-columns: 1fr;
        row-gap: 4px;
    }

    .contacts__label:not(:first-child) {
        margin-top: 8px;
    }
}

.form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form__input,
.form__textarea {
    width: 100%;
    min-height: 44px;
    padding: 13px 16px;
    border: 1px solid #ededed;
    border-radius: 12px;
    background: #f6f6f6;
    color: #242424;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    transition: border-color var(--transit), background var(--transit);
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: #ddd;
    background: #ededed;
}

.form__textarea {
    min-height: 88px;
    resize: vertical;
}

.form__error {
    margin: 0;
    color: #f14e38;
    font-size: 13px;
    font-weight: 500;
}

.form__success {
    margin: 0;
    color: #41ad70;
    font-size: 14px;
    font-weight: 600;
}

.form .btn {
    justify-content: center;
    text-align: center;
}

.footer {
    margin-top: 32px;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    opacity: .5;
}

.footer__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer__logo {
    width: 18px;
    height: 17px;
}

.profile__logo {
    width: 64px;
    height: 60px;
    margin: 0 auto 16px;
}

@media (max-width: 480px) {
    .page {
        padding-top: 24px;
    }

    .profile__title {
        font-size: 24px;
    }
}
