/* ═══ Telangana Local SEO — Full Polish ═══ */

.page-local {
  background: #f1f5f9;
}

.page-local .site-header:not(.scrolled) {
  background: rgba(3, 7, 18, 0.6);
}

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

/* Hero */
.local-page .local-hero {
  position: relative;
  background: linear-gradient(145deg, #030712 0%, #0f2744 45%, #1e1b4b 100%);
  color: #fff;
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(2.5rem, 6vw, 4rem);
  overflow: hidden;
}

.local-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(255, 153, 51, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 10% 80%, rgba(34, 211, 238, 0.15), transparent);
  pointer-events: none;
}

.local-hero .container {
  position: relative;
  z-index: 2;
}

.local-hero-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
}

.local-tricolor {
  display: block;
  height: 3px;
  background: linear-gradient(90deg, #ff9933 33%, #fff 33%, #fff 66%, #138808 66%);
}

.local-hero-hub {
  text-align: center;
}

.local-hero h1 {
  font-size: clamp(1.9rem, 4.2vw, 2.85rem);
  margin: 0.65rem 0 1rem;
  color: #fff;
  line-height: 1.12;
  -webkit-text-fill-color: #fff;
  background: none;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.25));
}

.local-hero-service-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
  padding: 12px;
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 14px;
  color: #67e8f9;
}

.local-hero-service-icon svg {
  width: 100%;
  height: 100%;
}

.local-hero .eyebrow {
  color: #fde68a;
  border-color: rgba(255, 153, 51, 0.4);
  background: rgba(255, 153, 51, 0.12);
}

.local-lead {
  font-size: clamp(1rem, 2vw, 1.12rem);
  color: #94a3b8;
  max-width: 680px;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.local-hero-hub .local-lead {
  margin-inline: auto;
}

.local-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.local-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 1.5rem;
}

.local-trust-row span {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}

/* Breadcrumb */
.local-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.35rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  font-size: 0.8rem;
}

.local-breadcrumb li:not(:last-child)::after {
  content: '›';
  margin-left: 0.4rem;
  color: rgba(255, 255, 255, 0.35);
}

.local-breadcrumb a {
  color: #67e8f9;
  font-weight: 500;
}

.local-breadcrumb a:hover {
  color: #fff;
}

.local-breadcrumb span {
  color: #94a3b8;
}

/* Stats bar */
.local-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 900px;
  margin: -2.5rem auto 2.5rem;
  position: relative;
  z-index: 5;
  padding: 0 1rem;
}

.local-stat-pill {
  text-align: center;
  padding: 1.25rem 0.75rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--slate-200);
  box-shadow: 0 16px 40px rgba(3, 7, 18, 0.1);
}

.local-stat-pill strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.1;
}

.local-stat-pill span {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-500);
}

.local-stat-pill-accent {
  border-color: rgba(59, 130, 246, 0.35);
  background: linear-gradient(180deg, #fff, #eff6ff);
}

.local-stat-pill-accent strong {
  color: var(--blue-600);
}

/* Search */
.local-search-wrap {
  max-width: 480px;
  margin: 0 auto 2rem;
}

.local-search-input {
  width: 100%;
  padding: 0.9rem 1.15rem 0.9rem 2.75rem;
  font-size: 1rem;
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='%2364748b' viewBox='0 0 24 24'%3E%3Cpath d='M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 109.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E") 1rem center no-repeat;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.local-search-input:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

/* Content layout */
.local-content-grid {
  display: grid;
  grid-template-columns: 1fr min(300px, 32%);
  gap: 2.5rem;
  align-items: start;
}

.local-main {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}

.local-main p {
  margin-bottom: 1.15rem;
  line-height: 1.8;
  color: var(--navy-700);
  font-size: 1.02rem;
}

.local-main h2 {
  margin: 2.25rem 0 1rem;
  font-size: 1.3rem;
  color: var(--navy-900);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, #ff9933, #3b82f6, #138808) 1;
}

.local-main h2:first-of-type {
  margin-top: 0.5rem;
}

/* Sidebar */
.local-sidebar-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}

.local-sidebar-card-cta {
  border-color: rgba(59, 130, 246, 0.3);
  background: linear-gradient(180deg, #fff 0%, #f0f7ff 100%);
}

.local-sidebar-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.5rem;
}

.local-sidebar-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.btn-block {
  display: flex;
  width: 100%;
  margin-top: 0.65rem;
  justify-content: center;
}

.local-phone-btn {
  color: var(--navy-700) !important;
  border-color: var(--slate-200) !important;
}

.local-sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.local-sidebar-links a {
  display: block;
  padding: 0.45rem 0;
  font-size: 0.88rem;
  font-weight: 500;
  border-bottom: 1px solid var(--slate-200);
}

.local-sidebar-links li:last-child a {
  border-bottom: none;
}

/* FAQ */
.local-faq .faq-item {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  margin-bottom: 0.6rem;
  padding: 0;
  background: #f8fafc;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.local-faq .faq-item[open] {
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: var(--shadow-sm);
  background: #fff;
}

.local-faq summary {
  font-weight: 600;
  cursor: pointer;
  padding: 1rem 1.15rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--navy-900);
}

.local-faq summary::-webkit-details-marker {
  display: none;
}

.local-faq summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--blue-600);
  flex-shrink: 0;
}

.local-faq .faq-item[open] summary::after {
  content: '−';
}

.local-faq .faq-item p {
  padding: 0 1.15rem 1rem;
  margin: 0;
  font-size: 0.92rem;
  color: var(--slate-500);
}

/* Interlink cards */
.local-interlinks {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
}

.section-title-center {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.local-interlink-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.local-interlink-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}

.local-interlink-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.local-interlink-card h2 {
  font-size: 0.95rem;
  margin: 0 0 1rem;
  color: var(--navy-900);
  line-height: 1.4;
}

