/* =====================================================================
   Acre — Free Property Marketplace Template · uiCookies
   Design layer (Bootstrap 5 loaded separately for reset + grid utils)
   Palette : ink navy #0C1E33 · slate #15304A · azure #2E6BF0
             amber #F5A524 · porcelain #F5F2EC · slate-mute #5B6B7A
   Type    : Bricolage Grotesque (display) + Hanken Grotesk (body)
   ===================================================================== */

:root {
  --ink:        #0C1E33;
  --ink-2:      #12293F;
  --slate:      #15304A;
  --azure:      #2E6BF0;
  --azure-600:  #1f57d6;
  --amber:      #F5A524;
  --amber-700:  #d98607;
  --porcelain:  #F5F2EC;
  --paper:      #FBFAF6;
  --line:       #E6E0D4;
  --line-ink:   rgba(255,255,255,.12);
  --text:       #16283b;
  --muted:      #5B6B7A;
  --muted-ink:  #9db0c6;
  --white:      #ffffff;

  --rent:       #2E6BF0;
  --sale:       #14243a;
  --new:        #F5A524;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 30px;

  --shadow-sm: 0 2px 8px rgba(12,30,51,.06);
  --shadow-md: 0 14px 34px -18px rgba(12,30,51,.38);
  --shadow-lg: 0 30px 70px -30px rgba(12,30,51,.55);

  --wrap: 1200px;
  --pad: clamp(1rem, 4vw, 2.25rem);
  --sect: clamp(3.5rem, 8vw, 6.5rem);

  --f-display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --f-body: "Hanken Grotesk", system-ui, -apple-system, sans-serif;

  --sgms-maroon:        #7C1F2B;
    --sgms-maroon-deep:   #57121B;
    --sgms-maroon-soft:   rgba(124,31,43,0.08);
    --sgms-gold:          #C9A227;
    --sgms-gold-light:    #E7C766;
    --sgms-gold-pale:     #F3E4B0;
    --sgms-cream:         #FBF5E8;
    --sgms-cream-deep:    #F2E6CC;
    --sgms-ink:           #2B1810;
    --sgms-ink-muted:     #8A7563;
    --sgms-white:         #FFFFFF;
 
    --sgms-font-display:  'Cormorant Garamond', serif;
    --sgms-font-body:     'Poppins', sans-serif;
 
    --sgms-radius-lg: 22px;
    --sgms-radius-md: 14px;
    --sgms-radius-sm: 8px;
 
    --sgms-shadow-rest: 0 6px 20px rgba(87,18,27,0.08);
    --sgms-shadow-hover: 0 22px 44px rgba(87,18,27,0.18);
 
    --sgms-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- base ---------- */
* { box-sizing: border-box; margin:0; padding:0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body{
    font-family: var(--sgms-font-body);
    background: var(--sgms-cream);
    color: var(--sgms-ink);
  }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sgms-font-body);
    background: var(--sgms-cream);
    color: var(--sgms-ink);
  /* margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility; */
}

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

a { color: var(--azure); text-decoration: none; }
a:hover { color: var(--azure-600); }

h1, h2, h3, h4 { font-family: var(--f-display); margin: 0; line-height: 1.08; letter-spacing: -.02em; color: var(--ink); font-weight: 100; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }

