/* =========================================================
   SRINGERI ANNAPOORNA — Design Tokens (Premium Devotional)
   ========================================================= */
:root {
  --maroon: #6f171b;
  --maroon-deep: #440509;
  --wine: #8a1620;
  --gold: #C9A227;
  --gold-light: #ECD07E;
  --gold-pale: #F5E6B8;
  --gold-dark: #93701A;
  --cream: #FBF3E1;
  --ivory: #FFFDF8;
  --beige: #EFE1BF;
  --beige-deep: #E3CE9C;
  --brown: #2A170F;
  --brown-mid: #4A2C1B;
  --wood: #5C3A24;
  --ink: #241209;

  --font-display: 'Cinzel Decorative', 'Cinzel', serif;
  --font-head: 'Cinzel', serif;
  --font-serif: 'Cormorant Garamond', serif;
  --font-sc: 'Cormorant SC', serif;
  --font-sanskrit: 'Tiro Devanagari Sanskrit', serif;
  --font-body: 'Jost', sans-serif;

  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow-soft: 0 24px 60px -24px rgba(42, 23, 15, .45);
  --shadow-card: 0 14px 34px -18px rgba(42, 23, 15, .35);
  --shadow-gold: 0 0 0 1px rgba(201, 162, 39, .35), 0 18px 40px -20px rgba(110, 15, 20, .35);
  --container: 1180px;
  --header-height: 74px;
  --transition: .45s cubic-bezier(.4, 0, .2, 1);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  overflow-x: clip;
  max-width: 100%;
}

body {
  margin: 0;
  padding-top: var(--header-height);
  overflow-x: clip;
  max-width: 100%;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 800px at 15% -10%, rgba(201, 162, 39, .07), transparent 60%),
    radial-gradient(1200px 900px at 100% 10%, rgba(110, 15, 20, .05), transparent 55%),
    var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Subtle kolam / rangoli dot-grid texture across the whole page */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(110, 15, 20, .06) 1px, transparent 1.4px);
  background-size: 28px 28px;
  opacity: .55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-head);
  color: var(--maroon-deep);
  margin: 0 0 .5em;
  letter-spacing: .015em;
}

p {
  margin: 0 0 1em;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* =========================================================
   BUTTONS — gold-foil premium treatment
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .92rem;
  letter-spacing: .03em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn-solid {
  background: linear-gradient(155deg, var(--wine) 0%, var(--maroon) 45%, var(--maroon-deep) 100%);
  color: var(--gold-pale);
  box-shadow: 0 14px 30px -10px rgba(68, 5, 9, .65), inset 0 0 0 1px rgba(201, 162, 39, .4);
}

.btn-solid::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(236, 208, 126, .35) 40%, transparent 60%);
  transform: translateX(-120%);
  transition: transform .7s ease;
}

.btn-solid:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 38px -12px rgba(68, 5, 9, .7), inset 0 0 0 1px rgba(236, 208, 126, .6);
  color: var(--ivory);
}

.btn-solid:hover::after {
  transform: translateX(120%);
}

.btn-outline {
  background: rgba(255, 253, 248, .5);
  border-color: var(--gold-dark);
  color: var(--maroon-deep);
}

.btn-outline:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-color: var(--gold);
  color: var(--brown);
  transform: translateY(-3px);
}

.btn-ghost {
  background: transparent;
  color: var(--brown-mid);
  border-color: rgba(42, 23, 15, .22);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--maroon);
}

