/* ==========================================================================
   Trip Nepal - We Plan It Better
   Reviews page stylesheet   (loads after css/style.css)
   --------------------------------------------------------------------------
   Mobile first. The filter chips (.gchip / .gd-chips) and the select shell
   (.gd-sel) are shared components and live in css/style.css.

   Sections
     1. hero
     2. rating summary + google panel
     3. filter bar
     4. the review wall
     5. empty state + load more
     6. how we handle reviews
     7. leave a review
     8. reduced motion
   ========================================================================== */

:root{
  --rv-radius:16px;
  --gg-blue:#4285f4;
  --gg-green:#34a853;
  --gg-yellow:#fbbc05;
  --gg-red:#ea4335;
}

/* ==========================================================================
   1. HERO
   ========================================================================== */
.rv-hero{
  position:relative;overflow:hidden;
  background:var(--navy);color:#fff;
  padding:50px 0 66px;
}
.rv-hero-bg{position:absolute;inset:-6% 0 0;z-index:1}
.rv-hero-bg img{width:100%;height:100%;object-fit:cover;object-position:50% 40%}
.rv-hero-bg::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(8,26,50,.88) 0%,rgba(8,26,50,.60) 38%,rgba(8,26,50,.78) 74%,rgba(8,26,50,.96) 100%);
}
.rv-hero-marks{position:absolute;inset:0;z-index:2;pointer-events:none}
.rv-hero-marks i{position:absolute;color:rgba(255,255,255,.07);font-size:66px}
.rv-hero-marks i:nth-child(1){top:20%;right:9%;transform:rotate(-8deg)}
.rv-hero-marks i:nth-child(2){bottom:28%;right:28%;font-size:44px}
.rv-hero-marks i:nth-child(3){top:34%;left:5%;font-size:46px;transform:rotate(10deg)}

.rv-hero-inner{position:relative;z-index:4}

