/* Sri Vasavi Jewellers — local store site
   Palette: deep maroon, antique gold, warm stone
   Placeholders are marked with [BRACKETS] in the HTML.
*/

:root {
  --maroon: #6e1f2a;
  --maroon-deep: #3d1218;
  --maroon-soft: #8b3a42;
  --gold: #c4a35a;
  --gold-bright: #e0c06a;
  --gold-deep: #8a6b2e;
  --stone: #f3ebe0;
  --stone-deep: #e5d8c4;
  --ink: #2a221c;
  --ink-soft: #5c5148;
  --white: #fffaf4;
  --line: rgba(110, 31, 42, 0.14);

  --font-display: "Cormorant Garamond", "Noto Serif Telugu", "Times New Roman", serif;
  --font-body: "Outfit", "Noto Sans Telugu", "Segoe UI", sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 0.85rem;
  --space-md: 1.5rem;
  --space-lg: 2.75rem;
  --space-xl: 4.5rem;
  --space-2xl: 7rem;

  --radius: 2px;
  --max: 1120px;
  --header-h: 4.25rem;

  --shadow-soft: 0 18px 40px rgba(42, 14, 18, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(196, 163, 90, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(110, 31, 42, 0.08), transparent 50%),
    linear-gradient(180deg, var(--stone) 0%, var(--white) 40%, var(--stone-deep) 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

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

a {
  color: var(--maroon);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.2s var(--ease);
}

a:hover,
a:focus-visible {
  color: var(--gold-deep);
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--maroon);
  color: var(--white);
  padding: 0.65rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(251, 246, 238, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.site-nav {
  margin-left: auto;
}

.lang-switch {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
}

.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  line-height: 1;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.lang-btn + .lang-btn {
  border-left: 1px solid var(--line);
}

.lang-btn.is-active,
.lang-btn[aria-pressed="true"] {
  background: var(--maroon);
  color: var(--white);
}

.lang-btn:hover:not(.is-active),
.lang-btn:focus-visible:not(.is-active) {
  color: var(--maroon-deep);
  background: rgba(110, 31, 42, 0.06);
}

body.lang-te {
  font-family: "Noto Sans Telugu", var(--font-body);
  line-height: 1.75;
}

body.lang-te .brand,
body.lang-te .hero-brand,
body.lang-te .hero-tagline,
body.lang-te h1,
body.lang-te h2,
body.lang-te .aside-note p,
body.lang-te .facts dd {
  font-family: "Noto Serif Telugu", var(--font-display);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.3vw, 1.75rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--maroon-deep);
  text-decoration: none;
  line-height: 1.1;
  min-width: 0;
}

.brand-text {
  display: block;
  min-width: 0;
}

.brand-text span,
.brand span[data-i18n="brand.loc"] {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.15rem;
}

.brand-badges {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.brand-badge {
  height: clamp(1.45rem, 3.2vw, 1.85rem);
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(61, 18, 24, 0.18));
}

.brand-badge--combo {
  width: clamp(7.25rem, 16vw, 9.5rem);
  height: clamp(1.45rem, 3.2vw, 1.9rem);
  overflow: visible;
}

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

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--maroon-deep);
  padding: 0.55rem 0.8rem;
  font: inherit;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.15rem;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 0.2rem;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav a[aria-current="page"] {
  color: var(--maroon);
}

/* Layout helpers */
.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: var(--space-xl) 0;
}

.section- Tight {
  padding: var(--space-lg) 0;
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 var(--space-xs);
  font-weight: 600;
}

.section h1,
.section h2,
.page-intro h1 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--maroon-deep);
  margin: 0 0 var(--space-sm);
}

.section h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.lede {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 38rem;
  margin: 0;
}

.placeholder {
  display: inline;
  background: linear-gradient(180deg, rgba(196, 163, 90, 0.22), rgba(196, 163, 90, 0.08));
  border-bottom: 1px dashed var(--gold-deep);
  padding: 0 0.2em;
  color: var(--maroon-deep);
  font-weight: 500;
}

.placeholder-block {
  border: 1px dashed var(--gold-deep);
  background: rgba(196, 163, 90, 0.08);
  padding: 0.85rem 1rem;
  color: var(--maroon-deep);
  font-size: 0.95rem;
}

