/* ============================================================
   CITY LANDING PAGES (Mysuru, Mangaluru, Hubballi, ...)
   Shared stylesheet. Classes prefixed .hrb-city-
============================================================ */
.hrb-city-hero {
  position: relative;
  overflow: hidden;
  padding: 142px 0 92px;
  background:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    radial-gradient(circle at 18% 15%, rgba(16,119,218,0.35), transparent 34%),
    linear-gradient(135deg, #0A4F9E 0%, #0f172a 100%);
  background-size: 72px 72px, 72px 72px, auto, auto;
  color: white;
}

.hrb-city-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  color: rgba(255,255,255,0.72);
  font-size: 14px;
  font-weight: 700;
}

.hrb-city-breadcrumb a:hover,
.hrb-city-breadcrumb span:last-child { color: white; }

.hrb-city-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
  gap: 52px;
  align-items: center;
}

.hrb-city-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 18px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  background: rgba(16,119,218,0.28);
  color: #DBEAFE;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hrb-city-label::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.hrb-city-hero h1 {
  max-width: 760px;
  margin-bottom: 24px;
  color: white;
  font-size: clamp(38px, 4.8vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hrb-city-hero p {
  max-width: 720px;
  color: rgba(255,255,255,0.84);
  font-size: 19px;
  line-height: 1.75;
}

.hrb-city-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hrb-city-hero__points {
  display: grid;
  gap: 10px;
  margin-top: 30px;
  padding: 0;
  list-style: none;
}

.hrb-city-hero__points li {
  position: relative;
  padding-left: 28px;
  color: rgba(255,255,255,0.9);
  font-size: 15px;
  font-weight: 600;
}

.hrb-city-hero__points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--success);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat, linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.hrb-city-hero__image {
  position: relative;
  margin: 0;
}

.hrb-city-hero__image::before {
  content: '';
  position: absolute;
  inset: 12% 4% 4%;
  border-radius: 32px;
  background: rgba(59,145,232,0.22);
  filter: blur(34px);
}

.hrb-city-hero__image img {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  border-radius: 28px;
  object-fit: contain;
}

/* ---------- Sections ---------- */
.hrb-city-local,
.hrb-city-workflow,
.hrb-city-example,
.hrb-city-final {
  padding: 80px 0;
  background: white;
}

.hrb-city-challenges,
.hrb-city-features,
.hrb-city-industries,
.hrb-city-faq {
  padding: 80px 0;
  background: var(--bg-alt);
}

.hrb-city-section-head {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.hrb-city-section-head h2,
.hrb-city-split h2,
.hrb-city-compliance h2,
.hrb-city-example h2 {
  margin-bottom: 14px;
  color: var(--dark);
}

.hrb-city-section-head p,
.hrb-city-section-sub {
  color: var(--text-muted);
  font-size: 17px;
}

.hrb-city-section-sub + .hrb-city-section-sub {
  margin-top: 16px;
}

.hrb-city-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}

.hrb-city-split--reverse {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.hrb-city-side-image {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--bg-alt);
}

.hrb-city-side-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ---------- Local stats ---------- */
.hrb-city-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.hrb-city-stat {
  padding: 22px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow-sm);
}

.hrb-city-stat strong {
  display: block;
  margin-bottom: 6px;
  color: var(--dark);
  font-size: 18px;
  font-weight: 800;
}

.hrb-city-stat span {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- Cards ---------- */
.hrb-city-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.hrb-city-card-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 960px;
  margin: 0 auto;
}

.hrb-city-card,
.hrb-city-feature,
.hrb-city-industry,
.hrb-city-step {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow-sm);
}

.hrb-city-card,
.hrb-city-feature {
  padding: 26px;
}

.hrb-city-card__icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--primary-xlight);
  color: var(--primary);
  font-weight: 900;
}

.hrb-city-card h3,
.hrb-city-feature h3,
.hrb-city-industry h3,
.hrb-city-step h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.hrb-city-feature h3 a,
.hrb-city-industry h3 a {
  color: var(--dark);
}

.hrb-city-feature h3 a:hover,
.hrb-city-industry h3 a:hover {
  color: var(--primary);
}

.hrb-city-card p,
.hrb-city-feature p,
.hrb-city-industry p,
.hrb-city-step p {
  color: var(--text-muted);
  font-size: 15px;
}

.hrb-city-feature {
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hrb-city-feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.hrb-city-feature::before {
  content: '';
  display: block;
  width: 32px;
  height: 5px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--primary);
}