.rv-crumb{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:12px;font-weight:500;margin-bottom:16px}
.rv-crumb a{color:#cfe2f5;transition:color .25s ease}
.rv-crumb a:hover{color:#fff}
.rv-crumb i{font-size:8px;color:rgba(255,255,255,.45)}
.rv-crumb span{color:#fff;font-weight:600}

.rv-eyebrow{display:flex;align-items:center;gap:12px;margin-bottom:2px}
.rv-script{font-family:var(--ff-script);font-size:29px;font-weight:600;color:#ffd9a6;line-height:1}
.rv-eyebrow i{color:rgba(255,255,255,.5);font-size:16px}

.rv-hero-title{
  font-family:var(--ff-display);
  font-size:clamp(27px,7.2vw,52px);
  font-weight:700;line-height:1.04;letter-spacing:.6px;
  text-transform:uppercase;color:#fff;
}
.rv-hero-title span{color:#ff4a50}

.rv-hero .hero-divider{max-width:190px;margin:12px 0 16px}
.rv-hero .hero-divider .bar{background:#ff4a50}
.rv-hero .hero-divider i{color:#ffd9a6}

.rv-hero-lead{font-size:14px;line-height:1.8;color:rgba(255,255,255,.86);max-width:620px}

.rv-snow{position:absolute;left:0;right:0;bottom:-1px;z-index:5;line-height:0}
.rv-snow svg{width:100%;height:46px;display:block}

@media (min-width:768px){
  .rv-hero{padding:64px 0 82px}
  .rv-hero-lead{font-size:15px}
  .rv-snow svg{height:68px}
}
@media (min-width:992px){ .rv-hero{padding:74px 0 96px} }

/* ==========================================================================
   2. RATING SUMMARY + GOOGLE PANEL
   ========================================================================== */
.rv-summary-wrap{position:relative;z-index:8;margin-top:-26px}
.rv-summary{
  background:#fff;border:1px solid var(--line);border-radius:var(--rv-radius);
  box-shadow:var(--shadow-lg);
  padding:20px 18px;
  display:grid;grid-template-columns:1fr;gap:20px;
}

.rv-score{text-align:center}
.rv-score b{
  display:block;font-family:var(--ff-display);
  font-size:56px;line-height:1;color:var(--navy);letter-spacing:1px;
}
.rv-score-stars{display:block;color:#f0a01c;font-size:16px;margin:7px 0 5px;letter-spacing:2px}
.rv-score em{display:block;font-style:normal;font-size:12.5px;color:var(--muted)}
.rv-score em b{display:inline;font-size:12.5px;font-family:var(--ff);color:var(--navy)}

/* the star breakdown, each row a filter button */
.rv-bars{display:flex;flex-direction:column;gap:7px;justify-content:center}
.rv-bar{
  display:grid;grid-template-columns:44px 1fr 30px;align-items:center;gap:10px;
  padding:3px 6px;border-radius:8px;transition:background .25s ease;
}
.rv-bar:hover{background:var(--bg-soft)}
.rv-bar.on{background:var(--blue-soft)}
.rv-bar-n{font-size:11.5px;font-weight:700;color:var(--navy);white-space:nowrap;text-align:left}
.rv-bar-n i{color:#f0a01c;font-size:10px}
.rv-bar-track{height:8px;border-radius:5px;background:#eef3f8;overflow:hidden}
.rv-bar-fill{
  display:block;height:100%;border-radius:5px;
  background:linear-gradient(90deg,#f7b731 0%,#f0a01c 100%);
  transition:width .6s cubic-bezier(.22,1,.36,1);
}
.rv-bar.on .rv-bar-fill{background:linear-gradient(90deg,#1a5296 0%,#0d2c54 100%)}
.rv-bar-c{font-size:11.5px;font-weight:600;color:var(--muted);text-align:right}

/* google card */
.rv-google{
  position:relative;
  background:var(--bg-soft);border:1px solid var(--line);border-radius:13px;
  padding:18px 16px;text-align:center;
}
.rv-google-mark{
  width:46px;height:46px;border-radius:50%;background:#fff;
  box-shadow:var(--shadow-sm);
  display:flex;align-items:center;justify-content:center;
  font-size:20px;margin:0 auto 11px;
  background-image:none;
}
.rv-google-mark i{
  background:conic-gradient(from -45deg,var(--gg-red),var(--gg-yellow),var(--gg-green),var(--gg-blue),var(--gg-red));
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.rv-google-score{display:flex;align-items:center;justify-content:center;gap:9px;margin-bottom:5px}
.rv-google-score b{font-family:var(--ff-display);font-size:29px;color:var(--navy);line-height:1}
.rv-google-score span{color:#f0a01c;font-size:13px;letter-spacing:1px}
.rv-google p{font-size:12px;color:var(--muted);margin-bottom:13px}
.rv-google p b{color:var(--navy)}
.rv-google-btn{
  display:flex;align-items:center;justify-content:center;gap:9px;
  background:var(--navy);color:#fff;border-radius:9px;padding:11px 14px;
  font-size:12.5px;font-weight:600;
  box-shadow:0 6px 16px rgba(13,44,84,.2);
  transition:background .25s ease,transform .25s ease;
}
.rv-google-btn:hover{background:var(--red);transform:translateY(-2px)}
.rv-google-alt{
  display:flex;align-items:center;justify-content:center;gap:8px;
  margin-top:9px;font-size:12px;font-weight:600;color:var(--navy);
  transition:color .25s ease;
}
.rv-google-alt i{color:#f0a01c}
.rv-google-alt:hover{color:var(--red)}

@media (min-width:768px){
  .rv-summary{grid-template-columns:auto 1fr;gap:26px;padding:24px 26px;align-items:center}
  .rv-score{text-align:left;padding-right:26px;border-right:1px dashed var(--line)}
  .rv-score-stars{letter-spacing:3px}
  .rv-google{grid-column:1 / -1}
}
@media (min-width:992px){
  .rv-summary-wrap{margin-top:-40px}
  .rv-summary{grid-template-columns:auto 1fr 280px;gap:30px}
  .rv-google{grid-column:auto;text-align:left}
  .rv-google-mark{margin:0 0 11px}
  .rv-google-score{justify-content:flex-start}
}

/* ==========================================================================
   3. FILTER BAR
   ========================================================================== */
/* named .rv-filter, not .rv-bar - the star breakdown rows above already own
   that class and a collision turned this whole strip into a 3 column grid */
.rv-filter{
  position:sticky;top:var(--hdr,0px);z-index:60;
  background:rgba(255,255,255,.96);backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
  margin-top:26px;padding:12px 0 10px;
}
.rv-tools{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;
  gap:10px;padding-top:8px;border-top:1px dashed var(--line);
}
.rv-count{font-size:12.5px;color:var(--muted)}
.rv-count b{color:var(--navy);font-weight:700}
.rv-sort{width:auto;min-width:168px}

/* ==========================================================================
   4. THE REVIEW WALL
   ========================================================================== */
.rv-list{padding:24px 0 10px}
.rv-grid{display:grid;grid-template-columns:1fr;gap:18px}
@media (min-width:700px){ .rv-grid{grid-template-columns:repeat(2,1fr)} }
@media (min-width:1150px){ .rv-list{padding:32px 0 14px} .rv-grid{grid-template-columns:repeat(3,1fr);gap:22px} }

.rv-card{
  position:relative;overflow:hidden;
  background:#fff;border:1px solid var(--line);border-radius:var(--rv-radius);
  padding:20px 18px 18px;
  box-shadow:var(--shadow-sm);
  display:flex;flex-direction:column;
  transition:transform .4s cubic-bezier(.22,1,.36,1),box-shadow .4s ease,border-color .35s ease;
}
.rv-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-lg);border-color:#cfe0f2}
/* a coloured spine tells you where the review came from at a glance */
.rv-card::before{
  content:"";position:absolute;left:0;top:0;bottom:0;width:4px;
  background:var(--blue);
}
.rv-card.s-google::before{background:linear-gradient(180deg,var(--gg-blue) 0%,var(--gg-green) 34%,var(--gg-yellow) 67%,var(--gg-red) 100%)}
.rv-card.s-wa::before{background:var(--wa)}
.rv-card.s-mail::before{background:var(--red)}
.rv-card.s-phone::before{background:var(--blue)}

.rv-badge{
  display:inline-flex;align-items:center;gap:7px;align-self:flex-start;
  background:var(--bg-soft);border:1px solid var(--line);border-radius:20px;
  padding:5px 11px;margin-bottom:12px;
  font-size:10.5px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;
  color:var(--navy);
}
.rv-badge i{font-size:11px}
.rv-card.s-google .rv-badge i{color:var(--gg-blue)}
.rv-card.s-wa .rv-badge i{color:var(--wa)}
.rv-card.s-mail .rv-badge i{color:var(--red)}
.rv-card.s-phone .rv-badge i{color:var(--blue)}

.rv-quote{
  position:absolute;top:14px;right:16px;
  font-size:30px;color:#eef4fa;
  transition:color .35s ease,transform .45s ease;
}
.rv-card:hover .rv-quote{color:#fde7e8;transform:scale(1.08) rotate(-4deg)}

.rv-stars{color:#f0a01c;font-size:13px;letter-spacing:1.5px;margin-bottom:9px}
.rv-title{font-size:15.5px;line-height:1.4;margin-bottom:8px;color:var(--navy)}
.rv-text{font-size:13px;line-height:1.8;color:var(--text);margin-bottom:auto}

.rv-trip{
  display:flex;align-items:center;gap:9px;
  margin-top:14px;padding:9px 12px;
  background:var(--bg-soft);border:1px solid var(--line);border-radius:9px;
  font-size:11.5px;font-weight:600;color:var(--navy);
  transition:.25s ease;
}
.rv-trip i:first-child{color:var(--blue);font-size:11px}
.rv-trip i:last-child{margin-left:auto;font-size:10px;color:var(--muted);transition:transform .3s ease}
.rv-trip:hover{border-color:var(--red);color:var(--red)}
.rv-trip:hover i:last-child{transform:translateX(3px);color:var(--red)}

.rv-who{
  display:flex;align-items:center;gap:11px;
  margin-top:14px;padding-top:13px;border-top:1px dashed var(--line);
}
.rv-av{
  width:38px;height:38px;border-radius:50%;flex-shrink:0;
  background:linear-gradient(135deg,var(--navy) 0%,var(--blue) 100%);
  color:#fff;font-size:13px;font-weight:700;
  display:flex;align-items:center;justify-content:center;
}
.rv-who-txt{min-width:0;flex:1}
.rv-who-txt b{display:block;font-size:13px;color:var(--navy);line-height:1.35}
.rv-who-txt em{display:block;font-style:normal;font-size:11.5px;color:var(--muted)}
.rv-when{font-size:11px;font-weight:600;color:var(--muted);white-space:nowrap}

/* ==========================================================================
   5. EMPTY STATE + LOAD MORE
   ========================================================================== */
.rv-empty{
  text-align:center;padding:48px 20px;
  background:var(--bg-soft);border:1px dashed #cfdcea;border-radius:var(--rv-radius);
}
.rv-empty > i{font-size:36px;color:#c2d2e2;margin-bottom:12px;display:block}
.rv-empty h3{font-size:18px;margin-bottom:7px}
.rv-empty p{font-size:13.5px;max-width:420px;margin:0 auto 16px}

.rv-more-wrap{display:flex;justify-content:center;padding:26px 0 8px}
.rv-more-wrap[hidden]{display:none}
.rv-more{
  display:inline-flex;align-items:center;gap:10px;
  background:#fff;border:1px solid var(--line);border-radius:30px;
  padding:12px 26px;font-size:13px;font-weight:600;color:var(--navy);
  box-shadow:var(--shadow-sm);transition:.28s ease;
}
.rv-more i{font-size:11px;transition:transform .3s ease}
.rv-more:hover{border-color:var(--red);color:var(--red);box-shadow:var(--shadow)}
.rv-more:hover i{transform:translateY(3px)}

/* ==========================================================================
   6. HOW WE HANDLE REVIEWS
   ========================================================================== */
.rv-trust{background:var(--bg-soft);padding:42px 0 46px;margin-top:28px}
.rv-trust .section-head{margin-bottom:26px}
.rv-trust-row{display:grid;grid-template-columns:1fr;gap:14px}
.rv-trust-item{
  background:#fff;border:1px solid var(--line);border-radius:13px;padding:20px 18px;
  transition:transform .35s ease,box-shadow .35s ease,border-color .35s ease;
}
.rv-trust-item:hover{transform:translateY(-5px);box-shadow:var(--shadow);border-color:#cfe0f2}
.rv-trust-item > i{
  width:44px;height:44px;border-radius:12px;
  background:var(--blue-soft);color:var(--blue);
  display:flex;align-items:center;justify-content:center;font-size:17px;margin-bottom:13px;
  transition:transform .45s cubic-bezier(.34,1.56,.64,1),background .35s ease,color .35s ease;
}
.rv-trust-item:hover > i{background:var(--red);color:#fff;transform:rotate(-8deg) scale(1.06)}
.rv-trust-item b{display:block;font-size:14.5px;color:var(--navy);margin-bottom:6px}
.rv-trust-item span{display:block;font-size:12.5px;line-height:1.72;color:var(--text)}

@media (min-width:600px){ .rv-trust-row{grid-template-columns:repeat(2,1fr)} }
@media (min-width:992px){ .rv-trust-row{grid-template-columns:repeat(4,1fr);gap:18px} }

/* ==========================================================================
   7. LEAVE A REVIEW
   ========================================================================== */
.rv-ask{padding:42px 0 46px}
.rv-ask-inner{
  background:#fff;border:1px solid var(--line);border-radius:20px;
  box-shadow:var(--shadow);
  padding:26px 22px;
  display:grid;grid-template-columns:1fr;gap:22px;align-items:center;
}
.rv-ask-copy .eyebrow{
  display:inline-block;font-size:10.5px;font-weight:700;letter-spacing:1.6px;
  text-transform:uppercase;color:var(--red);margin-bottom:6px;
}
.rv-ask-copy h2{font-size:clamp(20px,4.4vw,26px);margin-bottom:10px;line-height:1.3}
.rv-ask-copy p{font-size:13.5px;line-height:1.8}

.rv-ask-actions{display:flex;flex-direction:column;gap:10px}
.rv-ask-btn{
  display:flex;align-items:center;gap:13px;
  border:1px solid var(--line);border-radius:12px;
  padding:13px 15px;background:#fff;
  transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease;
}
.rv-ask-btn:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:#cfe0f2}
.rv-ask-btn > i{
  width:42px;height:42px;flex-shrink:0;border-radius:11px;
  display:flex;align-items:center;justify-content:center;font-size:19px;color:#fff;
}
.rv-ask-btn.google > i{background:linear-gradient(135deg,var(--gg-blue) 0%,var(--gg-green) 50%,var(--gg-yellow) 100%)}
.rv-ask-btn.wa > i{background:var(--wa)}
.rv-ask-btn.mail > i{background:var(--red)}
.rv-ask-btn b{display:block;font-size:13.5px;color:var(--navy)}
.rv-ask-btn em{display:block;font-style:normal;font-size:11.5px;color:var(--muted);margin-top:2px}

@media (min-width:992px){
  .rv-ask-inner{grid-template-columns:1fr 380px;gap:40px;padding:32px 34px}
}

/* ==========================================================================
   8. REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion:reduce){
  .rv-card,.rv-trust-item,.rv-ask-btn,.rv-quote,.rv-bar-fill{transition:none}
  .rv-card:hover,.rv-trust-item:hover,.rv-ask-btn:hover{transform:none}
}

/* ==========================================================================
   LARGE DESKTOPS
   ========================================================================== */
@media (min-width:1600px){
  .rv-grid{grid-template-columns:repeat(4,1fr)}
}
