/* Homepage "Why Choose Anuda Architect?" (index.blade.php, .hp-why). Own file because the homepage stylesheet is purged. */

.hp-why {
    position: relative;
    padding: 100px 0;
    background-color: #fbf7f7;
    background-image:
        linear-gradient(rgba(198, 40, 40, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(198, 40, 40, .045) 1px, transparent 1px);
    background-size: 36px 36px;
}

/* ── Image ────────────────────────────────────────────── */
.hp-why .hp-why-media { position: relative; max-width: 560px; margin: 0 auto; padding: 0 20px 30px 0; }
.hp-why .hp-why-frame {
    overflow: hidden;
    padding: 24px;
    border: 1px solid #f0e2e2;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 26px 50px rgba(17, 22, 31, .1);
}
.hp-why .hp-why-frame img { display: block; width: 100%; height: auto; border-radius: 16px; transition: transform .6s ease; }
.hp-why .hp-why-media:hover .hp-why-frame img { transform: scale(1.03); }
.hp-why .hp-why-badge {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 16px;
    background: #c62828;
    color: #fff;
    box-shadow: 0 16px 34px rgba(198, 40, 40, .3);
}
.hp-why .hp-why-badge strong { font-size: 30px; font-weight: 800; line-height: 1; }
.hp-why .hp-why-badge span { font-size: 13px; font-weight: 600; line-height: 1.3; }

/* ── Text ─────────────────────────────────────────────── */
.hp-why .hp-why-content { padding-left: 30px; }
.hp-why .hp-why-eyebrow {
    display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px;
    color: #c62828; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.hp-why .hp-why-eyebrow::before { content: ""; width: 34px; height: 2px; background: #c62828; }
.hp-why .process-title { margin: 0 0 10px; font-size: 2.6rem; line-height: 1.15; }
.hp-why .process-title span { color: #c62828; }
.hp-why .hp-why-sub { margin: 0 0 22px; padding: 0; font-size: 18px; font-weight: 600; line-height: 1.5; color: #444; }

/* ── Numbered points ──────────────────────────────────── */
.hp-why .hp-why-list { margin: 0; padding: 0; list-style: none; }
.hp-why .hp-why-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 14px;
    border-radius: 14px;
    transition: background .25s ease, box-shadow .25s ease;
}
.hp-why .hp-why-list li + li { border-top: 1px dashed #ead8d8; }
.hp-why .hp-why-list li:hover { background: #fff; box-shadow: 0 12px 28px rgba(198, 40, 40, .08); border-top-color: transparent; }
.hp-why .hp-why-list li:hover + li { border-top-color: transparent; }
.hp-why .hp-why-num {
    flex: 0 0 42px;
    height: 42px;
    border: 2px solid #c62828;
    border-radius: 50%;
    background: #fff;
    color: #c62828;
    font-size: 14px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .25s ease, color .25s ease;
}
.hp-why .hp-why-list li:hover .hp-why-num { background: #c62828; color: #fff; }
.hp-why .hp-why-title { margin: 2px 0 4px; font-size: 17px; font-weight: 700; line-height: 1.35; color: #111; }
.hp-why .hp-why-list p { margin: 0; padding: 0; font-size: 15px; line-height: 1.7; color: #5a5a5a; }

/* ── Buttons ──────────────────────────────────────────── */
.hp-why .hp-why-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; padding-left: 14px; }
.hp-why .hp-why-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 26px; border-radius: 10px;
    font-family: inherit; font-size: 15px; font-weight: 700; line-height: 1.5;
    text-decoration: none; cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.hp-why .hp-why-btn:hover { transform: translateY(-2px); }
.hp-why .hp-why-btn--red { background: #c62828; border: 1px solid #c62828; color: #fff; box-shadow: 0 10px 22px rgba(198, 40, 40, .25); }
.hp-why .hp-why-btn--red:hover { background: #a91f1f; border-color: #a91f1f; color: #fff; }
.hp-why .hp-why-btn--wa { background: #fff; border: 1px solid #bfe9cf; color: #0b6e36; }
.hp-why .hp-why-btn--wa:hover { background: #25d366; border-color: #25d366; color: #fff; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1199px) {
    .hp-why .hp-why-content { padding-left: 10px; }
    .hp-why .process-title { font-size: 2.3rem; }
}
@media (max-width: 991px) {
    .hp-why { padding: 70px 0; }
    .hp-why .hp-why-media { margin-bottom: 44px; }
    .hp-why .hp-why-content { padding-left: 0; }
}
@media (max-width: 767px) {
    .hp-why { padding: 56px 0; background-size: 28px 28px; }
    .hp-why .hp-why-media { padding: 0 10px 24px 0; margin-bottom: 36px; }
    .hp-why .hp-why-frame { padding: 12px; border-radius: 20px; }
    .hp-why .hp-why-frame img { border-radius: 12px; }
    .hp-why .hp-why-badge { padding: 10px 14px; gap: 8px; border-radius: 12px; }
    .hp-why .hp-why-badge strong { font-size: 22px; }
    .hp-why .hp-why-badge span { font-size: 11.5px; }
    .hp-why .hp-why-content { text-align: center; }
    .hp-why .hp-why-eyebrow::after { content: ""; width: 34px; height: 2px; background: #c62828; }
    .hp-why .process-title { font-size: 2rem; }
    .hp-why .hp-why-sub { font-size: 16px; }
    .hp-why .hp-why-list { text-align: left; }
    .hp-why .hp-why-list li { padding: 14px 6px; gap: 12px; }
    .hp-why .hp-why-num { flex-basis: 36px; height: 36px; font-size: 13px; }
    .hp-why .hp-why-title { font-size: 16px; }
    .hp-why .hp-why-list p { font-size: 14.5px; }
    .hp-why .hp-why-actions { flex-direction: column; padding-left: 0; }
    .hp-why .hp-why-btn { width: 100%; }
}

/* Image column as tall as the text column on desktop */
@media (min-width: 992px) {
    .hp-why .hp-why-row { align-items: stretch; }
    .hp-why .hp-why-row > div:last-child { display: flex; align-items: center; }
    .hp-why .hp-why-media { height: 100%; max-width: none; margin: 0; padding: 0 24px 30px 0; }
    .hp-why .hp-why-frame { height: 100%; padding: 0; background: #fff; }
    .hp-why .hp-why-frame img { height: 100%; object-fit: cover; object-position: 30% center; border-radius: 0; }
}
