/* Homepage "Our Video" section (index.blade.php, .hp-vid). */

.hp-vid {
    position: relative;
    overflow: hidden;
    padding: 90px 0 100px;
    background: #fff;
}

/* ── Header ───────────────────────────────────────────── */
.hp-vid .hp-vid-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.hp-vid .hp-vid-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-vid .hp-vid-eyebrow::before,
.hp-vid .hp-vid-eyebrow::after { content: ""; width: 34px; height: 2px; background: #c62828; }
.hp-vid .process-title { margin: 0 0 12px; font-size: 2.6rem; line-height: 1.15; }
.hp-vid .hp-vid-sub { margin: 0; padding: 0; font-size: 17px; line-height: 1.7; color: #555; }

/* ── Video card ───────────────────────────────────────── */
.hp-vid .hp-vid-stage { position: relative; max-width: 940px; margin: 0 auto; padding-bottom: 60px; }
.hp-vid .hp-vid-stage::before {
    content: "";
    position: absolute;
    left: -22px;
    top: -22px;
    width: 46%;
    height: 60%;
    border: 2px solid #c62828;
    border-radius: 28px;
}
.hp-vid .hp-vid-stage::after {
    content: "";
    position: absolute;
    right: -30px;
    top: 30%;
    width: 130px;
    height: 130px;
    background-image: radial-gradient(#e7a9aa 2px, transparent 2px);
    background-size: 16px 16px;
}
.hp-vid .hp-vid-card {
    position: relative;
    z-index: 1;
    overflow: hidden;
    aspect-ratio: 1280 / 668; /* the video file has 26px black bars top and bottom; the card shows only the picture */
    border-radius: 24px;
    cursor: pointer;
    background: #111;
    box-shadow: 0 34px 70px rgba(17, 22, 31, .22);
}
.hp-vid .hp-vid-card video { position: absolute; left: 0; top: -3.9%; display: block; width: 100%; height: 107.8%; object-fit: cover; }

.hp-vid .hp-vid-play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: 92px;
    height: 92px;
    border: 0;
    border-radius: 50%;
    background: #c62828;
    cursor: pointer;
    transform: translate(-50%, -50%);
    animation: hp-vid-pulse 2s ease-out infinite;
    transition: transform .2s ease, opacity .2s ease;
}
.hp-vid .hp-vid-play span {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: 4px;
    border-style: solid;
    border-width: 15px 0 15px 24px;
    border-color: transparent transparent transparent #fff;
    transform: translate(-50%, -50%);
}
.hp-vid .hp-vid-play:hover { transform: translate(-50%, -50%) scale(1.08); }
.hp-vid .is-playing .hp-vid-play { opacity: 0; pointer-events: none; }
@keyframes hp-vid-pulse {
    0% { box-shadow: 0 0 0 0 rgba(198, 40, 40, .55), 0 14px 30px rgba(0, 0, 0, .35); }
    100% { box-shadow: 0 0 0 24px rgba(198, 40, 40, 0), 0 14px 30px rgba(0, 0, 0, .35); }
}
.hp-vid .hp-vid-sound {
    position: absolute;
    left: 18px;
    top: 18px;
    z-index: 2;
    padding: 8px 16px;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, .6);
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.hp-vid .hp-vid-sound:hover { background: #c62828; }
.hp-vid .hp-vid-sound[hidden] { display: none; }

/* ── Stat cards over the bottom edge ─────────────────── */
.hp-vid .hp-vid-stats {
    position: absolute;
    left: 50%;
    bottom: 0;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 86%;
    margin: 0;
    padding: 0;
    list-style: none;
    transform: translateX(-50%);
}
.hp-vid .hp-vid-stats li {
    padding: 18px 20px;
    border-top: 3px solid #c62828;
    border-radius: 16px;
    background: #fff;
    text-align: center;
    box-shadow: 0 18px 36px rgba(17, 22, 31, .12);
}
.hp-vid .hp-vid-stats strong { display: block; font-size: 28px; font-weight: 800; line-height: 1.1; color: #111; }
.hp-vid .hp-vid-stats span { display: block; margin-top: 4px; font-size: 14px; color: #666; }

/* ── Buttons ──────────────────────────────────────────── */
.hp-vid .hp-vid-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.hp-vid .hp-vid-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-vid .hp-vid-btn:hover { transform: translateY(-2px); }
.hp-vid .hp-vid-btn--red { background: #c62828; border: 1px solid #c62828; color: #fff; box-shadow: 0 10px 22px rgba(198, 40, 40, .25); }
.hp-vid .hp-vid-btn--red:hover { background: #a91f1f; border-color: #a91f1f; color: #fff; }
.hp-vid .hp-vid-btn--wa { background: #fff; border: 1px solid #bfe9cf; color: #0b6e36; }
.hp-vid .hp-vid-btn--wa:hover { background: #25d366; border-color: #25d366; color: #fff; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 991px) {
    .hp-vid { padding: 70px 0 80px; }
    .hp-vid .hp-vid-stage::after { display: none; }
    .hp-vid .hp-vid-stats { width: 94%; gap: 10px; }
    .hp-vid .hp-vid-stats li { padding: 14px 10px; }
    .hp-vid .hp-vid-stats strong { font-size: 22px; }
    .hp-vid .hp-vid-stats span { font-size: 12.5px; }
}
@media (max-width: 767px) {
    .hp-vid { padding: 56px 0; }
    .hp-vid .process-title { font-size: 2rem; }
    .hp-vid .hp-vid-sub { font-size: 15px; }
    .hp-vid .hp-vid-head { margin-bottom: 32px; }
    .hp-vid .hp-vid-stage { padding-bottom: 0; }
    .hp-vid .hp-vid-stage::before { left: -10px; top: -10px; border-radius: 20px; }
    .hp-vid .hp-vid-card { border-radius: 16px; }
    .hp-vid .hp-vid-stats { position: static; transform: none; width: 100%; margin-top: 16px; gap: 8px; }
    .hp-vid .hp-vid-stats li { padding: 12px 6px; border-radius: 12px; }
    .hp-vid .hp-vid-stats strong { font-size: 19px; }
    .hp-vid .hp-vid-stats span { font-size: 11.5px; }
    .hp-vid .hp-vid-play { width: 62px; height: 62px; }
    .hp-vid .hp-vid-play span { border-width: 10px 0 10px 16px; margin-left: 3px; }
    .hp-vid .hp-vid-sound { left: 10px; top: 10px; padding: 6px 12px; font-size: 12px; }
    .hp-vid .hp-vid-actions { flex-direction: column; margin-top: 28px; }
    .hp-vid .hp-vid-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .hp-vid .hp-vid-play { animation: none; }
}
.hp-vid .hp-vid-stats span { line-height: 1.35; }