/* =========================================================
   HEADER / NAV — carved wood + gold hairline
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(251, 243, 225, .95);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid rgba(201, 162, 39, .35);
  box-shadow: 0 2px 14px -6px rgba(42, 23, 15, .3);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(251, 243, 225, .98);
  box-shadow: 0 8px 30px -15px rgba(42, 23, 15, .5), 0 1px 0 var(--gold);
}

.nav-wrap {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 10px 28px 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  height: 52px;
  width: auto;
  max-width: 156px;
  aspect-ratio: 1117 / 385;
  border-radius: 4px;
  object-fit: contain;
  border: 1.5px solid var(--gold);
  box-shadow: 0 2px 10px rgba(42, 23, 15, .2);
  background: var(--ivory);
  flex-shrink: 0;
  transition: transform var(--transition), box-shadow var(--transition);
}

.brand-logo:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 14px rgba(201, 162, 39, .35);
}

.brand-mark {
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sanskrit);
  font-size: 1.4rem;
  line-height: 1;
  filter: drop-shadow(0 1px 1px rgba(201, 162, 39, .4));
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--maroon-deep);
  letter-spacing: .02em;
  display: flex;
  flex-direction: column;
  line-height: 1.18;
}

.brand-text em {
  font-family: var(--font-display);
  font-style: normal;
  color: var(--maroon-deep);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: .03em;
}

.main-nav {
  display: flex;
  gap: 28px;
}

.main-nav a {
  font-size: .88rem;
  font-weight: 500;
  color: var(--brown-mid);
  position: relative;
  padding: 6px 0;
  letter-spacing: .01em;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  transition: width var(--transition);
}

.main-nav a:hover {
  color: var(--maroon-deep);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: rgba(201, 162, 39, .12);
  border: 1.5px solid rgba(201, 162, 39, .45);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
  box-shadow: 0 2px 8px rgba(42, 23, 15, .12);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle:hover {
  background: rgba(201, 162, 39, .22);
  border-color: var(--gold);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--maroon-deep);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease, background-color .3s ease;
  transform-origin: center;
}

/* Three lines animate into an X when menu is opened */
.nav-toggle.open span:nth-child(1),
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2),
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.open span:nth-child(3),
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}



/* =========================================================
   HERO — deep sanctum gradient, gopuram silhouette, gold glow
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 24px 0;
  text-align: center;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 50% -10%, rgba(236, 208, 126, .18), transparent 60%),
    linear-gradient(195deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .55) 32%, rgba(0, 0, 0, .6) 68%, rgba(0, 0, 0, .8) 100%),
    url("images/home-page image.png") center center / cover no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, rgba(201, 162, 39, .05) 0 2px, transparent 2px 30px);
  mix-blend-mode: overlay;
}

/* gopuram / temple-crown silhouette along hero base */
.hero::after {
  content: '';
  display: block;
  height: 30px;
  margin-top: 46px;
  background:
    linear-gradient(135deg, transparent 50%, var(--gold) 50.5%) 0 0/26px 30px repeat-x,
    linear-gradient(45deg, transparent 50%, var(--gold) 50.5%) 0 0/26px 30px repeat-x;
  opacity: .85;
}

.hero-inner {
  max-width: 880px;
  margin: 0 auto;
  color: var(--cream);
  padding-bottom: 70px;
  position: relative;
}

.deity-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.deity-circle {
  margin: 0;
  width: 98px;
  text-align: center;
}

.deity-circle {
  position: relative;
}

.deity-placeholder,
.deity-circle img {
  width: 80px;
  height: 80px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: cover;
  object-position: center top;
  background: radial-gradient(circle at 30% 25%, var(--ivory), var(--beige-deep) 75%);
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 5px rgba(236, 208, 126, .16), 0 0 0 6px rgba(201, 162, 39, .3), 0 12px 24px -8px rgba(0, 0, 0, .55);
  color: var(--maroon);
  animation: glow 4.5s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

@keyframes glow {

  0%,
  100% {
    box-shadow: 0 0 0 5px rgba(236, 208, 126, .14), 0 0 0 6px rgba(201, 162, 39, .28), 0 12px 24px -8px rgba(0, 0, 0, .55);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(236, 208, 126, .3), 0 0 0 9px rgba(201, 162, 39, .4), 0 12px 28px -6px rgba(0, 0, 0, .6);
  }
}

.deity-circle figcaption {
  font-family: var(--font-sc);
  font-size: .74rem;
  line-height: 1.3;
  color: var(--gold-light);
  letter-spacing: .03em;
  font-weight: 600;
}

.hero-devotional-badge {
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  padding: 0;
  margin: 0 auto 28px;
  max-width: 820px;
}

.hero-sanskrit {
  font-family: var(--font-sanskrit);
  font-size: 1.25rem;
  color: #ffffff;
  letter-spacing: .04em;
  margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  font-weight: 600;
  line-height: 1.55;
}

.hero-sanskrit:last-of-type {
  margin-bottom: 12px;
}

.hero-eyebrow {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.45rem;
  color: #ffffff;
  letter-spacing: .03em;
  margin-bottom: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  font-weight: 600;
  display: block;
  border-top: none;
  padding-top: 4px;
}

.hero-eyebrow-mobile {
  display: none;
}

.hero-title {
  font-family: var(--font-head);
  background: linear-gradient(120deg, var(--ivory) 15%, var(--gold-light) 45%, var(--ivory) 55%, var(--gold-pale) 85%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 7s linear infinite;
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  line-height: 1.22;
  margin-bottom: 22px;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, .45));
}

.hero-title-line {
  display: block;
}

