/*
Theme Name: Dhiraj Dham
Theme URI: https://nathdwaratemple.org/
Author: Dhiraj Website
Author URI: https://shrinathdwara.in/
Description: Simple, distinctive modern WordPress theme for Dhiraj Dham, Nathdwara (Nathdwara Temple Board). Features a framed photographic hero with frosted quick-facts, interactive room & tariff selector with live estimator, Bento campus showcase, split location & manager desk, and booking confirmation dialog.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dhiraj-dham
Tags: nathdwara, dharamshala, temple-board, pilgrimage, lodging, custom-logo, custom-menu, responsive
*/

/* -------------------------------------------------------------
   1. Minimalist Heritage Palette & Typography
------------------------------------------------------------- */
:root {
  --navy: #780b10;
  --navy-2: #9b161c;
  --navy-deep: #460508;
  --saffron: #e08b0c;
  --saffron-hover: #f29d18;
  --lotus: #b32429;
  --bg: #fbf8f3;
  --surface: #ffffff;
  --surface-soft: #f5ede2;
  --ink: #241715;
  --muted: #69554f;
  --line: #e6dcd0;
  --shadow-sm: 0 2px 12px rgba(70, 5, 8, 0.06);
  --shadow-md: 0 14px 36px rgba(70, 5, 8, 0.11);
  --font-display: "Playfair Display", "Mukta", Georgia, serif;
  --font-mantra: "Yatra One", "Mukta", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", "Mukta", system-ui, -apple-system, sans-serif;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
}

/* -------------------------------------------------------------
   2. Reset & Base
------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  margin-top: 0 !important;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--saffron);
  outline-offset: 3px;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--saffron);
  color: #1f1500;
  font-weight: 700;
  padding: 10px 18px;
  z-index: 999;
  text-decoration: none;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* -------------------------------------------------------------
   3. Minimal Single-Row Header
------------------------------------------------------------- */
header.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

body.admin-bar header.nav {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar header.nav {
    top: 46px;
  }
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 20px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-img {
  height: 58px;
  width: auto;
  object-fit: contain;
  display: block;
}

.brand-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--saffron);
  box-shadow: 0 0 0 4px rgba(224, 139, 12, 0.24);
  flex: none;
}

.brand {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.custom-logo-link img {
  max-height: 40px;
  width: auto;
}

.nav nav.primary-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav nav.primary-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav nav.primary-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.16s ease;
}

.nav nav.primary-nav a:hover,
.nav nav.primary-nav a[aria-current="page"],
.nav nav.primary-nav .current-menu-item > a {
  color: var(--navy);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--navy);
  color: #ffffff !important;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid var(--navy);
  cursor: pointer;
  font-family: inherit;
  font-size: 14.5px;
  line-height: 1.2;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}

.btn:hover {
  background: var(--navy-2);
  border-color: var(--navy-2);
  transform: translateY(-1px);
}

.btn.gold {
  background: var(--saffron);
  border-color: var(--saffron);
  color: #201600 !important;
  font-weight: 700;
}

.btn.gold:hover {
  background: var(--saffron-hover);
  border-color: var(--saffron-hover);
}

.btn.sm {
  padding: 9px 18px;
  font-size: 14px;
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.22);
}

.btn.outline {
  background: transparent;
  color: var(--navy) !important;
  border-color: var(--line);
}

.btn.outline:hover {
  border-color: var(--navy);
  background: var(--surface-soft);
}

.menu-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  align-items: center;
  gap: 6px;
}

.mobile-drawer {
  display: none;
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 16px 24px 24px;
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-drawer nav {
  display: grid;
  gap: 8px;
}

.mobile-drawer nav a:not(.btn) {
  text-decoration: none;
  font-weight: 600;
  padding: 10px 4px;
  border-bottom: 1px solid var(--line);
}

.mobile-drawer nav .btn {
  margin-top: 10px;
}

@media (max-width: 1020px) {
  .nav nav.primary-nav,
  .nav-actions .desktop-cta {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
}

/* -------------------------------------------------------------
   4. Framed Photographic Hero + Floating Facts Strip
------------------------------------------------------------- */
.hero-shell {
  padding: 24px 0 36px;
}

.hero-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 490px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-md);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(62, 5, 8, 0.92) 0%,
    rgba(78, 8, 12, 0.78) 48%,
    rgba(62, 5, 8, 0.34) 100%
  );
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 54px 52px 36px;
  max-width: 680px;
  color: #ffffff;
}

.hero-mantra {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(224, 139, 12, 0.2);
  border: 1px solid rgba(224, 139, 12, 0.48);
  color: #ffe2a4;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero-mantra span.sanskrit {
  font-family: var(--font-mantra);
  font-weight: 400;
}

.hero-inner h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5.2vw, 56px);
  line-height: 1.08;
  margin-bottom: 16px;
}

