@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

.home-revamp {
    --hr-red: #eb505f;
    --hr-beige: #ede6d6;
    --hr-grey: #c0c0c0;
    --hr-ink: #333333;
    --hr-black: #000000;
    --hr-white: #ffffff;
    --hr-soft: #f7f4ec;
    --hr-radius: 20px;
    font-family: 'Inter', Arial, sans-serif;
    color: var(--hr-ink);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: var(--hr-white);
    box-sizing: border-box;
}
.home-revamp *, .home-revamp *::before, .home-revamp *::after { box-sizing: border-box; }
.home-revamp img { max-width: 100%; display: block; }
.home-revamp p { margin: 0 0 12px; line-height: 1.5; font-size: 16px; }
.home-revamp ul { padding-left: 0; margin: 0; list-style: none; }

/* Shared section */
.hr-section {
    max-width: 1376px;
    margin: 0 auto;
    padding: 60px 32px;
}
.hr-section + .hr-section { padding-top: 20px; }
.hr-section__title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 36px;
    line-height: 44px;
    letter-spacing: -1px;
    color: var(--hr-black);
    margin: 0 0 24px;
}
.hr-section__lede {
    font-size: 16px;
    line-height: 24px;
    color: var(--hr-ink);
    margin: 0 0 48px;
}

/* ---------- HERO ---------- */
.hr-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 0;
    min-height: 582px;
    display: flex;
    align-items: center;
}
.hr-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(89deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.50) 55%, rgba(0,0,0,0.25) 100%);
    pointer-events: none;
}
.hr-hero__inner {
    position: relative;
    max-width: 1376px;
    width: 100%;
    margin: 0 auto;
    padding: 77px 117px;
    color: var(--hr-white);
}
.hr-hero__title {
    font-weight: 600;
    font-size: 48px;
    line-height: 56px;
    letter-spacing: -0.96px;
    color: var(--hr-white);
    margin: 0 0 40px;
    max-width: 787px;
}
.hr-hero__form-title {
    font-weight: 600;
    font-size: 22px;
    line-height: 32px;
    color: var(--hr-white);
    margin: 0 0 16px;
}
.hr-form__row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 20px;
}
.hr-form__group { display: flex; flex-direction: column; gap: 8px; min-width: 200px; }
.hr-form__group > label {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: var(--hr-white);
    letter-spacing: 0.16px;
}
.hr-form__group select {
    background: var(--hr-white);
    border: 2px solid var(--hr-beige);
    border-radius: 9999px;
    height: 40px;
    padding: 0 36px 0 18px;
    font-size: 14px;
    color: var(--hr-ink);
    min-width: 200px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23333' d='M5 6L0 0h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 10px 6px;
    text-overflow: ellipsis;
}
.hr-form__pair, .hr-form__trio { display: flex; gap: 12px; }
.hr-form__pair > select, .hr-form__trio > select { flex: 1; min-width: 0; }
.hr-form__trio > select[name="birth_month"] { flex: 1.4; }
.hr-form__submit { display: flex; align-items: center; gap: 24px; margin-top: 8px; flex-wrap: wrap; }
.hr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    cursor: pointer;
    height: 40px;
    padding: 0 28px;
    border-radius: 9999px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0.48px;
    text-decoration: none;
    text-transform: uppercase;
}
.hr-btn--primary { background: var(--hr-red); color: var(--hr-white); min-width: 200px; }
.hr-btn--primary:hover { background: #d6424f; color: var(--hr-white); }
.hr-form__note { color: var(--hr-white); font-size: 16px; line-height: 24px; margin: 0; }
.hr-form__note a { color: var(--hr-white); text-decoration: underline; }

/* ---------- WHAT + CAROUSEL ---------- */
.hr-what__copy p { font-size: 16px; line-height: 24px; color: var(--hr-ink); margin: 0 0 12px; }
.hr-what__copy p:last-child { margin-bottom: 24px; }
.hr-carousel { margin: 24px 0; }
.hr-slide {
    position: relative;
    margin: 0 8px;
    border-radius: var(--hr-radius);
    overflow: hidden;
    height: 160px;
    background: transparent;
    border: 0;
    outline: none;
    box-shadow: none;
}
.home-revamp .slick-slide,
.home-revamp .slick-slide:focus,
.home-revamp .slick-slide *,
.home-revamp .slick-slide *:focus { outline: none !important; box-shadow: none !important; }
.hr-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
    display: block;
}
.hr-slide__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.6) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 16px;
    text-align: center;
}
.hr-slide__overlay span {
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    color: var(--hr-white);
    letter-spacing: 0.32px;
}
.hr-what__foot { color: var(--hr-ink); font-size: 16px; line-height: 24px; margin-top: 16px; }

