/* HR home page styles */

/* Hero Section */
.hr-hero {
    position: relative;
    height: 100vh;
    min-height: 680px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    margin-top: 0;
    padding-top: 110px;
}

.hr-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 130%;
    background-size: cover;
    background-position: center 28%;
    will-change: transform;
}

.hr-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(
            90deg,
            rgba(9, 17, 12, 0.88) 0%,
            rgba(9, 17, 12, 0.74) 34%,
            rgba(9, 17, 12, 0.26) 68%,
            rgba(9, 17, 12, 0.38) 100%
        ),
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.12) 0%,
            rgba(0, 0, 0, 0.28) 42%,
            rgba(0, 0, 0, 0.72) 100%
        );
    z-index: 2;
}

.hr-hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 88px;
}

.hr-hero-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    filter: drop-shadow(0 12px 34px rgba(0, 0, 0, 0.32));
}

.hr-hero-logo {
    width: 72px;
    height: auto;
}

.hr-hero-brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
}

.hr-hero-brand-main {
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.12em;
    line-height: 1.2;
}

.hr-hero-brand-sub {
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.18em;
    line-height: 1.2;
}

.hr-hero-title {
    max-width: 720px;
    font-size: 58px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 18px;
    line-height: 1.12;
    letter-spacing: 0.02em;
    text-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
}

.hr-hero-subtitle {
    max-width: 640px;
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 28px;
    line-height: 1.75;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.hr-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 30px;
    background: var(--mira-gold);
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 999px;
    transition: all 0.3s ease;
    box-shadow: 0 14px 34px rgba(22, 52, 30, 0.28);
}

.hr-hero-cta:hover {
    background: #0f2615;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(22, 52, 30, 0.4);
}

.hr-hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 30px;
    background: transparent;
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.hr-hero-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

.hr-hero-cta-tertiary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    background: transparent;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 999px;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s ease;
    letter-spacing: 0.01em;
}

.hr-hero-cta-tertiary:hover {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.hr-hero-cta-tertiary .icon-svg {
    width: 14px;
    height: 14px;
    filter: brightness(0) invert(1);
    opacity: 0.7;
}

.hr-hero-cta-tertiary:hover .icon-svg {
    opacity: 1;
}

.hr-hero-ctas {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

/* Who We Are Section */
.who-section {
    padding: 84px 24px;
    background: var(--white);
}

.who-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 36px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 24px;
}

.section-title span {
    color: var(--mira-gold);
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-text);
    max-width: 700px;
    margin: 0 auto 20px;
    line-height: 1.7;
}

