.hp-page {
    background: var(--o-bg-light);
}


.hp-crumb {
    padding-top: 20px;
}

.hp-crumb .x-breadcrumb {
    margin: 0;
}

.hp-in {
    padding-top: 16px;
    padding-bottom: 72px;
    display: grid;
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
    gap: 0 40px;
    align-items: start;
}


.hp-doc__head {
    padding-bottom: 18px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--o-line);
}

.hp-doc__head .hp-h1 {
    margin: 0;
}

.hp-in > .hp-side {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.hp-side {
    position: sticky;
    top: 24px;
    background: var(--o-card);
    border: 1px solid var(--o-line);
    border-radius: var(--o-radius-md);
    overflow: hidden;
    margin-bottom: 10px;
}

.hp-side__hd {
    padding: 16px 18px;
    border-bottom: 1px solid var(--o-line);
    font: 700 11px/1 var(--o-font-mono);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--o-ink);
}

.hp-side__hd::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 2px;
    background: var(--o-accent);
    margin-right: 8px;
    vertical-align: middle;
}

.hp-side a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-bottom: 1px solid var(--o-line);
    color: var(--o-ink-2);
    font: 500 13.5px/1.4 var(--o-font-body);
    text-decoration: none;
    transition:
        background-color var(--o-dur-color) ease,
        color var(--o-dur-color) ease;
}

.hp-side a:last-child {
    border-bottom: 0;
}

.hp-side a i {
    font: 700 10.5px/1 var(--o-font-mono);
    letter-spacing: 0.1em;
    color: var(--o-mut-2);
    font-style: normal;
}

.hp-side a:hover {
    background: var(--o-accent-soft);
    color: var(--o-accent-hover);
    box-shadow: inset 3px 0 0 var(--o-accent);
}

.hp-side a.is-active {
    color: var(--o-accent);
    box-shadow: inset 3px 0 0 var(--o-accent);
}

.hp-side a.is-active i,
.hp-side a:hover i {
    color: var(--o-accent);
}

.hp-kick {
    display: none;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    font: 700 11px/1 var(--o-font-mono);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--o-mut-2);
}

.hp-kick::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 2px;
    background: var(--o-accent);
}

.hp-h1 {
    margin: 0;
    font: 800 clamp(28px, 3.2vw, 40px)/1.1 var(--o-font-display);
    letter-spacing: -0.03em;
    color: var(--o-ink);
}

.hp-lead {
    margin: 14px 0 0;
    max-width: 68ch;
    color: var(--o-ink-2);
    font: 400 14.5px/1.75 var(--o-font-body);
}

.hp-lead a {
    color: var(--o-accent);
    text-decoration: none;
    font-weight: 600;
}

.hp-lead a:hover {
    text-decoration: underline;
}


.hp-card {
    background: var(--o-card);
    border: 0;
    border-radius: var(--o-radius);
    box-shadow: var(--o-shadow);
    overflow: hidden;
    padding: 28px 32px;
}


.hp-card__head {
    padding-bottom: 16px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--o-line-soft);
}

.hp-card__title {
    margin: 0;
    font: 800 26px/1.2 var(--o-font-display);
    color: var(--o-ink);
    letter-spacing: -0.02em;
}

.hp-contact {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 28px;
}

.hp-info-item {
    margin-bottom: 20px;
}
.hp-info-item:last-child {
    margin-bottom: 0;
}

.hp-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--o-accent-soft);
    color: var(--o-accent);
    margin-bottom: 10px;
}

.hp-info-head {
    margin: 0 0 6px;
    font: 700 15px/1.2 var(--o-font-display);
    color: var(--o-ink);
}

.hp-info-text {
    margin: 0;
    font: 400 14px/1.6 var(--o-font-body);
    color: var(--o-ink-2);
}

.hp-action-spacer {
    display: none;
}

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

.hp-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hp-field > label {
    font: 600 13px var(--o-font-body);
    color: var(--o-ink-2);
}

.hp-input,
.hp-textarea {
    width: 100%;
    border: 1px solid var(--o-line);
    border-radius: var(--o-radius-sm);
    background: var(--o-card);
    color: var(--o-ink);
    font: 400 14px var(--o-font-body);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}
.hp-input {
    height: 44px;
    padding: 0 12px;
}
.hp-textarea {
    min-height: 130px;
    padding: 12px;
    resize: vertical;
    line-height: 1.6;
}
.hp-input:focus,
.hp-textarea:focus {
    outline: none;
    border-color: var(--o-accent);
    box-shadow: 0 0 0 3px var(--o-accent-soft);
}

.hp-form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 4px;
}

.hp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 26px;
    border-radius: var(--o-radius-sm);
    font: 600 14px/1 var(--o-font-display);
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.12s ease;
}
.hp-btn:active {
    transform: scale(0.97);
}
.hp-btn--primary {
    background: var(--o-dark);
    color: #fff;
    box-shadow: 0 4px 12px rgba(22, 24, 29, 0.18);
}
.hp-btn--primary:hover {
    background: var(--o-accent-hover);
    color: #fff;
}