.hero-inner p.lead {
  color: #faeae2;
  font-size: 17.5px;
  max-width: 48ch;
  margin-bottom: 28px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-bar {
  position: relative;
  z-index: 2;
  margin: 0 24px 24px;
  padding: 16px 24px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  box-shadow: 0 8px 24px rgba(42, 4, 6, 0.18);
}

.hero-stat strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}

.hero-stat span {
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 860px) {
  .hero-inner {
    padding: 36px 24px 28px;
  }
  .hero-bar {
    margin: 0 16px 16px;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hero-bar {
    grid-template-columns: 1fr;
  }
}

/* Inner Page Header */
.page-banner {
  background:
    radial-gradient(circle at 88% 20%, rgba(224, 139, 12, 0.24), transparent 42%),
    linear-gradient(125deg, var(--navy), var(--navy-2));
  color: #ffffff;
  padding: 54px 0;
  border-bottom: 3px solid var(--saffron);
}

.breadcrumbs {
  font-size: 13.5px;
  color: #f6dfd4;
  margin-bottom: 10px;
}

.breadcrumbs a {
  color: #ffe2a4;
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.page-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 46px);
  line-height: 1.14;
}

.page-banner p {
  color: #faeae2;
  max-width: 60ch;
  margin-top: 10px;
  font-size: 16.5px;
}

/* Rich Inner Page Components */
.about-intro-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 32px;
}

.about-photo-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}

.about-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-photo-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(58, 5, 8, 0.9);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.stat-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}

.stat-box strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--navy);
}

.stat-box span {
  font-size: 13px;
  color: var(--muted);
}

.info-strip-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.tbl-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}

table.tariff-compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

table.tariff-compare th,
table.tariff-compare td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

table.tariff-compare th {
  background: var(--surface-soft);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

table.tariff-compare tr:last-child td {
  border-bottom: 0;
}

table.tariff-compare td.price-cell {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  color: var(--lotus);
  white-space: nowrap;
}

.gallery-spotlight {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
}

.gallery-spotlight-media {
  position: relative;
  min-height: 320px;
}

.gallery-spotlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-spotlight-body {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.gallery-spotlight-body h2 {
  font-size: clamp(24px, 3vw, 30px);
}

.gallery-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gallery-tab {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.16s ease;
}

.gallery-tab:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.gallery-tab.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
}

.gallery-count {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gal-tile {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gal-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.gallery-card-btn {
  border: 0;
  padding: 0;
  background: none;
  width: 100%;
  cursor: zoom-in;
  display: block;
  text-align: left;
  position: relative;
}

.gal-tile-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-soft);
}

.gal-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gal-tile:hover .gal-tile-media img {
  transform: scale(1.05);
}

.gal-zoom-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(58, 5, 8, 0.78);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 15px;
  opacity: 0.9;
}

.gal-tile-meta {
  padding: 16px 18px 18px;
}

.gal-tile-meta .dir-tag {
  margin-bottom: 8px;
}

.gal-tile-meta h3 {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--navy);
  margin-bottom: 4px;
}

.gal-tile-meta p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

dialog.lightbox-dialog {
  border: 0;
  border-radius: var(--r-md);
  padding: 0;
  max-width: 920px;
  width: calc(100% - 32px);
  margin: auto;
  background: var(--navy-deep);
  color: #ffffff;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
}

dialog.lightbox-dialog::backdrop {
  background: rgba(42, 4, 6, 0.84);
  backdrop-filter: blur(4px);
}

.lightbox-body {
  position: relative;
}

.lightbox-body img {
  width: 100%;
  max-height: 72vh;
  object-fit: cover;
}

.lightbox-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 20px;
}

.lightbox-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}

@media (max-width: 960px) {
  .gallery-spotlight {
    grid-template-columns: 1fr;
  }
  .gallery-mosaic {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-mosaic {
    grid-template-columns: 1fr;
  }
}

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.pathway-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pathway-card.featured {
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
}

@media (max-width: 900px) {
  .about-intro-split,
  .info-strip-3,
  .pathway-grid {
    grid-template-columns: 1fr;
  }
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .stats-strip {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------
   5. Shared Section Rhythm
------------------------------------------------------------- */
section.section {
  padding: 56px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--lotus);
  margin-bottom: 6px;
}

h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3.6vw, 36px);
  line-height: 1.18;
  color: var(--navy);
}

.sub {
  color: var(--muted);
  max-width: 58ch;
  font-size: 16px;
  margin-top: 6px;
}

.home-dir-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.dir-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.dir-card:hover {
  transform: translateY(-3px);
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
}

.dir-tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--surface-soft);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.dir-card h3 {
  font-family: var(--font-display);
  font-size: 21px;
  color: var(--navy);
}

