/* =====================================================================
   rongyu.css —— Honors & certificates page styles (class prefix hr-)
   Certificate images at ../upload/honor/1.jpg ~ 20.jpg
   English site - independent copy
   ===================================================================== */

/* ---------- Inner banner ---------- */
.hr-hero {
    position: relative;
    padding: 160px 0 90px;
    text-align: center;
    background:
        linear-gradient(180deg, rgba(10, 12, 18, 0.5) 0%, rgba(10, 12, 18, 0.8) 100%),
        url(../../public/banner/1-4.jpg) center center / cover no-repeat;
    overflow: hidden;
}
.hr-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 45% at 50% 0%, rgba(200, 160, 96, 0.16), transparent 70%),
        radial-gradient(ellipse 30% 30% at 12% 85%, rgba(200, 160, 96, 0.06), transparent 70%),
        radial-gradient(ellipse 30% 30% at 88% 85%, rgba(200, 160, 96, 0.06), transparent 70%);
    pointer-events: none;
}
.hr-hero-content { position: relative; z-index: 1; }
.hr-breadcrumb {
    font-size: 13px;
    color: var(--text-gray);
    letter-spacing: 1px;
    margin-bottom: 26px;
}
.hr-breadcrumb a { color: var(--text-gray); transition: color 0.25s; }
.hr-breadcrumb a:hover { color: var(--gold); }
.hr-breadcrumb-sep { margin: 0 8px; opacity: 0.5; }
.hr-breadcrumb-current { color: var(--silver); }
.hr-hero-tag {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 4px;
    color: var(--gold);
    border: 1px solid var(--border);
    padding: 8px 22px;
    margin-bottom: 26px;
}
.hr-hero-title {
    font-size: 46px;
    font-weight: 700;
    letter-spacing: 8px;
    background: linear-gradient(120deg, #F5EBD8 20%, var(--gold) 55%, #F5EBD8 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 18px;
}
.hr-hero-sub {
    font-size: 17px;
    letter-spacing: 2px;
    color: var(--silver);
}

/* ---------- Stats bar ---------- */
.hr-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 960px;
    margin: 52px auto 0;
    border: 1px solid var(--border);
    background: var(--bg-card);
}
.hr-stat {
    padding: 26px 12px;
    text-align: center;
    border-right: 1px solid rgba(200, 160, 96, 0.12);
}
.hr-stat:last-child { border-right: none; }
.hr-stat-num {
    font-size: 28px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 6px;
}
.hr-stat-note {
    font-size: 12.5px;
    letter-spacing: 1px;
    color: var(--text-gray);
}

/* ---------- Section head ---------- */
.hr-section { padding: 80px 0 0; }
.hr-section-head {
    display: flex;
    align-items: baseline;
    gap: 18px;
    margin-bottom: 34px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.hr-section-no {
    font-size: 12px;
    letter-spacing: 4px;
    color: var(--gold);
    white-space: nowrap;
}
.hr-section-title {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-white);
}
.hr-section-lead {
    margin-left: auto;
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--text-gray);
}

/* ---------- Certificate gallery ---------- */
.hr-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}
.hr-card {
    position: relative;
    display: block;
    border: 1px solid rgba(200, 160, 96, 0.15);
    background: var(--bg-card);
    overflow: hidden;
    transition: all 0.35s;
}
.hr-card:hover {
    border-color: rgba(200, 160, 96, 0.5);
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.hr-card img {
    display: block;
    width: 100%;
    transition: transform 0.5s;
}
.hr-card:hover img { transform: scale(1.03); }
.hr-year {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #0A0C12;
    background: linear-gradient(120deg, var(--gold) 0%, #E0C088 50%, var(--gold) 100%);
}
.hr-view {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 34px 0 12px;
    text-align: center;
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--gold);
    background: linear-gradient(180deg, transparent 0%, rgba(10, 12, 18, 0.92) 70%);
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.35s;
}
.hr-card:hover .hr-view { opacity: 1; transform: translateY(0); }
.hr-card-name {
    display: block;
    padding: 12px 14px;
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--text-gray);
    border-top: 1px solid rgba(200, 160, 96, 0.12);
    background: var(--bg-card);
}
.hr-card-name b { color: var(--silver); font-weight: 600; }

/* ---------- Closing CTA ---------- */
.hr-cta {
    position: relative;
    margin-top: 90px;
    padding: 100px 0 110px;
    text-align: center;
    background:
        radial-gradient(ellipse 55% 60% at 50% 100%, rgba(200, 160, 96, 0.14), transparent 75%),
        linear-gradient(180deg, #10131C 0%, #0A0C12 100%);
    overflow: hidden;
}
.hr-cta-title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
    background: linear-gradient(120deg, #F5EBD8 20%, var(--gold) 55%, #F5EBD8 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}
.hr-cta-text {
    max-width: 640px;
    margin: 0 auto 32px;
    font-size: 14.5px;
    line-height: 2;
    color: var(--text-gray);
}
.hr-cta-tel {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 28px;
}
.hr-btn-gold {
    display: inline-block;
    padding: 14px 44px;
    font-size: 15px;
    letter-spacing: 2px;
    color: #0A0C12;
    background: linear-gradient(120deg, var(--gold) 0%, #E0C088 50%, var(--gold) 100%);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}
.hr-btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(200, 160, 96, 0.35);
}
.hr-btn-outline {
    display: inline-block;
    margin-left: 16px;
    padding: 13px 40px;
    font-size: 15px;
    letter-spacing: 2px;
    color: var(--gold);
    background: transparent;
    border: 1px solid var(--gold);
    text-decoration: none;
    transition: all 0.3s;
}
.hr-btn-outline:hover { background: rgba(200, 160, 96, 0.1); }

/* ---------- Responsive ---------- */
@media (max-width: 1400px) {
    .hr-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1200px) {
    .hr-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 992px) {
    .hr-hero-title { font-size: 34px; }
    .hr-grid { grid-template-columns: repeat(2, 1fr); }
    .hr-stats { grid-template-columns: repeat(2, 1fr); }
    .hr-stat:nth-child(2) { border-right: none; }
    .hr-stat:nth-child(1), .hr-stat:nth-child(2) { border-bottom: 1px solid rgba(200, 160, 96, 0.12); }
    .hr-section-head { flex-wrap: wrap; }
    .hr-section-lead { margin-left: 0; width: 100%; }
}
@media (max-width: 600px) {
    .hr-hero { padding: 120px 0 60px; }
    .hr-hero-title { font-size: 28px; letter-spacing: 4px; }
    .hr-grid { grid-template-columns: 1fr; }
    .hr-stats { grid-template-columns: 1fr; }
    .hr-stat { border-right: none; border-bottom: 1px solid rgba(200, 160, 96, 0.12); }
    .hr-stat:last-child { border-bottom: none; }
    .hr-btn-outline { margin-left: 0; margin-top: 14px; }
    .hr-cta-tel { font-size: 25px; }
}