.section-desc {
    font-size: 16px;
    color: var(--gray-text);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Services Section */
.services-section {
    padding: 84px 24px;
    background: var(--gray-light);
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-header {
    text-align: center;
    margin-bottom: 48px;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.service-card {
    position: relative;
    background: var(--white);
    padding: 32px 24px;
    flex: 0 1 calc(33.333% - 20px);
    border-radius: 2px 32px 2px 2px;
    text-align: center;
    transition: box-shadow 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 14px;
    left: 14px;
    width: 18px;
    height: 18px;
    border-top: 1.5px solid var(--mira-gold);
    border-left: 1.5px solid var(--mira-gold);
    transition:
        width 0.4s ease,
        height 0.4s ease;
}

.service-card:hover {
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
    width: 26px;
    height: 26px;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--mira-gold-light);
    border-radius: var(--radius-card);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.service-icon svg {
    width: 28px;
    height: 28px;
    color: var(--mira-gold);
}

.service-title {
    position: relative;
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 16px;
    padding-bottom: 12px;
}

.service-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 2px;
    background: var(--mira-gold);
    transition: width 0.4s ease;
}

.service-card:hover .service-title::after {
    width: 48px;
}

.service-desc {
    font-size: 14px;
    color: var(--gray-text);
    line-height: 1.7;
}

/* Why Malaysia Section */
.malaysia-section {
    padding: 84px 24px;
    background: var(--white);
}

.malaysia-container {
    max-width: 1200px;
    margin: 0 auto;
}

.malaysia-header {
    text-align: center;
    margin-bottom: 48px;
}

.malaysia-tagline {
    font-size: 24px;
    font-weight: 500;
    color: var(--black);
    margin-top: 16px;
}

.malaysia-tagline span {
    color: var(--mira-gold);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.benefit-card {
    text-align: center;
    padding: 30px 20px;
}

.benefit-icon {
    width: 56px;
    height: 56px;
    background: var(--gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.benefit-icon svg {
    width: 24px;
    height: 24px;
    color: var(--mira-gold);
}

.benefit-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--mira-gold);
    margin-bottom: 8px;
}

.benefit-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
}

.benefit-desc {
    font-size: 13px;
    color: var(--gray-text);
    line-height: 1.6;
}

/* How It Works Section */
.process-section {
    padding: 84px 24px;
    background: var(--gray-light);
}

.process-container {
    max-width: 1000px;
    margin: 0 auto;
}

.process-header {
    text-align: center;
    margin-bottom: 48px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step::after {
    content: "";
    position: absolute;
    top: 32px;
    right: -15px;
    width: 30px;
    height: 2px;
    background: var(--gray-medium);
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    width: 64px;
    height: 64px;
    background: var(--white);
    border: 2px solid var(--mira-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 24px;
    font-weight: 700;
    color: var(--mira-gold);
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 12px;
}

.step-desc {
    font-size: 14px;
    color: var(--gray-text);
    line-height: 1.7;
}

/* Why Work With Us Section */
.advantage-section {
    padding: 84px 24px;
    background: var(--white);
}

.advantage-container {
    max-width: 1200px;
    margin: 0 auto;
}

.advantage-header {
    text-align: center;
    margin-bottom: 48px;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.advantage-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.advantage-card:hover {
    background: var(--gray-light);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background: var(--mira-gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.advantage-icon svg {
    width: 26px;
    height: 26px;
    color: var(--mira-gold);
}

.advantage-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 10px;
}

.advantage-desc {
    font-size: 13px;
    color: var(--gray-text);
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 72px 24px;
    background: var(--gray-light);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 36px;
}

.contact-form {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius-card);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
    padding: 14px 16px;
    border: 1px solid var(--gray-medium);
    border-radius: 8px;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    color: var(--black);
    background: var(--white);
    transition: border-color 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--mira-gold);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    width: 100%;
    padding: 16px;
    background: var(--mira-gold);
    color: var(--white);
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.form-submit:hover {
    background: #0f2615;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(22, 52, 30, 0.3);
}

.icon-svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: invert(27%) sepia(44%) saturate(468%) hue-rotate(88deg)
        brightness(94%) contrast(91%);
}

.hr-hero-cta .icon-svg {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

.service-icon .icon-svg {
    width: 28px;
    height: 28px;
}

.benefit-icon .icon-svg {
    width: 24px;
    height: 24px;
}

.advantage-icon .icon-svg {
    width: 26px;
    height: 26px;
}

.social-link .icon-svg {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

.nav-link-icon {
    width: 12px;
    height: 12px;
    display: inline-block;
    vertical-align: -2px;
    margin-right: 4px;
    filter: opacity(0.8);
}

/* Visual Section */
.visual-section {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    background: var(--mira-gold);
}

.visual-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background-size: cover;
    background-position: center;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}

.visual-overlay {
    display: none;
}

.visual-content {
    position: relative;
    z-index: 3;
    text-align: left;
    padding: 80px 60px;
    width: 50%;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.visual-title {
    font-size: 38px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.25;
}

.visual-title span:first-child {
    color: rgba(255, 255, 255, 0.8);
}

.visual-title span:last-child {
    color: var(--white);
}

.visual-text {
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    max-width: 480px;
}

/* Responsive */
@media (max-width: 1024px) {
    .benefits-grid,
    .advantage-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-step::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .visual-section {
        min-height: auto;
        flex-direction: column;
    }

    .visual-bg {
        position: relative;
        width: 100%;
        height: 250px;
        clip-path: none;
        order: 2;
    }

    .visual-content {
        width: 100%;
        min-height: auto;
        padding: 60px 24px;
        text-align: center;
        order: 1;
    }

    .visual-title {
        font-size: 32px;
    }

    .visual-text {
        font-size: 16px;
        max-width: none;
    }

    .navbar {
        top: 10px;
        left: 12px;
        right: 12px;
        padding: 8px 14px;
    }

    .navbar.compact {
        left: 8px;
        right: 8px;
        padding: 3px 16px;
        border-radius: 0 0 14px 14px;
    }

    .navbar.compact .logo-mg {
        height: 20px;
    }

    .navbar.compact .logo-text {
        font-size: 11px;
    }

    .navbar.compact .logo-subtext {
        font-size: 8px;
    }

    .nav-right {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px;
        background: #ffffff;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    }

    .navbar.menu-open .nav-right {
        display: flex;
    }

    .nav-links {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .nav-contact {
        font-size: 14px;
    }

    .lang-toggle {
        align-self: flex-start;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hr-hero {
        min-height: 620px;
        padding-top: 92px;
    }

    .hr-hero-content {
        padding-bottom: 64px;
    }

    .hr-hero-title {
        font-size: 38px;
    }

    .hr-hero-subtitle {
        font-size: 16px;
    }

    .hr-hero-brand {
        gap: 14px;
    }

    .hr-hero-brand-text {
        align-items: flex-start;
    }

    .section-title {
        font-size: 28px;
    }

    .services-grid {
        flex-direction: column;
    }

    .service-card {
        flex: 1 1 100%;
    }

    .benefits-grid,
    .advantage-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .contact-form {
        padding: 32px 24px;
    }

    .footer {
        padding: 40px 24px 24px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 32px;
    }

    .footer-right {
        align-items: center;
        margin-left: 0;
    }

    .footer-social {
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }

    .footer-social-group {
        align-items: center;
    }

    .footer-social-divider {
        display: none;
    }

    .footer-contact {
        align-items: center;
    }

    .footer-links {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .visual-bg {
        height: 200px;
    }

    .visual-content {
        padding: 48px 24px;
    }

    .visual-title {
        font-size: 26px;
    }

    .benefits-grid,
    .advantage-grid {
        grid-template-columns: 1fr;
    }

    .hr-hero-title {
        font-size: 30px;
    }

    .hr-hero-subtitle {
        font-size: 15px;
    }
}

/* Positions Section */
.positions-section {
    padding: 84px 24px;
    background: var(--white);
}

.positions-container {
    max-width: 1200px;
    margin: 0 auto;
}

.positions-header {
    text-align: center;
    margin-bottom: 48px;
}

.positions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.position-card {
    background: var(--gray-light);
    padding: 32px 28px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}

.position-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.position-icon {
    width: 48px;
    height: 48px;
    background: var(--mira-gold-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.position-icon .icon-svg {
    width: 22px;
    height: 22px;
    filter: invert(27%) sepia(44%) saturate(468%) hue-rotate(88deg)
        brightness(94%) contrast(91%);
}

.position-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--black);
}

/* Testimonial Section */
.testimonial-section {
    padding: 84px 24px;
    background: var(--white);
}

.testimonial-container {
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-header {
    text-align: center;
    margin-bottom: 48px;
}

.testimonial-carousel {
    overflow: hidden;
    border-radius: 20px;
}

.testimonial-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
    background: var(--gray-light);
    padding: 48px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    flex: 0 0 100%;
}

.testimonial-quote-icon {
    font-size: 60px;
    color: var(--mira-gold);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 18px;
    color: var(--black);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 28px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-author {
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
}

.testimonial-role {
    font-size: 14px;
    color: var(--gray-text);
    margin-top: 4px;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    padding: 0;
    transition:
        background 0.3s,
        transform 0.3s;
}

.testimonial-dot.active {
    background: var(--mira-gold);
    transform: scale(1.3);
}

/* Responsive - New Sections */
@media (max-width: 1024px) {
    .positions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .packages-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .positions-grid {
        grid-template-columns: 1fr;
    }

    .package-options {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 32px 24px;
    }

    .testimonial-text {
        font-size: 16px;
    }
}

.contact-cta-btn:hover {
    background: #0f2615;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(22, 52, 30, 0.3);
}

/* Explore Section (Pricing + About links) */
.explore-section {
    padding: 90px 24px;
    background: var(--gray-light);
}

.explore-container {
    max-width: 1000px;
    margin: 0 auto;
}

.explore-header {
    text-align: center;
    margin-bottom: 44px;
}

.explore-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.explore-card {
    background: var(--white);
    padding: 32px 28px;
    border-radius: 14px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.explore-card:hover {
    border-color: var(--mira-gold);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.explore-card-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--mira-gold);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.explore-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--black);
}

.explore-card-text {
    font-size: 14px;
    color: var(--gray-text);
    line-height: 1.6;
}

.explore-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--mira-gold);
    align-self: flex-start;
}

.explore-card-cta .icon-svg {
    width: 14px;
    height: 14px;
}

@media (max-width: 768px) {
    .explore-section {
        padding: 48px 16px;
    }
    .explore-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .explore-card {
        padding: 22px 20px;
    }
    .explore-header {
        margin-bottom: 28px;
    }
}

/* Mobile compaction overrides */
@media (max-width: 768px) {
    .who-section,
    .services-section,
    .positions-section,
    .malaysia-section,
    .process-section,
    .advantage-section,
    .testimonial-section {
        padding: 56px 16px;
    }

    .contact-cta-section {
        padding: 52px 16px;
    }

    .services-header,
    .positions-header,
    .malaysia-header,
    .process-header,
    .advantage-header,
    .testimonial-header {
        margin-bottom: 28px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-subtitle,
    .section-desc {
        font-size: 14px;
        line-height: 1.6;
    }

    .services-grid {
        gap: 14px;
    }

    .service-card {
        padding: 24px 20px;
    }

    .service-icon {
        width: 52px;
        height: 52px;
        margin: 0 auto 14px;
        border-radius: 12px;
    }

    .service-title {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .service-desc {
        font-size: 13px;
    }

    .benefits-grid,
    .advantage-grid {
        gap: 12px;
    }

    .benefit-card,
    .advantage-card {
        padding: 18px 12px;
    }

    .benefit-icon,
    .advantage-icon {
        width: 46px;
        height: 46px;
        margin: 0 auto 12px;
    }

    .benefit-title {
        font-size: 22px;
    }

    .position-card {
        padding: 16px 18px;
        gap: 12px;
    }

    .position-icon {
        width: 40px;
        height: 40px;
    }

    .position-title {
        font-size: 14px;
    }

    .process-steps {
        gap: 28px;
    }

    .step-number {
        width: 52px;
        height: 52px;
        font-size: 20px;
        margin: 0 auto 14px;
    }

    .step-title {
        font-size: 16px;
    }

    .step-desc {
        font-size: 13px;
    }

    .testimonial-card {
        padding: 28px 20px;
    }

    .testimonial-text {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .contact-cta-text {
        font-size: 14px;
        margin-bottom: 22px;
    }

    .contact-cta-btn {
        padding: 14px 28px;
        font-size: 14px;
    }
}

body.page-hr-home .hr-hero-bg {
    background-image: url("../resources/media/placeholders/hero_executive.jpg");
}

body.page-hr-home .services-intro {
    max-width: 700px;
    margin: 16px auto 0;
    font-size: 16px;
    color: var(--gray-text);
    line-height: 1.7;
}

body.page-hr-home .visual-bg {
    background-image: url("../resources/media/placeholders/office_team_desks.jpg");
}

body.page-hr-home .services-container {
    display: block;
}

body.page-hr-home .services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

body.page-hr-home .service-card {
    flex: 0 1 calc(33.333% - 20px);
    min-width: 0;
    max-width: 360px;
}

body.page-hr-home .position-card {
    border-radius: var(--radius-card);
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease;
}

@media (max-width: 768px) {
    .navbar .nav-contact {
        font-size: 14px;
    }

    body.page-hr-home .positions-grid {
        grid-template-columns: 1fr;
    }

    body.page-hr-home .service-card {
        flex-basis: 100%;
        max-width: none;
    }

    .team-card:nth-child(3n + 2):hover,
    .team-card:nth-child(even):hover {
        transform: none;
    }
}
