/* =====================================================================
   Hotel Heritage Inn — Room Category Pages
   Custom stylesheet (loaded after main.css / custom.css)
   Palette: heritage maroon + antique gold, on warm cream
   Type: Playfair Display (display) + Jost (body/utility)
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&family=Jost:wght@300;400;500;600;700&display=swap');

:root{
  --hi-maroon:        #6E1E2C;
  --hi-maroon-dark:    #481019;
  --hi-maroon-deep:    #3a0d14;
  --hi-gold:           #C7A05A;
  --hi-gold-light:     #E9D6A8;
  --hi-cream:          #FBF6EC;
  --hi-cream-2:        #F4EBDA;
  --hi-ink:            #2B211C;
  --hi-ink-soft:       #6b5d54;
  --hi-white:          #FFFDF9;

  --hi-font-display: 'Playfair Display', Georgia, serif;
  --hi-font-body: 'Jost', 'Helvetica Neue', Arial, sans-serif;
}

.rd-page{
  background: var(--hi-cream);
  font-family: var(--hi-font-body);
  color: var(--hi-ink);
  overflow-x: hidden;
}

.rd-page h1, .rd-page h2, .rd-page h3, .rd-page h4, .rd-page h5{
  font-family: var(--hi-font-display);
  color: var(--hi-maroon-dark);
  letter-spacing: .2px;
}

.rd-page a{ text-decoration: none; }

/* ---------- Arch divider (signature motif — echoes haveli/ghat arches) ---------- */
.rd-arch-divider{
  width: 100%;
  height: 34px;
  background:
    radial-gradient(circle at 10px 0, transparent 15px, var(--hi-cream) 16px) 0 -15px / 30px 30px repeat-x;
  position: relative;
  z-index: 2;
}
.rd-arch-divider.flip{ transform: rotate(180deg); }
.rd-arch-divider.on-maroon{
  background:
    radial-gradient(circle at 10px 0, transparent 15px, var(--hi-maroon-dark) 16px) 0 -15px / 30px 30px repeat-x;
}

/* ---------- Breadcrumb / Banner ---------- */
.rd-banner{
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.rd-banner::before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(58,13,20,.55) 0%, rgba(58,13,20,.72) 55%, var(--hi-maroon-dark) 100%);
  z-index: 1;
}
.rd-banner__inner{
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 160px 0 70px;
}
.rd-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--hi-font-body);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--hi-gold-light);
  margin-bottom: 18px;
}
.rd-eyebrow::before{
  content:"";
  width: 34px; height: 1px;
  background: var(--hi-gold);
  display:inline-block;
}
.rd-banner h1{
  color: var(--hi-white);
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 600;
  margin: 0 0 10px;
}
.rd-banner__crumb{
  color: var(--hi-gold-light);
  font-size: 14px;
  letter-spacing: .5px;
}
.rd-banner__crumb a{ color: var(--hi-gold-light); opacity:.85; }
.rd-banner__crumb a:hover{ color: var(--hi-white); }
.rd-banner__crumb i{ font-size: 10px; margin: 0 10px; opacity:.7; }

/* ---------- Section shell ---------- */
.rd-section{ padding: 90px 0; }
.rd-section.tight{ padding: 60px 0; }
.rd-section.on-cream2{ background: var(--hi-cream-2); }

.rd-kicker{
  font-family: var(--hi-font-body);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--hi-maroon);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.rd-kicker::before{
  content:"";
  width: 22px; height: 1px;
  background: var(--hi-gold);
}
.rd-title{
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
  margin: 0 0 18px;
}
.rd-lede{
  color: var(--hi-ink-soft);
  font-size: 16.5px;
  line-height: 1.85;
  max-width: 640px;
}

/* ---------- Intro grid: gallery + copy ---------- */
.rd-intro{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 46px;
  align-items: start;
}
@media (max-width: 991px){ .rd-intro{ grid-template-columns: 1fr; } }

.rd-gallery{
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  height: 480px;
}
.rd-gallery img{
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 4px;
}
.rd-gallery .rd-g-main{ grid-row: 1 / 3; }
.rd-gallery figure{ margin:0; position: relative; overflow:hidden; border-radius:4px; }
.rd-gallery .rd-g-main{ height: 480px; }
.rd-gallery figure.rd-g-main img{ height: 480px; }

