/**
 * HPR Group — UI components dùng chung (nhiều layout, một key thiết kế)
 */

/* --- Container --- */
.hpr-wrap,
.about-wrap,
.recruit-wrap,
.projects-wrap,
.news-container {
    width: var(--hpr-wrap);
    margin-left: auto;
    margin-right: auto;
}

/* --- Nhãn section (eyebrow) --- */
.hpr-eyebrow,
.about-eyebrow,
.about-vision__eyebrow,
.recruit-hero__eyebrow,
.home-services__badge,
.news-section__badge {
    display: block;
    text-align: center;
    font-family: var(--hpr-font-sans);
    font-size: var(--hpr-eyebrow-size);
    font-weight: 800;
    letter-spacing: var(--hpr-eyebrow-spacing);
    text-transform: uppercase;
    color: var(--hpr-accent);
    margin-bottom: 0.5rem;
}

.news-section__badge,
.home-services__badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: var(--hpr-radius-pill);
    background: rgba(0, 180, 216, 0.15);
    border: 1px solid rgba(0, 180, 216, 0.35);
}

.about-vision__eyebrow {
    color: var(--hpr-accent-light);
    letter-spacing: 0.28em;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

/* --- Tiêu đề section --- */
.hpr-heading,
.about-section-title,
.recruit-section-title,
.projects-title,
.news-section__title {
    font-family: var(--hpr-font-sans);
    text-align: center;
    color: var(--hpr-primary);
    font-weight: 800;
    line-height: 1.25;
}

.about-section-title,
.recruit-section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 0.6rem 0;
}

.projects-title {
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    margin-bottom: 0.5rem;
}

.about-section-title .hl,
.hpr-heading .hl {
    color: var(--hpr-accent);
}

/* --- Mô tả section --- */
.hpr-lead,
.about-section-desc,
.recruit-section-desc,
.projects-lead {
    text-align: center;
    color: var(--hpr-text-muted);
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-size: 0.95rem;
}

.about-section-desc,
.recruit-section-desc {
    margin-bottom: 2.4rem;
}

.projects-lead {
    margin-bottom: 2rem;
}

/* --- Pill tag --- */
.hpr-pill,
.about-pill {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    border-radius: var(--hpr-radius-pill);
    background: var(--hpr-accent);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* --- Section nền --- */
.hpr-section--light {
    background: var(--hpr-bg-light-alt);
    color: var(--hpr-text);
}

.hpr-section--light-blue {
    background: var(--hpr-bg-light);
    color: var(--hpr-text);
}

.hpr-section--muted {
    background: var(--hpr-bg-muted);
    color: var(--hpr-text);
}

.hpr-section--white {
    background: var(--hpr-bg-white);
    color: var(--hpr-text);
}

.hpr-section--impact {
    position: relative;
    overflow: hidden;
    background: var(--hpr-bg-dark-gradient);
    color: var(--hpr-text-on-dark);
}

/* --- Card sáng (feature, dịch vụ — không gồm .grid-item-card khối Về HPR) --- */
.hpr-card,
.feature-card,
.why-card,
.about-services__item {
    border-radius: var(--hpr-radius-md);
    transition: transform var(--hpr-duration) var(--hpr-ease),
        box-shadow var(--hpr-duration) var(--hpr-ease),
        border-color var(--hpr-duration) var(--hpr-ease);
}

.feature-card,
.why-card,
.about-services__item {
    background: var(--hpr-bg-white);
    border: 1px solid var(--hpr-border);
    box-shadow: var(--hpr-shadow-sm);
}

.feature-card:hover,
.why-card:hover,
.about-services__item:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 180, 216, 0.35);
    box-shadow: 0 12px 28px rgba(0, 180, 216, 0.12);
}

/* --- Card glass (section tối) --- */
.hpr-card-glass,
.about-vision__glass {
    border-radius: var(--hpr-radius-xl);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid var(--hpr-border-accent);
    box-shadow: var(--hpr-shadow-glass), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.about-vision__glass:hover,
.hpr-card-glass:hover {
    transform: translateY(-4px);
    border-color: rgba(72, 202, 228, 0.55);
}

/* Nút CTA — xem assets/css/hpr-buttons.css */

/* --- Hero trang con --- */
.hpr-page-hero,
.recruit-hero,
.projects-hero,
.about-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: clamp(280px, 42vh, 420px);
}

.hpr-page-hero__bg,
.recruit-hero__bg,
.projects-hero__bg,
.about-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--hpr-hero-overlay), url("../images/bg-desktop.jpg") center / cover no-repeat;
}

.hpr-page-hero__overlay,
.recruit-hero__overlay,
.projects-hero__overlay,
.about-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(8, 28, 52, 0.35);
}

.hpr-page-hero__inner,
.recruit-hero__content,
.projects-hero__inner,
.about-hero__inner {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
    padding: 0 1rem;
}

.hpr-page-hero__inner h1,
.recruit-hero__content h1,
.projects-hero__inner h1,
.about-hero h1 {
    font-size: clamp(2rem, 6vw, 3.2rem);
    font-weight: 800;
    letter-spacing: 0.12em;
}

/* --- Icon accent trong card --- */
.hpr-icon-accent,
.feature-card__icon i,
.why-card__icon i,
.about-services__item > i {
    color: var(--hpr-accent);
}

.feature-card__icon,
.why-card__icon {
    color: var(--hpr-accent);
}

/* --- Topbar accent (section đầu) --- */
.hpr-topbar {
    height: 10px;
    background: linear-gradient(90deg, var(--hpr-primary) 0%, var(--hpr-accent) 50%, var(--hpr-primary) 100%);
}

/* --- Footer dùng token --- */
.footer {
    background: linear-gradient(180deg, #0a2c56 0%, #0a274c 100%);
    border-top-color: rgba(122, 210, 255, 0.25);
}

.footer-col p i {
    color: var(--hpr-accent-light);
}