/* Buttons */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: var(--space-md);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.35rem;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-primary {
  background: var(--maroon);
  color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--maroon-deep);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--maroon-deep);
  border-color: var(--maroon);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(110, 31, 42, 0.06);
  color: var(--maroon-deep);
}

.btn-whatsapp {
  background: #128c7e;
  color: #fff;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
  background: #0e6e63;
  color: #fff;
}

/* Hero — full-bleed */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(42, 14, 18, 0.82) 0%, rgba(42, 14, 18, 0.55) 42%, rgba(42, 14, 18, 0.25) 100%),
    linear-gradient(180deg, rgba(42, 14, 18, 0.15) 0%, rgba(42, 14, 18, 0.72) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: var(--space-xl) 0 calc(var(--space-xl) + 0.5rem);
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: 0.01em;
  margin: 0 0 0.75rem;
  max-width: 12ch;
  text-wrap: balance;
  animation: rise-in 0.9s var(--ease) both;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 500;
  font-style: italic;
  color: var(--gold-bright);
  margin: 0 0 1rem;
  animation: rise-in 0.9s var(--ease) 0.12s both;
}

.hero-intro {
  max-width: 32rem;
  margin: 0;
  font-size: 1.05rem;
  color: rgba(255, 250, 244, 0.88);
  animation: rise-in 0.9s var(--ease) 0.22s both;
}

.hero .btn-row {
  animation: rise-in 0.9s var(--ease) 0.32s both;
}

.hero .btn-secondary {
  color: var(--white);
  border-color: rgba(255, 250, 244, 0.55);
}

.hero .btn-secondary:hover,
.hero .btn-secondary:focus-visible {
  background: rgba(255, 250, 244, 0.1);
  color: var(--white);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Home intro strip */
.home-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.trust-list {
  list-style: none;
  margin: var(--space-md) 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.trust-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--ink-soft);
}

.trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(196, 163, 90, 0.2);
}

.ornament {
  height: 1px;
  width: 4rem;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: var(--space-sm) 0 var(--space-md);
}

.aside-note {
  border-left: 2px solid var(--gold);
  padding: 0.25rem 0 0.25rem 1.25rem;
}

.aside-note p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.35;
  color: var(--maroon-deep);
}

.aside-note small {
  display: block;
  margin-top: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

/* Page hero (inner pages) */
.page-hero {
  padding: var(--space-xl) 0 var(--space-lg);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(110, 31, 42, 0.06), transparent 55%),
    linear-gradient(180deg, rgba(196, 163, 90, 0.1), transparent);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin: 0 0 0.65rem;
  color: var(--maroon-deep);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.story p {
  color: var(--ink-soft);
  max-width: 40rem;
}

.story p + p {
  margin-top: 1rem;
}

.about-media {
  display: grid;
  gap: 1.25rem;
}

.photo-frame {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
}

.photo-frame picture {
  display: block;
}

.photo-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  background: var(--stone-deep);
}

.photo-frame figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.facts {
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem;
  background:
    linear-gradient(160deg, rgba(255, 250, 244, 0.95), rgba(229, 216, 196, 0.55));
  border: 1px solid var(--line);
}

.facts dt {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin: 0;
}

.facts dd {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  color: var(--maroon-deep);
  line-height: 1.3;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 1.35rem;
}

.contact-item h2 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 0.4rem;
  font-weight: 600;
}

.contact-item p,
.contact-item address {
  margin: 0;
  font-style: normal;
  font-size: 1.1rem;
  color: var(--ink);
  line-height: 1.5;
}

.map-wrap {
  position: relative;
  min-height: 320px;
  background: var(--stone-deep);
  border: 1px solid var(--line);
  overflow: hidden;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  filter: saturate(0.9) contrast(1.02);
}

.map-note {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.hours {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}

.hours span:last-child {
  color: var(--ink-soft);
}

/* Gallery — featured stage + thumbnail rail */
.gallery-stage {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 15% 0%, rgba(224, 192, 106, 0.22), transparent 55%),
    linear-gradient(165deg, #2a1714 0%, #4a2428 50%, #6e1f2a 100%);
  border: 1px solid rgba(196, 163, 90, 0.35);
  box-shadow: var(--shadow-soft);
  margin-bottom: 1rem;
  aspect-ratio: 16 / 10;
  max-height: min(68vh, 560px);
}

.gallery-stage-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: gallery-fade 0.55s var(--ease) both;
}

