/* ============================================================
   ESSE INDIA — CONSUMER GRIEVANCE PAGE
   Location: /assets/css/grievance.css
   ============================================================ */

/* ============ HERO ============ */
.grv-hero {
  position: relative;
  background: #0b0620;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 0;
}
.grv-hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(139, 92, 246, .35), transparent 45%),
    radial-gradient(circle at 85% 15%, rgba(245, 180, 0, .22), transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(106, 53, 230, .3), transparent 50%);
  animation: meshMove 12s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes meshMove {
  to { background-position: 20px -30px, -30px 20px, 10px 10px; }
}
.grv-hero-grain {
  position: absolute;
  inset: 0;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='60' height='60' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.grv-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
  pointer-events: none;
  opacity: .55;
  transition: transform .3s ease-out;
  z-index: 2;
}
.grv-orb.orb-1 { width: 120px; height: 120px; background: radial-gradient(circle, var(--gold-light), transparent 70%); top: 18%; left: 8%; }
.grv-orb.orb-2 { width: 80px;  height: 80px;  background: radial-gradient(circle, var(--purple-400), transparent 70%); top: 60%; left: 78%; }
.grv-orb.orb-3 { width: 150px; height: 150px; background: radial-gradient(circle, rgba(139, 92, 246, .6), transparent 70%); top: 75%; left: 20%; }
.grv-orb.orb-4 { width: 60px;  height: 60px;  background: radial-gradient(circle, var(--gold), transparent 70%); top: 12%; left: 70%; }

.grv-hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
}
.grv-crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #c9bdf0;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 12.5px;
  margin-bottom: 30px;
}
.grv-crumb a { color: #c9bdf0; transition: color .25s; }
.grv-crumb a:hover { color: var(--gold-light); }
.grv-crumb b { color: var(--gold-light); }

.grv-title {
  color: #fff;
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -2px;
  margin-bottom: 26px;
  overflow: hidden;
}
.grv-title .line { display: block; overflow: hidden; }
.grv-title .line span {
  display: inline-block;
  transform: translateY(110%);
  animation: riseUp .9s cubic-bezier(.16, 1, .3, 1) forwards;
}
.grv-title .line:nth-child(2) span { animation-delay: .12s; }
.grv-title .line:nth-child(3) span { animation-delay: .24s; }
.grv-title em { font-style: normal; }
.grv-sub-title {
  font-size: .58em !important;
  color: #b3a6d6 !important;
  font-weight: 500 !important;
  letter-spacing: -.5px !important;
}
@keyframes riseUp { to { transform: translateY(0); } }

.grv-sub {
  color: #b3a6d6;
  font-size: 17px;
  max-width: 620px;
  line-height: 1.8;
  margin-bottom: 38px;
}
.grv-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.grv-scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  color: #8b7fb0;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 3;
}
.grv-scroll-cue .stick {
  width: 1px;
  height: 36px;
  background: linear-gradient(#fff, transparent);
  animation: stickMove 1.8s ease-in-out infinite;
}
@keyframes stickMove {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============ TICKER ============ */
.grv-ticker {
  background: linear-gradient(135deg, var(--purple-600), var(--purple-800));
  padding: 16px 0;
  overflow: hidden;
  position: relative;
}
.grv-ticker-row {
  display: flex;
  width: max-content;
  gap: 40px;
  white-space: nowrap;
  animation: tickL 26s linear infinite;
}
.grv-ticker-row span {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: .9;
}
.grv-ticker-row span i { color: var(--gold-light); font-size: 10px; }
@keyframes tickL { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ COMMON HEADINGS ============ */
.grv-h2 {
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--ink);
}
.grv-h2-sm {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 800;
  color: var(--ink);
}
.grv-h2-light {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 34px;
}
.eyebrow-light {
  background: rgba(255, 255, 255, .08);
  color: #e7e0f9;
}
.grv-lead {
  color: var(--gray);
  max-width: 640px;
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.7;
}

/* ============ SCROLLYTELLING PROCESS ============ */
.grv-scrollytell {
  padding: 120px 0;
  background: #fff;
}
.grv-st-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 60px;
  margin-top: 44px;
}
.grv-st-sticky {
  position: sticky;
  top: 110px;
  align-self: start;
  height: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(155deg, var(--purple-900), var(--purple-600));
  box-shadow: var(--shadow-soft);
  perspective: 1000px;
}
.grv-st-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  opacity: 0;
  transform: rotateY(12deg) scale(.96);
  transition: opacity .5s ease, transform .5s ease;
  color: #fff;
}
.grv-st-panel.active { opacity: 1; transform: rotateY(0) scale(1); }
.grv-st-panel i { font-size: 70px; color: var(--gold-light); margin-bottom: 20px; }
.grv-st-panel b { font-size: 30px; font-family: var(--font-display); display: block; margin-bottom: 8px; }
.grv-st-panel span { color: #cfc4ec; font-size: 13px; }

.grv-st-steps {
  display: flex;
  flex-direction: column;
  gap: 110px;
  padding: 60px 0;
}
.grv-st-step {
  opacity: .35;
  transition: opacity .4s ease;
  padding-left: 26px;
  border-left: 3px solid var(--lilac-100);
}
.grv-st-step.active {
  opacity: 1;
  border-left-color: var(--purple-500);
}
.grv-st-step .num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--purple-500);
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.grv-st-step h3 { font-size: 25px; margin-bottom: 12px; color: var(--ink); }
.grv-st-step p { color: var(--gray); font-size: 15px; line-height: 1.8; max-width: 460px; }
.grv-sla {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 14px;
  background: var(--lilac-100);
  color: var(--purple-600);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
}