/* Slick overrides */
.home-revamp .slick-prev, .home-revamp .slick-next {
    width: 36px; height: 36px; z-index: 2;
    background: var(--hr-white); border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.home-revamp .slick-prev { left: -4px; }
.home-revamp .slick-next { right: -4px; }
.home-revamp .slick-prev:before, .home-revamp .slick-next:before { color: var(--hr-ink); opacity: 1; }
.home-revamp .slick-dots li button:before { font-size: 10px; color: var(--hr-grey); opacity: 1; }
.home-revamp .slick-dots li.slick-active button:before { color: var(--hr-red); opacity: 1; }
@media (min-width: 641px) {
    .home-revamp .slick-dots { display: none !important; }
}

/* ---------- HOW IT WORKS ---------- */
.hr-how__grid {
    display: grid;
    grid-template-columns: 443px 1fr;
    gap: 24px;
    align-items: stretch;
}
.hr-how__image {
    border-radius: var(--hr-radius);
    overflow: hidden;
    background: #ddd;
}
.hr-how__image img { width: 100%; height: 100%; object-fit: cover; }
.hr-how__steps { counter-reset: step; display: flex; flex-direction: column; gap: 24px; padding: 0; }
.hr-how__steps li { display: block; }
.hr-how__steps h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 22px;
    line-height: 32px;
    color: var(--hr-ink);
    margin: 0 0 8px;
}
.hr-how__steps p { font-size: 14px; line-height: 20px; color: var(--hr-ink); margin: 0; }

/* ---------- WHO ---------- */
.hr-who__list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px;
}
.hr-who__list li {
    background: transparent;
    border-radius: 0;
    padding: 16px 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.hr-who__icon {
    display: inline-flex;
    width: 48px; height: 48px;
    align-items: center; justify-content: center;
    margin-bottom: 0;
}
.hr-who__icon img { width: 40px; height: 40px; display: block; }
.hr-who__list p {
    font-weight: 600;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0.28px;
    color: var(--hr-black);
    margin: 0;
    text-align: center;
}
.hr-section__foot {
    color: var(--hr-ink);
    font-size: 16px;
    line-height: 24px;
    margin: 48px 0 0;
}

/* ---------- CHECK LISTS (Why / Types) ---------- */
.hr-check-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 80px;
    margin: 0 0 16px;
    padding: 16px 0 24px;
}
.hr-check-list li {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 24px;
    background: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.14px;
    color: #404040;
}
.hr-check-list li img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: block;
}
.hr-check-list li span { flex: 1; min-width: 0; }

/* ---------- TIPS ---------- */
.hr-tips__grid {
    display: grid;
    grid-template-columns: 1fr 648px;
    gap: 48px;
    align-items: center;
}
.hr-tips__image { border-radius: var(--hr-radius); overflow: hidden; }
.hr-tips__image img { width: 100%; height: auto; display: block; }
.hr-tips__list { margin: 24px 0 32px; }
.hr-tips__list li {
    position: relative;
    padding: 4px 0 4px 28px;
    font-size: 16px;
    line-height: 24px;
    color: var(--hr-ink);
}
.hr-tips__list li + li { margin-top: 4px; }
.hr-tips__list li::before {
    content: "";
    position: absolute;
    left: 8px; top: 12px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--hr-ink);
}
.hr-tips__list strong { font-weight: 600; }
.hr-tips__foot { color: var(--hr-ink); font-size: 16px; line-height: 24px; margin-top: 48px; padding-top: 16px; }

