.hg-contacus-page {
    --hg-primary: #0170B9;
    --hg-text: #3a3a3a;
    --hg-surface: #f2f5f7;
    --hg-title: #14284c;
    max-width: 1280px;
    margin: 0 auto;
    padding: 26px 24px 60px;
    position: relative;
    color: var(--hg-text);
    border-radius: 30px;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(180deg, #edf2ff 0%, #e8eefb 100%);
}

.hg-contacus-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hg-contacus-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    opacity: 0.5;
}

.hg-contacus-page::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(242, 245, 247, 0.52) 0%, rgba(242, 245, 247, 0.35) 48%, rgba(242, 245, 247, 0.72) 100%);
}

.hg-contacus-hero {
    text-align: center;
    padding: 110px 20px 72px;
}

.hg-contacus-hero h1 {
    margin: 0;
    color: var(--hg-title);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.hg-contacus-hero p {
    margin: 14px 0 0;
    color: var(--hg-text);
    line-height: 1.55;
}

.hg-contacus-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    margin-bottom: 260px;
}

.hg-contacus-card {
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: inset 0 0 0 1px rgba(20, 40, 76, 0.1);
    border-radius: 28px;
    padding: 28px 24px 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.2));
    backdrop-filter: blur(2px);
}

.hg-contacus-card h2 {
    margin: 0 0 18px;
    color: var(--hg-title);
    line-height: 1.2;
}

.hg-contacus-form {
    display: grid;
    gap: 10px;
}

.hg-contacus-form-feedback {
    margin: 0 0 10px;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.4;
}

.hg-contacus-form-feedback--success {
    color: #0e5f36;
    background: rgba(70, 178, 122, 0.16);
    border: 1px solid rgba(70, 178, 122, 0.42);
}

.hg-contacus-form-feedback--error {
    color: #8d2a2a;
    background: rgba(206, 90, 90, 0.14);
    border: 1px solid rgba(206, 90, 90, 0.38);
}

.hg-contacus-form input,
.hg-contacus-form textarea {
    width: 100%;
    border: 1px solid rgba(20, 40, 76, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.32);
    color: var(--hg-text);
    min-height: 52px;
    padding: 12px 14px;
    outline: none;
}

.hg-contacus-form textarea {
    min-height: 150px;
    resize: vertical;
}

.hg-contacus-form input:focus,
.hg-contacus-form textarea:focus {
    border-color: rgba(1, 112, 185, 0.45);
    box-shadow: 0 0 0 3px rgba(1, 112, 185, 0.12);
}

.hg-contacus-field-error {
    display: block;
    margin-top: -4px;
    color: #8d2a2a;
    font-size: 13px;
    line-height: 1.35;
}

.hg-contacus-form button {
    min-height: 52px;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    color: #ffffff;
    font-weight: 700;
    background: linear-gradient(180deg, #ffce6a 0%, #f1b24a 100%);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hg-contacus-form button:hover,
.hg-contacus-form button:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(20, 40, 76, 0.12);
}

.hg-contacus-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.hg-contacus-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--hg-text);
    text-decoration: none;
    border-radius: 10px;
    padding: 6px 4px;
}

.hg-contacus-links a:hover,
.hg-contacus-links a:focus-visible {
    background: rgba(255, 255, 255, 0.38);
}

.hg-contacus-links img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    object-position: center;
    flex: 0 0 auto;
}

.hg-contacus-links li:nth-child(2) img,
.hg-contacus-links li:nth-child(3) img {
    transform: translateY(1px);
}

.hg-contacus-links strong {
    display: block;
    color: var(--hg-title);
    line-height: 1.3;
}

.hg-contacus-links small {
    display: block;
    color: var(--hg-text);
    line-height: 1.4;
    margin-top: 2px;
}

.hg-contacus-mascot {
    position: absolute;
    right: 42px;
    bottom: 40px;
    width: min(28vw, 280px);
    z-index: 2;
}

.hg-contacus-mascot img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 1024px) {
    .hg-contacus-hero {
        padding-top: 84px;
    }

    .hg-contacus-grid {
        grid-template-columns: 1fr;
        margin-bottom: 32px;
    }

    .hg-contacus-mascot {
        position: static;
        width: min(60%, 260px);
        margin: 0 0 0 auto;
    }
}

@media (max-width: 760px) {
    .hg-contacus-page {
        padding: 20px 14px 36px;
        border-radius: 20px;
    }

    .hg-contacus-hero {
        padding: 60px 8px 40px;
    }

    .hg-contacus-card {
        border-radius: 22px;
        padding: 20px 16px;
    }
}