@keyframes shimmer {
  to {
    background-position: -220% center;
  }
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(251, 243, 225, .9);
  max-width: 620px;
  margin: 0 auto 36px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero .btn-outline {
  background: rgba(251, 243, 225, .06);
  border-color: var(--gold-light);
  color: var(--gold-pale);
  backdrop-filter: blur(4px);
}

.hero .btn-outline:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--brown);
}

.divider-lotus {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 34px 0;
  color: var(--gold-dark);
}

.divider-lotus::before,
.divider-lotus::after {
  content: '';
  width: 90px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.div-mark {
  width: 9px;
  height: 9px;
  flex-shrink: 0;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  transform: rotate(45deg);
  box-shadow: 0 0 0 5px rgba(201, 162, 39, .14);
}

/* =========================================================
   SECTION GENERICS
   ========================================================= */
.section {
  padding: 96px 0;
  position: relative;
}

.section-eyebrow {
  text-align: left;
  font-family: var(--font-sc);
  font-weight: 600;
  color: var(--gold-dark);
  font-size: 1rem;
  margin-bottom: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 16px;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  border-radius: 2px;
}

.section-title.center::after,
.center>.section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-lead {
  max-width: 640px;
  color: #5c4530;
  font-weight: 300;
  margin-bottom: 50px;
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section .container>.section-lead.center {
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   SERVICE CARDS — ivory + gold hairline + corner ornament
   ========================================================= */
.services {
  background: linear-gradient(180deg, var(--cream), var(--beige));
  position: relative;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.service-card {
  background: linear-gradient(160deg, var(--ivory), #fdf7ea 100%);
  border: 1px solid rgba(201, 162, 39, .3);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
}

.service-card::before,
.service-card::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--gold);
  opacity: .55;
  transition: opacity var(--transition);
}

.service-card::before {
  top: 8px;
  left: 8px;
  border-right: none;
  border-bottom: none;
}

.service-card::after {
  bottom: 8px;
  right: 8px;
  border-left: none;
  border-top: none;
}

.service-card:hover {
  transform: translateY(-9px);
  box-shadow: var(--shadow-gold);
  border-color: var(--gold);
}

.service-card:hover::before,
.service-card:hover::after {
  opacity: 1;
}

.sc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, var(--ivory), var(--beige-deep));
  color: var(--maroon);
  margin-bottom: 18px;
  box-shadow: inset 0 0 0 1px rgba(201, 162, 39, .4), 0 6px 14px -8px rgba(110, 15, 20, .3);
  transition: transform var(--transition), color var(--transition);
}

.service-card:hover .sc-icon {
  transform: scale(1.12) rotate(-4deg);
  color: var(--gold-dark);
}

.service-card h3 {
  font-size: 1.06rem;
  margin-bottom: 9px;
}

.service-card p {
  font-size: .86rem;
  color: #6e5540;
  margin: 0;
}

/* =========================================================
   ABOUT
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.image-frame {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, var(--maroon) 0%, var(--brown-mid) 60%, var(--brown) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--gold-light);
  border: 7px solid var(--ivory);
  outline: 2px solid var(--gold);
  outline-offset: -1px;
  box-shadow: var(--shadow-soft), inset 0 0 60px rgba(0, 0, 0, .25);
  position: relative;
}

.image-frame::before {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(236, 208, 126, .4);
  border-radius: calc(var(--radius-lg) - 8px);
  pointer-events: none;
}

.image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(236, 208, 126, .14) 1px, transparent 1.4px);
  background-size: 22px 22px;
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.image-frame .ph-icon {
  position: relative;
  z-index: 1;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 7px);
  position: relative;
  z-index: 1;
}

.ph-label {
  font-family: var(--font-sc);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
  letter-spacing: .03em;
}

.about-content p {
  color: #5c4530;
}

/* =========================================================
   WHY CHOOSE US
   ========================================================= */
.why {
  background: linear-gradient(180deg, var(--beige), var(--beige-deep));
  position: relative;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.why-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  background: linear-gradient(160deg, var(--ivory), #fbf2dc);
  border: 1px solid rgba(201, 162, 39, .28);
  border-radius: var(--radius-md);
  padding: 28px 18px;
  text-align: center;
  color: var(--maroon);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}

.why-item::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  width: 26px;
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  border-radius: 2px;
}

.why-item:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-gold);
}

.why-item h4 {
  margin: 0;
  font-size: .92rem;
  color: var(--brown-mid);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.4;
}

/* =========================================================
   PUROHITAM HORIZONTAL SCROLL
   ========================================================= */