/* ---------- PRIVACY ---------- */
.hr-privacy__badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: 16px 0 24px;
}
.hr-privacy__badges > div {
    background: #f8f8f8;
    border-radius: 10px;
    padding: 16px 24px;
    min-height: 72px;
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.hr-privacy__badges img { width: 24px; height: 24px; flex-shrink: 0; display: block; }
.hr-privacy__badges p { font-size: 14px; line-height: 20px; color: #404040; margin: 0; letter-spacing: 0.14px; }

/* ---------- RESOURCES ---------- */
.hr-resources ul { list-style: disc; padding-left: 24px; margin: 8px 0 16px; }
.hr-resources li { font-size: 16px; line-height: 24px; color: var(--hr-ink); }
.hr-resources__foot { color: var(--hr-ink); font-size: 16px; line-height: 24px; margin: 16px 0 0; }

/* ---------- FOOTER AD (hide empty slot on revamp) ---------- */
.dfp-ad { display: none; }

/* ---------- FAQ ---------- */
.hr-faq__list { display: flex; flex-direction: column; gap: 24px; }
.hr-faq__item {
    background: #f8f8f8;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    border: 0;
}
.hr-faq__item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0.32px;
    color: var(--hr-black);
}
.hr-faq__item summary::-webkit-details-marker { display: none; }
.hr-faq__item summary > span { flex: 1; min-width: 0; }
.hr-faq__chevron {
    width: 16px;
    height: 8px;
    display: block;
    flex-shrink: 0;
    transform: rotate(180deg);
    transition: transform 0.2s ease;
}
.hr-faq__item[open] .hr-faq__chevron { transform: rotate(0deg); }
.hr-faq__item p {
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.14px;
    color: var(--hr-black);
}

/* ---------- CTA ---------- */
.hr-cta {
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    border-radius: var(--hr-radius);
    margin: 16px auto 60px;
    max-width: 1376px;
    padding: 0;
    position: relative;
    min-height: 365px;
}
.hr-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--hr-radius);
    background: linear-gradient(90deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.6) 34%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}
.hr-cta__inner {
    position: relative;
    padding: 60px;
    max-width: 669px;
}
.hr-cta__inner h2 {
    font-weight: 600;
    font-size: 36px;
    line-height: 44px;
    letter-spacing: -1px;
    color: var(--hr-black);
    margin: 0 0 12px;
}
.hr-cta__inner p { color: var(--hr-ink); font-size: 16px; line-height: 24px; margin: 0 0 12px; }
.hr-cta__link {
    display: inline-block;
    margin-top: 8px;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0.32px;
    color: var(--hr-ink);
    text-decoration: underline;
}
.hr-cta__link:hover,
.hr-cta__link:focus { color: var(--hr-black); }

/* ---------- TABLET ---------- */
@media (max-width: 1024px) {
    .hr-section { padding: 48px 24px; }
    .hr-hero__inner { padding: 48px 32px; }
    .hr-hero__title { font-size: 32px; line-height: 40px; margin-bottom: 24px; }
    .hr-hero { min-height: 468px; }
    .hr-form__row { gap: 16px; }
    .hr-how__grid { grid-template-columns: 1fr; }
    .hr-how__image { max-height: 320px; }
    .hr-who__list { grid-template-columns: repeat(3, 1fr); }
    .hr-tips__grid { grid-template-columns: 1fr; gap: 24px; }
    .hr-tips__image { max-height: 360px; }
    .hr-privacy__badges { gap: 16px; }
    .hr-cta__inner { padding: 40px; }
    .hr-section__title { font-size: 28px; line-height: 36px; }
}

/* ---------- MOBILE ---------- */
@media (max-width: 640px) {
    .hr-section { padding: 40px 16px; }
    .hr-hero { min-height: 0; }
    .hr-hero__inner { padding: 32px 20px; }
    .hr-hero__title { font-size: 24px; line-height: 32px; }
    .hr-hero::before { background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 100%); }
    .hr-form__row { flex-direction: column; gap: 12px; margin-bottom: 12px; }
    .hr-form__group { min-width: 0; }
    .hr-form__group select { min-width: 0; width: 100%; }
    .hr-btn--primary { width: 100%; min-width: 0; }
    .hr-form__submit { flex-direction: column; align-items: stretch; }
    .hr-section__title { font-size: 22px; line-height: 28px; }
    .hr-who__list { grid-template-columns: 1fr; }
    .hr-check-list { grid-template-columns: 1fr; gap: 12px; }
    .hr-privacy__badges { grid-template-columns: 1fr; gap: 12px; }
    .hr-cta { margin: 16px 16px 40px; background-position: top right; }
    .hr-cta::before { background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.95) 40%); }
    .hr-cta__inner { padding: 24px; max-width: 100%; }
    .hr-cta__inner h2 { font-size: 24px; line-height: 30px; }
    .hr-slide { height: 140px; }
}