/* ============ HOW WE HELP ============ */
.grv-help {
  padding: 110px 0;
  background: var(--lilac-50);
  position: relative;
  overflow: hidden;
}
.grv-floaty-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}
.grv-floaty-icons i {
  position: absolute;
  color: rgba(75, 33, 196, .08);
  animation: floatUpDown 7s ease-in-out infinite;
}
.grv-floaty-icons i:nth-child(2) { animation-delay: 1.2s; color: rgba(245, 180, 0, .14); }
.grv-floaty-icons i:nth-child(3) { animation-delay: 2.4s; }
.grv-floaty-icons i:nth-child(4) { animation-delay: .6s; color: rgba(245, 180, 0, .14); }
@keyframes floatUpDown {
  0%, 100% { transform: translateY(0) rotate(0); }
  50%      { transform: translateY(-22px) rotate(8deg); }
}

.grv-help .wrap { position: relative; z-index: 2; }
.grv-help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 44px;
  perspective: 1400px;
}
.grv-tilt-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transform-style: preserve-3d;
  transition: box-shadow .35s ease;
  will-change: transform;
  position: relative;
  overflow: hidden;
}
.grv-tilt-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--purple-600), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s ease;
}
.grv-tilt-card:hover::before { transform: scaleX(1); }
.grv-tilt-card:hover { box-shadow: var(--shadow-soft); }

.grv-tilt-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--lilac-100);
  color: var(--purple-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  transform: translateZ(30px);
  transition: .35s;
  animation: iconPulse 3.4s ease-in-out infinite;
}
.grv-tilt-card:hover .grv-tilt-icon {
  background: var(--purple-600);
  color: #fff;
  transform: translateZ(30px) scale(1.06) rotate(-4deg);
}
@keyframes iconPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(75, 33, 196, 0); }
  50%      { box-shadow: 0 0 0 8px rgba(75, 33, 196, .06); }
}
.grv-tilt-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
  transform: translateZ(20px);
  color: var(--ink);
}
.grv-tilt-card p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.7;
  transform: translateZ(20px);
}

/* ============ CATEGORIES ============ */
.grv-cat {
  padding: 0 0 110px;
  background: var(--lilac-50);
}
.grv-cat-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.grv-cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1.5px solid var(--lilac-100);
  color: var(--ink);
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-card);
  transition: .3s;
  cursor: default;
}
.grv-cat-chip i { color: var(--purple-600); }
.grv-cat-chip:hover {
  background: linear-gradient(135deg, var(--purple-500), var(--purple-800));
  color: #fff;
  transform: translateY(-4px) scale(1.04);
  box-shadow: var(--shadow-soft);
}
.grv-cat-chip:hover i { color: var(--gold-light); }

/* ============ STATS RINGS ============ */
.grv-rings {
  padding: 90px 0;
  background: linear-gradient(155deg, var(--purple-950), var(--purple-700));
  position: relative;
  overflow: hidden;
}
.grv-rings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}
.grv-ring-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.grv-ring-svg {
  width: 120px;
  height: 120px;
  position: relative;
}
.grv-ring-svg svg { transform: rotate(-90deg); }
.grv-ring-svg circle { fill: none; stroke-width: 8; }
.grv-ring-bg { stroke: rgba(255, 255, 255, .12); }
.grv-ring-fg {
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-dasharray: 314;
  stroke-dashoffset: 314;
  transition: stroke-dashoffset 1.8s cubic-bezier(.4, 0, .2, 1);
}
.grv-ring-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
}
.grv-ring-box span {
  color: #e7e0f9;
  font-size: 13.5px;
  font-weight: 600;
}

/* ============ RIGHTS ============ */
.grv-rights {
  padding: 110px 0;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.grv-rights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 44px;
}
.grv-right-card {
  display: flex;
  gap: 18px;
  background: var(--lilac-50);
  border: 1px solid var(--lilac-100);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.grv-right-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}
.grv-right-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--purple-500), var(--purple-800));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
}
.grv-right-card h4 { font-size: 16.5px; margin-bottom: 6px; color: var(--ink); }
.grv-right-card p { font-size: 13.5px; color: var(--gray); line-height: 1.6; }

