/* ============================================================
   Travespert - Grievance Redressal page (inc/grievance-page.php)
   Amber design-system tokens. Two-column form + timeline.
   ============================================================ */

.tv-grv { --grv-gutter: clamp(18px, 5vw, 40px); color: var(--tv-ink); }
.tv-grv-wrap { max-width: 1120px; margin: 0 auto; padding-left: var(--grv-gutter); padding-right: var(--grv-gutter); box-sizing: border-box; }

/* ---- Hero ---- */
.tv-grv-hero { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(280px, 32vw, 400px); background: #1b1b1b; padding: clamp(48px, 6vw, 74px) 0 clamp(30px, 4vw, 46px); }
.tv-grv-hero > * { width: 100%; }
.tv-grv-hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: #1b1b1b url("https://travespert.com/wp-content/uploads/Scenic-aerial-view-of-Umiam-Lake-in-Meghalaya-surrounded-by-lush-green-hills-under-a-vibrant-blue-sky-with-scattered-clouds-3-1536x1024.webp") center / cover no-repeat; }
.tv-grv-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(12,12,12,.32) 0%, rgba(12,12,12,.34) 38%, rgba(12,12,12,.72) 100%); }
.tv-grv-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: var(--tv-fs-sm); font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--tv-primary); margin: 0 0 12px; }
.tv-grv-eyebrow::before { content: ''; width: 22px; height: 3px; border-radius: 3px; background: var(--tv-primary); }
.tv-grv-hero__h1 { font-size: var(--tv-fs-h1); font-weight: 800; letter-spacing: var(--tv-ls-display); line-height: var(--tv-lh-tight); color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.5), 0 2px 20px rgba(0,0,0,.55); margin: 0 0 14px; }
.tv-grv-hero__lead { font-size: var(--tv-fs-lead); font-weight: 600; line-height: var(--tv-lh-body); color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.6); margin: 0 0 8px; max-width: 60ch; }
.tv-grv-hero__sub { font-size: 16px; line-height: var(--tv-lh-body); color: rgba(255,255,255,.94); text-shadow: 0 1px 2px rgba(0,0,0,.6); margin: 0; max-width: 62ch; }

/* ---- Main two-column layout ---- */
.tv-grv-main { padding: clamp(34px, 5vw, 56px) 0; }
.tv-grv-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }

/* ---- Form card ---- */
.tv-grv-formcard { background: #fff; border: 1px solid var(--tv-hairline-soft); border-radius: var(--tv-radius-lg); box-shadow: var(--tv-shadow-card, 0 10px 34px rgba(0, 0, 0, .06)); padding: clamp(22px, 3vw, 34px); }
.tv-grv-formcard__head { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; }
.tv-grv-formcard__ic { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--tv-primary-tint); color: var(--tv-primary-hover); }
.tv-grv-formcard__ic svg { width: 24px; height: 24px; }
.tv-grv-formcard__ttl { font-size: clamp(20px, 2.2vw, 25px); font-weight: 800; letter-spacing: -.3px; margin: 0; color: var(--tv-ink); }

.tv-grv-form { display: grid; gap: 16px; }
.tv-grv-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tv-grv-field { display: grid; gap: 7px; }
.tv-grv-field label { font-size: 14px; font-weight: 700; color: var(--tv-ink); }
.tv-grv-form input[type="text"], .tv-grv-form input[type="email"], .tv-grv-form input[type="tel"], .tv-grv-form input[type="date"], .tv-grv-form select, .tv-grv-form textarea {
  width: 100%; box-sizing: border-box; font: inherit; font-size: 15px; color: var(--tv-ink);
  background: #fff; border: 1.5px solid var(--tv-hairline); border-radius: var(--tv-radius-md); padding: 12px 14px;
  transition: border-color var(--tv-transition), box-shadow var(--tv-transition);
}
.tv-grv-form textarea { resize: vertical; min-height: 118px; }
.tv-grv-form select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%237a7a7a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.tv-grv-form input::placeholder, .tv-grv-form textarea::placeholder { color: var(--tv-muted-soft); }
.tv-grv-form input:focus, .tv-grv-form select:focus, .tv-grv-form textarea:focus { outline: none; border-color: var(--tv-primary); box-shadow: 0 0 0 3px var(--tv-primary-tint); }