.gallery-stage-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.1rem 1.25rem;
  background: linear-gradient(transparent, rgba(42, 14, 18, 0.82));
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
  letter-spacing: 0.02em;
  margin: 0;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(224, 192, 106, 0.55);
  background: rgba(42, 14, 18, 0.55);
  color: var(--gold-bright);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  backdrop-filter: blur(6px);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.gallery-nav:hover,
.gallery-nav:focus-visible {
  background: rgba(110, 31, 42, 0.85);
  border-color: var(--gold-bright);
}

.gallery-nav-prev {
  left: 0.75rem;
}

.gallery-nav-next {
  right: 0.75rem;
}

.gallery-rail {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  padding: 0.15rem 0.1rem 0.85rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.gallery-thumb {
  flex: 0 0 auto;
  width: clamp(5.5rem, 18vw, 7.5rem);
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 2px solid transparent;
  background: var(--maroon-deep);
  cursor: pointer;
  overflow: hidden;
  scroll-snap-align: start;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  transition: opacity 0.25s var(--ease), transform 0.5s var(--ease);
}

.gallery-thumb:hover img,
.gallery-thumb:focus-visible img {
  opacity: 1;
  transform: scale(1.04);
}

.gallery-thumb.is-active {
  border-color: var(--gold);
}

.gallery-thumb.is-active img {
  opacity: 1;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--maroon-deep);
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  width: 100%;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: left;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), opacity 0.4s var(--ease);
  opacity: 0.95;
}

.gallery-item:hover img,
.gallery-item:focus-within img,
.gallery-item.is-active img {
  transform: scale(1.04);
  opacity: 1;
}