.scroll-row {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 8px 8px 22px;
  scroll-snap-type: x proximity;
}

.scroll-row::-webkit-scrollbar {
  height: 8px;
}

.scroll-row::-webkit-scrollbar-track {
  background: var(--beige);
  border-radius: 10px;
}

.scroll-row::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  border-radius: 10px;
}

.hcard {
  flex: 0 0 230px;
  scroll-snap-align: start;
  background: linear-gradient(160deg, var(--ivory), var(--beige));
  border: 1px solid rgba(201, 162, 39, .4);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  border-top: 3px solid var(--gold);
  overflow: hidden;
}

.hcard:hover {
  transform: translateY(-7px);
  border-color: var(--maroon);
  box-shadow: var(--shadow-gold);
}

.hcard-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  background: linear-gradient(150deg, var(--beige-deep), var(--beige));
}

.hcard-body {
  padding: 20px 22px 24px;
}

.hcard h4 {
  font-size: 1.02rem;
  margin-bottom: 9px;
  color: var(--maroon-deep);
}

.hcard p {
  font-size: .84rem;
  color: #6e5540;
  margin: 0;
}

/* =========================================================
   PUROHITAM GRID (same tile treatment as Catering)
   ========================================================= */
.purohitam-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

.purohitam-item {
  aspect-ratio: 1/1;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, var(--wine) 0%, var(--maroon-deep) 65%, var(--brown) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(201, 162, 39, .25);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.purohitam-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.purohitam-item::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, .6), transparent 62%),
    radial-gradient(circle, transparent 40%, rgba(236, 208, 126, .12) 41% 42%, transparent 43%),
    radial-gradient(rgba(236, 208, 126, .1) 1px, transparent 1.4px);
  background-size: 100% 100%, 100% 100%, 18px 18px;
}

.purohitam-item:hover {
  transform: scale(1.045) translateY(-3px);
  box-shadow: var(--shadow-gold);
  border-color: var(--gold);
}

.purohitam-item span {
  position: relative;
  z-index: 2;
  color: var(--ivory);
  font-size: .82rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* =========================================================
   RANGOLI OF THE DIVINE (same tile treatment, 3-column grid)
   ========================================================= */
.rangoli {
  background: linear-gradient(180deg, var(--cream), var(--beige));
}

.rangoli-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.rangoli-item {
  aspect-ratio: 1/1;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, var(--wine) 0%, var(--maroon-deep) 65%, var(--brown) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(201, 162, 39, .25);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.rangoli-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.rangoli-item::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, .6), transparent 62%),
    radial-gradient(circle, transparent 40%, rgba(236, 208, 126, .12) 41% 42%, transparent 43%),
    radial-gradient(rgba(236, 208, 126, .1) 1px, transparent 1.4px);
  background-size: 100% 100%, 100% 100%, 18px 18px;
}

.rangoli-item:hover {
  transform: scale(1.045) translateY(-3px);
  box-shadow: var(--shadow-gold);
  border-color: var(--gold);
}

.rangoli-item span {
  position: relative;
  z-index: 2;
  color: var(--ivory);
  font-size: .82rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* =========================================================
   MENU SHOWCASE — 9:16 portrait images, 3 per row
   ========================================================= */
.menu {
  background: linear-gradient(180deg, var(--beige), var(--beige-deep));
}

.menu-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.menu-item {
  aspect-ratio: 9/19;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(201, 162, 39, .3);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.menu-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.menu-item:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-gold);
  border-color: var(--gold);
}

/* =========================================================
   CATERING FOOD GRID
   ========================================================= */
.catering {
  background: linear-gradient(180deg, var(--beige-deep), var(--cream));
}

.food-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.food-item {
  aspect-ratio: 1/1;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, var(--wine) 0%, var(--maroon-deep) 65%, var(--brown) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(201, 162, 39, .25);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.food-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.food-item::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, .6), transparent 62%),
    radial-gradient(circle, transparent 40%, rgba(236, 208, 126, .12) 41% 42%, transparent 43%),
    radial-gradient(rgba(236, 208, 126, .1) 1px, transparent 1.4px);
  background-size: 100% 100%, 100% 100%, 18px 18px;
}

.food-item:hover {
  transform: scale(1.045) translateY(-3px);
  box-shadow: var(--shadow-gold);
  border-color: var(--gold);
}

