* {
  box-sizing: border-box;
}

:root {
  --bg: #eef3f8;
  --ink: #0f172a;
  --muted: #5b6473;
  --navy: #10233f;
  --navy-deep: #0b1b31;
  --blue: #2563eb;
  --teal: #0f766e;
  --amber: #f59e0b;
  --amber-soft: #fff0c2;
  --panel: rgba(255, 255, 255, 0.98);
  --line: rgba(15, 23, 42, 0.12);
  --ad-gold: #ffd34d;
  --ad-bright: #e6f0ff;
  --shadow: 0 26px 70px rgba(12, 24, 46, 0.14);
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.16), transparent 28%),
    radial-gradient(circle at right 20%, rgba(245, 158, 11, 0.15), transparent 26%),
    linear-gradient(180deg, #f8fbff 0%, #edf4fb 100%);
  color: var(--ink);
  font-family: "Noto Sans Devanagari", "Poppins", "Segoe UI", sans-serif;
}

body {
  overflow-x: hidden;
}

.bg-orb {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(24px);
  opacity: 0.38;
  z-index: 0;
}

.bg-orb--one {
  top: -72px;
  left: -60px;
  width: 220px;
  height: 220px;
  background: rgba(37, 99, 235, 0.24);
}

.bg-orb--two {
  right: -42px;
  bottom: 12vh;
  width: 260px;
  height: 260px;
  background: rgba(15, 118, 110, 0.2);
}

.app-stage {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
}

.phone-app {
  width: min(100%, 470px);
  min-height: min(90vh, 980px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.app-header {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 14px 12px;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
}

.app-header__top {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
}

.icon-button {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.icon-button span {
  display: block;
  width: 6px;
  height: 6px;
  margin: 0 auto;
  border-radius: 50%;
  background: #fff;
}

.brand-lockup {
  min-width: 0;
}

.brand-lockup__name {
  font-family: "Archivo Black", "Baloo 2", sans-serif;
  font-size: 1.28rem;
  line-height: 1;
  letter-spacing: 0.03em;
}

.location-rail {
  display: block;
  min-width: 0;
  height: 100%;
}

.location-rail--hidden {
  display: none;
}

.location-pill {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  min-height: 48px;
  padding: 10px 8px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, var(--amber) 0%, #fb923c 100%);
  color: #fff;
  font-size: 0.77rem;
  font-weight: 800;
  box-shadow: none;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.location-pill span[data-summary="location-pill"] {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.main-menu {
  position: absolute;
  top: 14px;
  left: 14px;
  width: min(250px, calc(100vw - 28px));
  padding: 10px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
  z-index: 5;
  display: grid;
  gap: 8px;
}

.main-menu button,
.main-menu a {
  display: block;
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 12px;
  background: #f7f8fb;
  color: #151515;
  text-decoration: none;
  text-align: left;
  font-family: "Baloo 2", "Noto Sans Devanagari", sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
  cursor: pointer;
}

.main-menu button[data-action="close-main-menu"] {
  margin-bottom: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, #fff7e8 0%, #fff1d3 100%);
}

.main-menu button:hover,
.main-menu a:hover {
  background: rgba(37, 99, 235, 0.08);
}

.pin {
  width: 11px;
  height: 11px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: #fff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
  position: relative;
}

.pin::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #fb923c;
}

.mode-bar {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.96fr) minmax(0, 0.96fr);
  gap: 0;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fbfcfe 0%, #eef3f9 100%);
}

.mode-tab {
  position: relative;
  min-height: 48px;
  padding: 10px 8px;
  border-left: 1px solid rgba(15, 23, 42, 0.08);
  border: 0;
  background: transparent;
  color: #7b8697;
  font-family: "Baloo 2", "Noto Sans Devanagari", sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  cursor: pointer;
}

.mode-tab.is-active {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.62);
}

.mode-tab.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 40px;
  height: 4px;
  border-radius: 999px;
  background: var(--amber);
  transform: translateX(-50%);
}

.location-rail {
  border-right: 1px solid rgba(15, 23, 42, 0.08);
}

.location-pill .pin {
  width: 9px;
  height: 9px;
  flex: none;
}

.screen-content {
  flex: 1;
  min-height: 0;
  position: relative;
  overflow: hidden;
}

.view {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
  padding: 14px;
  overflow: auto;
}

.settings-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.55;
}

