.hos-wrap,
.hos-wrap * {
    box-sizing: border-box;
}

.hos-wrap {
    width: 100%;
    margin: 15px 0;
    color: #222;
    font-family: inherit;
}

.hos-card {
    width: 100%;
    margin: 15px 0;
    padding: 18px;
    border: 1px solid #d7e2ed;
    background: #ffffff;
}

.hos-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 0 0 15px;
}

.hos-field {
    position: relative;
    width: 100%;
}

.hos-field-label {
    display: block;
    width: 100%;
    margin: 0 0 7px;
    color: #355f86;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.hos-input,
.hos-contact-textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid #c7d7e6;
    background: #ffffff;
    color: #222;
    padding: 12px 14px;
    font-size: 16px;
    border-radius: 0;
    outline: none;
}

.hos-input:focus,
.hos-contact-textarea:focus {
    border-color: #628bb4;
    box-shadow: 0 0 0 2px rgba(98, 139, 180, 0.16);
}

.hos-list {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 2px);
    z-index: 50;
    max-height: 280px;
    overflow-y: auto;
    border: 1px solid #c7d7e6;
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}

.hos-list.is-open {
    display: block;
}

.hos-option {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border: 0;
    border-bottom: 1px solid #eef3f8;
    background: #ffffff;
    color: #222;
    text-align: left;
    font-size: 15px;
    cursor: pointer;
    border-radius: 0;
}

.hos-option:hover,
.hos-option:focus {
    background: #000000;
    color: #ffffff;
}

.hos-main-button,
.hos-contact-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    margin: 15px 0;
    padding: 14px 18px;
    border: 0;
    border-radius: 0;
    background: #000000;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
}

.hos-result {
    margin: 15px 0 0;
}

.hos-result-line,
.hos-info-line,
.hos-link-line {
    display: block;
    width: 100%;
    margin: 0 0 9px;
    padding: 12px 14px;
    border: 1px solid #e1e9f1;
    background: #f8fbfd;
    color: #222;
    line-height: 1.55;
}

.hos-result-line strong,
.hos-info-line strong {
    color: #355f86;
}

.hos-amount-line {
    text-align: center;
}

.hos-amount-line strong {
    display: block;
    color: #355f86;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: -0.03em;
}

.hos-amount-value {
    display: block;
    margin-top: 8px;
    color: #111111;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: -0.03em;
    text-align: center;
}

.hos-period-line {
    text-align: center;
}

.hos-period-line strong {
    display: block;
    color: #355f86;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: -0.03em;
}

.hos-period-value {
    display: block;
    margin-top: 8px;
    color: #111111;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: -0.03em;
    text-align: center;
}

.hos-url-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 12px 0 0;
}

.hos-url-list a,
.hos-url-list a:link,
.hos-url-list a:visited {
    display: block;
    width: 100%;
    padding: 11px 13px;
    border: 1px solid #dbe6f0;
    color: #355f86;
    background: #ffffff;
    text-decoration: none;
    word-break: break-all;
}

.hos-url-list a:hover,
.hos-url-list a:focus {
    border-color: #000000;
    color: #000000;
}

.hos-topic-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
    margin: 0 0 15px;
}

.hos-topic-button {
    min-height: 48px;
    border: 1px solid #628bb4;
    border-radius: 0;
    background: #ffffff;
    color: #628bb4;
    padding: 12px 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.hos-topic-button.is-active {
    background: #628bb4;
    color: #ffffff;
}

.hos-info-select {
    margin: 0 0 15px;
}

.hos-info-output {
    margin: 15px 0 0;
}

.hos-contact-title {
    margin: 0 0 10px;
    color: #222;
    font-size: 18px;
    font-weight: 700;
}

.hos-contact-textarea {
    display: block;
    min-height: 120px;
    resize: vertical;
}

.hos-contact-done {
    margin: 10px 0 0;
    color: #355f86;
    font-weight: 700;
}

a.eitc-apply-button,
a.eitc-apply-button:link,
a.eitc-apply-button:visited,
a.eitc-apply-button:hover,
a.eitc-apply-button:focus,
a.eitc-apply-button:active {
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
width: 100%;
min-height: 56px;
padding: 16px 20px;
margin: 15px 0 12px;
border: 1px solid #4d759c;
background: linear-gradient(180deg, #7399c0 0%, #628bb4 48%, #4d759c 100%);
color: #ffffff !important;
font-size: 18px;
font-weight: 800;
letter-spacing: -0.02em;
text-decoration: none !important;
box-shadow: 0 12px 24px rgba(98, 139, 180, 0.26), inset 0 1px 0 rgba(255,255,255,0.25);
overflow: hidden;
transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
animation: eitcApplyPulse 1.7s ease-in-out infinite;
box-sizing: border-box;
-webkit-text-fill-color: #ffffff !important;
}

a.eitc-apply-button span,
a.eitc-apply-button span:link,
a.eitc-apply-button span:visited,
a.eitc-apply-button span:hover,
a.eitc-apply-button span:focus,
a.eitc-apply-button span:active {
position: relative;
z-index: 2;
color: #ffffff !important;
-webkit-text-fill-color: #ffffff !important;
}

a.eitc-apply-button::before {
content: '';
position: absolute;
top: 0;
left: -30%;
width: 24%;
height: 100%;
background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.26) 50%, rgba(255,255,255,0) 100%);
transform: skewX(-18deg);
animation: eitcApplyShine 2.8s linear infinite;
z-index: 1;
}

a.eitc-apply-button:hover,
a.eitc-apply-button:focus {
color: #ffffff !important;
-webkit-text-fill-color: #ffffff !important;
transform: translateY(-1px);
box-shadow: 0 16px 28px rgba(98, 139, 180, 0.34), inset 0 1px 0 rgba(255,255,255,0.25);
filter: saturate(1.05);
}

a.eitc-apply-button:active {
color: #ffffff !important;
-webkit-text-fill-color: #ffffff !important;
transform: translateY(1px);
box-shadow: 0 8px 16px rgba(98, 139, 180, 0.26), inset 0 2px 6px rgba(0,0,0,0.15);
}

.hos-share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    margin: 0 0 15px;
    padding: 14px 18px;
    border: 1px solid #587ca0;
    border-radius: 0;
    background: #eef5fb;
    color: #355f86;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
}

@keyframes eitcApplyPulse {
0%, 100% {
box-shadow: 0 12px 24px rgba(98, 139, 180, 0.26), inset 0 1px 0 rgba(255,255,255,0.25);
}
50% {
box-shadow: 0 16px 30px rgba(98, 139, 180, 0.34), inset 0 1px 0 rgba(255,255,255,0.3);
}
}

@keyframes eitcApplyShine {
0% {
left: -30%;
}
100% {
left: 120%;
}
}

@media (max-width: 520px) {
    .hos-card {
        padding: 14px;
    }

    .hos-form-grid {
        grid-template-columns: 1fr;
    }

    .hos-topic-buttons {
        grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    }
}