/* File upload */
.tv-grv-file { display: flex; align-items: center; gap: 10px; cursor: pointer; border: 1.5px dashed var(--tv-hairline); border-radius: var(--tv-radius-md); padding: 12px 14px; color: var(--tv-primary-hover); font-weight: 700; font-size: 14px; transition: border-color var(--tv-transition), background var(--tv-transition); }
.tv-grv-file:hover { border-color: var(--tv-primary); background: var(--tv-primary-tint); }
.tv-grv-file svg { width: 20px; height: 20px; flex: none; }
.tv-grv-file__txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tv-grv-file__hint { font-size: 12.5px; color: var(--tv-muted); }

.tv-grv-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.tv-grv-submit { justify-content: center; gap: 9px; margin-top: 4px; padding: 14px 22px; font-size: 15.5px; }
.tv-grv-submit svg { width: 18px; height: 18px; }
.tv-grv-submit:disabled { opacity: .65; cursor: default; }
.tv-grv-secure { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 0; font-size: 13px; color: var(--tv-muted); }
.tv-grv-secure svg { width: 15px; height: 15px; }
.tv-grv-formmsg { margin: 0; font-size: 14px; text-align: center; }
.tv-grv-formmsg.is-err { color: #c0392b; font-weight: 600; }

/* Success state */
.tv-grv-done { text-align: center; padding: 14px 6px 4px; }
.tv-grv-done__ic { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--tv-ok-bg, #e7f6ec); color: var(--tv-ok, #1f9d55); margin-bottom: 12px; }
.tv-grv-done__ic svg { width: 30px; height: 30px; }
.tv-grv-done h3 { margin: 0 0 8px; font-size: 21px; font-weight: 800; color: var(--tv-ink); }
.tv-grv-done__msg { margin: 0 auto 10px; max-width: 46ch; font-size: 15px; line-height: 1.6; color: var(--tv-body); }
.tv-grv-done__ticket { margin: 0 auto 16px; font-size: 15px; color: var(--tv-ink); }
.tv-grv-done__ticket strong { color: var(--tv-primary-hover); letter-spacing: .5px; }
.tv-grv-done__again { background: var(--tv-primary-tint); color: var(--tv-primary-hover); }

/* ---- Timeline / side ---- */
.tv-grv-side__ttl { font-size: clamp(21px, 2.4vw, 27px); font-weight: 800; letter-spacing: -.3px; margin: 0 0 22px; color: var(--tv-ink); }
.tv-grv-steps { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 4px; }
.tv-grv-step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 0 0 22px 0; }
.tv-grv-step::before { content: ''; position: absolute; left: 27px; top: 56px; bottom: -4px; width: 2px; background: repeating-linear-gradient(#e6d3a8 0 5px, transparent 5px 11px); }
.tv-grv-step:last-child { padding-bottom: 0; }
.tv-grv-step:last-child::before { display: none; }
.tv-grv-step__dot { position: absolute; left: -14px; top: 20px; width: 9px; height: 9px; border-radius: 50%; background: var(--tv-primary); box-shadow: 0 0 0 4px var(--tv-primary-tint); }
.tv-grv-step__ic { width: 56px; height: 56px; border-radius: 50%; background: var(--tv-primary-tint); display: grid; place-items: center; }
.tv-grv-step__ic svg { width: 32px; height: 32px; }
.tv-grv-step__body { padding-top: 4px; }
.tv-grv-step__ttl { display: flex; align-items: flex-start; gap: 9px; margin: 0 0 5px; font-size: 16.5px; font-weight: 800; line-height: 1.3; color: var(--tv-ink); }
.tv-grv-step__num { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--tv-primary); color: var(--tv-on-primary, #1b1b1b); font-size: 12.5px; font-weight: 800; margin-top: 1px; }
.tv-grv-step__txt { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--tv-body); }

/* Help note */
.tv-grv-help { display: flex; gap: 15px; align-items: flex-start; background: var(--tv-primary-tint); border: 1px solid #f3e2b8; border-radius: var(--tv-radius-lg); padding: 20px 22px; }
.tv-grv-help__ic { flex: none; }
.tv-grv-help__ic svg { width: 48px; height: 48px; }
.tv-grv-help__ttl { margin: 2px 0 6px; font-size: 17px; font-weight: 800; color: var(--tv-ink); }
.tv-grv-help__txt { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--tv-body); }

/* ---- Bottom strip ---- */
.tv-grv-strip { padding: 0 0 clamp(44px, 6vw, 68px); }
.tv-grv-strip__in { display: flex; align-items: center; gap: 18px; background: var(--tv-primary-tint); border: 1px solid #f3e2b8; border-radius: var(--tv-radius-lg); padding: clamp(20px, 3vw, 30px) clamp(22px, 3.5vw, 36px); }
.tv-grv-strip__ic { flex: none; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px; background: #fff; color: var(--tv-primary-hover); }
.tv-grv-strip__ic svg { width: 28px; height: 28px; }
.tv-grv-strip__ttl { margin: 0 0 5px; font-size: clamp(18px, 2vw, 22px); font-weight: 800; color: var(--tv-ink); }
.tv-grv-strip__txt { margin: 0; font-size: 15px; line-height: 1.6; color: var(--tv-body); max-width: 78ch; }
.tv-grv-strip__txt strong { color: var(--tv-primary-hover); }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .tv-grv-grid { grid-template-columns: 1fr; }
  .tv-grv-side { order: -1; }
}
@media (max-width: 560px) {
  .tv-grv-row { grid-template-columns: 1fr; }
  .tv-grv-strip__in { flex-direction: column; align-items: flex-start; }
}

/* Hide the theme's auto page-title h1 (the hero has its own). */
body.page-id-976 #brx-content > h1 { display: none; }

/* 2026-10-01: Fluent Form 8/9 styled to match the careers/grievance form design */
.tv-cr-ff .fluentform .ff-el-group, .tv-grv-ff .fluentform .ff-el-group { margin-bottom: 18px; }
.tv-cr-ff .fluentform .ff-el-input--label label, .tv-grv-ff .fluentform .ff-el-input--label label { font-size: var(--tv-fs-sm); font-weight: 700; color: var(--tv-ink); }
.tv-cr-ff .fluentform .ff-el-form-control, .tv-grv-ff .fluentform .ff-el-form-control { font: inherit; font-size: 16px; color: var(--tv-ink); background: var(--tv-canvas); border: 1px solid var(--tv-hairline); border-radius: var(--tv-radius-sm); padding: 12px 14px; min-height: 48px; width: 100%; max-width: 100%; box-sizing: border-box; box-shadow: none; }
.tv-cr-ff .fluentform textarea.ff-el-form-control, .tv-grv-ff .fluentform textarea.ff-el-form-control { min-height: 110px; }
.tv-cr-ff .fluentform .ff-el-form-control:focus, .tv-grv-ff .fluentform .ff-el-form-control:focus { outline: none; border-color: var(--tv-primary); box-shadow: 0 0 0 3px var(--tv-primary-tint); }
.tv-cr-ff .fluentform .ff-t-container, .tv-grv-ff .fluentform .ff-t-container { gap: 18px; }
.tv-cr-ff .fluentform .ff-t-cell, .tv-grv-ff .fluentform .ff-t-cell { min-width: 0; }
.tv-cr-ff .fluentform .ff-t-cell .ff-el-group, .tv-grv-ff .fluentform .ff-t-cell .ff-el-group { margin-bottom: 0; }
.tv-cr-ff .fluentform .ff-el-form-check-label, .tv-grv-ff .fluentform .ff-el-form-check-label { font-size: var(--tv-fs-sm); line-height: 1.5; color: var(--tv-body); }
.tv-cr-ff .tv-ff-pills .ff-el-form-check { display: inline-block; margin: 0 10px 0 0; }
.tv-cr-ff .tv-ff-pills .ff-el-form-check-label { position: relative; display: inline-flex; align-items: center; padding: 10px 22px; border: 1px solid var(--tv-hairline); border-radius: var(--tv-radius-pill); font-size: var(--tv-fs-body); font-weight: 600; cursor: pointer; }
.tv-cr-ff .tv-ff-pills input[type=radio] { position: absolute; opacity: 0; }
.tv-cr-ff .tv-ff-pills .ff-el-form-check.ff_item_selected .ff-el-form-check-label, .tv-cr-ff .tv-ff-pills .ff-el-form-check-label:has(input:checked) { background: var(--tv-primary-tint); border-color: var(--tv-primary); color: var(--tv-primary-hover); }
.tv-cr-ff .fluentform .ff_upload_btn, .tv-grv-ff .fluentform .ff_upload_btn { display: flex; align-items: center; justify-content: center; width: 100%; box-sizing: border-box; border: 1.5px dashed var(--tv-hairline); border-radius: var(--tv-radius-sm); background: var(--tv-canvas); color: var(--tv-muted); font-weight: 600; padding: 16px; white-space: normal; text-align: center; }
.tv-cr-ff .fluentform .ff_upload_btn:hover, .tv-grv-ff .fluentform .ff_upload_btn:hover { border-color: var(--tv-primary); background: var(--tv-primary-tint); color: var(--tv-ink); }
.tv-cr-ff .fluentform .ff-btn-submit, .tv-grv-ff .fluentform .ff-btn-submit { width: 100%; min-height: 52px; font-weight: 700; font-size: 16px; }
.tv-cr-ff .fluentform .error, .tv-grv-ff .fluentform .error { font-size: 13px; }
.tv-cr-ff .fluentform .iti, .tv-grv-ff .fluentform .iti { width: 100%; }
.tv-cr-modal .tv-cr-ff { padding: 20px clamp(20px, 4vw, 32px) 26px; }
.tv-cr-ff .ff-message-success, .tv-grv-ff .ff-message-success { border: 0; box-shadow: none; padding: 0; }
@media (max-width: 600px) {
  .tv-cr-ff .fluentform .ff-t-container, .tv-grv-ff .fluentform .ff-t-container { display: block; }
  .tv-cr-ff .fluentform .ff-t-cell, .tv-grv-ff .fluentform .ff-t-cell { width: 100% !important; margin-bottom: 18px; }
}
.tv-cr-ff .fluentform .ff-t-container, .tv-grv-ff .fluentform .ff-t-container { margin-bottom: 18px; }
.tv-cr-ff .fluentform .ff_upload_btn.ff-btn, .tv-grv-ff .fluentform .ff_upload_btn.ff-btn { background: var(--tv-canvas); color: var(--tv-muted); border: 1.5px dashed var(--tv-hairline); border-radius: var(--tv-radius-sm); padding: 16px; font-weight: 600; }
.tv-cr-ff .fluentform .ff_upload_btn.ff-btn:hover, .tv-grv-ff .fluentform .ff_upload_btn.ff-btn:hover { background: var(--tv-primary-tint); border-color: var(--tv-primary); color: var(--tv-ink); }

.tv-cr-ff .fluentform .ff-btn-submit, .tv-grv-ff .fluentform .ff-btn-submit { background: var(--tv-primary); border: 1px solid var(--tv-primary); color: var(--tv-on-primary, #222); border-radius: var(--tv-radius-sm); box-shadow: var(--tv-shadow-cta); }
.tv-cr-ff .fluentform .ff-btn-submit:hover, .tv-grv-ff .fluentform .ff-btn-submit:hover { background: var(--tv-primary-strong, #b57d00); border-color: var(--tv-primary-strong, #b57d00); color: #fff; opacity: 1; }
