/* ============================================
   HK Broadband Compare - Main Stylesheet
   Inspired by booga.com.hk design language
   ============================================ */

/* CSS Variables */
:root {
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --primary-light: #DBEAFE;
  --secondary: #0F172A;
  --text: #1E293B;
  --text-secondary: #64748B;
  --text-light: #94A3B8;
  --border: #E2E8F0;
  --border-light: #F1F5F9;
  --bg: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-dark: #0F172A;
  --success: #10B981;
  --whatsapp: #25D366;
  --whatsapp-dark: #128C7E;
  --danger: #EF4444;
  --warning: #F59E0B;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --font: 'Inter', 'Noto Sans HK', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: 0.2s ease;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

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

ul {
  list-style: none;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--secondary);
}

.logo-text {
  letter-spacing: -0.02em;
}

.logo-dot {
  color: var(--primary);
}

.nav-desktop {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  padding: 4px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 20px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.mobile-menu.active {
  display: flex;
}

.mobile-nav-link {
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border-light);
}

.mobile-menu-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  white-space: nowrap;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-primary-sm {
  background: var(--primary);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  transition: all var(--transition);
}

.btn-primary-sm:hover {
  background: var(--primary-dark);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}

.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp-sm {
  background: var(--whatsapp);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  transition: all var(--transition);
}

.btn-whatsapp-sm:hover {
  background: var(--whatsapp-dark);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary-light);
}

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

.btn-white:hover {
  background: #F0F4FF;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-whatsapp-white {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-whatsapp-white:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

.btn-block {
  width: 100%;
}

.btn-search {
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 0.95rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  padding: 140px 0 80px;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 50%, #2563EB 100%);
  z-index: -2;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: -1;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.hero-title-line1, .hero-title-line2 {
  display: block;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  margin-bottom: 12px;
}

.hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* Search Box */
.search-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-xl);
  max-width: 900px;
  margin: 0 auto;
}

.search-row {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.search-field {
  flex: 1;
  min-width: 160px;
  position: relative;
}

.search-field-address {
  flex: 2;
  min-width: 240px;
}

.search-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.search-select, .search-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg-secondary);
  transition: border-color var(--transition);
  outline: none;
}

.search-select:focus, .search-input:focus {
  border-color: var(--primary);
  background: #fff;
}

.search-suggestions {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 100;
  max-height: 240px;
  overflow-y: auto;
  margin-top: 4px;
}

.search-suggestions.active {
  display: block;
}

.suggestion-item {
  padding: 10px 14px;
  cursor: pointer;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border-light);
  transition: background var(--transition);
}

.suggestion-item:hover {
  background: var(--primary-light);
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-chi {
  font-weight: 500;
}

.suggestion-eng {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
  padding: 64px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  text-align: center;
  padding: 32px 24px;
}

.feature-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.5;
}

.feature-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* ============================================
   PLANS SECTION
   ============================================ */
.plans-section {
  padding: 80px 0;
  background: var(--bg-secondary);
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--text-secondary);
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* Provider Filter */
.provider-filter {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.provider-filter-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-right: 4px;
}

.provider-chip {
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-secondary);
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.provider-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.provider-chip.active {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
}

/* Plans Grid */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

/* Plan Card */
.plan-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.plan-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: var(--primary);
}

.plan-provider {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 0;
}

.provider-badge {
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.provider-badge.hkbn {
  background: #E8F5E9;
  color: #2E7D32;
}

.provider-badge.netvigator {
  background: #E3F2FD;
  color: #1565C0;
}

.provider-badge.hgc {
  background: #FFF3E0;
  color: #E65100;
}

.provider-badge.cmhk {
  background: #FCE4EC;
  color: #C62828;
}

.provider-badge.smartone {
  background: #F3E5F5;
  color: #6A1B9A;
}

.provider-badge.icable {
  background: #E0F7FA;
  color: #00695C;
}

.plan-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--primary-light);
  color: var(--primary);
}

.plan-tag.premium {
  background: #FEF3C7;
  color: #D97706;
}

.plan-tag.value {
  background: #DCFCE7;
  color: #16A34A;
}

.plan-details {
  padding: 16px 20px;
}

.plan-speed {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 16px;
}

.speed-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
}