.food-item span {
  position: relative;
  z-index: 2;
  color: var(--ivory);
  font-size: .82rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* =========================================================
   COUNTERS
   ========================================================= */
.counters {
  background: linear-gradient(150deg, var(--maroon) 0%, var(--maroon-deep) 55%, var(--brown) 100%);
  padding: 76px 0;
  position: relative;
  overflow: hidden;
}

.counters::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-conic-gradient(from 0deg, rgba(236, 208, 126, .06) 0deg 2deg, transparent 2deg 10deg);
  background-position: center;
  opacity: .6;
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 28px;
  position: relative;
}

.counter-item {
  color: var(--cream);
}

.counter-num {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  color: var(--gold-light);
  font-weight: 700;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}

.counter-plus {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--gold-light);
}

.counter-item p {
  margin: 8px 0 0;
  font-size: .9rem;
  letter-spacing: .03em;
  color: rgba(251, 243, 225, .88);
}

/* =========================================================
   GALLERY (MASONRY)
   ========================================================= */
.masonry {
  column-count: 4;
  column-gap: 22px;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 22px;
  border-radius: var(--radius-md);
  aspect-ratio: 1/1;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--brown-mid), var(--wood));
  display: flex;
  align-items: flex-end;
  padding: 18px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(201, 162, 39, .25);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.masonry-item.tall {
  aspect-ratio: 1/1.35;
}

.masonry-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.masonry-item::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, .6), transparent 58%),
    radial-gradient(rgba(236, 208, 126, .1) 1px, transparent 1.4px);
  background-size: 100% 100%, 18px 18px;
}

.masonry-item:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-gold);
  border-color: var(--gold);
}

.masonry-item span {
  position: relative;
  z-index: 2;
  color: var(--ivory);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .01em;
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials {
  background: linear-gradient(180deg, var(--beige), var(--beige-deep));
}

.testimonial-carousel {
  max-width: 720px;
  margin: 0 auto;
  overflow: hidden;
}

.t-track {
  display: flex;
  transition: transform .6s cubic-bezier(.4, 0, .2, 1);
}

.t-card {
  flex: 0 0 100%;
  background: linear-gradient(160deg, var(--ivory), #fdf6e6);
  border-radius: var(--radius-lg);
  padding: 44px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(201, 162, 39, .35);
  position: relative;
}

.t-card::before {
  content: '“';
  position: absolute;
  top: 6px;
  left: 26px;
  font-family: var(--font-serif);
  font-size: 4.5rem;
  color: var(--gold-pale);
  line-height: 1;
}

.stars {
  color: var(--gold);
  letter-spacing: 5px;
  margin-bottom: 16px;
  text-shadow: 0 1px 6px rgba(201, 162, 39, .4);
}

.t-card p {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-style: italic;
  color: var(--brown-mid);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.t-person {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.t-person strong {
  display: block;
  font-size: .9rem;
  color: var(--maroon-deep);
}

.t-person small {
  color: #8a7360;
  font-size: .78rem;
}

.t-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

.t-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(110, 15, 20, .25);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  padding: 0;
}

.t-dots button.active {
  background: linear-gradient(135deg, var(--gold), var(--maroon));
  transform: scale(1.35);
}

/* =========================================================
   BOOKING FORM
   ========================================================= */
.booking {
  background: linear-gradient(180deg, var(--cream), var(--beige));
}

.booking-form {
  max-width: 820px;
  margin: 0 auto;
  background: linear-gradient(160deg, var(--ivory), #fdf7ea);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(201, 162, 39, .35);
  border-top: 4px solid var(--gold);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.form-field {
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field label {
  font-size: .82rem;
  font-weight: 500;
  color: var(--brown-mid);
  letter-spacing: .01em;
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 13px 15px;
  border-radius: 10px;
  border: 1px solid #ddc794;
  font-family: var(--font-body);
  font-size: .92rem;
  background: var(--ivory);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, .22);
}

.form-field.invalid input,
.form-field.invalid select,
.form-field.invalid textarea {
  border-color: var(--maroon);
}

.error-msg {
  font-size: .75rem;
  color: var(--maroon);
  min-height: 1em;
}

.form-success {
  margin-top: 18px;
  color: #2f6f3e;
  font-weight: 500;
  min-height: 1.2em;
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: start;
}

.contact-list li {
  display: flex;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px dashed rgba(110, 15, 20, .2);
}

.contact-list li:last-child {
  border-bottom: none;
}

.contact-list .li-mark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
  background: radial-gradient(circle at 30% 30%, var(--gold-light), var(--gold-dark));
  box-shadow: 0 0 0 3px rgba(201, 162, 39, .15);
}

.contact-list strong {
  display: block;
  font-size: .82rem;
  color: var(--brown-mid);
}

.contact-list a,
.contact-list span {
  font-size: .92rem;
  color: #5c4530;
}

.contact-list a:hover {
  color: var(--maroon);
}

.map-frame {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 2px solid var(--gold);
  position: relative;
  background: linear-gradient(160deg, var(--beige), var(--beige-deep));
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-overlay-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 5;
  background: linear-gradient(135deg, var(--wine), var(--maroon-deep));
  color: var(--gold-pale);
  border: 1px solid var(--gold);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-card);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
}

.map-overlay-btn:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--maroon-deep);
  transform: translateY(-2px);
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: linear-gradient(180deg, var(--brown) 0%, #1c0d07 100%);
  color: rgba(251, 243, 225, .82);
  padding-top: 74px;
  border-top: 3px solid var(--gold-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 42px;
  padding-bottom: 52px;
}

.footer-brand .brand-mark {
  color: var(--gold);
}

.footer-brand-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.footer-logo {
  height: 60px;
  width: auto;
  max-width: 175px;
  aspect-ratio: 1117 / 385;
  border-radius: 4px;
  object-fit: contain;
  border: 2px solid var(--gold);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .4);
  background: var(--ivory);
  flex-shrink: 0;
  display: block;
}

.footer-brand .brand-text {
  color: var(--ivory);
  font-size: 1.22rem;
  margin: 0;
}

.footer-brand .brand-text em {
  color: var(--gold-light);
  font-style: normal;
}

.footer-brand p {
  font-size: .85rem;
  line-height: 1.75;
  color: rgba(251, 243, 225, .62);
}

.footer-col h5 {
  color: var(--gold-light);
  font-family: var(--font-head);
  font-size: .95rem;
  margin-bottom: 18px;
  letter-spacing: .02em;
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: .86rem;
  color: rgba(251, 243, 225, .7);
  margin-bottom: 11px;
}

.footer-col a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(201, 162, 39, .25);
  text-align: center;
  padding: 22px 0;
  font-size: .8rem;
  color: rgba(251, 243, 225, .55);
}

/* =========================================================
   FLOATING BUTTONS
   ========================================================= */
.float-btn {
  position: fixed;
  z-index: 400;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45), 0 0 0 1px rgba(201, 162, 39, .3);
  border: none;
  cursor: pointer;
  transition: transform var(--transition), opacity var(--transition), box-shadow var(--transition);
}

