/* HSP-specific overrides on top of engineer-specialist-visa.css.
   New components: 3-subcategory cards, benefits grid, CTA link. */

/* === 3-subcategory cards (1号イ / 1号ロ / 1号ハ) === */
.hsp-subcats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 28px 0 32px;
}
@media (max-width: 980px) {
    .hsp-subcats { grid-template-columns: 1fr; }
}

.hsp-subcat {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px 22px 22px;
    background: #fff;
    border: 1px solid var(--border-default);
    border-radius: 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,.04), 0 12px 32px rgba(0,0,0,.06);
    transition: transform .15s ease, box-shadow .15s ease;
}
.hsp-subcat:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,.06), 0 16px 40px rgba(0,113,235,.12);
}

.hsp-subcat-head {
    display: flex;
    gap: 14px;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-default);
}

.hsp-subcat-letter {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

/* Per-subcategory color identity */
.hsp-subcat-i  .hsp-subcat-letter {
    background: linear-gradient(135deg, #6f42c1 0%, #8957d8 100%);
    box-shadow: 0 4px 12px rgba(111,66,193,.30);
}
.hsp-subcat-ro .hsp-subcat-letter {
    background: linear-gradient(135deg, #003e82 0%, #0071eb 100%);
    box-shadow: 0 4px 12px rgba(0,113,235,.30);
}
.hsp-subcat-ha .hsp-subcat-letter {
    background: linear-gradient(135deg, #00a8b4 0%, #00c48c 100%);
    box-shadow: 0 4px 12px rgba(0,168,180,.30);
}

.hsp-subcat-eyebrow {
    margin: 0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hsp-subcat-name {
    margin: 2px 0 2px;
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.3;
}

.hsp-subcat-jp {
    margin: 0;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

.hsp-subcat-text {
    margin: 0;
    font-size: 13.5px;
    color: var(--text-main);
    line-height: 1.55;
}

.hsp-subcat-section-title {
    margin: 4px 0 4px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue);
}

.hsp-subcat ul {
    margin: 0;
    padding-left: 18px;
    font-size: 12.5px;
    color: var(--text-main);
    line-height: 1.55;
}
.hsp-subcat ul li {
    margin-bottom: 4px;
}

.hsp-subcat p:last-child {
    margin: 0;
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.55;
}

@media (max-width: 720px) {
    .hsp-subcats { grid-template-columns: 1fr; gap: 14px; }
    .hsp-subcat { padding: 18px 16px 16px; }
    .hsp-subcat-letter { width: 48px; height: 48px; font-size: 22px; }
}


/* === Benefits. Vertical, simple list === */
.hsp-benefits {
    display: flex;
    flex-direction: column;
    margin: 24px 0 32px;
    border-top: 1px solid var(--border-default);
}

.hsp-benefit {
    padding: 18px 4px;
    border-bottom: 1px solid var(--border-default);
}

.hsp-benefit-title {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.3;
}

.hsp-benefit-text {
    margin: 0;
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.55;
}


/* === Calculator CTA link === */
.hsp-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    background: var(--blue);
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0,113,235,.28);
    transition: transform .12s ease, box-shadow .12s ease;
}
.hsp-cta-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,113,235,.36);
}