.gallery-item.is-active {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.85rem 1rem;
  background: linear-gradient(transparent, rgba(42, 14, 18, 0.8));
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

@keyframes gallery-fade {
  from {
    opacity: 0.35;
    transform: scale(1.02);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Footer */
.site-footer {
  margin-top: var(--space-xl);
  padding: var(--space-lg) 0;
  background: var(--maroon-deep);
  color: rgba(255, 250, 244, 0.82);
}

.footer-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: end;
}

.site-footer .brand {
  color: var(--white);
  display: block;
}

.site-footer .brand span {
  color: rgba(224, 192, 106, 0.85);
}

.footer-meta {
  font-size: 0.9rem;
  max-width: 28rem;
}

.footer-meta p {
  margin: 0 0 0.4rem;
}

.site-footer a {
  color: var(--gold-bright);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--white);
}

/* Responsive */
@media (max-width: 860px) {
  .home-intro,
  .about-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .brand-text span,
  .brand span[data-i18n="brand.loc"] {
    letter-spacing: 0.1em;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.25rem;
    display: none;
  }

  .header-actions {
    margin-left: 0;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.85rem;
  }

  .hero-content {
    padding-bottom: var(--space-lg);
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .brand-text span,
  .brand span[data-i18n="brand.loc"] {
    display: none;
  }

  .gallery-nav {
    width: 2.25rem;
    height: 2.25rem;
  }

  .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-brand {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Rates board — weather-style city metals */
.rates-page-hero .lede {
  max-width: 40rem;
}

.rates-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: var(--space-md);
}

.rates-status-block {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.rates-status {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.rates-billing-note {
  margin: 0;
  color: var(--maroon);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.rates-board {
  border: 1px solid rgba(196, 163, 90, 0.35);
  background:
    radial-gradient(ellipse 90% 70% at 20% 0%, rgba(224, 192, 106, 0.28), transparent 55%),
    radial-gradient(ellipse 70% 60% at 100% 10%, rgba(110, 31, 42, 0.18), transparent 50%),
    linear-gradient(165deg, #2a1714 0%, #4a2428 42%, #6e1f2a 78%, #8a6b2e 140%);
  color: #fff8ee;
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.rates-hero {
  text-align: center;
  padding: 0.5rem 0 1.5rem;
  animation: rates-rise 0.7s var(--ease) both;
}

.rates-hero-kicker {
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: rgba(224, 192, 106, 0.9);
}

.rates-hero-city {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  font-weight: 600;
  line-height: 1.05;
  color: #fffaf4;
}

.rates-hero-state {
  margin: 0.35rem 0 1.1rem;
  color: rgba(255, 248, 238, 0.72);
}

.rates-hero-primary-label {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: rgba(224, 192, 106, 0.95);
}

.rates-hero-primary {
  margin: 0.15rem 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 4.6rem);
  font-weight: 600;
  line-height: 1;
  color: #e0c06a;
}

.rates-hero-change {
  margin: 0.55rem 0 0.35rem;
  font-weight: 600;
  font-size: 1.05rem;
}

.rates-hero-change.is-up {
  color: #9ddea8;
}

.rates-hero-change.is-down {
  color: #ffb4b0;
}

.rates-hero-change.is-flat {
  color: rgba(255, 248, 238, 0.7);
}

.rates-hero-updated {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 248, 238, 0.55);
}

.rates-city-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(8.5rem, 10.5rem);
  gap: 0.65rem;
  overflow-x: auto;
  padding: 0.35rem 0.15rem 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.rates-city-chip {
  appearance: none;
  border: 1px solid rgba(255, 248, 238, 0.18);
  background: rgba(255, 248, 238, 0.08);
  color: inherit;
  text-align: left;
  padding: 0.85rem 0.9rem;
  cursor: pointer;
  scroll-snap-align: start;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.rates-city-chip:hover,
.rates-city-chip:focus-visible {
  background: rgba(255, 248, 238, 0.14);
  transform: translateY(-2px);
}

.rates-city-chip.is-active {
  background: rgba(224, 192, 106, 0.22);
  border-color: rgba(224, 192, 106, 0.7);
}

.rates-city-chip.is-featured:not(.is-active) {
  box-shadow: inset 0 0 0 1px rgba(224, 192, 106, 0.35);
}

.rates-city-chip-name {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
}

.rates-city-chip-rate {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #e0c06a;
  line-height: 1.1;
}

.rates-city-chip-meta {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  color: rgba(255, 248, 238, 0.55);
}

.rates-metal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.rates-metal-card {
  background: rgba(255, 250, 244, 0.08);
  border: 1px solid rgba(255, 248, 238, 0.12);
  padding: 0.95rem 1rem 1.05rem;
  animation: rates-rise 0.55s var(--ease) both;
}

.rates-metal-card:nth-child(2) { animation-delay: 0.05s; }
.rates-metal-card:nth-child(3) { animation-delay: 0.1s; }
.rates-metal-card:nth-child(4) { animation-delay: 0.15s; }
.rates-metal-card:nth-child(5) { animation-delay: 0.2s; }
.rates-metal-card:nth-child(6) { animation-delay: 0.25s; }

.rates-metal-label {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(224, 192, 106, 0.9);
}

.rates-metal-value {
  margin: 0.35rem 0 0.15rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 600;
  line-height: 1.1;
}

.rates-metal-hint {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(255, 248, 238, 0.55);
}

.rates-india {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 248, 238, 0.1);
}

.rates-india-label {
  margin: 0;
  font-weight: 600;
}

.rates-india-date {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  color: rgba(255, 248, 238, 0.55);
}

.rates-india-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
}

.rates-india-list li {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.rates-india-list span {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: rgba(224, 192, 106, 0.9);
}

.rates-india-list strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

.rates-india-list small {
  color: rgba(255, 248, 238, 0.5);
  font-size: 0.75rem;
}

.rates-note {
  margin: var(--space-md) 0 var(--space-sm);
  max-width: 42rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

@keyframes rates-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 800px) {
  .rates-metal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .rates-metal-grid {
    grid-template-columns: 1fr;
  }

  .rates-toolbar .btn {
    width: 100%;
    justify-content: center;
  }
}

body.lang-te .rates-hero-city,
body.lang-te .rates-hero-primary,
body.lang-te .rates-metal-value,
body.lang-te .rates-city-chip-rate {
  font-family: "Noto Serif Telugu", var(--font-display);
}