.dir-card p {
  font-size: 14.5px;
  color: var(--muted);
  flex: 1;
}

.dir-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--lotus);
  margin-top: 4px;
}

.about-hl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-only-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

@media (max-width: 960px) {
  .home-dir-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-hl-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .home-dir-grid,
  .gallery-only-grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------
   6. Interactive Rooms & Tariff Showcase (2-Column Panel)
------------------------------------------------------------- */
.stay-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.room-selector-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.room-option {
  width: 100%;
  text-align: left;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-family: inherit;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.room-option:hover {
  border-color: #d6b8ad;
}

.room-option.is-active {
  border-color: var(--navy);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.room-option-title {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
}

.room-option-meta {
  display: block;
  font-size: 13.5px;
  color: var(--muted);
}

.room-option-price {
  text-align: right;
  white-space: nowrap;
}

.room-option-price strong {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--lotus);
  line-height: 1.1;
}

.room-option-price small {
  font-size: 12px;
  color: var(--muted);
}

.calc-bar {
  margin-top: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 12px;
  align-items: end;
}

.calc-bar label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 5px;
}

.calc-bar input[type="number"] {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  background: var(--bg);
  color: var(--ink);
}

.calc-total {
  background: var(--navy);
  color: #ffffff;
  border-radius: 10px;
  padding: 10px 14px;
}

.calc-total small {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #f6dfd4;
}

.calc-total strong {
  font-family: var(--font-display);
  font-size: 22px;
  color: #ffd985;
}

.room-preview-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.room-preview-img {
  aspect-ratio: 16 / 9.5;
  overflow: hidden;
  position: relative;
  background: var(--surface-soft);
}

.room-preview-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room-preview-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}

.room-preview-body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}

.room-preview-body h3 {
  font-family: var(--font-display);
  font-size: 25px;
  color: var(--navy);
}

.room-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.room-specs span {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.room-preview-actions {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.tariff-note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 880px) {
  .stay-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .calc-bar {
    grid-template-columns: 1fr 1fr;
  }
  .calc-total {
    grid-column: 1 / -1;
  }
}

/* -------------------------------------------------------------
   7. Bento Campus & Amenities Grid
------------------------------------------------------------- */
.bento-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  gap: 18px;
}

.bento-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.bento-card.bento-tall {
  grid-row: span 2;
}

.bento-photo {
  position: relative;
  flex: 1;
  min-height: 210px;
}

.bento-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bento-overlay-label {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  background: rgba(58, 5, 8, 0.88);
  backdrop-filter: blur(6px);
  color: #ffffff;
  padding: 12px 14px;
  border-radius: 12px;
}

.bento-overlay-label strong {
  display: block;
  font-size: 15.5px;
}

.bento-overlay-label small {
  color: #f6dfd4;
  font-size: 13px;
}

.bento-text {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.bento-text.navy {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
}

.bento-text.navy h3 {
  color: #ffffff;
}

.bento-text.navy p {
  color: #f7e4d8;
}

.bento-text h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--navy);
}

.bento-text p {
  color: var(--muted);
  font-size: 15px;
}

.amen-compact {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.amen-compact li {
  padding-left: 22px;
  position: relative;
  font-size: 14.5px;
  font-weight: 500;
}

.amen-compact li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--lotus);
  font-weight: 700;
}

@media (max-width: 920px) {
  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }
  .bento-card.bento-tall {
    grid-row: auto;
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card.bento-tall {
    grid-column: auto;
  }
}

/* -------------------------------------------------------------
   8. Split Location & Manager Desk + Booking & FAQ
------------------------------------------------------------- */
.location-split {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 22px;
  align-items: stretch;
}

.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  min-height: 360px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  display: block;
}

.desk-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  box-shadow: var(--shadow-sm);
}

.desk-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 6px;
}

.desk-info {
  display: grid;
  gap: 12px;
  font-size: 15px;
  color: var(--muted);
}

.desk-info strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
}

.desk-actions {
  display: grid;
  gap: 10px;
}

@media (max-width: 860px) {
  .location-split {
    grid-template-columns: 1fr;
  }
}

.reserve-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.steps-stack {
  list-style: none;
  padding: 0;
  counter-reset: s;
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.steps-stack li {
  counter-increment: s;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 16px 18px;
  display: flex;
  gap: 14px;
  align-items: center;
  font-weight: 500;
}

.steps-stack li::before {
  content: counter(s);
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
}

.reserve-cta-box {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #ffffff;
  border-radius: var(--r-md);
  padding: 26px;
}

.reserve-cta-box h3 {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 6px;
}

.reserve-cta-box p {
  color: #faeae2;
  font-size: 15px;
  margin-bottom: 18px;
}

.reserve-cta-box .cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--r-sm);
  padding: 16px 18px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  line-height: 1;
  color: var(--lotus);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
}