.search-box {
  width: 100%;
}

.search-box input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 3px solid rgba(15, 23, 42, 0.14);
  border-radius: 14px;
  outline: none;
  background: #fff;
  color: var(--ink);
  font: 700 1rem/1.2 "Noto Sans Devanagari", sans-serif;
}

.search-box input::placeholder {
  color: #7f7f7f;
  font-weight: 700;
}

.section-title {
  color: var(--navy);
  font-family: "Baloo 2", "Noto Sans Devanagari", sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.view--location {
  padding: 0;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.05), transparent 16%),
    #f7faff;
}

.location-sheet {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
  padding: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
  border-top: 1px solid rgba(15, 23, 42, 0.12);
  transform: translateY(0);
  transition: transform 220ms ease, opacity 220ms ease;
}

.location-sheet__body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  display: grid;
  gap: 12px;
  padding-bottom: 6px;
}

.location-sheet--closed {
  transform: translateY(-104%);
  opacity: 0;
  pointer-events: none;
}

.location-sheet__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.location-sheet__topbar-title {
  color: var(--navy);
  font-family: "Baloo 2", "Noto Sans Devanagari", sans-serif;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.location-sheet__close {
  flex: none;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: linear-gradient(180deg, #eaf1ff 0%, #dfeaff 100%);
  color: var(--blue);
  font-family: "Baloo 2", "Noto Sans Devanagari", sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.location-sheet__handle {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f7fbff);
  box-shadow: 0 10px 22px rgba(12, 24, 46, 0.05);
  cursor: pointer;
  user-select: none;
  touch-action: pan-y;
}

.location-sheet__grip {
  width: 36px;
  height: 4px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.2);
}

.location-sheet__selected {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(245, 158, 11, 0.08)),
    #fff;
  box-shadow: 0 10px 22px rgba(12, 24, 46, 0.05);
}

.location-sheet__selected-label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.location-sheet__selected-value {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--navy);
  text-align: left;
  font-family: "Baloo 2", "Noto Sans Devanagari", sans-serif;
  font-size: 1.06rem;
  font-weight: 800;
  cursor: pointer;
}

.location-sheet__chevron {
  color: var(--amber);
  font-size: 1.5rem;
  font-weight: 900;
}

.location-search {
  margin-top: 2px;
}

