/* ==========================================================
   HOME PAGE
   Loaded only on the home page (see resources/views/Web/home.blade.php).
   Works alongside the existing home.css (hero and how it works).
   New classes use the hp- prefix.

   1. Shared: labels, links, buttons, sections
   2. Hero actions
   3. Introduction
   4. Services preview (sliding cards use home.css)
   5. Why families choose
   6. Featured care professionals
   8. Responsive
   ========================================================== */


/* ==========================================================
   1. SHARED
   ========================================================== */
.hp-section {
    padding: 80px 0;
}

/* Small pill label above section titles */
.hp-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 16px;
}

.hp-label__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--gold-primary);
}

.hp-link {
    display: inline-block;
    color: var(--gold-primary);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.hp-link:hover {
    color: var(--charcoal-ink);
}

.hp-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--gold-primary);
    background-color: rgba(255, 255, 255, 0.6);
    color: var(--charcoal-ink);
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.hp-btn-outline:hover {
    background-color: var(--gold-primary);
    color: var(--white-color);
}

.hp-note {
    max-width: 620px;
    margin: 16px auto 0;
    color: var(--warm-gray);
    font-size: 15px;
    font-style: italic;
}


/* ==========================================================
   2. HERO ACTIONS
   ========================================================== */
.hp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}


/* ==========================================================
   3. INTRODUCTION
   ========================================================== */
.hp-intro {
    padding: 80px 0 40px;
    background-color: var(--base-color);
    text-align: center;
}

.hp-intro__text {
    max-width: 780px;
    margin: 24px auto;
    color: var(--charcoal-ink);
    font-family: var(--font-family-heading);
    font-size: 26px;
    line-height: 1.5;
}


/* ==========================================================
   5. WHY FAMILIES CHOOSE
   ========================================================== */
.hp-why {
    background-color: var(--base-color);
}

.hp-why__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.hp-why__item {
    padding: 28px 24px;
    border-radius: 20px;
    background-color: var(--white-color);
}

.hp-why__mark {
    display: block;
    width: 36px;
    height: 36px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: url(../images/list.png) no-repeat center;
    background-size: 22px 22px;
    background-color: var(--soft-cream);
}

.hp-why__item h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--charcoal-ink);
}

.hp-why__item p {
    margin: 0;
    color: var(--warm-gray);
    font-size: 15px;
    line-height: 1.6;
}


/* ==========================================================
   6. FEATURED CARE PROFESSIONALS
   ========================================================== */
.hp-pros {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.hp-pro {
    position: relative;
    padding: 25px;
    border-radius: 16px;
    background-color: var(--base-color);
}

.hp-pro__tag {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 10px;
    border-radius: 50px;
    background-color: var(--soft-cream);
    color: var(--warm-gray);
    font-size: 12px;
    font-weight: 500;
}

.hp-pro__head {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    margin-top: 20px;
}

.hp-pro__head img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
}

.hp-pro__name {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    color: var(--charcoal-ink);
}

.hp-pro__role {
    margin: 24px 0 0;
    font-size: 22px;
    line-height: 1.3;
    color: var(--charcoal-ink);
}

.hp-pro__rate {
    margin: 24px 0 0;
    font-size: 30px;
    font-weight: 700;
    color: var(--charcoal-ink);
}

.hp-pro__rate span {
    font-size: 16px;
    font-weight: 600;
}

.hp-pro__location {
    margin: 24px 0 0;
    color: var(--warm-gray);
}


/* ==========================================================
   8. RESPONSIVE
   ========================================================== */
@media (max-width: 1199px) {
    .hp-why__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .hp-pros {
        grid-template-columns: repeat(2, 1fr);
    }

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

}

@media (max-width: 767px) {
    .hp-section {
        padding: 50px 0;
    }

    .hp-intro {
        padding: 50px 0 20px;
    }

    .hp-intro__text {
        font-size: 20px;
    }

    .hp-why__grid,
    .hp-pros {
        grid-template-columns: 1fr;
    }

}