.rd-facts{
  display:flex; flex-wrap:wrap;
  gap: 10px;
  margin: 26px 0 8px;
}
.rd-fact-chip{
  display:flex; align-items:center; gap:9px;
  padding: 11px 18px;
  border: 1px solid rgba(110,30,44,.18);
  border-radius: 999px;
  font-size: 14px;
  color: var(--hi-maroon-dark);
  background: var(--hi-white);
}
.rd-fact-chip i{ color: var(--hi-gold); }

.rd-price-tag{
  display:inline-flex; align-items:baseline; gap:8px;
  background: var(--hi-maroon-dark);
  color: var(--hi-white);
  padding: 16px 24px;
  border-radius: 4px;
  margin: 22px 0 28px;
}
.rd-price-tag .amt{ font-family: var(--hi-font-display); font-size: 26px; font-weight: 700; color: var(--hi-gold-light); }
.rd-price-tag .per{ font-size: 13px; letter-spacing: .5px; opacity: .85; }

.rd-btn{
  display:inline-flex; align-items:center; gap:10px;
  background: var(--hi-maroon);
  color: var(--hi-white) !important;
  padding: 15px 30px;
  border-radius: 3px;
  font-size: 14px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 600;
  transition: background .25s ease, transform .25s ease;
}
.rd-btn:hover{ background: var(--hi-maroon-dark); transform: translateY(-2px); color: var(--hi-white) !important; }
.rd-btn.outline{
  background: transparent;
  color: var(--hi-maroon) !important;
  border: 1px solid var(--hi-maroon);
}
.rd-btn.outline:hover{ background: var(--hi-maroon); color: var(--hi-white) !important; }

/* ---------- Amenities ---------- */
.rd-amenities-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 991px){ .rd-amenities-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 575px){ .rd-amenities-grid{ grid-template-columns: 1fr; } }

.rd-amenity-card{
  background: var(--hi-white);
  border: 1px solid rgba(110,30,44,.12);
  border-top: 3px solid var(--hi-gold);
  border-radius: 4px;
  padding: 28px 26px;
}
.rd-amenity-card h5{
  font-size: 17px;
  margin: 0 0 16px;
  display:flex; align-items:center; gap:10px;
}
.rd-amenity-card h5 i{ color: var(--hi-gold); font-size: 15px; }
.rd-amenity-card ul{ list-style:none; margin:0; padding:0; }
.rd-amenity-card li{
  display:flex; align-items:center; gap:10px;
  font-size: 14.5px;
  color: var(--hi-ink-soft);
  padding: 8px 0;
  border-bottom: 1px dashed rgba(110,30,44,.12);
}
.rd-amenity-card li:last-child{ border-bottom:none; }
.rd-amenity-card li i{ color: var(--hi-maroon); font-size: 12px; }

