/* =========================================================================
   Service Desk (Insurance page · service request pop-up · track status)
   Brand: red #ce1212 · dark #212529 / #37373f
   ========================================================================= */
.sd-main { padding-top: 80px; background: #fafafa; }
.sd-section { padding: 56px 0 !important; }

.sd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border-radius: 999px; border: 0; font-weight: 700; font-size: 15px; text-decoration: none !important; cursor: pointer; transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s, background .25s; }
.sd-btn:hover { transform: translateY(-2px); }
.sd-btn:active { transform: scale(.97); }
.sd-btn-primary { background: linear-gradient(135deg, #ce1212, #e63939); color: #fff !important; box-shadow: 0 14px 28px -14px rgba(206, 18, 18, .8); }
.sd-btn-ghost { background: rgba(255, 255, 255, .12); color: #fff !important; border: 1px solid rgba(255, 255, 255, .3); }
.sd-btn-ghost-dark { background: #fff; color: #212529 !important; border: 1px solid #e5e7eb; }
.sd-btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* hero */
.sd-hero { position: relative; overflow: hidden; padding: 70px 0 64px !important; color: #fff; background: radial-gradient(circle at 85% 10%, rgba(206, 18, 18, .55), transparent 45%), linear-gradient(135deg, #111827 0%, #212529 55%, #37373f 100%); }
.sd-hero::after { content: ''; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .04); }
.sd-hero-inner { position: relative; z-index: 1; max-width: 760px; }
.sd-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(206, 18, 18, .2); border: 1px solid rgba(255, 120, 120, .35); font-size: 13px; font-weight: 600; }
.sd-hero h1 { margin: 16px 0 12px; font-size: clamp(32px, 5vw, 52px); font-weight: 800; letter-spacing: -.03em; color: #fff; line-height: 1.1; }
.sd-hero h1 span { color: #ff5b5b; }
.sd-hero p { font-size: 17px; line-height: 1.7; color: rgba(255, 255, 255, .78); margin: 0 0 24px; }
.sd-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sd-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-size: 14px; color: rgba(255, 255, 255, .75); }
.sd-trust i { color: #ff6b6b; margin-right: 6px; }

/* steps */
.sd-steps { display: flex; gap: 8px; margin-bottom: 26px; flex-wrap: wrap; }
.sd-step { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: #fff; border: 1px solid #eee; font-size: 13px; font-weight: 600; color: #9ca3af; }
.sd-step b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #f3f4f6; font-size: 12px; }
.sd-step.is-on { color: #ce1212; border-color: rgba(206, 18, 18, .3); }
.sd-step.is-on b { background: #ce1212; color: #fff; }
.sd-title { font-size: clamp(24px, 3.2vw, 34px); font-weight: 800; letter-spacing: -.02em; color: #212529; margin: 0 0 6px; }
.sd-sub { color: #6b7280; margin: 0 0 20px; }
.sd-group { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #9ca3af; margin: 22px 0 12px; }

.sd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.sd-type {
    position: relative; text-align: left; display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 20px;
    background: #fff; border: 1.5px solid #f0f0f0; box-shadow: 0 8px 24px -18px rgba(15, 23, 42, .35); cursor: pointer;
    transition: transform .3s cubic-bezier(.22,1,.36,1), border-color .25s, box-shadow .3s;
}
.sd-type:hover, .sd-type.is-picked { transform: translateY(-4px); border-color: #ce1212; box-shadow: 0 18px 36px -18px rgba(206, 18, 18, .55); }
.sd-type b { font-size: 16.5px; color: #212529; }
.sd-type small { color: #6b7280; font-size: 13px; line-height: 1.5; }
.sd-type-ic { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 15px; display: grid; place-items: center; font-size: 22px; color: #ce1212; background: rgba(206, 18, 18, .08); }
.sd-type:hover .sd-type-ic { background: #ce1212; color: #fff; }
.sd-type-go { position: absolute; right: 16px; top: 18px; color: #d1d5db; transition: transform .25s, color .25s; }
.sd-type:hover .sd-type-go { color: #ce1212; transform: translateX(3px); }

/* panel / form */
.sd-panel { background: #fff; border-radius: 24px; padding: 26px; border: 1px solid #f0f0f0; box-shadow: 0 24px 50px -30px rgba(15, 23, 42, .35); animation: sdIn .45s cubic-bezier(.22,1,.36,1); max-width: 860px; }
.sd-back { border: 0; background: transparent; color: #6b7280; font-weight: 600; padding: 0; margin-bottom: 14px; }
.sd-back:hover { color: #ce1212; }
.sd-picked { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.sd-picked small { display: block; color: #9ca3af; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.sd-picked b { font-size: 20px; color: #212529; }
.sd-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.sd-choice-btn { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px 16px; border-radius: 16px; border: 1.5px solid #eee; background: #fafafa; text-align: left; cursor: pointer; transition: .25s; }
.sd-choice-btn i { font-size: 20px; color: #9ca3af; margin-bottom: 4px; }
.sd-choice-btn b { color: #212529; font-size: 15px; } .sd-choice-btn small { color: #6b7280; font-size: 12.5px; }
.sd-choice-btn.is-on { border-color: #ce1212; background: rgba(206, 18, 18, .05); }
.sd-choice-btn.is-on i { color: #ce1212; }
.sd-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sd-field { display: block; margin-bottom: 14px; }
.sd-field span { display: block; font-size: 12.5px; font-weight: 700; color: #4b5563; margin-bottom: 6px; }
.sd-field input, .sd-field select, .sd-field textarea {
    width: 100%; border: 1.5px solid #e5e7eb; border-radius: 14px; padding: 12px 14px; font-size: 15px; background: #fafafa; color: #212529;
    outline: none; transition: border-color .2s, box-shadow .2s, background .2s;
}
.sd-field input:focus, .sd-field select:focus, .sd-field textarea:focus { border-color: #ce1212; background: #fff; box-shadow: 0 0 0 4px rgba(206, 18, 18, .1); }
.sd-field.is-bad input { border-color: #dc2626; }
.sd-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.sd-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.sd-note { font-size: 13px; color: #6b7280; margin: 0; } .sd-note i { color: #059669; margin-right: 4px; }
.sd-msg { margin-top: 12px; font-weight: 600; font-size: 14px; }
.sd-msg.err { color: #dc2626; } .sd-msg.ok { color: #059669; }

.sd-done { text-align: center; margin: 0 auto; }
.sd-done-ic { width: 76px; height: 76px; margin: 4px auto 14px; border-radius: 50%; display: grid; place-items: center; font-size: 40px; color: #fff; background: linear-gradient(135deg, #059669, #10b981); box-shadow: 0 16px 30px -12px rgba(5, 150, 105, .7); animation: sdPop .5s cubic-bezier(.22,1.4,.36,1); }
.sd-done h2 { font-weight: 800; color: #212529; }
.sd-done p { color: #4b5563; font-size: 16px; }
.sd-done #sd-ref { color: #ce1212; font-size: 20px; letter-spacing: .04em; }

/* track */
.sd-track-sec { background: linear-gradient(180deg, #fafafa, #fff); }
.sd-track-card { max-width: 860px; margin: 0 auto; background: #fff; border-radius: 24px; padding: 26px; border: 1px solid #f0f0f0; box-shadow: 0 24px 50px -30px rgba(15, 23, 42, .35); }
.sd-track-head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.sd-track-head h2 { margin: 0; font-size: 24px; font-weight: 800; color: #212529; }
.sd-track-head p { margin: 2px 0 0; color: #6b7280; }
.sd-track-form { display: flex; gap: 10px; }
.sd-track-form input { flex: 1; min-width: 0; height: 52px; border-radius: 999px; border: 1.5px solid #e5e7eb; padding: 0 20px; font-size: 16px; background: #fafafa; outline: none; letter-spacing: .04em; }
.sd-track-form input:focus { border-color: #ce1212; box-shadow: 0 0 0 4px rgba(206, 18, 18, .1); background: #fff; }
.sd-track-list { margin-top: 18px; display: grid; gap: 10px; }
.sd-track-list h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #9ca3af; margin: 8px 0 2px; }
.sd-trow { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: #fafafa; border: 1px solid #f0f0f0; animation: sdIn .35s cubic-bezier(.22,1,.36,1) both; }
.sd-trow .sd-type-ic { width: 42px; height: 42px; flex-basis: 42px; font-size: 18px; }
.sd-trow-main { flex: 1; min-width: 0; }
.sd-trow-main b { display: block; color: #212529; }
.sd-trow-main small { color: #6b7280; }
.sd-badge { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.sd-badge.ok { background: rgba(5, 150, 105, .12); color: #047857; }
.sd-badge.warn { background: rgba(217, 119, 6, .14); color: #b45309; }
.sd-badge.info { background: rgba(37, 99, 235, .1); color: #1d4ed8; }
.sd-badge.off { background: #f3f4f6; color: #6b7280; }
.sd-empty { padding: 18px; text-align: center; color: #6b7280; border: 1px dashed #e5e7eb; border-radius: 16px; margin-top: 16px; }

.sd-why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sd-why-item { background: #fff; border-radius: 20px; padding: 20px; border: 1px solid #f0f0f0; display: flex; flex-direction: column; gap: 4px; }
.sd-why-item i { font-size: 26px; color: #ce1212; margin-bottom: 6px; }
.sd-why-item b { color: #212529; } .sd-why-item small { color: #6b7280; line-height: 1.5; }

/* service request pop-up (services page) */
.sd-modal { position: fixed; inset: 0; z-index: 10050; display: grid; place-items: center; padding: 16px; background: rgba(15, 23, 42, .5); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: .25s; }
.sd-modal.show { opacity: 1; visibility: visible; }
.sd-modal-box { width: 620px; max-width: 100%; max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 24px; padding: 22px; transform: translateY(14px) scale(.97); transition: transform .35s cubic-bezier(.22,1.2,.36,1); }
.sd-modal.show .sd-modal-box { transform: none; }
.sd-modal-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.sd-modal-head h3 { margin: 0; font-size: 20px; font-weight: 800; color: #212529; }
.sd-x { width: 40px; height: 40px; border-radius: 12px; border: 0; background: #f3f4f6; font-size: 18px; }
.sd-enquire { margin-top: 12px; width: 100%; height: 42px; border-radius: 12px; border: 1.5px solid #ce1212; background: #fff; color: #ce1212; font-weight: 700; transition: .2s; }
.sd-enquire:hover { background: #ce1212; color: #fff; }

@keyframes sdIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes sdPop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }

@media (max-width: 991px) { .sd-why { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
    .sd-main { padding-top: 70px; }
    .sd-hero { padding: 44px 0 40px !important; }
    .sd-hero p { font-size: 15.5px; }
    .sd-hero-actions .sd-btn { flex: 1 1 100%; }
    .sd-section { padding: 36px 0 !important; }
    .sd-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .sd-type { padding: 14px; border-radius: 18px; }
    .sd-type small { display: none; }
    .sd-type b { font-size: 14.5px; }
    .sd-type-go { display: none; }
    .sd-panel, .sd-track-card { padding: 18px; border-radius: 20px; }
    .sd-row { grid-template-columns: 1fr; gap: 0; }
    .sd-choice { grid-template-columns: 1fr 1fr; }
    .sd-choice-btn small { display: none; }
    .sd-form-foot .sd-btn { width: 100%; }
    .sd-track-form { flex-direction: column; }
    .sd-track-form .sd-btn { width: 100%; }
    .sd-modal { place-items: end center; padding: 0; }
    .sd-modal-box { border-radius: 24px 24px 0 0; max-height: 92vh; }
}
@media (prefers-reduced-motion: reduce) { .sd-main *, .sd-modal * { animation: none !important; transition: none !important; } }