.float-btn svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.float-whatsapp {
  background: #25D366;
  color: #fff;
  right: 24px;
  bottom: 24px;
  box-shadow: 0 10px 25px -4px rgba(37, 211, 102, 0.6), 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.float-whatsapp svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

.float-whatsapp:hover {
  background: #20ba59;
  transform: scale(1.1);
  box-shadow: 0 14px 30px -4px rgba(37, 211, 102, 0.75), 0 0 0 3px #fff;
}

.float-call {
  background: linear-gradient(160deg, var(--wine), var(--maroon-deep));
  color: var(--gold-pale);
  right: 24px;
  bottom: 88px;
}

.float-top {
  background: linear-gradient(150deg, var(--gold-light), var(--gold-dark));
  color: var(--brown);
  right: 24px;
  bottom: 152px;
  font-size: 1.2rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

.float-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.float-btn:hover {
  transform: scale(1.09);
  box-shadow: 0 18px 36px -10px rgba(0, 0, 0, .5), 0 0 0 2px var(--gold);
}

.float-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .7rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}

/* Call Options Modal */
.call-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  padding: 20px;
}

.call-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.call-modal-card {
  background: linear-gradient(160deg, var(--ivory), #fdf7ea);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 34px 28px 28px;
  max-width: 440px;
  width: 100%;
  box-shadow: var(--shadow-soft), 0 0 0 4px rgba(201, 162, 39, 0.2);
  text-align: center;
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: transform var(--transition);
}

.call-modal.active .call-modal-card {
  transform: translateY(0) scale(1);
}

.call-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: rgba(110, 15, 20, 0.08);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1.1rem;
  color: var(--maroon-deep);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.call-modal-close:hover {
  background: rgba(110, 15, 20, 0.18);
}

.call-modal-title {
  font-size: 1.35rem;
  color: var(--maroon-deep);
  margin-bottom: 6px;
}

.call-modal-lead {
  font-size: 0.9rem;
  color: #6a5342;
  margin-bottom: 22px;
}

.call-modal-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.call-number-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  border-radius: 12px;
  background: var(--ivory);
  border: 1.5px solid var(--gold);
  color: var(--maroon-deep);
  font-weight: 600;
  font-size: 1.05rem;
  box-shadow: 0 4px 12px rgba(42, 23, 15, 0.08);
  transition: all var(--transition);
}