/* ============ FORM ============ */
.grv-form-sec {
  padding: 110px 0;
  background: #fff;
}
.grv-form-wrap {
  max-width: 820px;
  margin: 44px auto 0;
  background: var(--lilac-50);
  border-radius: var(--radius-lg);
  padding: 50px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--lilac-100);
  position: relative;
  overflow: hidden;
}
.grv-form-wrap::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(245, 180, 0, .18), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.grv-form {
  position: relative;
  z-index: 2;
}
.grv-form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.grv-form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.grv-form-group label {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}
.grv-form-group input,
.grv-form-group select,
.grv-form-group textarea {
  padding: 14px 16px;
  border: 1.5px solid var(--lilac-100);
  border-radius: 14px;
  font-family: inherit;
  font-size: 15px;
  transition: .25s;
  background: #fff;
  color: var(--ink);
}
.grv-form-group input:focus,
.grv-form-group select:focus,
.grv-form-group textarea:focus {
  outline: none;
  border-color: var(--purple-500);
  box-shadow: 0 0 0 4px rgba(106, 53, 230, .12);
}
.grv-form-group textarea {
  resize: vertical;
  min-height: 130px;
}
.grv-form-note {
  font-size: 13px;
  color: #8b849f;
  margin: -8px 0 22px;
}
.grv-form-note i { color: var(--purple-500); margin-right: 4px; }

.grv-submit {
  width: 100%;
  justify-content: center;
  padding: 18px 30px !important;
  font-size: 15.5px !important;
  letter-spacing: .3px;
}

.grv-alert {
  padding: 16px 20px;
  border-radius: 14px;
  margin-bottom: 26px;
  font-size: 15px;
  position: relative;
  z-index: 2;
}
.grv-alert i { margin-right: 8px; }
.grv-alert-success {
  background: #e8f8ee;
  color: #146c3c;
  border: 1px solid #b9ecc9;
}
.grv-alert-error {
  background: #fdecec;
  color: #a3272c;
  border: 1px solid #f6c2c2;
}

/* ============ FREE CTA ============ */
.grv-free-cta {
  padding: 60px 0 110px;
  background: var(--lilac-50);
  text-align: center;
}
.grv-free-lead {
  color: var(--gray);
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto 30px;
}

/* ============ ESCALATION ============ */
.grv-esc {
  padding: 110px 0;
  background: var(--lilac-50);
}
.grv-esc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 44px;
  perspective: 1200px;
}
.grv-flip {
  perspective: 1200px;
  height: 270px;
}
.grv-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform .7s cubic-bezier(.4, 0, .2, 1);
  transform-style: preserve-3d;
}
.grv-flip:hover .grv-flip-inner { transform: rotateY(180deg); }
.grv-flip-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.grv-flip-front {
  background: linear-gradient(155deg, var(--purple-500), var(--purple-900));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding: 24px;
  text-align: center;
}
.grv-flip-front i { font-size: 34px; color: var(--gold-light); margin-bottom: 14px; }
.grv-flip-front b { font-size: 17px; }
.grv-flip-front small { color: #dcd0f7; font-size: 12px; margin-top: 6px; }

.grv-flip-back {
  background: #fff;
  transform: rotateY(180deg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.grv-flip-back p { font-size: 13px; color: var(--gray); line-height: 1.65; }
.grv-flip-back a {
  font-size: 13px;
  font-weight: 700;
  color: var(--purple-600);
  text-decoration: none;
  transition: color .25s;
}
.grv-flip-back a:hover { color: var(--purple-800); }

/* ============ FAQ ============ */
.grv-faq {
  padding: 110px 0;
  background: #fff;
}
.grv-faq-wrap {
  max-width: 820px;
  margin: 44px auto 0;
}
.grv-faq-item {
  background: var(--lilac-50);
  border: 1px solid var(--lilac-100);
  border-radius: 18px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: box-shadow .3s ease, transform .3s ease;
}
.grv-faq-item:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}
.grv-faq-q {
  width: 100%;
  text-align: left;
  padding: 22px 26px;
  font-size: 16.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink);
  background: none;
  border: none;
  font-family: inherit;
  gap: 16px;
}
.grv-faq-q i {
  color: var(--purple-600);
  transition: .3s;
  flex-shrink: 0;
}
.grv-faq-item.active .grv-faq-q i { transform: rotate(45deg); }
.grv-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .3s ease;
  padding: 0 26px;
}
.grv-faq-item.active .grv-faq-a {
  max-height: 260px;
  padding-bottom: 22px;
}
.grv-faq-a p { color: var(--gray); font-size: 14.5px; line-height: 1.75; }

/* ============ RESPONSIVE ============ */
@media (max-width: 991px) {
  .grv-st-grid { grid-template-columns: 1fr; }
  .grv-st-sticky { position: relative; top: 0; height: 360px; }
  .grv-help-grid,
  .grv-esc-grid,
  .grv-rings-grid,
  .grv-rights-grid { grid-template-columns: 1fr 1fr; }
  .grv-form-row-2 { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .grv-title { letter-spacing: -1px; }
  .grv-help-grid,
  .grv-esc-grid,
  .grv-rings-grid,
  .grv-rights-grid { grid-template-columns: 1fr; }
  .grv-form-wrap { padding: 30px 20px; }
  .grv-orb { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .grv-orb,
  .grv-title .line span,
  .grv-scroll-cue .stick,
  .grv-ticker-row,
  .grv-tilt-icon,
  .grv-floaty-icons i {
    animation: none !important;
    transition: none !important;
  }
}