/* ============================================================
   SIKIA — situs multipage & hero foto gaya Hospil home_v3
   (melengkapi home.css)
   ============================================================ */

/* ---------- Hero foto layar penuh ---------- */
.hm-hero3 { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: #0b1220; }
.hm-hero3-bg { position: absolute; inset: 0; background: var(--hero) center 30% / cover no-repeat; transform: scale(1.08); animation: hmKenBurns 22s ease-in-out infinite alternate; }
@keyframes hmKenBurns { from { transform: scale(1.08) translate(0, 0); } to { transform: scale(1.16) translate(-1.5%, -1%); } }
.hm-hero3-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(11 18 32 / .25) 0%, rgb(11 18 32 / .45) 40%, rgb(11 18 32 / .88) 70%), linear-gradient(0deg, rgb(11 18 32 / .85) 0%, transparent 45%); }
.hm-hero3-inner { position: relative; z-index: 2; padding-top: 150px; padding-bottom: 70px; display: grid; grid-template-columns: 1fr minmax(0, 640px); grid-template-areas: "checks content"; align-items: end; gap: 30px; }
.hm-hero3-content { grid-area: content; }
.hm-hero3-checks { grid-area: checks; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; align-self: end; font-weight: 500; color: #f1f5f9; }
.hm-hero3-checks li { display: flex; align-items: center; gap: 10px; text-shadow: 0 2px 10px rgb(0 0 0 / .4); }
.hm-hero3-checks i { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgb(16 185 129 / .9); color: #fff; font-size: 14px; }
.hm-hero3-badges { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hm .hm-hero3-title { font-size: clamp(38px, 5vw, 70px); font-weight: 800; line-height: 1.06; color: #fff; margin-bottom: 20px; }
.hm-hero3-lead { font-size: 18px; line-height: 1.7; color: #e2e8f0; margin-bottom: 32px; max-width: 600px; }
.hm-hero3-scroll { position: absolute; right: 30px; bottom: 34px; z-index: 3; width: 52px; height: 52px; border-radius: 50%; background: var(--hm-blue); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; animation: hmFloat 2.4s ease-in-out infinite; box-shadow: 0 10px 30px rgb(37 99 235 / .5); }
.hm .hm-hero3-scroll:hover { color: #fff; }
.hm-btn-warm { background: var(--hm-orange); color: #fff; box-shadow: 0 12px 26px rgb(249 115 22 / .3); }
.hm .hm-btn-warm:hover { color: #fff; }
@media (max-width: 991.98px) {
  .hm-hero3-inner { grid-template-columns: 1fr; grid-template-areas: "content" "checks"; padding-top: 130px; }
  .hm-hero3-overlay { background: linear-gradient(0deg, rgb(11 18 32 / .92) 10%, rgb(11 18 32 / .55) 60%, rgb(11 18 32 / .4)); }
  .hm-hero3-scroll { display: none; }
}
@media (max-width: 575.98px) { .hm-hero3-badges { display: none; } }

/* ---------- Dropdown navigasi ---------- */
.hm-dropdown { position: relative; }
.hm-dropdown > a { display: inline-flex; align-items: center; gap: 4px; }
.hm-dropdown-menu { position: absolute; top: calc(100% + 14px); left: -20px; width: 330px; background: #fff; border-radius: 18px; padding: 10px; box-shadow: 0 30px 60px rgb(0 0 0 / .25); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s var(--hm-ease); z-index: 5; }
.hm-dropdown-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.hm-dropdown:hover .hm-dropdown-menu, .hm-dropdown:focus-within .hm-dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.hm .hm-nav .hm-dropdown-menu a { display: flex; gap: 12px; align-items: flex-start; color: var(--hm-dark); padding: 10px 12px; border-radius: 12px; background: none; }
.hm .hm-nav .hm-dropdown-menu a:hover { background: var(--hm-blue-50); color: var(--hm-blue); }
.hm-dropdown-menu a::after { display: none !important; }
.hm-dropdown-menu i { width: 36px; height: 36px; flex: none; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--hm-blue-50); color: var(--hm-blue); }
.hm-dropdown-menu strong { display: block; font-size: 14px; }
.hm-dropdown-menu small { color: var(--hm-muted); font-size: 12px; }
@media (max-width: 991.98px) {
  .hm-dropdown-menu { position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgb(255 255 255 / .04); margin: 4px 0; }
  .hm .hm-nav .hm-dropdown-menu a { color: #e5e7eb; }
  .hm-dropdown-menu small { color: #94a3b8; }
  .hm-dropdown-menu::before { display: none; }
  .hm-nav { max-height: calc(100vh - 110px); overflow-y: auto; }
}

/* ---------- Banner halaman dalam ---------- */
.hm-banner { position: relative; padding: 190px 0 120px; color: #fff; background: linear-gradient(90deg, rgb(11 18 32 / .92), rgb(11 18 32 / .6) 60%, rgb(11 18 32 / .45)), var(--banner) center / cover no-repeat; overflow: hidden; }
.hm .hm-banner-title { font-size: clamp(34px, 4.6vw, 60px); font-weight: 800; color: #fff; margin: 14px 0 12px; max-width: 820px; }
.hm-banner-text { color: #cbd5e1; font-size: 18px; max-width: 640px; margin: 0; }
.hm-crumbs { list-style: none; display: inline-flex; flex-wrap: wrap; gap: 8px; padding: 8px 16px; margin: 0; border-radius: 999px; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .18); font-size: 14px; }
.hm-crumbs li + li::before { content: '/'; margin-right: 8px; color: #94a3b8; }
.hm-crumbs a { color: #93c5fd; }
.hm-banner-wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 60px; }
.hm-banner-wave path { fill: #fff; }

/* ---------- Foto umum ---------- */
.hm-photo { position: relative; overflow: hidden; border-radius: 24px; background: #e5e7eb; }
.hm-photo > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hm-photo > img[data-parallax-img] { height: 112%; margin-top: -6%; }
.hm-about-photo { height: 100%; min-height: 460px; }
.hm-mini-photo { height: 100%; min-height: 170px; border-radius: 20px; }
.hm-svc-photo { height: 420px; }
.hm-round-link { position: absolute; left: 20px; bottom: 20px; width: 52px; height: 52px; border-radius: 50%; background: var(--hm-blue); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; transition: transform .35s var(--hm-ease); }
.hm .hm-round-link:hover { color: #fff; transform: rotate(-45deg) scale(1.08); }
@media (max-width: 991.98px) { .hm-svc-photo { height: 280px; } .hm-about-photo { min-height: 340px; } }

/* ---------- Kartu flip berfoto ---------- */
.hm-flip-photo { background: #111827; }
.hm-flip-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hm-flip-photo::after { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(0deg, rgb(11 18 32 / .92), rgb(11 18 32 / .1) 65%); }
.hm-flip-photo .hm-flip-title { z-index: 1; }
.hm-flip-photo .hm-flip-num { z-index: 1; }
.hm-flip-photo .hm-flip-icon { background: var(--hm-blue); color: #fff; }

/* ---------- CTA lingkaran foto ---------- */
.hm-cta-circle { overflow: hidden; border: 6px solid rgb(255 255 255 / .9); inset: 36px; }
.hm-cta-circle img { width: 100%; height: 100%; object-fit: cover; animation: none; }
.hm-cta-badge { background: #fff; }
.hm-cta-badge img { width: 58%; height: auto; }

/* ---------- Tentang: tumpukan foto ---------- */
.hm-about-stack { position: relative; padding: 0 60px 70px 0; }
.hm-stack-main { height: 500px; }
.hm-stack-sub { position: absolute; right: 0; bottom: 0; width: 46%; height: 300px; border: 8px solid #fff; border-radius: 26px; box-shadow: var(--hm-shadow-lg); }
.hm-stack-badge { position: absolute; left: 24px; bottom: 30px; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 18px; padding: 14px 18px; box-shadow: var(--hm-shadow-lg); font-size: 14px; color: var(--hm-dark); line-height: 1.3; }
.hm-check-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.hm-check-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--hm-dark); }
.hm-check-list i { color: var(--hm-green); margin-top: 2px; }
.hm-pastel.peach { background: #ffedd5; }
.hm-pastel-lg { padding: 34px 30px; }
.hm .hm-pastel-lg h4 { font-size: 22px; }
@media (max-width: 575.98px) { .hm-about-stack { padding: 0 0 60px; } .hm-stack-main { height: 340px; } .hm-stack-sub { height: 180px; width: 52%; } .hm-stack-badge { display: none; } }

/* ---------- Kartu nilai (halaman tentang) ---------- */
.hm-value-card { position: relative; height: 100%; background: #fff; border: 1px solid var(--hm-border); border-radius: 20px; padding: 28px 24px; transition: transform .45s var(--hm-ease), box-shadow .45s; }
.hm-value-card:hover { box-shadow: var(--hm-shadow-lg); }
.hm .hm-value-card h3 { font-size: 20px; font-weight: 700; margin: 16px 0 8px; }
.hm-value-card p { color: var(--hm-muted); margin: 0; font-size: 15px; line-height: 1.65; }
.hm-value-icon { width: 54px; height: 54px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; background: var(--hm-blue-50); color: var(--hm-blue); font-size: 24px; }
.hm-value-num { position: absolute; top: 14px; right: 18px; font-family: var(--hm-head); font-weight: 800; font-size: 38px; color: rgb(17 24 39 / .05); }
.hm-approach-photo { height: 330px; }
.hm-call-badge { left: auto; right: 18px; }

/* ---------- Daftar layanan ---------- */
.hm-service-card { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: 24px; border: 1px solid var(--hm-border); color: inherit; transition: transform .45s var(--hm-ease), box-shadow .45s; }
.hm .hm-service-card:hover { transform: translateY(-6px); box-shadow: var(--hm-shadow-lg); color: inherit; }
.hm-service-img { position: relative; height: 260px; }
.hm-service-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px 24px 0 0; display: block; }
.hm-service-icon { position: absolute; left: 22px; bottom: -28px; width: 60px; height: 60px; border-radius: 18px; background: var(--hm-blue); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 26px; border: 4px solid #fff; z-index: 1; transition: transform .45s var(--hm-ease); }
.hm-service-card:hover .hm-service-icon { transform: rotate(-8deg) scale(1.06); }
.hm-service-body { padding: 44px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.hm .hm-service-body h2 { font-size: 24px; font-weight: 700; }
.hm-service-body p { color: #4b5563; line-height: 1.7; }
.hm-service-body ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 6px; font-size: 14.5px; color: var(--hm-dark); }
.hm-service-body ul i { color: var(--hm-green); }
.hm-link-arrow { margin-top: auto; font-weight: 600; color: var(--hm-blue); display: inline-flex; gap: 8px; align-items: center; }
.hm-link-arrow i { transition: transform .3s; }
.hm-service-card:hover .hm-link-arrow i { transform: translateX(4px); }
.hm-work-step { text-align: center; padding: 10px 14px; }
.hm-work-icon { position: relative; width: 96px; height: 96px; margin: 0 auto 18px; border-radius: 50%; background: #fff; box-shadow: var(--hm-shadow); display: flex; align-items: center; justify-content: center; font-size: 36px; color: var(--hm-blue); }
.hm-work-icon b { position: absolute; right: -4px; bottom: 2px; width: 32px; height: 32px; border-radius: 50%; background: var(--hm-blue); color: #fff; font-size: 13px; display: flex; align-items: center; justify-content: center; border: 3px solid #fff; }
.hm .hm-work-step h3 { font-size: 20px; font-weight: 700; }
.hm-work-step p { color: var(--hm-muted); }

/* ---------- Detail layanan ---------- */
.hm-detail-photo { height: 440px; }
.hm-detail-item { display: flex; gap: 16px; background: var(--hm-gray-25); border-radius: 18px; padding: 20px; height: 100%; transition: background .3s, transform .45s var(--hm-ease); }
.hm-detail-item:hover { background: var(--hm-blue-50); transform: translateY(-4px); }
.hm-detail-item > span { width: 50px; height: 50px; flex: none; border-radius: 14px; background: #fff; color: var(--hm-blue); display: inline-flex; align-items: center; justify-content: center; font-size: 22px; box-shadow: var(--hm-shadow); }
.hm .hm-detail-item h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.hm-detail-item p { margin: 0; color: #4b5563; font-size: 14.5px; line-height: 1.6; }
.hm-detail-highlight { background: linear-gradient(135deg, #1e3a8a, #2563eb); color: #fff; border-radius: 22px; padding: 28px 30px; }
.hm .hm-detail-highlight h3 { color: #fff; font-size: 22px; margin-bottom: 14px; }
.hm-detail-highlight ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.hm-detail-highlight i { color: #6ee7b7; margin-right: 8px; }
.hm-sidebar { position: sticky; top: 120px; display: grid; gap: 22px; }
.hm-side-card { background: var(--hm-gray-25); border-radius: 22px; padding: 26px; }
.hm .hm-side-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 14px; }
.hm-side-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.hm-side-links a { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 14px; background: #fff; color: var(--hm-dark); font-weight: 600; transition: .3s var(--hm-ease); }
.hm .hm-side-links a:hover, .hm .hm-side-links a.active { background: var(--hm-blue); color: #fff; }
.hm-side-cta { position: relative; overflow: hidden; border-radius: 22px; padding: 30px 26px; color: #fff; background: linear-gradient(0deg, rgb(11 18 32 / .92), rgb(30 58 138 / .55)), var(--bg) center / cover; }
.hm .hm-side-cta h3 { color: #fff; font-size: 22px; margin: 10px 0 18px; }

/* ---------- Kontak ---------- */
.hm-info-card { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--hm-border); border-radius: 20px; padding: 24px; height: 100%; transition: transform .45s var(--hm-ease), box-shadow .45s; }
.hm-info-card:hover { transform: translateY(-6px); box-shadow: var(--hm-shadow-lg); }
.hm-info-card > span { width: 54px; height: 54px; flex: none; border-radius: 16px; background: var(--hm-blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 24px; }
.hm .hm-info-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 4px; }
.hm-info-card p { margin: 0; color: var(--hm-muted); }
.hm-promise { padding-bottom: 26px; }
.hm-promise-photo { height: 210px; border-radius: 18px; margin-top: 16px; }
.hm-faq-photo { height: 340px; }

/* ---------- Footer ---------- */
.hm-footer-contact li { display: flex; gap: 10px; align-items: center; }
.hm .hm-footer-contact li a::before { display: none; }
.hm-footer-contact i { color: #60a5fa; }
.hm .hm-footer .hm-footer-cta { margin-top: 0; }