.call-number-btn:hover {
  background: linear-gradient(135deg, var(--wine), var(--maroon-deep));
  color: var(--gold-pale);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(68, 5, 9, 0.35);
}

.call-number-btn span.call-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8a7360;
}

.call-number-btn:hover span.call-label {
  color: var(--gold-light);
}

/* =========================================================
   REVEAL ON SCROLL
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .container {
    padding: 0 20px;
  }

  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .food-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .purohitam-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .rangoli-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .menu-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .masonry {
    column-count: 3;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid {
    gap: 40px;
  }
}

/* Tablets (portrait iPad / large phones in landscape) */
@media (max-width: 900px) {
  .nav-wrap {
    padding: 10px 18px;
    position: relative;
  }

  /* Mobile Dropdown - showcases all pages one by one down, no scrolling */
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(251, 243, 225, 0.98);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 4px 0 8px;
    gap: 0;
    margin: 0;
    border-top: 1px solid rgba(201, 162, 39, 0.3);
    border-bottom: 3px solid var(--gold);
    box-shadow: 0 18px 36px -8px rgba(42, 23, 15, 0.38);
    height: auto;
    overflow: hidden; /* No scrollbar / no scrolling the menu */
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.28s cubic-bezier(0.2, 0, 0, 1), opacity 0.24s ease, visibility 0.24s ease;
    z-index: 999;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Each page name shown one by one down in a vertical list */
  .main-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--maroon-deep);
    padding: 13px 24px;
    width: 100%;
    max-width: 100%;
    text-align: left;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid rgba(201, 162, 39, 0.16);
    position: relative;
    letter-spacing: .02em;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.24s ease, transform 0.24s cubic-bezier(0.2, 0, 0, 1), background 0.15s ease, color 0.15s ease, padding 0.15s ease;
    -webkit-tap-highlight-color: rgba(201, 162, 39, 0.15);
  }

  .main-nav a:last-child {
    border-bottom: none;
  }

  /* Subtle gold indicator on the right of each page name */
  .main-nav a::after {
    content: '\203A';
    position: static;
    font-size: 1.35rem;
    line-height: 1;
    font-weight: 700;
    color: var(--gold);
    width: auto;
    height: auto;
    background: none;
    transition: transform 0.18s ease, color 0.18s ease;
    margin-left: auto;
  }

  .main-nav a:hover,
  .main-nav a:active {
    background: rgba(201, 162, 39, 0.14);
    color: var(--gold-dark);
    padding-left: 28px;
  }

  .main-nav a:hover::after,
  .main-nav a:active::after {
    transform: translateX(3px);
    color: var(--maroon-deep);
  }

  /* Cascading entrance: showcase all page names one by one down at a time */
  .main-nav.open a {
    opacity: 1;
    transform: translateY(0);
  }

  .main-nav.open a:nth-child(1) { transition-delay: 0.03s; }
  .main-nav.open a:nth-child(2) { transition-delay: 0.06s; }
  .main-nav.open a:nth-child(3) { transition-delay: 0.09s; }
  .main-nav.open a:nth-child(4) { transition-delay: 0.12s; }
  .main-nav.open a:nth-child(5) { transition-delay: 0.15s; }
  .main-nav.open a:nth-child(6) { transition-delay: 0.18s; }
  .main-nav.open a:nth-child(7) { transition-delay: 0.21s; }

  .main-nav:not(.open) a {
    transition-delay: 0s !important;
  }

  .nav-toggle {
    display: flex;
  }

  /* Hide Book Service and Call Now from the mobile header bar so they never overflow or get cut in half */
  .nav-actions .btn-solid,
  .nav-actions .btn-ghost,
  .site-header.scrolled .nav-actions .btn-solid,
  .site-header.scrolled .nav-actions .btn-ghost {
    display: none !important;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-image {
    max-width: 360px;
    margin: 0 auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .food-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .purohitam-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .rangoli-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .menu-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .masonry {
    column-count: 2;
  }

  .counter-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 20px;
  }

  .section {
    padding: 76px 0;
  }
}