.location-section {
  display: grid;
  gap: 10px;
  padding: 12px 14px 14px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.location-list {
  display: grid;
  gap: 8px;
}

.location-item {
  width: 100%;
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(12, 24, 46, 0.04);
}

.location-item--recent {
  border-color: rgba(37, 99, 235, 0.22);
  background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
}

.location-item--active {
  border-color: rgba(245, 158, 11, 0.55);
  box-shadow: 0 10px 22px rgba(245, 158, 11, 0.12);
}

.location-item__name {
  font-family: "Baloo 2", "Noto Sans Devanagari", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.1;
}

.location-list--recent .location-item__name {
  color: var(--blue);
}

.location-footer {
  flex: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px 0 0;
  background: linear-gradient(180deg, rgba(244, 248, 255, 0), rgba(244, 248, 255, 0.96) 18%);
}

.location-footer button,
.location-footer a {
  display: grid;
  place-items: center;
  min-height: 52px;
  padding: 10px 8px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 14px;
  background: #fff;
  color: var(--navy);
  text-decoration: none;
  font-family: "Baloo 2", "Noto Sans Devanagari", sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(12, 24, 46, 0.05);
}

.view--admin {
  padding: 0;
  background:
    radial-gradient(circle at top, rgba(37, 99, 235, 0.12), transparent 34%),
    linear-gradient(180deg, #f7fbff 0%, #edf3fb 100%);
}

.admin-shell {
  display: grid;
  gap: 14px;
  min-height: 100%;
  padding: 14px;
}

.admin-shell--login {
  place-items: center;
  align-content: center;
}

.admin-hero,
.admin-card,
.admin-section,
.admin-message {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(12, 24, 46, 0.06);
}

.admin-hero {
  padding: 16px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(245, 158, 11, 0.08));
}

.admin-hero__eyebrow,
.admin-section__eyebrow {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-hero__title,
.admin-section__title {
  margin-top: 4px;
  color: var(--navy);
  font-family: "Baloo 2", "Noto Sans Devanagari", sans-serif;
  font-size: 1.28rem;
  font-weight: 900;
  line-height: 1.15;
}

.admin-hero__copy {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.admin-card,
.admin-section {
  padding: 14px;
}

.admin-topbar,
.admin-section__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.admin-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.admin-tab,
.admin-chip,
.primary-button,
.secondary-button,
.admin-mini-button {
  border: 0;
  border-radius: 14px;
  font-family: "Baloo 2", "Noto Sans Devanagari", sans-serif;
  font-weight: 800;
  cursor: pointer;
}

.admin-tab {
  min-height: 46px;
  padding: 10px 8px;
  background: #eef3fb;
  color: #556074;
}

.admin-tab--active {
  background: linear-gradient(180deg, var(--amber) 0%, #fb923c 100%);
  color: #fff;
}

.admin-message {
  padding: 12px 14px;
  color: var(--blue);
  font-size: 0.92rem;
  font-weight: 800;
}

.admin-grid {
  display: grid;
  gap: 10px;
}

.admin-grid--form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-field {
  display: grid;
  gap: 6px;
}

.admin-field--full {
  grid-column: 1 / -1;
}

.admin-field span,
.admin-subtitle {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-field input,
.admin-field textarea,
.admin-field select {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  border: 2px solid rgba(15, 23, 42, 0.12);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: 700 0.98rem/1.3 "Noto Sans Devanagari", sans-serif;
}

.admin-field textarea {
  min-height: 104px;
  resize: vertical;
}

.admin-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.primary-button,
.secondary-button,
.admin-chip,
.admin-mini-button {
  min-height: 44px;
  padding: 10px 12px;
}

.primary-button {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
}

.secondary-button {
  background: #eef3fb;
  color: var(--navy);
}

.admin-chip {
  background: #eef3fb;
  color: var(--navy);
}

.admin-list {
  display: grid;
  gap: 10px;
}

.admin-item {
  padding: 12px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(12, 24, 46, 0.05);
}

.admin-item__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.admin-item__title {
  color: var(--ink);
  font-family: "Baloo 2", "Noto Sans Devanagari", sans-serif;
  font-size: 1.04rem;
  font-weight: 900;
}

.admin-item__meta,
.admin-item__body,
.admin-note {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.admin-item__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-mini-button {
  min-height: 36px;
  padding: 8px 11px;
  background: #eef3fb;
  color: var(--navy);
}

.admin-mini-button--danger {
  background: #fde8e8;
  color: #c24141;
}

.admin-subtitle {
  margin-top: 14px;
  margin-bottom: 8px;
}

.admin-location-grid {
  display: grid;
  gap: 10px;
}

.admin-location-group {
  display: grid;
  gap: 8px;
}

.admin-location-group__title {
  color: var(--navy);
  font-family: "Baloo 2", "Noto Sans Devanagari", sans-serif;
  font-size: 0.92rem;
  font-weight: 900;
}

.admin-location-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-location-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 800;
}

.admin-location-chip input {
  margin: 0;
}

.admin-location-chip--active {
  border-color: rgba(37, 99, 235, 0.32);
  background: rgba(37, 99, 235, 0.08);
}

.admin-location-chip--disabled {
  opacity: 0.6;
}

@media (max-width: 420px) {
  .admin-grid--form,
  .admin-actions,
  .admin-tabs {
    grid-template-columns: 1fr;
  }

  .admin-topbar,
  .admin-section__header,
  .admin-item__header {
    flex-direction: column;
  }

  .admin-item__actions {
    justify-content: flex-start;
  }
}

.district-list {
  display: grid;
  gap: 10px;
}

.district-card {
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.district-card--active {
  border-color: rgba(37, 99, 235, 0.42);
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.12);
}

.district-card__toggle {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 8px;
  padding: 13px 14px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.district-card__name {
  font-family: "Baloo 2", "Noto Sans Devanagari", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
}

.district-card__meta {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.district-card__arrow {
  color: var(--amber);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-1px);
}

.district-card__tehsils {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 12px 12px;
}

.tehsil-chip {
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 999px;
  background: #fff;
  color: #222;
  padding: 8px 12px;
  font-family: "Baloo 2", "Noto Sans Devanagari", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
}

.tehsil-chip--active {
  background: linear-gradient(180deg, var(--amber) 0%, #fb923c 100%);
  border-color: var(--amber);
  color: #fff;
}

.news-list,
.contact-list {
  display: grid;
  gap: 10px;
}

.news-card,
.contact-card {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(12, 24, 46, 0.06);
}

.news-card {
  border-left: 4px solid var(--blue);
}

.contact-card {
  border-left: 4px solid var(--teal);
}

.news-card__button,
.contact-card__button {
  width: 100%;
  padding: 12px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.news-card__body {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: start;
}

.news-thumb {
  width: 88px;
  height: 92px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 12px;
  background: linear-gradient(145deg, #fff, #eef4ff);
}

.news-card__title {
  color: var(--ink);
  font-family: "Baloo 2", "Noto Sans Devanagari", sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  padding-top: 2px;
}

.news-card__meta,
.contact-card__meta {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.ad-block {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 16px;
  text-transform: uppercase;
  font-family: "Archivo Black", "Baloo 2", sans-serif;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.ad-block--bright {
  background: linear-gradient(135deg, var(--ad-bright), #f4f8ff);
}

.ad-block--gold {
  background: linear-gradient(135deg, var(--ad-gold), var(--amber-soft));
}

.contact-card__title {
  color: #111;
  font-family: "Baloo 2", "Noto Sans Devanagari", sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.18;
}

.contact-card__meta {
  color: #666;
}

.detail-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-top: 4px solid var(--blue);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(12, 24, 46, 0.06);
}

.view--news-detail {
  gap: 10px;
  padding-top: 10px;
}

.view--contact-detail {
  gap: 10px;
  padding-top: 10px;
}

.news-detail-top {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0 2px;
}

.news-detail-ad-top {
  padding: 0 2px;
}

.news-detail-footer {
  padding: 2px 2px 6px;
}

.detail-card__top {
  display: flex;
  justify-content: flex-start;
}

.detail-back {
  min-height: 40px;
  padding: 8px 14px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  font-family: "Baloo 2", "Noto Sans Devanagari", sans-serif;
  font-size: 0.96rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(12, 24, 46, 0.16);
}

.detail-card__ad {
  min-height: 78px;
}

.detail-card--contact {
  gap: 10px;
}

.detail-card__meta--contact {
  margin-top: 2px;
}

.contact-number-list {
  display: grid;
  gap: 14px;
}

.contact-number-row {
  display: grid;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.contact-number-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.contact-action-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.detail-card__eyebrow {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-card__title {
  color: #111;
  font-family: "Baloo 2", "Noto Sans Devanagari", sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.1;
}

.detail-card__hero {
  height: 180px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 14px;
  background: linear-gradient(135deg, #fff, #eef4ff);
}

.detail-card__meta {
  display: grid;
  gap: 3px;
  color: #7b8697;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.detail-card__copy {
  color: #141414;
  font-size: 0.96rem;
  line-height: 1.6;
}

.action-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.action-button {
  display: grid;
  gap: 8px;
  justify-items: center;
  color: #111;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.action-icon {
  width: 62px;
  height: 62px;
  border: 1px solid rgba(15, 23, 42, 0.24);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.action-icon--call,
.action-icon--sms,
.action-icon--whatsapp {
  display: grid;
  place-items: center;
  color: var(--navy);
  font-size: 1.4rem;
  font-weight: 900;
}

.action-icon--call {
  background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
}

.action-icon--sms {
  background: linear-gradient(180deg, #fdf2f8 0%, #fce7f3 100%);
}

.action-icon--whatsapp {
  background: linear-gradient(180deg, #dcfce7 0%, #bbf7d0 100%);
}

.action-icon--call::before {
  content: "☎";
}

.action-icon--sms::before {
  content: "✉";
}

.action-icon--whatsapp::before {
  content: "WA";
  font-size: 0.74rem;
  letter-spacing: 0;
}

.empty-state {
  padding: 12px 14px;
  border-radius: 14px;
  background: #f6f8fc;
  color: #666;
  font-size: 0.95rem;
  font-weight: 600;
}

.hidden {
  display: none !important;
}

.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;
}

@media (max-width: 520px) {
  .app-stage {
    padding: 0;
  }

  .phone-app {
    width: 100%;
    min-height: 100vh;
    border: 0;
    border-radius: 0;
  }
}