.speed-unit {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.plan-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.plan-info-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.info-label {
  font-size: 0.72rem;
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.info-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.info-value.price {
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 800;
}

.price-period {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.info-value.free {
  color: var(--success);
}

/* Gifts */
.plan-gifts {
  border-top: 1px solid var(--border-light);
}

.gifts-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.gifts-header:hover {
  color: var(--primary);
}

.gifts-arrow {
  transition: transform var(--transition);
}

.gifts-header.open .gifts-arrow {
  transform: rotate(180deg);
}

.gifts-content {
  display: none;
  padding: 0 20px 16px;
}

.gifts-content.open {
  display: block;
}

.gifts-content ul {
  list-style: none;
}

.gifts-content li {
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding: 4px 0;
  padding-left: 18px;
  position: relative;
}

.gifts-content li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

/* Plan Actions */
.plan-actions {
  display: flex;
  gap: 10px;
  padding: 16px 20px;
  border-top: 1px solid var(--border-light);
}

.plan-actions .btn {
  flex: 1;
  padding: 10px 8px;
  font-size: 0.85rem;
}

/* Plans CTA */
.plans-cta {
  text-align: center;
  margin-top: 48px;
  padding: 40px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.plans-cta-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.7;
}

.plans-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   DISTRICTS SECTION
   ============================================ */
.districts-section {
  padding: 80px 0;
  background: var(--bg);
}

.districts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.district-card {
  display: block;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  transition: all var(--transition);
}

.district-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.district-region {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.district-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 10px;
}

.district-name span {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: 2px;
}

.district-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.district-count {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ============================================
   PROVIDERS SECTION
   ============================================ */
.providers-section {
  padding: 80px 0;
  background: var(--bg-secondary);
}

.providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 20px;
}

.provider-card {
  text-align: center;
  padding: 28px 16px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.provider-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.provider-logo-box {
  width: 80px;
  height: 80px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
}

.hkbn-bg { background: linear-gradient(135deg, #4CAF50, #2E7D32); }
.netvigator-bg { background: linear-gradient(135deg, #42A5F5, #1565C0); }
.hgc-bg { background: linear-gradient(135deg, #FF9800, #E65100); }
.cmhk-bg { background: linear-gradient(135deg, #EF5350, #C62828); }
.smartone-bg { background: linear-gradient(135deg, #AB47BC, #6A1B9A); }
.icable-bg { background: linear-gradient(135deg, #26C6DA, #00695C); }

.provider-card h3 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, #1E3A5F 0%, #2563EB 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M20 20.5V18H0v-2h20v-2l4 3.5-4 3z'/%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.4;
}

.cta-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-phone-display {
  margin-top: 24px;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.03em;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-dark);
  padding: 56px 0 32px;
  color: rgba(255,255,255,0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 14px;
}

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.85rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
}

.footer-data-attr {
  margin-top: 8px;
  font-size: 0.75rem;
  opacity: 0.5;
}

/* ============================================
   FLOATING BUTTONS
   ============================================ */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37,211,102,0.4);
  z-index: 999;
  transition: all var(--transition);
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(37,211,102,0.5);
}

.floating-call {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 56px;
  height: 56px;
  background: var(--primary);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37,99,235,0.4);
  z-index: 999;
  transition: all var(--transition);
}

.floating-call:hover {
  transform: scale(1.1);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: 8px;
}

.lang-btn {
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
  font-family: var(--font);
  transition: all var(--transition);
}

.lang-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.lang-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .nav-desktop {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 120px 0 60px;
    min-height: auto;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-desc {
    font-size: 0.88rem;
  }
  .search-row {
    flex-direction: column;
  }
  .search-field {
    min-width: 100%;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .feature-card {
    padding: 24px 16px;
  }
  .plans-grid {
    grid-template-columns: 1fr;
  }
  .districts-grid {
    grid-template-columns: 1fr 1fr;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .cta-title {
    font-size: 1.5rem;
  }
  .cta-phone-display {
    font-size: 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .floating-call {
    display: flex;
  }
  .btn-whatsapp-sm, .btn-primary-sm {
    font-size: 0;
    padding: 8px;
    gap: 0;
  }
  .btn-whatsapp-sm svg, .btn-primary-sm svg {
    margin: 0;
  }
  .providers-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .plans-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .plans-cta-buttons .btn {
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .districts-grid {
    grid-template-columns: 1fr;
  }
  .providers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-title {
    font-size: 1.6rem;
  }
  .search-box {
    padding: 16px;
  }
}

/* ============================================
   DISTRICT PAGE STYLES
   ============================================ */
.page-header {
  padding: 100px 0 40px;
  background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 100%);
  color: #fff;
}

.page-header .breadcrumb {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}

.page-header .breadcrumb a {
  color: rgba(255,255,255,0.8);
  transition: color var(--transition);
}

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

.page-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.page-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
}

.address-list-section {
  padding: 48px 0 80px;
}

.address-search-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}

.address-search-bar input {
  flex: 1;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9rem;
  outline: none;
}

.address-search-bar input:focus {
  border-color: var(--primary);
}

.street-group {
  margin-bottom: 24px;
}

.street-name {
  font-size: 1rem;
  font-weight: 700;
  padding: 10px 0;
  border-bottom: 2px solid var(--primary);
  margin-bottom: 8px;
  color: var(--secondary);
}

.street-name span {
  font-weight: 400;
  color: var(--text-secondary);
  margin-left: 8px;
}

.building-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 8px;
}

.building-item {
  padding: 10px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition);
}

.building-item:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.building-item a {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.8rem;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.pagination button {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  font-family: var(--font);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition);
}

.pagination button.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.pagination button:hover:not(.active) {
  border-color: var(--primary);
  color: var(--primary);
}

/* No results */
.no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-secondary);
}

.no-results h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text);
}

/* Loading */
.loading {
  text-align: center;
  padding: 40px;
  color: var(--text-light);
}

.loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 12px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