/* Standard phones */
@media (max-width: 640px) {
  :root {
    --header-height: 62px;
  }

  .nav-wrap {
    padding: 8px 14px;
    gap: 10px;
  }

  .main-nav a {
    padding: 12px 18px;
    font-size: 0.98rem;
  }

  .brand {
    gap: 10px;
    min-width: 0;
    flex: 1 1 auto;
  }

  .brand-logo {
    height: 40px;
    width: auto;
    max-width: 110px;
    flex-shrink: 0;
  }

  .brand-text {
    font-size: .80rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-text em {
    font-size: .68rem;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-actions {
    flex-shrink: 0;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
    padding: 7px;
  }

  .section {
    padding: 56px 0;
  }

  .container {
    padding: 0 18px;
  }

  .hero {
    padding: 46px 16px 0;
  }

  .hero-bg {
    background:
      radial-gradient(600px 500px at 50% -10%, rgba(236, 208, 126, .18), transparent 60%),
      linear-gradient(195deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .45) 30%, rgba(0, 0, 0, .65) 70%, rgba(0, 0, 0, .85) 100%),
      url("images/mobile view home page.png") center top / cover no-repeat;
  }

  .brand-logo {
    height: 40px;
    width: auto;
    max-width: 116px;
    aspect-ratio: 1117 / 385;
    border-radius: 4px;
  }

  .brand-text {
    font-size: .84rem;
  }

  .brand-text em {
    font-size: .7rem;
  }

  .footer-brand-header {
    align-items: center;
  }

  .footer-logo {
    height: 50px;
    width: auto;
    max-width: 145px;
    aspect-ratio: 1117 / 385;
    border-radius: 4px;
  }

  .hero-devotional-badge {
    margin: 0 auto 0;
  }

  .hero-sanskrit {
    font-size: 1.02rem;
  }

  .hero-eyebrow-desktop {
    display: none !important;
  }

  .hero-eyebrow-mobile {
    display: block !important;
    margin-top: 22px;
    margin-bottom: 0;
    font-size: .98rem;
    line-height: 1.45;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    font-family: var(--font-serif);
    font-style: italic;
    letter-spacing: .03em;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(0.92rem, 3.7vw, 1.2rem);
    line-height: 1.38;
    margin-top: 105px;
    margin-bottom: 16px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .85));
  }

  .hero-title-line {
    display: block;
    white-space: nowrap;
  }

  .hero-subtitle {
    font-size: .88rem;
    line-height: 1.5;
    margin: 0 auto 20px;
    max-width: 360px;
  }

  .deity-row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    margin-bottom: 24px;
    overflow-x: auto;
    padding: 4px 0 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .deity-row::-webkit-scrollbar {
    display: none;
  }

  .deity-circle {
    flex: 0 0 58px;
    width: 58px;
  }

  .deity-placeholder,
  .deity-circle img {
    width: 50px;
    height: 50px;
    margin: 0 auto 6px;
  }

  .deity-circle figcaption {
    font-size: .44rem;
    line-height: 1.15;
    letter-spacing: .01em;
    white-space: normal;
    word-break: break-word;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .why-item {
    min-height: 100px;
    padding: 22px 14px;
  }

  .food-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .purohitam-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .rangoli-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .menu-row {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 320px;
    margin: 0 auto;
  }

  .masonry {
    column-count: 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-grid {
    text-align: center;
  }

  .booking-form {
    padding: 26px 18px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hcard {
    flex-basis: 210px;
  }

  .counter-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
  }

  .float-btn {
    width: 48px;
    height: 48px;
  }

  .float-whatsapp {
    right: 16px;
    bottom: 16px;
  }

  .float-call {
    right: 16px;
    bottom: 74px;
  }

  .float-top {
    right: 16px;
    bottom: 132px;
  }
}

/* Very small phones */
@media (max-width: 380px) {
  .hero-devotional-badge {
    margin: 0 auto 0;
  }

  .hero-title {
    font-size: clamp(0.82rem, 3.5vw, 0.95rem);
    line-height: 1.34;
    margin-top: 85px;
    margin-bottom: 14px;
  }

  .hero-sanskrit {
    font-size: .9rem;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .food-grid {
    grid-template-columns: 1fr;
  }

  .purohitam-grid {
    grid-template-columns: 1fr;
  }

  .rangoli-grid {
    grid-template-columns: 1fr;
  }

  .btn-lg {
    padding: 14px 26px;
    font-size: .92rem;
  }

  .deity-row {
    gap: 5px;
  }

  .deity-circle {
    flex: 0 0 52px;
    width: 52px;
  }

  .deity-placeholder,
  .deity-circle img {
    width: 44px;
    height: 44px;
  }

  .deity-circle figcaption {
    font-size: .38rem;
    line-height: 1.1;
    letter-spacing: 0;
  }
}