.email {
    color: var(--o-accent);
    text-decoration: none;
}
.email:hover {
    text-decoration: underline;
}

@media (max-width: 991px) {
    .hp-crumb {
        padding-top: 14px;
    }
    .hp-kick {
        display: flex;
    }
    .hp-in {
        display: flex;
        flex-direction: column;
        grid-template-columns: none;
        gap: 0;
        align-items: stretch;
        padding-top: 20px;
        padding-bottom: 140px;
    }

    .hp-doc__head,
    .hp-in > .hp-side,
    .hp-grid {
        grid-column: auto;
        grid-row: auto;
    }

    .hp-side {
        position: static;
        display: flex;
        gap: 8px;
        padding: 0 0 4px;
        background: transparent;
        border: 0;
        border-radius: 0;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .hp-side__hd {
        display: none;
    }

    .hp-side a {
        flex: 0 0 auto;
        gap: 8px;
        height: 44px;
        padding: 0 14px;
        border: 1px solid var(--o-line);
        border-radius: 999px;
        background: var(--o-card);
        font: 600 12.5px/1 var(--o-font-body);
        scroll-snap-align: start;
        margin-bottom: 4px;
    }
    .hp-side a:last-child {
        border-bottom: 1px solid var(--o-line);
    }

    .hp-side a i {
        font-size: 10px;
        letter-spacing: 0.08em;
    }

    .hp-in > .hp-side {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hp-side a:hover {
        box-shadow: none;
    }

    .hp-side a.is-active {
        color: var(--o-accent);
        border-color: var(--o-accent);
        background: var(--o-accent-soft);
        box-shadow: none;
    }

    .hp-card {
        margin-top: 16px;
    }

    .hp-card {
        padding: 18px 16px;
    }

    .hp-in .hp-input,
    .hp-in .hp-textarea {
        font-size: 16px;
    }

    .hp-h1 {
        line-height: 1.12;
    }

    .hp-lead {
        font-size: 14px;
        line-height: 1.7;
    }

    .hp-form {
        margin-top: 12px;
    }
}


@media (max-width: 991px) {
    .hp-card {
        padding: 18px 16px 60px;
        overflow: visible;
    }
    .hp-card__title {
        font-size: 22px;
    }
    .hp-contact {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .hp-form-actions {
        position: fixed;
        left: 0;
        right: 0;
        bottom: calc(var(--o-bottomnav-h, 58px) + env(safe-area-inset-bottom));
        z-index: 50;
        margin: 0;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        background: var(--o-card);
        border-top: 1px solid var(--o-line);
        border-radius: var(--o-radius) var(--o-radius) 0 0;
        box-shadow: 0 -4px 16px rgba(13, 17, 23, 0.08);
        justify-content: stretch;
    }
    .hp-action-spacer {
        display: block;
    }
    .hp-btn {
        flex: 1 1 auto;
        width: 100%;
        min-height: 46px;
    }

    body.contactus-page .x-fab-stack {
        bottom: calc(var(--o-bottomnav-h) + env(safe-area-inset-bottom) + 84px);
    }

}

.hp-doc {
    background-color: var(--o-card);
    border: 1px solid var(--o-line);
    border-radius: var(--o-radius-md);
    padding: 30px;
}
.hp-prose {
    margin-bottom: 20px;
}
.hp-prose p {
    margin: 0 0 14px;
    color: var(--o-ink-2);
    font: 400 14.5px/1.8 var(--o-font-body);
}
.hp-prose ul {
    list-style: none;
    padding-left: 10px;
    margin: 0 0 14px;
}
.hp-prose ul > li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 8px;
}
.hp-prose ul > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--o-accent);
}

.hp-prose p:last-child {
    margin-bottom: 0;
}

.hp-prose a {
    color: var(--o-accent);
    text-decoration: none;
    font-weight: 600;
}

.hp-prose a:hover {
    text-decoration: underline;
}


.hp-sec__t {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 30px 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--o-line);
    font: 700 15px/1.4 var(--o-font-display);
    letter-spacing: -0.01em;
    color: var(--o-ink);
}

.hp-sec__t:first-of-type {
    margin-top: 0;
}

.hp-sec__t i {
    flex: 0 0 auto;
    font: 700 11px/1 var(--o-font-mono);
    letter-spacing: 0.16em;
    color: var(--o-accent);
    font-style: normal;
}

.hp-figs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.hp-figs img {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border: 1px solid var(--o-line);
    border-radius: 12px;
    background: var(--o-bg-sunken);
}

@media (max-width: 991px) {
    .hp-doc {
        max-width: 100%;
        padding: 20px 16px;
    }

    .hp-prose p {
        font-size: 15px;
    }

    .hp-sec__t {
        margin: 24px 0 12px;
        padding-bottom: 8px;
    }

    .hp-figs {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 24px;
    }
}