.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link {
  position: fixed; top: -60px; left: 12px; z-index: 1200;
  background: var(--ink); color: #fff; padding: .6rem 1rem;
  border-radius: 0 0 var(--r-sm) var(--r-sm); font-weight: 600;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; color: #fff; }

:focus-visible { outline: 3px solid var(--azure); outline-offset: 2px; border-radius: 4px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--f-body); font-weight: 600; font-size: .98rem;
  padding: .78rem 1.4rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; line-height: 1; text-align: center;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--amber { background: var(--amber); color: #241800; box-shadow: 0 10px 22px -12px rgba(245,165,36,.9); }
.btn--amber:hover { background: #ffb733; color: #241800; }
.btn--azure { background: var(--azure); color: #fff; }
.btn--azure:hover { background: var(--azure-600); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem; font-weight: 600;
  color: var(--azure); white-space: nowrap;
}
.link-arrow .ic { width: 18px; height: 18px; transition: transform .2s ease; }
.link-arrow:hover .ic { transform: translateX(4px); }

/* =====================================================================
   HEADER
   ===================================================================== */

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  background: radial-gradient(120% 90% at 88% -10%, rgba(46,107,240,.28), transparent 55%),
              radial-gradient(90% 80% at 0% 120%, rgba(245,165,36,.16), transparent 60%),
              linear-gradient(180deg, #0b1c30 0%, #0c1e33 55%, #0d2138 100%);
  color: #eaf1fb;
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-bottom: 0;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 26px 26px; opacity: .5; pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .13em;
  color: #bcd0ea; margin: 0 0 1.1rem;
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(245,165,36,.22); }

.hero-title {
  color: #fff; font-weight: 800;
  font-size: clamp(2.5rem, 6.2vw, 4.4rem);
  letter-spacing: -.035em; line-height: .98; margin: 0 0 1.25rem;
}
.hero-title em { font-style: normal; color: var(--amber); }

.hero-lead {
  color: #c6d5e8; font-size: clamp(1.02rem, 1.5vw, 1.18rem); max-width: 34ch;
  margin: 0 0 2rem;
}

.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(1.2rem, 4vw, 2.6rem); }
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.15rem); color: #fff; line-height: 1; letter-spacing: -.02em; }
.stat-label { font-size: .82rem; color: #93a8c2; margin-top: .35rem; }

/* hero media */
.hero-media { position: relative; }
.media-frame {
  position: relative; aspect-ratio: 5 / 4; border-radius: var(--r-xl);
  overflow: hidden; background: #1a3350; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.1);
}
.media-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.price-flag {
  position: absolute; left: -14px; bottom: 34px; z-index: 3;
  background: #fff; color: var(--ink); border-radius: var(--r-md);
  padding: .8rem 1rem; box-shadow: var(--shadow-md); min-width: 190px;
  border: 1px solid rgba(12,30,51,.06);
}
.price-flag-tag { display: inline-block; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--amber-700); background: #fff5e4; padding: .18rem .5rem; border-radius: 999px; margin-bottom: .4rem; }
.price-flag-price { display: block; font-family: var(--f-display); font-size: 1.4rem; font-weight: 700; letter-spacing: -.02em; }
.price-flag-meta { display: block; font-size: .8rem; color: var(--muted); margin-top: .1rem; }

.verify-flag {
  position: absolute; right: -10px; top: 26px; z-index: 3;
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(12,30,51,.72); backdrop-filter: blur(6px);
  color: #eaf1fb; border: 1px solid rgba(255,255,255,.16);
  padding: .5rem .8rem; border-radius: 999px; font-size: .82rem; font-weight: 600;
}
.verify-flag .ic { width: 17px; height: 17px; color: var(--amber); }

/* search command bar */
.searchbar {
  position: relative; z-index: 5;
  margin-top: clamp(2rem, 5vw, 3.25rem);
  transform: translateY(50%);
  background: #fff; border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  padding: .85rem;
}
.search-tabs { display: inline-flex; gap: .25rem; background: var(--porcelain); padding: .28rem; border-radius: 999px; margin: .2rem .3rem .8rem; }
.search-tab {
  border: 0; background: transparent; cursor: pointer;
  font-family: var(--f-body); font-weight: 600; font-size: .92rem; color: var(--muted);
  padding: .45rem 1.05rem; border-radius: 999px; transition: all .18s ease;
}
.search-tab.is-active { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }

.search-fields { display: grid; grid-template-columns: 1.5fr 1fr 1fr .8fr auto; gap: .4rem; align-items: end; }
.field { padding: .35rem .6rem; }
.field + .field { border-inline-start: 1px solid var(--line); }
.field-label { display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .25rem; }
.field-control { display: flex; align-items: center; gap: .5rem; position: relative; }
.field-ic { width: 18px; height: 18px; color: var(--azure); flex: none; }
.field-input {
  width: 100%; border: 0; background: transparent; font-family: var(--f-body);
  font-size: .98rem; color: var(--ink); font-weight: 500; padding: .2rem 0;
}
.field-input::placeholder { color: #94a3b3; font-weight: 400; }
.field-input:focus { outline: none; }
.select-wrap select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 1.4rem; }
.field-chevron { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.search-submit {
  display: inline-flex; align-items: center; gap: .5rem; justify-content: center;
  background: var(--azure); color: #fff; border: 0; cursor: pointer;
  font-family: var(--f-body); font-weight: 600; font-size: 1rem;
  padding: .95rem 1.5rem; border-radius: var(--r-md); height: 100%;
  transition: background-color .15s ease, transform .12s ease;
}
.search-submit:hover { background: var(--azure-600); }
.search-submit:active { transform: translateY(1px); }
.search-submit .ic { width: 19px; height: 19px; }

/* =====================================================================
   SECTIONS shared
   ===================================================================== */
.section { padding-block: var(--sect); }
.section--porcelain { background: var(--porcelain); }
.section--ink { background: var(--ink); color: #dbe6f4; }

/* space so the overlapping searchbar doesn't collide with first section */
.hero + .section { padding-top: calc(var(--sect) + clamp(2.5rem, 5vw, 4rem)); }

.section-head { max-width: 640px; margin-bottom: clamp(1.8rem, 4vw, 2.75rem); }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.kicker { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--azure); margin: 0 0 .7rem; }
.kicker--onink { color: var(--amber); }
.section-title { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 700; }
.section-title--onink { color: #fff; }
.section-intro { color: var(--muted); font-size: 1.06rem; margin: .9rem 0 0; max-width: 52ch; }
.section-intro--onink { color: #b6c6da; }

/* =====================================================================
   FILTER + LISTINGS
   ===================================================================== */
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.chip {
  border: 1px solid var(--line); background: #fff; color: #43566a;
  font-family: var(--f-body); font-weight: 600; font-size: .9rem; cursor: pointer;
  padding: .5rem 1.05rem; border-radius: 999px; transition: all .15s ease;
}
.chip:hover { border-color: #cfc6b3; }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.listings-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(1.1rem, 2vw, 1.6rem); }

.listing-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.listing-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #ded5c2; }

.listing-media { position: relative; aspect-ratio: 3 / 2; background: #e7ecf2; }
.listing-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.badge {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  font-size: .72rem; font-weight: 700; letter-spacing: .02em;
  padding: .32rem .66rem; border-radius: 999px; color: #fff;
  box-shadow: 0 4px 12px -4px rgba(0,0,0,.4);
}
.badge--sale { background: var(--sale); }
.badge--rent { background: var(--rent); }
.badge--new  { background: var(--amber); color: #241800; }

.fav-btn {
  position: absolute; right: 12px; top: 12px; z-index: 2;
  width: 40px; height: 40px; display: grid; place-items: center;
  background: rgba(255,255,255,.92); border: 0; border-radius: 50%; cursor: pointer;
  color: #33465a; box-shadow: 0 4px 12px -4px rgba(12,30,51,.4);
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.fav-btn .ic { width: 21px; height: 21px; transition: fill .15s ease; }
.fav-btn:hover { transform: scale(1.08); color: var(--amber-700); }
.fav-btn[aria-pressed="true"] { background: #fff; color: var(--amber-700); }
.fav-btn[aria-pressed="true"] .ic { fill: var(--amber); stroke: var(--amber-700); }
.fav-btn.pop { animation: favpop .32s ease; }
@keyframes favpop { 0%{transform:scale(1)} 40%{transform:scale(1.28)} 100%{transform:scale(1)} }

.listing-body { padding: 1.1rem 1.15rem 1.15rem; display: flex; flex-direction: column; flex: 1; }
.listing-price { font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; color: var(--ink); letter-spacing: -.02em; margin: 0 0 .3rem; }
.listing-price .per { font-family: var(--f-body); font-size: .9rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.listing-title { font-size: 1.12rem; font-weight: 700; margin: 0 0 .4rem; }
.listing-title a { color: var(--ink); }
.listing-title a:hover { color: var(--azure); }
.listing-addr { display: flex; align-items: center; gap: .35rem; color: var(--muted); font-size: .9rem; margin: 0 0 .9rem; }
.listing-addr .ic { width: 16px; height: 16px; color: var(--azure); flex: none; }

.stat-strip {
  display: flex; flex-wrap: wrap; gap: .35rem 1rem; list-style: none; margin: 0 0 1rem; padding: .75rem 0 0;
  border-top: 1px solid var(--line);
}
.stat-strip li { display: inline-flex; align-items: center; gap: .38rem; font-size: .86rem; color: #3d4f61; font-weight: 500; }
.stat-strip .ic { width: 18px; height: 18px; color: var(--muted); }

.listing-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.agent-mini { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 600; color: #3d4f61; }
.agent-mini img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.listing-more { font-weight: 600; font-size: .9rem; }

.listings-empty { text-align: center; color: var(--muted); padding: 2.5rem 0; font-size: 1.05rem; }

/* =====================================================================
   CATEGORIES
   ===================================================================== */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(.7rem, 1.5vw, 1.1rem); }
.cat-tile {
  display: flex; flex-direction: column; gap: .35rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.3rem 1.15rem; color: var(--ink);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--amber); color: var(--ink); }
.cat-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--ink); color: var(--amber); margin-bottom: .55rem; }
.cat-icon .ic { width: 24px; height: 24px; }
.cat-name { font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; }
.cat-count { font-size: .82rem; color: var(--muted); }

/* =====================================================================
   CITIES (bento mosaic)
   ===================================================================== */
.cities-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 210px;
  gap: clamp(.7rem, 1.5vw, 1.1rem);
}
.city-tile {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  background: #1a3350; display: block; color: #fff;
}
.city-tile--lead { grid-row: span 2; }
.city-tile--wide { grid-column: span 2; }
.city-media { position: absolute; inset: 0; }
.city-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.city-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,18,30,0) 30%, rgba(9,18,30,.82) 100%); }
.city-tile:hover .city-media img { transform: scale(1.06); }
.city-overlay { position: absolute; left: 0; bottom: 0; z-index: 2; padding: 1.15rem 1.25rem; }
.city-name { color: #fff; font-size: 1.35rem; font-weight: 700; }
.city-count { color: #d6e2f1; font-size: .88rem; margin: .15rem 0 0; }

/* =====================================================================
   WHY ACRE
   ===================================================================== */
.why-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(1.8rem, 5vw, 4rem); align-items: center; }
.why-media { position: relative; }
.why-media .media-frame { aspect-ratio: 4 / 3.4; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); border-color: rgba(255,255,255,.08); }
.why-badge {
  position: absolute; right: -12px; bottom: -18px; z-index: 3;
  background: var(--amber); color: #241800; border-radius: var(--r-md);
  padding: .9rem 1.1rem; max-width: 190px; box-shadow: var(--shadow-md);
}
.why-badge strong { display: block; font-family: var(--f-display); font-size: 2rem; line-height: 1; }
.why-badge span { display: block; font-size: .82rem; font-weight: 600; margin-top: .25rem; line-height: 1.3; }

.why-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.35rem; }
.why-item { display: flex; gap: 1rem; }
.why-ico { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 13px; background: rgba(46,107,240,.16); color: #7fb0ff; }
.why-ico .ic { width: 24px; height: 24px; }
.why-item h3 { color: #fff; font-size: 1.12rem; margin: .1rem 0 .3rem; }
.why-item p { color: #a7bad2; font-size: .95rem; margin: 0; }

/* =====================================================================
   HOW IT WORKS
   ===================================================================== */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.8rem); counter-reset: step; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.8rem 1.6rem 1.7rem; overflow: hidden;
}
.step::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.step:hover::before { transform: scaleX(1); }
.step-num { position: absolute; right: 1.2rem; top: 1rem; font-family: var(--f-display); font-weight: 800; font-size: 2.6rem; color: var(--porcelain); letter-spacing: -.04em; }
.step-ico { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--ink); color: var(--amber); margin-bottom: 1.1rem; }
.step-ico .ic { width: 26px; height: 26px; }
.step h3 { font-size: 1.25rem; margin: 0 0 .5rem; }
.step p { color: var(--muted); margin: 0; font-size: .96rem; }

/* =====================================================================
   AGENTS
   ===================================================================== */
.agents-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.agent-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.6rem 1.4rem; text-align: center; display: flex; flex-direction: column; align-items: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.agent-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.agent-photo { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: #e7ecf2; margin-bottom: 1rem; box-shadow: 0 0 0 5px var(--porcelain); }
.agent-photo img { width: 100%; height: 100%; object-fit: cover; }
.agent-name { font-size: 1.2rem; margin: 0; }
.agent-role { color: var(--muted); font-size: .88rem; margin: .2rem 0 .7rem; }
.agent-rating { display: inline-flex; align-items: center; gap: .35rem; font-size: .9rem; color: #3d4f61; margin: 0 0 .35rem; }
.agent-rating .star { width: 17px; height: 17px; fill: var(--amber); stroke: var(--amber-700); }
.agent-rating strong { color: var(--ink); }
.agent-rating span { color: var(--muted); }
.agent-meta { font-size: .86rem; color: var(--muted); margin: 0 0 .8rem; }
.agent-chips { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: center; margin-bottom: 1.1rem; }
.agent-chips span { font-size: .74rem; font-weight: 600; color: #3d4f61; background: var(--porcelain); padding: .28rem .6rem; border-radius: 999px; }
.agent-contact { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .92rem; color: var(--ink); border: 1px solid var(--line); padding: .5rem 1rem; border-radius: 999px; }
.agent-contact:hover { color: var(--ink); border-color: var(--ink); background: var(--porcelain); }
.agent-contact .ic { width: 17px; height: 17px; color: var(--azure); }

/* =====================================================================
   TESTIMONIALS
   ===================================================================== */
.quote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2.5vw, 1.8rem); }
.quote-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2rem 1.9rem 1.7rem; }
.quote-mark { font-family: var(--f-display); font-size: 4rem; line-height: .5; color: var(--amber); margin-bottom: .6rem; height: 1.4rem; }
.quote-card blockquote { margin: 0 0 1.3rem; font-size: 1.14rem; line-height: 1.5; color: #23364a; font-weight: 500; }
.quote-author { display: flex; align-items: center; gap: .75rem; }
.quote-author img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.quote-author span { display: flex; flex-direction: column; font-size: .86rem; color: var(--muted); }
.quote-author strong { color: var(--ink); font-size: .98rem; }

/* =====================================================================
   CTA
   ===================================================================== */
.cta { background:
  radial-gradient(90% 120% at 100% 0%, rgba(46,107,240,.3), transparent 55%),
  radial-gradient(80% 120% at 0% 100%, rgba(245,165,36,.2), transparent 55%),
  var(--ink);
  color: #dbe6f4;
}
.cta-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.8rem, 5vw, 4rem); align-items: center; }
.cta-points { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: .7rem; }
.cta-points li { display: flex; align-items: center; gap: .6rem; color: #c9d7e8; font-weight: 500; }
.cta-points .ic { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: rgba(245,165,36,.2); color: var(--amber); stroke-width: 2.4; flex: none; }

.cta-form { background: #fff; border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow-lg); color: var(--text); }
.cta-form-title { font-size: 1.3rem; margin: 0 0 1.1rem; }
.cta-field { display: block; margin-bottom: .9rem; }
.cta-field span { display: block; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: .35rem; }
.cta-field input {
  width: 100%; border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: .8rem .9rem; font-family: var(--f-body); font-size: 1rem; color: var(--ink); background: var(--paper);
}
.cta-field input:focus { outline: none; border-color: var(--azure); box-shadow: 0 0 0 3px rgba(46,107,240,.16); background: #fff; }
.cta-alt { text-align: center; font-size: .9rem; color: var(--muted); margin: .9rem 0 0; }
.cta-note { margin: .9rem 0 0; padding: .7rem .9rem; border-radius: var(--r-sm); background: #eefaf1; color: #1c6b3f; font-weight: 600; font-size: .9rem; text-align: center; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--ink); color: #a7bad2; }
.footer-top { display: grid; grid-template-columns: 1.2fr 2fr; gap: clamp(2rem, 5vw, 4rem); padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem; }
.brand--footer { color: #fff; }
.brand--footer:hover { color: #fff; }
.brand--footer .brand-mark { background: #fff; }
.brand--footer .brand-mark svg { fill: var(--ink); }
.footer-blurb { margin: 1.1rem 0 1.4rem; font-size: .95rem; color: #9db0c6; max-width: 34ch; }

.social { display: flex; gap: .55rem; list-style: none; margin: 0; padding: 0; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: rgba(255,255,255,.07); color: #c6d5e8; transition: background-color .15s ease, color .15s ease; }
.social a:hover { background: var(--amber); color: #241800; }
.social .ic { width: 19px; height: 19px; }

.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.footer-col h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 1rem; font-family: var(--f-body); font-weight: 700; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-col a { color: #a7bad2; font-size: .92rem; }
.footer-col a:hover { color: #fff; }
.footer-col--news p { font-size: .9rem; color: #9db0c6; margin: 0 0 .9rem; }
.foot-news { display: flex; gap: .4rem; }
.foot-news input { flex: 1; min-width: 0; border: 1px solid var(--line-ink); background: rgba(255,255,255,.06); color: #fff; border-radius: var(--r-sm); padding: .6rem .75rem; font-family: var(--f-body); font-size: .92rem; }
.foot-news input::placeholder { color: #7f92a8; }
.foot-news input:focus { outline: none; border-color: var(--azure); }
.foot-news button { flex: none; width: 44px; border: 0; border-radius: var(--r-sm); background: var(--amber); color: #241800; cursor: pointer; display: grid; place-items: center; }
.foot-news button:hover { background: #ffb733; }
.footer-col--news .cta-note { background: rgba(245,165,36,.14); color: var(--amber); }

.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.5rem; border-top: 1px solid var(--line-ink); font-size: .85rem; }
.footer-bottom p { margin: 0; color: #8ea2ba; }
.footer-bottom a { color: #c6d5e8; }
.footer-bottom a:hover { color: #fff; }
.footer-credit { color: #6f8299; }

/* =====================================================================
   BACK TO TOP
   ===================================================================== */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 900;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--ink); color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow-md); opacity: 0; transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, background-color .15s ease;
}
.to-top.show { opacity: 1; transform: translateY(0); }
.to-top:hover { background: var(--azure); }
.to-top .ic { width: 22px; height: 22px; }

/* =====================================================================
   REVEAL animation
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .city-media img, .fav-btn, .to-top, .link-arrow .ic, .step::before { transition: none !important; }
  .fav-btn.pop { animation: none; }
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
.d-none-mobile { display: inline-flex; }

@media (max-width: 1040px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .agents-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 520px; }
  .why-grid, .cta-inner { grid-template-columns: 1fr; }
  .why-media { max-width: 520px; }
  .search-fields { grid-template-columns: 1fr 1fr; }
  .field { border-inline-start: 0 !important; }
  .field--location { grid-column: 1 / -1; }
  .search-submit { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; }
  .cities-grid { grid-auto-rows: 190px; }
}

@media (max-width: 860px) {
  /* mobile nav */
  .main-nav {
    position: fixed; top: 0; right: 0; z-index: 999; height: 100dvh; width: min(320px, 84vw);
    background: var(--paper); box-shadow: var(--shadow-lg); margin: 0;
    padding: 5rem 1.6rem 2rem; transform: translateX(105%); transition: transform .28s ease;
    display: flex; flex-direction: column; gap: 1rem; overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: .2rem; }
  .nav-list a { padding: .8rem .9rem; font-size: 1.05rem; border-radius: var(--r-sm); }
  .nav-cta-mobile { display: block; margin-top: .5rem; }
  .nav-cta-mobile .btn { width: 100%; }
  .nav-close { display: inline-flex; position: absolute; top: 1rem; right: 1rem; }
  .nav-toggle { display: inline-flex; }
  .d-none-mobile { display: none; }
  .saved-label { display: none; }
}

@media (max-width: 720px) {
  .quote-grid { grid-template-columns: 1fr; }
  .cities-grid { grid-template-columns: 1fr 1fr; }
  .city-tile--lead { grid-row: span 1; }
  .city-tile--wide { grid-column: span 2; }
  .section-head--row { align-items: flex-start; }
}

@media (max-width: 560px) {
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .agents-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.1rem 1.8rem; }
  .searchbar { transform: translateY(28px); }
  .hero + .section { padding-top: calc(var(--sect) + 1rem); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-col--news { grid-column: 1 / -1; }
  .price-flag { left: 8px; min-width: 0; }
  .verify-flag { right: 8px; }
}

/* Added this CSS */
/* ============================================================
     SECTION SHELL
     ============================================================ */
  .sgms-features{
    position:relative;
    padding: 110px 6vw 130px;
    background:
      radial-gradient(circle at 12% 8%, var(--sgms-gold-pale) 0%, transparent 45%),
      radial-gradient(circle at 92% 85%, rgba(124,31,43,0.06) 0%, transparent 40%),
      var(--sgms-cream);
    overflow:hidden;
  }
 
  .sgms-features::before{
    /* faint kalash/lotus motif line, signature devotional touch */
    content:"";
    position:absolute;
    top:0; left:50%;
    transform:translateX(-50%);
    width:1px; height:70px;
    background: linear-gradient(to bottom, transparent, var(--sgms-gold), transparent);
    opacity:0.6;
  }
 
  .sgms-features__intro{
    max-width: 680px;
    margin: 0 auto 72px;
    text-align:center;
  }
 
  .sgms-features__eyebrow{
    display:inline-flex;
    align-items:center;
    gap:10px;
    font-family: var(--sgms-font-body);
    font-size: 12.5px;
    font-weight:600;
    letter-spacing: 0.16em;
    text-transform:uppercase;
    color: var(--sgms-maroon);
    margin-bottom: 18px;
  }
 
  .sgms-features__eyebrow::before,
  .sgms-features__eyebrow::after{
    content:"";
    width:22px; height:1px;
    background: var(--sgms-gold);
  }
 
  .sgms-features__title{
    font-family: var(--sgms-font-display);
    font-weight:700;
    font-size: clamp(2.1rem, 4vw, 3.1rem);
    line-height:1.15;
    color: var(--sgms-maroon-deep);
    margin-bottom: 16px;
  }
 
  .sgms-features__title em{
    font-style:italic;
    color: var(--sgms-gold);
  }
 
  .sgms-features__subtitle{
    font-size: 16px;
    line-height:1.7;
    color: var(--sgms-ink-muted);
  }
 
  /* ============================================================
     GRID
     ============================================================ */
  .sgms-features__grid{
    max-width: 1220px;
    margin: 0 auto;
    display:grid;
    grid-template-columns: 1.05fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 24px;
  }
 
  .sgms-card{
    --sgms-hover-y: 0px;
    --sgms-tilt-x: 0deg;
    --sgms-tilt-y: 0deg;
    background: var(--sgms-white);
    border-radius: var(--sgms-radius-lg);
    border: 1px solid rgba(124,31,43,0.08);
    box-shadow: var(--sgms-shadow-rest);
    overflow:hidden;
    display:flex;
    flex-direction:column;
    transition: transform 0.55s var(--sgms-ease), box-shadow 0.55s var(--sgms-ease);
 
    opacity:0;
    transform: translateY(38px);
  }
 
  .sgms-card.sgms-is-visible{
    opacity:1;
    transform: translateY(0);
    transition: opacity 0.75s var(--sgms-ease), transform 0.75s var(--sgms-ease),
                box-shadow 0.55s var(--sgms-ease);
  }
 
  .sgms-card:hover{ box-shadow: var(--sgms-shadow-hover); }
 
  .sgms-card--tall{ grid-row: span 2; }
 
  .sgms-card__footer{
    padding: 20px 26px 26px;
    margin-top:auto;
  }
 
  .sgms-card__footer h3{
    font-family: var(--sgms-font-display);
    font-size: 22px;
    font-weight:700;
    color: var(--sgms-maroon-deep);
    margin-bottom: 4px;
  }
 
  .sgms-card__footer p{
    font-size: 13.5px;
    color: var(--sgms-ink-muted);
    line-height:1.5;
  }
 
  /* ============================================================
     CARD 1 — ACCOMMODATION (tall, folder-tab list)
     ============================================================ */
  .sgms-ribbon{
    position:relative;
    background: linear-gradient(135deg, var(--sgms-gold-light), var(--sgms-gold));
    padding: 26px 26px 34px;
    clip-path: polygon(0 0, 100% 0, 100% 82%, 92% 100%, 0 100%);
  }
 
  .sgms-ribbon__icon{
    width:38px; height:38px;
    display:flex; align-items:center; justify-content:center;
    background: rgba(255,255,255,0.35);
    border-radius: 10px;
    margin-bottom:14px;
  }
 
  .sgms-ribbon__icon svg{ width:20px; height:20px; }
 
  .sgms-ribbon__label{
    font-family: var(--sgms-font-display);
    font-weight:700;
    font-size: 20px;
    color: var(--sgms-maroon-deep);
  }
 
  .sgms-room-list{
    list-style:none;
    padding: 6px 26px 4px;
  }
 
  .sgms-room-list li{
    display:flex;
    align-items:baseline;
    justify-content:space-between;
    padding: 15px 15px;
    border-bottom: 1px solid var(--sgms-cream-deep);
    transition: padding-left 0.35s var(--sgms-ease), color 0.35s var(--sgms-ease);
  }
 
  .sgms-room-list li:last-child{ border-bottom:none; }
 
  .sgms-room-list li:hover{
    padding-left: 6px;
    color: var(--sgms-maroon);
  }
 
  .sgms-room-list .sgms-room-name{
    font-weight:600;
    font-size: 15px;
  }
 
  .sgms-room-list .sgms-room-count{
    font-size: 12.5px;
    color: var(--sgms-ink-muted);
  }
 
  /* ============================================================
     CARD 2 — DARSHAN SCHEDULE
     ============================================================ */
  .sgms-schedule{
    padding: 24px 24px 6px;
    display:flex;
    justify-content:space-between;
    gap: 18px;
  }
 
  .sgms-schedule__events{ flex:1; }
 
  .sgms-event{
    position:relative;
    padding-left: 14px;
    margin-bottom: 18px;
  }
 
  .sgms-event::before{
    content:"";
    position:absolute; left:0; top:2px; bottom:2px;
    width:3px; border-radius:2px;
    background: var(--sgms-maroon);
  }
 
  .sgms-event--alt::before{ background: var(--sgms-gold); }
 
  .sgms-event h4{
    font-size: 14px; font-weight:600; margin-bottom:2px;
  }
 
  .sgms-event span{
    font-size: 11.5px;
    color: var(--sgms-ink-muted);
    display:block;
  }
 
  .sgms-mini-cal{
    width: 150px;
    font-size: 10.5px;
  }
 
  .sgms-mini-cal__month{
    color: var(--sgms-maroon);
    font-weight:700;
    letter-spacing: 0.08em;
    margin-bottom:8px;
    text-align:right;
  }
 
  .sgms-mini-cal__grid{
    display:grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
    text-align:center;
    color: var(--sgms-ink-muted);
  }
 
  .sgms-mini-cal__grid span{ padding:3px 0; }
 
  .sgms-mini-cal__grid .sgms-day-active{
    position:relative;
    color: var(--sgms-white);
    font-weight:700;
    border-radius:50%;
    background: var(--sgms-maroon);
  }
 
  .sgms-mini-cal__grid .sgms-day-active::after{
    content:"";
    position:absolute; inset:-3px;
    border-radius:50%;
    border: 1px solid var(--sgms-maroon);
    animation: sgms-pulse-ring 2.2s ease-out infinite;
  }
 
  @keyframes sgms-pulse-ring{
    0%{ transform:scale(0.9); opacity:0.8; }
    100%{ transform:scale(1.6); opacity:0; }
  }
 
  /* ============================================================
     CARD 3 — LOCATION / MAP
     ============================================================ */
  .sgms-map{
    position:relative;
    height: 190px;
    background:
      linear-gradient(135deg, var(--sgms-cream-deep), var(--sgms-gold-pale));
    overflow:hidden;
  }
 
  .sgms-map__grid{
    position:absolute; inset:0;
    background-image:
      linear-gradient(rgba(124,31,43,0.06) 1px, transparent 1px),
      linear-gradient(90deg, rgba(124,31,43,0.06) 1px, transparent 1px);
    background-size: 26px 26px;
  }
 
  .sgms-map__road{
    position:absolute;
    top:60%; left:-10%;
    width:130%; height:10px;
    background: var(--sgms-gold-light);
    transform: rotate(-6deg);
    opacity:0.6;
    border-radius: 6px;
  }
 
  .sgms-map__pin{
    position:absolute;
    top: 42%; left: 46%;
    width: 34px; height:34px;
    border-radius:50%;
    background: var(--sgms-maroon);
    display:flex; align-items:center; justify-content:center;
    box-shadow: 0 6px 16px rgba(124,31,43,0.4);
  }
 
  .sgms-map__pin::before{
    content:"";
    position:absolute; inset:-10px;
    border-radius:50%;
    border: 2px solid var(--sgms-maroon);
    animation: sgms-pulse-ring 1.8s ease-out infinite;
  }
 
  .sgms-map__pin svg{ width:16px; height:16px; }
 
  .sgms-map__tag{
    position:absolute;
    bottom: 16px; left: 16px;
    background: var(--sgms-white);
    padding: 8px 14px;
    border-radius: var(--sgms-radius-sm);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  }
 
  .sgms-map__tag strong{
    display:block;
    font-size: 12.5px;
    color: var(--sgms-maroon-deep);
  }
 
  .sgms-map__tag span{
    font-size: 10.5px;
    color: var(--sgms-ink-muted);
  }
 
  /* ============================================================
     CARD 4 — GALLERY (temple illustration)
     ============================================================ */
  .sgms-gallery{
    position:relative;
    height: 220px;
    background: linear-gradient(180deg, #F6D98B 0%, #E7A15C 45%, var(--sgms-maroon) 100%);
    overflow:hidden;
  }
 
  .sgms-gallery svg{
    position:absolute; bottom:0; left:0; width:100%; height:auto;
    transition: transform 0.9s var(--sgms-ease);
  }
 
  .sgms-card:hover .sgms-gallery svg{ transform: translateY(-4px) scale(1.02); }
 
  .sgms-gallery__label{
    position:absolute;
    bottom: 16px; left: 20px;
    color: var(--sgms-white);
    font-family: var(--sgms-font-display);
    font-weight:700;
    font-size: 17px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
  }
 
  .sgms-gallery__label span{
    display:block;
    font-family: var(--sgms-font-body);
    font-weight:400;
    font-size: 11px;
    opacity:0.85;
  }
 
  /* ============================================================
     CARD 5 — TRUST ROW (three mini stat cards)
     ============================================================ */
  .sgms-trust{
    display:flex;
    gap: 10px;
    padding: 22px 22px 8px;
  }
 
  .sgms-mini{
    flex:1;
    border-radius: var(--sgms-radius-md);
    padding: 14px 12px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    min-height: 130px;
  }
 
  .sgms-mini--dark{
    background: var(--sgms-maroon-deep);
    color: var(--sgms-white);
  }
 
  .sgms-mini--ticker{
    background: var(--sgms-ink);
    color: var(--sgms-white);
  }
 
  .sgms-mini--gold{
    background: linear-gradient(160deg, var(--sgms-gold-light), var(--sgms-gold));
    color: var(--sgms-maroon-deep);
  }
 
  .sgms-mini__top{
    display:flex; align-items:center; justify-content:space-between;
    font-size: 10.5px; font-weight:600;
  }
 
  .sgms-live-dot{
    width:7px; height:7px; border-radius:50%;
    background: #6FCF97;
    box-shadow: 0 0 0 rgba(111,207,151,0.6);
    animation: sgms-live 1.8s ease-out infinite;
  }
 
  @keyframes sgms-live{
    0%{ box-shadow: 0 0 0 0 rgba(111,207,151,0.55); }
    70%{ box-shadow: 0 0 0 7px rgba(111,207,151,0); }
    100%{ box-shadow: 0 0 0 0 rgba(111,207,151,0); }
  }
 
  .sgms-mini__label{ font-size:11px; opacity:0.75; }
  .sgms-mini__value{
    font-family: var(--sgms-font-display);
    font-weight:700;
    font-size: 22px;
    line-height:1.1;
  }
  .sgms-mini__sub{ font-size: 10px; opacity:0.7; }
  .sgms-mini__delta{ color:#6FCF97; font-size:11px; font-weight:600; }
 
  /* ============================================================
     REDUCED MOTION
     ============================================================ */
  @media (prefers-reduced-motion: reduce){
    .sgms-card,
    .sgms-map__pin::before,
    .sgms-mini-cal__grid .sgms-day-active::after,
    .sgms-live-dot,
    .sgms-gallery svg{
      animation:none !important;
      transition:none !important;
    }
    .sgms-card{ opacity:1; transform:none; }
  }
 
  /* ============================================================
     RESPONSIVE
     ============================================================ */
  @media (max-width: 980px){
    .sgms-features__grid{
      grid-template-columns: 1fr 1fr;
    }
    .sgms-card--tall{ grid-row: span 1; grid-column: span 2; }
  }
 
  @media (max-width: 640px){
    .sgms-features{ padding: 80px 6vw 90px; }
    .sgms-features__grid{ grid-template-columns: 1fr; }
    .sgms-card--tall{ grid-column: span 1; }
    .sgms-schedule{ flex-direction:column; }
    .sgms-mini-cal{ width:100%; }
    .sgms-trust{ flex-direction:column; }
  }

  /* Base card setup — needed for shimmer/pulse absolute positioning + smooth shadow */
  .sgms-card{
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.5s ease;
  }

  /* Scroll-scrubbed reveal */
  .sgms-reveal{
    --reveal: 0;
    opacity: var(--reveal);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease-out;
    will-change: transform, opacity;
  }

  .sgms-reveal[data-direction="left"]{
    transform: translateX(calc((1 - var(--reveal)) * -90px)) translateY(var(--sgms-hover-y)) rotateX(var(--sgms-tilt-x)) rotateY(var(--sgms-tilt-y));
  }
  .sgms-reveal[data-direction="right"]{
    transform: translateX(calc((1 - var(--reveal)) * 90px)) translateY(var(--sgms-hover-y)) rotateX(var(--sgms-tilt-x)) rotateY(var(--sgms-tilt-y));
  }
  .sgms-reveal[data-direction="up"]{
    transform: translateY(calc((1 - var(--reveal)) * 60px + var(--sgms-hover-y))) rotateX(var(--sgms-tilt-x)) rotateY(var(--sgms-tilt-y));
  }

  /* Hover lift — wins over the resting reveal transform once settled */
  .sgms-card:hover{
    --sgms-hover-y: -8px;
    box-shadow: 0 22px 44px rgba(87,18,27,0.18);
  }

  /* Gold shimmer sweep on hover */
  .sgms-card::after{
    content:"";
    position:absolute; top:0; left:-60%;
    width:40%; height:100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
    transform: skewX(-20deg);
    transition: left 0.9s ease;
    pointer-events:none;
  }
  .sgms-card:hover::after{ left: 130%; }

  /* Pulsing ring — reuse on map pin / active calendar day / live dot */
  .sgms-pulse-ring{ position:relative; }
  .sgms-pulse-ring::before{
    content:"";
    position:absolute; inset:-8px;
    border-radius:50%;
    border: 2px solid var(--sgms-maroon);
    animation: sgms-pulse-ring 1.8s ease-out infinite;
  }
  @keyframes sgms-pulse-ring{
    0%{ transform:scale(0.9); opacity:0.8; }
    100%{ transform:scale(1.6); opacity:0; }
  }

  .sgms-live-dot{
    width:7px; height:7px; border-radius:50%;
    background:#6FCF97;
    animation: sgms-live 1.8s ease-out infinite;
  }
  @keyframes sgms-live{
    0%{ box-shadow: 0 0 0 0 rgba(111,207,151,0.55); }
    70%{ box-shadow: 0 0 0 7px rgba(111,207,151,0); }
    100%{ box-shadow: 0 0 0 0 rgba(111,207,151,0); }
  }

  @media (prefers-reduced-motion: reduce){
    .sgms-card, .sgms-reveal, .sgms-pulse-ring::before, .sgms-live-dot{
      animation:none !important; transition:none !important;
    }
    .sgms-reveal{ opacity:1; transform:none; }
  }

  /* About me section */
  .sgms-about{
  /* padding: 100px 6vw 120px; */
  background: var(--sgms-cream);
}

/* Intro */
.sgms-about__intro{
  max-width: 640px;
  margin: 0 auto 44px;
  text-align: center;
}

.sgms-about__eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-size: 12.5px; font-weight:600; letter-spacing:0.16em;
  text-transform:uppercase; color: var(--sgms-maroon);
  margin-bottom: 18px;
}
.sgms-about__eyebrow::before,
.sgms-about__eyebrow::after{ content:""; width:22px; height:1px; background: var(--sgms-gold); }

.sgms-about__title{
  font-family: var(--sgms-font-display);
  font-weight: 600;
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sgms-maroon-deep);
  margin-bottom: 18px;
}

.sgms-about__subtitle{
  font-size: 15px;
  line-height: 1.8;
  color: var(--sgms-ink-muted);
}

/* Divider */
.sgms-about__divider{
  max-width: 1180px;
  margin: 0 auto 50px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--sgms-gold), transparent);
  opacity: 0.5;
}

/* Info row */
.sgms-about__info{
  max-width: 1180px;
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 40px;
  align-items: start;
}

.sgms-about__heading{
  font-family: var(--sgms-font-display);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.3;
  color: var(--sgms-maroon-deep);
}

.sgms-about__text{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.sgms-about__text p{
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--sgms-ink-muted);
}

.sgms-about__accent{
  color: var(--sgms-gold);
  font-style: italic;
  border-bottom: 1px solid var(--sgms-gold);
}

/* Gallery */
.sgms-about__gallery{
  max-width: 1180px;
  margin: 0 auto 90px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.sgms-about__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.sgms-about__img{
  position: relative;
  overflow: hidden;
  border-radius: var(--sgms-radius-md);
  background: var(--sgms-cream-deep);
}

.sgms-about__img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.sgms-about__img:hover img{ transform: scale(1.06); }

.sgms-about__img--tall{ min-height: 460px; }
.sgms-about__grid .sgms-about__img{ min-height: 220px; }

/* Company Values heading */
.sgms-about__values{
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.sgms-about__values h2{
  font-family: var(--sgms-font-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--sgms-maroon-deep);
  margin-bottom: 10px;
}
.sgms-about__values p{
  font-size: 14.5px;
  color: var(--sgms-ink-muted);
}

/* Responsive */
@media (max-width: 860px){
  .sgms-about__info{ grid-template-columns: 1fr; }
  .sgms-about__text{ grid-template-columns: 1fr; }
  .sgms-about__gallery{ grid-template-columns: 1fr; }
  .sgms-about__img--tall{ min-height: 300px; }
}

/*=====================================
  ACCOMMODATION
======================================*/

.sgms-accommodation{
    position:relative;
    padding:120px 6vw;
    background:
        radial-gradient(circle at top,#fff9ef 0%,#f8f2e8 55%,#f3ecdf 100%);
    overflow:hidden;
}

.sgms-accommodation::before{
    content:"";
    position:absolute;
    inset:0;
    background:
        linear-gradient(90deg,
        rgba(255,255,255,.25) 1px,
        transparent 1px),
        linear-gradient(rgba(255,255,255,.25) 1px,
        transparent 1px);
    background-size:70px 70px;
    opacity:.18;
    pointer-events:none;
}

.sgms-accommodation__container{
    max-width:1280px;
    margin:auto;
    position:relative;
    z-index:2;
}


/*==============================
Heading
==============================*/

.sgms-accommodation__heading{

    max-width:760px;

    margin:0 auto 90px;

    text-align:center;

}

.sgms-section-tag{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:10px 18px;

    border-radius:40px;

    background:#fff;

    color:var(--sgms-maroon);

    font-size:12px;

    font-weight:600;

    letter-spacing:.18em;

    text-transform:uppercase;

    border:1px solid rgba(127,93,36,.15);

    margin-bottom:26px;

}

.sgms-accommodation__heading h2{

    font-family:var(--sgms-font-display);

    font-size:clamp(2.4rem,5vw,4.4rem);

    color:var(--sgms-maroon-deep);

    line-height:1.1;

    margin-bottom:20px;

}

.sgms-accommodation__heading h2 span{

    color:var(--sgms-gold);

    font-style:italic;

}

.sgms-accommodation__heading p{

    max-width:650px;

    margin:auto;

    line-height:1.9;

    color:#6e6258;

    font-size:15px;

}


/*==============================
FEATURED ROOM
==============================*/

.sgms-featured-room{

    display:grid;

    grid-template-columns:1.15fr .85fr;

    gap:70px;

    align-items:center;

    margin-bottom:100px;

}


/*==============================
Image
==============================*/

.sgms-featured-room__image{

    position:relative;

    overflow:hidden;

    border-radius:36px;

    box-shadow:

    0 40px 90px rgba(60,24,13,.12);

    background:#fff;

}

.sgms-featured-room__image img{

    width:100%;

    display:block;

    height:650px;

    object-fit:cover;

    transition:
transform .15s linear,
filter .45s ease;

    /* transition:

        transform 1.2s cubic-bezier(.22,1,.36,1),

        filter .6s; */

}

.sgms-featured-room__image img{

    will-change:transform;

}

.sgms-featured-room__image:hover img{

    transform:scale(1.08);

}


/* overlay */

.sgms-featured-room__image::after{

    content:"";

    position:absolute;

    inset:0;

    background:

    linear-gradient(to top,

    rgba(25,18,18,.55),

    transparent 45%);

}


/*==============================
Availability Badge
==============================*/

.sgms-room-badge{

    position:absolute;

    top:30px;

    left:30px;

    z-index:2;

    display:flex;

    align-items:center;

    gap:10px;

    background:rgba(255,255,255,.92);

    backdrop-filter:blur(16px);

    padding:12px 18px;

    border-radius:40px;

    font-size:13px;

    font-weight:600;

    box-shadow:

    0 18px 40px rgba(0,0,0,.08);

}


/*==============================
RIGHT CONTENT
==============================*/

.sgms-featured-room__content{

    display:flex;

    flex-direction:column;

    justify-content:center;

}

.sgms-room-type{

    display:inline-flex;

    width:max-content;

    padding:10px 18px;

    border-radius:40px;

    background:#f8ebd0;

    color:#946415;

    font-weight:600;

    margin-bottom:20px;

}

.sgms-featured-room__content h3{

    font-family:var(--sgms-font-display);

    color:var(--sgms-maroon-deep);

    font-size:52px;

    line-height:1.1;

    margin-bottom:18px;

}

.sgms-room-rating{

    display:flex;

    align-items:center;

    gap:14px;

    color:#f2ae2e;

    font-size:20px;

    margin-bottom:25px;

}

.sgms-room-rating span{

    color:#666;

    font-size:14px;

}

.sgms-featured-room__content p{

    color:#666;

    line-height:1.9;

    margin-bottom:34px;

}


/*==============================
Amenities
==============================*/

.sgms-room-features{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:16px;

    margin-bottom:45px;

}

.sgms-feature-item{

    display:flex;

    align-items:center;

    gap:12px;

    background:#fff;

    border-radius:16px;

    padding:16px 20px;

    box-shadow:

    0 10px 30px rgba(0,0,0,.05);

    transition:.35s;

}

.sgms-feature-item:hover{

    transform:translateY(-5px);

    box-shadow:

    0 20px 40px rgba(0,0,0,.08);

}


/*==============================
Footer
==============================*/

.sgms-room-footer{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:25px;

    flex-wrap:wrap;

}

.sgms-room-price small{

    color:#777;

}

.sgms-room-price h4{

    margin-top:6px;

    font-size:42px;

    color:var(--sgms-maroon);

    line-height:1;

}

.sgms-room-price h4 small{

    font-size:16px;

    color:#777;

}


/*==============================
BUTTON
==============================*/

.sgms-book-btn{

    display:inline-flex;

    align-items:center;

    gap:12px;

    padding:18px 34px;

    border-radius:60px;

    background:

    linear-gradient(135deg,

    var(--sgms-maroon),

    #7d2534);

    color:#fff;

    font-weight:600;

    text-decoration:none;

    box-shadow:

    0 25px 50px rgba(93,25,35,.25);

    transition:.45s;

}

.sgms-book-btn svg{

    transition:.45s;

}

.sgms-book-btn:hover{

    transform:translateY(-6px);

    box-shadow:

    0 40px 70px rgba(93,25,35,.35);

}

.sgms-book-btn:hover svg{

    transform:translateX(6px);

}


/*==============================
ROOM GRID
==============================*/

.sgms-room-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:28px;

    margin-bottom:80px;

}


/*==============================
CARD
==============================*/

.sgms-room-card{

    background:#fff;

    border-radius:26px;

    overflow:hidden;

    box-shadow:

    0 18px 50px rgba(0,0,0,.06);

    transition:

        transform .45s,

        box-shadow .45s;

}

.sgms-room-card:hover{

    transform:translateY(-12px);

    box-shadow:

    0 40px 70px rgba(0,0,0,.12);

}

.sgms-room-card__image{

    overflow:hidden;

}

.sgms-room-card__image img{

    width:100%;

    height:240px;

    object-fit:cover;

    transition:1s;

}

.sgms-room-card:hover img{

    transform:scale(1.08);

}

.sgms-room-card__body{

    padding:28px;

}

.sgms-room-card__body h4{

    font-size:26px;

    font-family:var(--sgms-font-display);

    color:var(--sgms-maroon-deep);

    margin-bottom:12px;

}

.sgms-room-card__body p{

    color:#666;

    line-height:1.8;

    font-size:14px;

    margin-bottom:28px;

}

.sgms-room-card__bottom{

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.sgms-room-card__bottom strong{

    color:var(--sgms-maroon);

}

.sgms-room-card__bottom span{

    color:var(--sgms-gold);

    font-weight:600;

}


/*==============================
BOTTOM CTA
==============================*/

.sgms-accommodation__footer{

    text-align:center;

}

.sgms-accommodation__footer p{

    color:#666;

    margin-bottom:16px;

}

.sgms-accommodation__footer a{

    display:inline-flex;

    align-items:center;

    gap:12px;

    color:var(--sgms-maroon);

    font-weight:600;

    text-decoration:none;

}


/*==============================
Responsive
==============================*/

@media(max-width:1100px){

.sgms-featured-room{

grid-template-columns:1fr;

}

.sgms-room-grid{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:768px){

.sgms-accommodation{

padding:80px 20px;

}

.sgms-room-grid{

grid-template-columns:1fr;

}

.sgms-featured-room__image img{

height:380px;

}

.sgms-featured-room__content h3{

font-size:40px;

}

.sgms-room-features{

grid-template-columns:1fr;

}

.sgms-room-footer{

flex-direction:column;

align-items:flex-start;

}

}

/*======================================================
                SGMS FOOTER
======================================================*/

.sgms-footer{
    position:relative;
    background:linear-gradient(180deg,#faf7f2 0%,#f4ede2 100%);
    padding:0;
    overflow:hidden;
    border-top:1px solid rgba(160,124,63,.15);
}

/*==================================
Top Temple Pattern
==================================*/

.sgms-footer__pattern{
    height:90px;
    position:relative;
    background:
        linear-gradient(to bottom,
        rgba(214,177,86,.18),
        transparent);
}

.sgms-footer__pattern::after{

    content:"";

    position:absolute;

    left:50%;

    top:24px;

    transform:translateX(-50%);

    width:340px;

    height:42px;

    background:url("../images/temple-border.svg")
    center center/contain no-repeat;

    opacity:.9;

}

/*==================================
Container
==================================*/

.sgms-footer__container{

    max-width:1280px;

    margin:auto;

    padding:0 40px 40px;

}

/*==================================
Top Grid
==================================*/

.sgms-footer__top{

    display:grid;

    grid-template-columns:
    1.6fr
    .8fr
    .8fr
    1.2fr;

    gap:70px;

    padding:70px 0;

}

/*==================================
About
==================================*/

.sgms-footer__logo{

    display:flex;

    align-items:center;

    gap:18px;

    margin-bottom:30px;

}

.sgms-footer__logo img{

    width:72px;

    height:72px;

    object-fit:contain;

}

.sgms-footer__logo h3{

    font-family:var(--sgms-font-display);

    color:var(--sgms-maroon-deep);

    font-size:30px;

    margin-bottom:4px;

}

.sgms-footer__logo span{

    color:var(--sgms-gold);

    font-weight:600;

    letter-spacing:.08em;

    font-size:13px;

}

.sgms-footer__about p{

    color:#6b655d;

    line-height:1.9;

    margin-bottom:30px;

}

/*==================================
Contact
==================================*/

.sgms-footer__contact{

    display:flex;

    flex-direction:column;

    gap:18px;

}

.sgms-footer__contact a,
.sgms-footer__contact div{

    display:flex;

    align-items:flex-start;

    gap:14px;

    color:#6d675f;

    text-decoration:none;

    transition:.35s;

    line-height:1.6;

}

.sgms-footer__contact a:hover{

    color:var(--sgms-maroon);

}

.sgms-footer__contact i{

    width:18px;

    color:var(--sgms-gold);

    margin-top:3px;

}

/*==================================
Links
==================================*/

.sgms-footer__links h4,
.sgms-footer__newsletter h4{

    font-family:var(--sgms-font-display);

    color:var(--sgms-maroon-deep);

    font-size:26px;

    margin-bottom:28px;

    position:relative;

}

.sgms-footer__links h4::after,
.sgms-footer__newsletter h4::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-12px;

    width:48px;

    height:2px;

    background:var(--sgms-gold);

}

.sgms-footer__links ul{

    list-style:none;

    margin:0;

    padding:0;

}

.sgms-footer__links li{

    margin-bottom:16px;

}

.sgms-footer__links a{

    color:#6d675f;

    text-decoration:none;

    position:relative;

    transition:.35s;

}

.sgms-footer__links a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-4px;

    width:0;

    height:1px;

    background:var(--sgms-gold);

    transition:.35s;

}

.sgms-footer__links a:hover{

    color:var(--sgms-maroon);

    padding-left:8px;

}

.sgms-footer__links a:hover::after{

    width:100%;

}

/*==================================
Newsletter
==================================*/

.sgms-footer__newsletter p{

    color:#6b655d;

    line-height:1.8;

    margin-bottom:25px;

}

.sgms-footer__form{

    display:flex;

    margin-bottom:34px;

    border-radius:18px;

    overflow:hidden;

    background:#fff;

    box-shadow:
    0 20px 45px rgba(90,50,30,.08);

}

.sgms-footer__form input{

    flex:1;

    border:none;

    padding:18px;

    background:transparent;

    outline:none;

    font-size:15px;

}

.sgms-footer__form button{

    border:none;

    background:linear-gradient(
    135deg,
    var(--sgms-maroon),
    #822437);

    color:#fff;

    padding:0 28px;

    cursor:pointer;

    font-weight:600;

    transition:.4s;

}

.sgms-footer__form button:hover{

    background:var(--sgms-gold);

}

/*==================================
Social
==================================*/

.sgms-footer__social{

    display:flex;

    gap:14px;

}

.sgms-footer__social a{

    width:48px;

    height:48px;

    border-radius:50%;

    background:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    color:var(--sgms-maroon);

    text-decoration:none;

    transition:.45s;

    box-shadow:
    0 12px 24px rgba(0,0,0,.05);

}

.sgms-footer__social a:hover{

    background:var(--sgms-maroon);

    color:#fff;

    transform:translateY(-6px);

}

/*==================================
Divider
==================================*/

.sgms-footer__divider{

    height:1px;

    background:

    linear-gradient(to right,

    transparent,

    rgba(185,149,78,.6),

    transparent);

    margin-bottom:30px;

}

/*==================================
Bottom
==================================*/

.sgms-footer__bottom{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:20px;

    flex-wrap:wrap;

}

.sgms-footer__bottom p{

    color:#80776d;

    font-size:14px;

}

.sgms-footer__bottom-links{

    display:flex;

    gap:26px;

    flex-wrap:wrap;

}

.sgms-footer__bottom-links a{

    color:#6f675f;

    text-decoration:none;

    transition:.35s;

}

.sgms-footer__bottom-links a:hover{

    color:var(--sgms-maroon);

}

/*==================================
Floating Glow
==================================*/

.sgms-footer::before{
    content:"";
    position:absolute;
    width:500px;
    height:500px;
    left:-220px;
    bottom:calc(-260px + var(--footer-shift,0px));
    background:radial-gradient(
        rgba(197,157,78,.12),
        transparent 70%);
    pointer-events:none;
    transition:bottom .1s linear;
}

.sgms-footer::after{
    content:"";
    position:absolute;
    width:450px;
    height:450px;
    right:-180px;
    top:calc(-160px - var(--footer-shift,0px));
    background:radial-gradient(
        rgba(122,35,50,.08),
        transparent 70%);
    pointer-events:none;
    transition:top .1s linear;
}

/*==================================
Responsive
==================================*/

@media(max-width:1100px){

.sgms-footer__top{

grid-template-columns:1fr 1fr;

gap:50px;

}

}

@media(max-width:768px){

.sgms-footer__container{

padding:0 22px 35px;

}

.sgms-footer__top{

grid-template-columns:1fr;

padding:60px 0;

gap:45px;

}

.sgms-footer__bottom{

flex-direction:column;

text-align:center;

}

.sgms-footer__bottom-links{

justify-content:center;

}

.sgms-footer__form{

flex-direction:column;

}

.sgms-footer__form button{

padding:16px;

}

.sgms-footer__logo{

align-items:flex-start;

}

.sgms-footer__logo img{

width:60px;

height:60px;

}

.sgms-footer__logo h3{

font-size:24px;

}

}

.sgms-audio-toggle{
  position:absolute;
  bottom:32px;
  right:clamp(20px, 5vw, 56px);
  z-index:3;
  width:44px; height:44px;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:rgba(251,245,233,0.12);
  border:1px solid rgba(228,200,116,0.4);
  color:var(--sgms-gold-light);
  backdrop-filter:blur(6px);
  transition:background .3s ease, transform .3s ease;
}
.sgms-audio-toggle:hover{ background:rgba(251,245,233,0.2); transform:translateY(-2px); }
.sgms-audio-toggle .sgms-ic{ width:19px; height:19px; }

.sgms-audio-toggle.is-muted::after{
  content:"";
  position:absolute;
  width:1.5px; height:24px;
  background:var(--sgms-gold-light);
  transform:rotate(45deg);
}