.local-interlink-card h2 em {
  font-style: normal;
  color: var(--blue-600);
  font-weight: 700;
}

.local-chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.local-chip {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--navy-800);
  background: #f1f5f9;
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  transition: all 0.2s;
}

.local-chip:hover {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: #fff;
  transform: translateY(-1px);
}

.local-chip-service {
  background: #eff6ff;
  border-color: rgba(59, 130, 246, 0.25);
}

.local-explore-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.local-explore-links a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.88rem;
  font-weight: 600;
  border-bottom: 1px solid var(--slate-100);
}

/* District grid */
.local-district-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.local-district-card {
  display: block;
  padding: 1.35rem;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.local-district-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff9933, #3b82f6, #138808);
  opacity: 0;
  transition: opacity 0.25s;
}

.local-district-card:hover::before {
  opacity: 1;
}

.local-district-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(3, 7, 18, 0.12);
  border-color: rgba(59, 130, 246, 0.35);
}

.local-district-card.is-hidden {
  display: none;
}

.local-district-card strong {
  display: block;
  color: var(--navy-900);
  font-size: 1.08rem;
}

.local-district-card span {
  display: block;
  font-size: 0.85rem;
  color: var(--slate-500);
  margin-top: 0.2rem;
}

.local-district-card em {
  display: block;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--blue-600);
  margin-top: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Accordion — district page */
.local-service-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.local-accordion-item {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.local-accordion-item[open] {
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: var(--shadow);
}

.local-accordion-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--navy-900);
}

.local-accordion-item summary::-webkit-details-marker {
  display: none;
}

.local-accordion-title {
  font-size: 1.05rem;
}

.local-accordion-meta {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue-600);
  background: #eff6ff;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

.local-accordion-body {
  padding: 0 1.35rem 1.35rem;
  border-top: 1px solid var(--slate-100);
}

.local-accordion-intro {
  margin: 1rem 0;
  font-size: 0.88rem;
}

.local-accordion-intro a {
  font-weight: 700;
}

/* Service pills row — district hub */
.local-service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.local-service-pill {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--slate-200);
  color: var(--navy-800);
  text-decoration: none;
  transition: all 0.2s;
}

.local-service-pill:hover,
.local-service-pill.is-active {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: #fff;
}

/* Hub blocks */
.local-hub-quick {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.local-hub-block {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.local-hub-block h3 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
}

.local-hub-block h3 a {
  color: var(--navy-900);
}

/* Telangana CTA on services page */
.local-telangana-cta {
  padding: 3rem 0;
  background: linear-gradient(135deg, #eff6ff 0%, #fff8f0 50%, #f0fdf4 100%);
}

.local-telangana-cta .premium-panel {
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  background: #fff;
  box-shadow: var(--shadow);
}

/* Section heads on local pages */
.page-local .section-desc {
  color: var(--slate-500);
  margin: -0.5rem 0 1.25rem;
  font-size: 0.95rem;
}

.page-local .section > .container > h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin-bottom: 1.25rem;
  color: var(--navy-900);
}

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

.local-link-list a {
  font-size: 0.88rem;
  font-weight: 500;
}

.local-link-list-columns {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.4rem 1.25rem;
}

.local-cta-polish .cta-box {
  background: linear-gradient(135deg, #1e3a5f, #030712);
  border: 1px solid rgba(34, 211, 238, 0.2);
}

@media (max-width: 900px) {
  .local-stats-bar {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -1.5rem;
  }
  .local-content-grid {
    grid-template-columns: 1fr;
  }
  .local-sidebar {
    order: -1;
  }
}

@media (max-width: 576px) {
  .local-stats-bar {
    grid-template-columns: 1fr 1fr;
  }
  .local-hero .hero-actions .btn {
    width: 100%;
  }
}

/* Hero background image */
.local-hero--bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--local-hero-bg, none);
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  filter: saturate(1.1);
  pointer-events: none;
}
.local-hero--bg .container {
  position: relative;
  z-index: 2;
}

/* District search */
.local-search-wrap {
  position: relative;
  max-width: 420px;
  margin: 0 auto 1.5rem;
}
.local-search-count {
  text-align: center;
  font-size: 0.85rem;
  color: var(--slate-500);
  margin: -0.75rem 0 1.25rem;
}
.local-search-count.is-empty {
  color: #dc2626;
}
.local-district-card.is-hidden {
  display: none !important;
}

/* FAQ polish */
.local-faq .faq-item {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  margin-bottom: 0.5rem;
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}
.local-faq .faq-item[open] {
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.1);
}
.local-faq .faq-item summary {
  padding: 1rem 1.15rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.local-faq .faq-item summary::-webkit-details-marker {
  display: none;
}
.local-faq .faq-item p {
  padding: 0 1.15rem 1rem;
  margin: 0;
  color: var(--slate-500);
  line-height: 1.65;
}

/* Sticky local nav */
.local-sticky-nav {
  position: fixed;
  bottom: 5.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 998;
  display: flex;
  gap: 0.35rem;
  padding: 0.4rem;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.local-sticky-nav.is-visible {
  transform: translateX(-50%) translateY(0);
}
.local-sticky-nav-item {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-300);
  text-decoration: none;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.local-sticky-nav-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.local-sticky-nav-primary {
  background: var(--gradient-brand);
  color: #fff !important;
}
.local-sticky-nav-primary:hover {
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
}

/* Sidebar glow */
.local-sidebar-card-cta {
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.15);
}

@media (prefers-reduced-motion: reduce) {
  .local-district-card:hover,
  .local-interlink-card:hover,
  .local-chip:hover {
    transform: none;
  }
  .local-sticky-nav {
    transition: none;
  }
}