/* ---------- Compliance band ---------- */
.hrb-city-compliance {
  padding: 80px 0;
  background: linear-gradient(135deg, #0A4F9E 0%, #0f172a 100%);
  color: white;
}

.hrb-city-compliance .hrb-section-label {
  background: rgba(255,255,255,0.12);
  color: #DBEAFE;
}

.hrb-city-compliance h2 {
  color: white;
}

.hrb-city-compliance p {
  max-width: 640px;
  color: rgba(255,255,255,0.82);
  font-size: 17px;
}

.hrb-city-compliance__box {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 42px;
  align-items: center;
}

.hrb-city-compliance__list {
  display: grid;
  gap: 12px;
}

.hrb-city-compliance__list span {
  position: relative;
  padding: 16px 18px 16px 46px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  color: white;
  font-weight: 700;
  font-size: 15px;
}

.hrb-city-compliance__list span::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
}

/* ---------- Steps ---------- */
.hrb-city-steps {
  display: grid;
  gap: 16px;
}

.hrb-city-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 22px;
}

.hrb-city-step span {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  font-weight: 900;
}

/* ---------- Industry grid ---------- */
.hrb-city-industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.hrb-city-industry {
  overflow: hidden;
}

.hrb-city-industry img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--primary-xlight);
}

.hrb-city-industry h3,
.hrb-city-industry p {
  margin-left: 24px;
  margin-right: 24px;
}

.hrb-city-industry h3 {
  margin-top: 22px;
}

.hrb-city-industry p {
  margin-bottom: 24px;
}

/* ---------- Example + final ---------- */
.hrb-city-example__box,
.hrb-city-final__box {
  overflow: hidden;
  border-radius: var(--radius-xl);
  text-align: center;
}

.hrb-city-example__box {
  padding: 48px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
}

.hrb-city-example__box p {
  max-width: 820px;
  margin: 0 auto 24px;
  color: var(--text-muted);
  font-size: 17px;
}

.hrb-city-example__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.hrb-city-example__links a {
  color: var(--primary);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- FAQ ---------- */
.hrb-city-faq__list {
  max-width: 860px;
  margin: 0 auto;
}

.hrb-city-faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: white;
  box-shadow: var(--shadow-sm);
}

.hrb-city-faq__item + .hrb-city-faq__item {
  margin-top: 12px;
}

.hrb-city-faq__item summary {
  position: relative;
  padding: 20px 56px 20px 22px;
  color: var(--dark);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.hrb-city-faq__item summary::-webkit-details-marker { display: none; }

.hrb-city-faq__item summary::after {
  content: '+';
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 22px;
  font-weight: 800;
}

.hrb-city-faq__item[open] summary::after { content: '-'; }

.hrb-city-faq__item p {
  padding: 0 22px 22px;
  color: var(--text-muted);
}

.hrb-city-faq__item p a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Final CTA ---------- */
.hrb-city-final__box {
  padding: 56px 34px;
  background:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(135deg, #0A4F9E 0%, #0f172a 100%);
  background-size: 54px 54px, 54px 54px, auto;
  color: white;
}

.hrb-city-final__box h2 {
  max-width: 740px;
  margin: 0 auto 14px;
  color: white;
}

.hrb-city-final__box p {
  max-width: 690px;
  margin: 0 auto 26px;
  color: rgba(255,255,255,0.82);
  font-size: 17px;
}

.hrb-city-final__alt {
  display: block;
  margin-top: 18px;
  color: rgba(255,255,255,0.75);
  font-size: 15px;
}

.hrb-city-final__alt a {
  color: white;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hrb-city-hero__grid,
  .hrb-city-split,
  .hrb-city-split--reverse,
  .hrb-city-compliance__box {
    grid-template-columns: 1fr;
  }

  .hrb-city-hero__image img {
    max-width: 620px;
    margin: 0 auto;
  }

  .hrb-city-card-grid,
  .hrb-city-industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .hrb-city-hero {
    padding: 122px 0 72px;
  }

  .hrb-city-hero p {
    font-size: 16px;
  }

  .hrb-city-hero__actions {
    flex-direction: column;
  }

  .hrb-city-hero__actions .hrb-btn {
    width: 100%;
    min-width: 0;
  }

  .hrb-city-local,
  .hrb-city-challenges,
  .hrb-city-features,
  .hrb-city-compliance,
  .hrb-city-workflow,
  .hrb-city-industries,
  .hrb-city-example,
  .hrb-city-faq,
  .hrb-city-final {
    padding: 56px 0;
  }

  .hrb-city-stat-grid,
  .hrb-city-card-grid,
  .hrb-city-card-grid--two,
  .hrb-city-industry-grid {
    grid-template-columns: 1fr;
  }

  .hrb-city-card,
  .hrb-city-feature {
    padding: 22px;
  }

  .hrb-city-step {
    grid-template-columns: 1fr;
  }

  .hrb-city-example__box {
    padding: 36px 22px;
  }
}