/* ---------- Tariff table ---------- */
.rd-tariff-wrap{
  background: var(--hi-white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 18px 40px -20px rgba(58,13,20,.25);
}
table.rd-tariff{
  width: 100%;
  border-collapse: collapse;
  font-family: var(--hi-font-body);
}
table.rd-tariff thead th{
  background: var(--hi-maroon-dark);
  color: var(--hi-gold-light);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 20px 24px;
  text-align: left;
}
table.rd-tariff thead th:not(:first-child){ text-align:center; }
table.rd-tariff tbody td{
  padding: 18px 24px;
  border-bottom: 1px solid var(--hi-cream-2);
  font-size: 15.5px;
  color: var(--hi-ink);
}
table.rd-tariff tbody td:not(:first-child){ text-align:center; font-family: var(--hi-font-display); font-weight:600; color: var(--hi-maroon-dark); }
table.rd-tariff tbody tr:last-child td{ border-bottom:none; }
table.rd-tariff tbody tr.rd-row-active{
  background: linear-gradient(90deg, rgba(199,160,90,.14), rgba(199,160,90,.05));
  position: relative;
}
table.rd-tariff tbody tr.rd-row-active td:first-child{
  border-left: 4px solid var(--hi-gold);
  font-weight: 600;
}
.rd-row-active td:first-child .rd-seal{
  display:inline-flex; align-items:center; gap:8px;
  margin-left: 12px;
  background: var(--hi-maroon);
  color: var(--hi-gold-light);
  font-family: var(--hi-font-body);
  font-size: 10.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  vertical-align: middle;
}
.rd-tariff-note{
  font-size: 13.5px;
  color: var(--hi-ink-soft);
  padding: 18px 24px;
  border-top: 1px solid var(--hi-cream-2);
}

/* ---------- Ganges CTA strip ---------- */
.rd-cta{
  background: var(--hi-maroon-dark);
  color: var(--hi-white);
  border-radius: 6px;
  padding: 44px 46px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.rd-cta h3{ color: var(--hi-white); margin:0 0 8px; font-size: 22px; }
.rd-cta p{ margin:0; color: var(--hi-gold-light); max-width: 520px; font-size: 14.5px; line-height:1.7; }

/* ---------- Room switcher pills ---------- */
.rd-switcher{
  display:flex; flex-wrap:wrap; gap:10px;
  margin-bottom: 46px;
}
.rd-switcher a{
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(110,30,44,.2);
  font-size: 13.5px;
  color: var(--hi-maroon-dark);
  letter-spacing: .3px;
}
.rd-switcher a:hover{ background: var(--hi-cream-2); }
.rd-switcher a.active{
  background: var(--hi-maroon);
  border-color: var(--hi-maroon);
  color: var(--hi-white);
}

/* =====================================================================
   Responsive adjustments — Banner + general mobile fixes
   ===================================================================== */

/* ---------- Banner: mobile padding & sizing ---------- */
@media (max-width: 991px){
  .rd-banner{
    min-height: 380px;
  }
  .rd-banner__inner{
    padding: 130px 20px 55px;
  }
}

@media (max-width: 767px){
  .rd-banner{
    min-height: 320px;
  }
  .rd-banner__inner{
    padding: 110px 18px 45px;
  }
  .rd-eyebrow{
    font-size: 11px;
    letter-spacing: 2px;
  }
  .rd-banner__crumb{
    font-size: 12.5px;
  }
}

@media (max-width: 575px){
  .rd-banner{
    min-height: 280px;
  }
  .rd-banner__inner{
    padding: 100px 16px 36px;
  }
  .rd-banner h1{
    font-size: 28px;
  }
  .rd-banner__crumb i{
    margin: 0 6px;
  }
}

/* ---------- Section shell: tighter padding on mobile ---------- */
@media (max-width: 767px){
  .rd-section{ padding: 55px 0; }
  .rd-section.tight{ padding: 40px 0; }
}
@media (max-width: 575px){
  .rd-section{ padding: 42px 0; }
  .rd-section.tight{ padding: 30px 0; }
}

/* ---------- Intro / gallery stack cleanly ---------- */
@media (max-width: 767px){
  .rd-gallery,
  .rd-gallery .rd-g-main,
  .rd-gallery figure.rd-g-main img{
    height: 340px;
  }
}
@media (max-width: 575px){
  .rd-gallery{
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    height: auto;
  }
  .rd-gallery .rd-g-main{ grid-row: auto; }
  .rd-gallery,
  .rd-gallery .rd-g-main,
  .rd-gallery figure.rd-g-main img{
    height: 220px;
  }
  .rd-facts{ gap: 8px; }
  .rd-fact-chip{ padding: 9px 14px; font-size: 13px; }
  .rd-price-tag{ padding: 13px 18px; }
}

/* ---------- Tariff table: horizontal scroll on small screens ---------- */
@media (max-width: 767px){
  .rd-tariff-wrap{
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  table.rd-tariff{ min-width: 560px; }
}

/* ---------- CTA strip: stack on mobile ---------- */
@media (max-width: 575px){
  .rd-cta{
    padding: 30px 24px;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .rd-cta .rd-btn{ width: 100%; justify-content: center; }
}

/* ---------- Room switcher pills: allow horizontal scroll if crowded ---------- */
@media (max-width: 575px){
  .rd-switcher{
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }
  .rd-switcher a{ flex: 0 0 auto; white-space: nowrap; }
}