@media (max-width: 860px) {
  .reserve-split {
    grid-template-columns: 1fr;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 5px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
}

.contact-status {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

@media (max-width: 860px) {
  .contact-grid,
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------
   9. Inner Pages, Blog Cards, Footer & Dialog
------------------------------------------------------------- */
.wp-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.entry-content > * + * {
  margin-top: 16px;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.post-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.post-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
}

.post-card h3 a {
  text-decoration: none;
}

.post-meta {
  font-size: 13px;
  color: var(--muted);
}

footer.site-footer {
  margin-top: 40px;
  border-top: 4px solid var(--saffron);
  background:
    radial-gradient(circle at 10% 10%, rgba(224, 139, 12, 0.14), transparent 38%),
    linear-gradient(180deg, var(--navy) 0%, #560609 100%);
  color: #f6e4db;
}

.footer-main {
  padding: 52px 0 42px;
  border-bottom: 1px solid rgba(255, 226, 164, 0.18);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 1fr 1.15fr;
  gap: 36px;
  align-items: start;
}

.footer-logo-link {
  display: inline-block;
  background: #ffffff;
  padding: 10px 16px;
  border-radius: 12px;
  border: 2px solid var(--saffron);
  margin-bottom: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.footer-logo-img {
  height: 50px;
  width: auto;
  display: block;
}

.footer-disclaimer {
  font-size: 13.5px;
  line-height: 1.6;
  color: #f1d9ce;
  margin-bottom: 14px;
}

.footer-address-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
}

.footer-address-row svg {
  flex: none;
  margin-top: 2px;
  color: #ffd479;
}

footer.site-footer h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #ffd479;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 9px;
  font-size: 14.5px;
}

.footer-links a {
  color: #f6e4db;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: #ffd479;
}

.footer-hours {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 9px;
}

.footer-hours li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(255, 226, 164, 0.22);
  font-size: 13.5px;
  color: #f1d9ce;
}

.footer-hours li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.footer-hours strong {
  color: #ffffff;
  font-weight: 700;
  white-space: nowrap;
}

.footer-contact-list {
  display: grid;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 226, 164, 0.22);
  transition: border-color 0.16s ease, background-color 0.16s ease, transform 0.14s ease;
}

.footer-contact-item:hover {
  border-color: var(--saffron);
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-1px);
}

.footer-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(224, 139, 12, 0.2);
  color: #ffd479;
  display: grid;
  place-items: center;
  flex: none;
}

.footer-icon.wa {
  background: rgba(37, 211, 102, 0.2);
  color: #6df09c;
}

.footer-contact-item small {
  display: block;
  font-size: 11px;
  color: #ffd479;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-contact-item strong {
  display: block;
  font-size: 14.5px;
  color: #ffffff;
}

.footer-ext-links {
  margin-top: 12px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #e6c6b8;
}

.footer-ext-links a {
  color: #ffe2a4;
  text-decoration: none;
}

.footer-ext-links a:hover {
  color: #ffffff;
}

.footer-bottom-bar {
  background: #3b0306;
  color: #edd9cf;
  padding: 18px 0;
  font-size: 13.5px;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-mantra {
  color: #ffe2a4;
  font-weight: 600;
}

.footer-top-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.footer-top-link:hover {
  border-color: var(--saffron);
  color: #ffe2a4;
}

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

dialog.booking-dialog {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px;
  max-width: 460px;
  width: calc(100% - 32px);
  margin: auto;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(8, 14, 36, 0.35);
}

dialog.booking-dialog::backdrop {
  background: rgba(58, 5, 8, 0.62);
  backdrop-filter: blur(3px);
}

dialog.booking-dialog h3 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 10px;
}

dialog.booking-dialog .row {
  display: flex;
  gap: 10px;
  margin-top: 22px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* Darshan & Bhojanalaya Timings */
.timings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.timing-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.timing-card:has(.timing-photo) {
  padding: 0;
  gap: 0;
}

.timing-card-body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.timing-card h3 {
  font-family: var(--font-display);
  font-size: 23px;
  color: var(--navy);
  margin-top: 6px;
}

.timing-photo {
  position: relative;
  aspect-ratio: 16 / 8.5;
  overflow: hidden;
  background: var(--surface-soft);
}

.timing-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.timing-photo-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(58, 5, 8, 0.9);
  color: #ffe2a4;
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}

.timing-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.timing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.timing-row-meal {
  align-items: flex-start;
}

.timing-name {
  display: block;
  font-weight: 600;
  color: var(--ink);
  font-size: 14.5px;
}

.timing-sub {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}

.timing-time {
  font-size: 14px;
  font-weight: 700;
  color: var(--lotus);
  white-space: nowrap;
}

.timing-note {
  margin-top: auto;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 880px) {
  .timings-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn,
  .room-option {
    transition: none;
  }
}
