/* ==========================================================================
   FibreHK 光纖通 - Complete Stylesheet
   Premium tech aesthetic with dark hero, light content sections
   ========================================================================== */

/* ==========================================================================
   0. CSS Reset & Base
   ========================================================================== */

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

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

body {
  font-family: 'Inter', 'Noto Sans TC', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1e293b;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg {
  max-width: 100%;
  display: inline-block;
  vertical-align: middle;
}

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

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  font-weight: 700;
}

/* ==========================================================================
   1. Design Tokens
   ========================================================================== */

:root {
  --color-slate-900: #0f172a;
  --color-slate-800: #1e293b;
  --color-slate-700: #334155;
  --color-slate-600: #475569;
  --color-slate-500: #64748b;
  --color-slate-400: #94a3b8;
  --color-slate-300: #cbd5e1;
  --color-slate-200: #e2e8f0;
  --color-slate-100: #f1f5f9;
  --color-slate-50: #f8fafc;

  --color-indigo-950: #1e1b4b;
  --color-indigo-500: #6366f1;
  --color-violet-500: #8b5cf6;
  --color-pink-500: #ec4899;
  --color-cyan-500: #06b6d4;
  --color-green-whatsapp: #25d366;
  --color-green-whatsapp-hover: #20bd5a;
  --color-emerald-500: #10b981;

  --gradient-accent: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
  --gradient-dark: linear-gradient(135deg, #0f172a, #1e1b4b);
  --gradient-hero: linear-gradient(-45deg, #0f172a, #1e1b4b, #312e81, #1e293b);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;
}

/* ==========================================================================
   2. Layout
   ========================================================================== */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

/* ==========================================================================
   3. Utility Classes
   ========================================================================== */

/* Gradient Text */
.gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glassmorphism Card */
.glass-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
}

/* Title Accent (underline decoration) */
.title-accent {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gradient-accent);
  margin: 0.75rem auto 0;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   4. Focus Styles
   ========================================================================== */

*:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
}

/* ==========================================================================
   5. Header (.site-header)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled,
.site-header.header-scrolled {
  background: rgba(15, 23, 42, 0.98);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

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

/* Logo */
.header-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: #f8fafc;
}

.header-logo-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.header-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.header-logo-text .gradient-text {
  font-size: 1.125rem;
  font-weight: 700;
}

.header-logo-sub {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
}

/* Navigation */
.header-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-accent);
  border-radius: 1px;
}

/* Header Actions */
.header-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.header-phone:hover {
  color: #ffffff;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.lang-switcher button {
  padding: 0.375rem 0.75rem;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-switcher button.active {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.lang-switcher button:hover:not(.active) {
  color: rgba(255, 255, 255, 0.9);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: transparent;
  border: none;
  color: #f8fafc;
  padding: 0.25rem;
  cursor: pointer;
  width: 36px;
  height: 36px;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: all 0.3s ease;
  margin: 3px 0;
  border-radius: 1px;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  padding: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-height: calc(100vh - 64px);
  overflow-y: auto;
}

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

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
}

.mobile-menu-nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  padding: 0.875rem 0;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color 0.2s ease;
}

.mobile-menu-nav a:hover {
  color: #ffffff;
}

.mobile-lang-switcher {
  margin-top: 1rem;
}

/* ==========================================================================
   6. Hero Section (.hero)
   ========================================================================== */

.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
}

.hero-short {
  min-height: 40vh;
}

/* Animated gradient background */
.hero-bg-animated {
  background: linear-gradient(-45deg, #0f172a, #1e1b4b, #312e81, #1e293b);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

/* Particle canvas */
#particle-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Floating SVG decorations */
.hero-float {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  opacity: 0.6;
}

.hero-float-1 {
  top: 15%;
  left: 10%;
  animation: float 8s ease-in-out infinite;
}

.hero-float-2 {
  top: 60%;
  right: 15%;
  animation: float 10s ease-in-out infinite 1s;
}

.hero-float-3 {
  bottom: 20%;
  left: 25%;
  animation: float 12s ease-in-out infinite 2s;
}

/* Decorative lines (district/building pages) */
.hero-deco-line {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  opacity: 0.5;
}

.hero-deco-line-1 {
  top: 30%;
  left: 5%;
  animation: float 10s ease-in-out infinite;
}

.hero-deco-line-2 {
  bottom: 25%;
  right: 10%;
  animation: float 12s ease-in-out infinite 2s;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 6rem 0 4rem;
  width: 100%;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #ffffff;
}

.hero-title-sm {
  font-size: 2.25rem;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}

.hero-subtitle-secondary {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

/* Hero Badges */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: #ffffff;
  font-weight: 500;
}

/* Hero Search */
.hero-search {
  max-width: 600px;
  margin: 0 auto;
  padding: 0.5rem;
}

.search-wrapper {
  display: flex;
  align-items: center;
  position: relative;
}

.search-icon {
  position: absolute;
  left: 1rem;
  color: rgba(255, 255, 255, 0.5);
  z-index: 2;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 0.875rem 1rem 0.875rem 3rem;
  border: none;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  font-family: inherit;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.search-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3), 0 0 20px rgba(99, 102, 241, 0.15);
  background: rgba(255, 255, 255, 0.15);
}

/* Light bg search input override */
.filter-bar .search-input,
.district-search-input {
  background: #ffffff;
  color: #1e293b;
  border: 1px solid #e2e8f0;
}

.filter-bar .search-input::placeholder,
.district-search-input::placeholder {
  color: #94a3b8;
}

.filter-bar .search-icon,
.district-search-wrapper .search-icon {
  color: #94a3b8;
}

.filter-bar .search-input:focus,
.district-search-input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

/* Search Button (inside hero) */
.search-btn {
  position: absolute;
  right: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--gradient-accent);
  color: #ffffff;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.search-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Search Results Dropdown */
.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 400px;
  overflow-y: auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  z-index: 100;
  display: none;
  margin-top: 0.5rem;
  border: 1px solid #e2e8f0;
}

.search-results.open {
  display: block;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  text-decoration: none;
  color: #1e293b;
  transition: background 0.15s ease;
}

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

.search-result-item:hover {
  background: #f1f5f9;
}

.search-result-item.no-results {
  cursor: default;
  color: #94a3b8;
  justify-content: center;
}

.result-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.result-text {
  flex: 1;
  min-width: 0;
}

.result-name {
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.result-address {
  font-size: 0.8rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.result-arrow {
  flex-shrink: 0;
  color: #94a3b8;
  display: flex;
  align-items: center;
}

/* Hero CTA Group (building page) */
.hero-cta-group {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* ==========================================================================
   7. Wave Separator
   ========================================================================== */

.wave-separator {
  position: relative;
  height: 80px;
  overflow: hidden;
  margin-top: -1px;
  background: transparent;
}

.wave-separator svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* ==========================================================================
   8. Sections
   ========================================================================== */

.section {
  padding: 5rem 0;
}

.section-light {
  background: #f8fafc;
}

.section-dark {
  background: var(--gradient-dark);
  color: #ffffff;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
  position: relative;
}

.section-dark .section-title {
  color: #ffffff;
}

.section-subtitle {
  color: #64748b;
  margin-top: 0.5rem;
  font-size: 1rem;
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.section-cta {
  text-align: center;
  margin-top: 2rem;
}

/* ==========================================================================
   9. Plan Cards
   ========================================================================== */

.plan-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.plan-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
  position: relative;
  display: flex;
  flex-direction: column;
}

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

/* Popular plan card */
.plan-card.popular {
  border-color: #6366f1;
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.2), var(--shadow-md);
}

.plan-card-popular {
  border-color: #6366f1;
  position: relative;
}

/* Popular ribbon */
.plan-card-ribbon,
.popular-ribbon {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--gradient-accent);
  color: #ffffff;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  z-index: 2;
}

/* Accent bar at top */
.plan-card-accent {
  height: 3px;
  width: 100%;
}

/* Provider */
.plan-card-header,
.plan-card-provider {
  padding: 1.25rem 1.25rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.plan-provider-tag,
.plan-card-provider-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: #1e293b;
}

.plan-provider-dot,
.plan-card-provider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

/* Speed */
.plan-card-speed {
  padding: 0.75rem 1.25rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.plan-speed,
.plan-card-speed-value {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.plan-card-speed-label {
  font-size: 0.8rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Speed badges */
.speed-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  background: #f1f5f9;
}

.speed-badge.speed-100m,
.speed-badge.speed-200m,
.speed-badge.tier-basic {
  background: #f1f5f9;
  color: #64748b;
}

.speed-badge.speed-500m,
.speed-badge.tier-standard {
  background: #dbeafe;
  color: #2563eb;
}

.speed-badge.speed-1000m,
.speed-badge.tier-fast {
  background: #d1fae5;
  color: #059669;
}

.speed-badge.speed-2000m,
.speed-badge.tier-premium {
  background: #ede9fe;
  color: #7c3aed;
}

.speed-badge.speed-2500m,
.speed-badge.speed-2-5g,
.speed-badge.tier-ultra {
  background: #fce7f3;
  color: #db2777;
}

/* Price */
.plan-card-price,
.plan-price {
  padding: 0.75rem 1.25rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.125rem;
}

.plan-card-price-currency,
.plan-price-currency {
  font-size: 0.875rem;
  font-weight: 400;
  color: #64748b;
}

.plan-card-price-amount {
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
}

.plan-card-price-period,
.plan-price-period {
  font-size: 0.875rem;
  color: #64748b;
}

/* Contract */
.plan-card-contract,
.plan-contract {
  font-size: 0.875rem;
  color: #64748b;
  padding: 0.25rem 1.25rem 0;
}

/* Promo badge */
.plan-card-promo,
.plan-promo {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: #fff7ed;
  color: #ea580c;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  margin: 0.75rem 1.25rem 0;
}

/* Features list */
.plan-card-features,
.plan-features {
  list-style: none;
  padding: 0.75rem 1.25rem;
  margin: 0;
  flex: 1;
}

.plan-card-features li,
.plan-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0;
  font-size: 0.875rem;
  color: #475569;
}

.plan-card-features li svg,
.plan-feature svg {
  flex-shrink: 0;
  color: #10b981;
}

/* Card footer / Actions */
.plan-card-footer,
.plan-card-actions {
  padding: 0 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
}

/* CTA WhatsApp */
.plan-cta-whatsapp {
  background: #25d366;
  color: #ffffff;
  border: none;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.plan-cta-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

/* CTA Call */
.plan-cta-call {
  background: #f1f5f9;
  color: #475569;
  border: none;
  padding: 0.625rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.875rem;
  cursor: pointer;
}

.plan-cta-call:hover {
  background: #e2e8f0;
}

/* ==========================================================================
   10. Stats Section
   ========================================================================== */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.stat-card,
.stat-box {
  text-align: center;
  padding: 2rem;
}

.stat-icon {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-number,
.stat-value {
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.stat-suffix {
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}

.stat-satisfaction {
  -webkit-text-fill-color: initial;
  color: #f59e0b;
}

.stat-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.5rem;
}

.stats-section {
  background: var(--gradient-dark);
  color: #ffffff;
}

/* ==========================================================================
   11. District Section
   ========================================================================== */

/* Region Tabs */
.region-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  background: #f1f5f9;
  padding: 0.25rem;
  border-radius: var(--radius-md);
  width: fit-content;
}

.region-tab {
  padding: 0.5rem 1.25rem;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: #64748b;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.region-tab.active {
  background: #ffffff;
  color: #1e293b;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.region-tab:hover:not(.active) {
  color: #1e293b;
}

.region-tab-indicator {
  display: none;
}

/* Region Groups */
.region-group {
  margin-bottom: 2rem;
}

.region-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #475569;
}

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

/* District Card */
.district-card {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid #e2e8f0;
  text-decoration: none;
  color: #1e293b;
  transition: all 0.3s ease;
  cursor: pointer;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

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

.district-card-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.district-card:hover .district-card-gradient {
  transform: scaleX(1);
}

.district-card-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.district-card-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.district-card-info {
  flex: 1;
  min-width: 0;
}

.district-card-name {
  font-weight: 600;
  font-size: 1rem;
}

.district-card-region {
  font-size: 0.8rem;
  color: #94a3b8;
}

.district-card-count {
  font-size: 0.8rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.district-count-num {
  font-weight: 600;
  color: #6366f1;
}

.district-card-arrow {
  flex-shrink: 0;
  color: #94a3b8;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.district-card:hover .district-card-arrow {
  color: #6366f1;
  transform: translateX(4px);
}

/* ==========================================================================
   12. Features Grid
   ========================================================================== */

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

.feature-card {
  text-align: center;
  padding: 2rem;
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

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

.feature-icon {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1e293b;
}

.feature-desc {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ==========================================================================
   13. FAQ Section
   ========================================================================== */

.faq-section,
.faq-section-wrapper .faq-section {
  max-width: 800px;
  margin: 0 auto;
}

.faq-section-wrapper {
  padding: 3rem 0;
}

.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: #ffffff;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  color: #1e293b;
  gap: 1rem;
  font-family: inherit;
  transition: background 0.15s ease;
}

.faq-question:hover {
  background: #f8fafc;
}

.faq-question-text {
  flex: 1;
}

.faq-chevron,
.faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  color: #94a3b8;
}

.faq-question[aria-expanded="true"] .faq-chevron,
.faq-question[aria-expanded="true"] .faq-icon,
.faq-item.open .faq-chevron,
.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer.open,
.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 1.25rem 1.25rem;
}

.faq-answer p {
  color: #475569;
  line-height: 1.7;
  padding: 0 1.25rem 1.25rem;
}

.faq-answer-inner p {
  padding: 0;
}

.isp-hotline-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.isp-hotline-table th {
  background: #f1f5f9;
  text-align: left;
  padding: 0.6rem 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 2px solid #e2e8f0;
}

.isp-hotline-table td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #e2e8f0;
  color: #475569;
}

.isp-hotline-table tr:last-child td {
  border-bottom: none;
}

.isp-hotline-table a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.isp-hotline-table a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   14. Building Cards
   ========================================================================== */

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

.building-card {
  display: block;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid #e2e8f0;
  padding: 1.25rem;
  text-decoration: none;
  color: #1e293b;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.building-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

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

.building-card:hover::before {
  transform: scaleX(1);
}

.building-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.building-card:hover .building-card-accent {
  transform: scaleX(1);
}

.building-card-header {
  margin-bottom: 0.25rem;
}

.building-card-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.building-card-name-secondary {
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 0.5rem;
}

.building-card-address {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.25rem;
}

.building-card-address svg {
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.building-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 0.75rem;
}

.building-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid #f1f5f9;
}

.building-card-price {
  color: #6366f1;
  font-weight: 600;
}

.building-card-link {
  color: #6366f1;
  font-weight: 500;
}

.building-card-arrow {
  color: #6366f1;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8rem;
  transition: all 0.2s ease;
}

.building-card:hover .building-card-arrow {
  transform: translateX(2px);
}

/* ==========================================================================
   15. Building Detail Page
   ========================================================================== */

.building-detail-header {
  padding: 2rem 0;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.building-detail-hero {
  margin-bottom: 1rem;
}

.building-detail-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e293b;
}

.building-detail-subtitle {
  color: #64748b;
  margin-top: 0.25rem;
  font-size: 1rem;
}

.building-detail-address {
  color: #94a3b8;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.building-detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.building-detail-actions,
.building-detail-cta {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* Building Info Grid */
.building-info-section {
  background: #ffffff;
}

.building-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.building-info-item {
  background: #f8fafc;
  padding: 1rem;
  border-radius: var(--radius-md);
}

.building-info-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.building-info-value {
  font-weight: 500;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-green {
  background: #d1fae5;
  color: #059669;
}

.badge-blue {
  background: #dbeafe;
  color: #2563eb;
}

/* Google Map */
.building-map-section {
  background: #ffffff;
}

.building-map-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 40%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-top: 1.5rem;
}

.building-map {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Disclaimer */
.disclaimer-notice {
  margin-top: 1.5rem;
  padding: 0.75rem 1rem;
  background: #fefce8;
  border: 1px solid #fde68a;
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  color: #92400e;
  line-height: 1.5;
}

.disclaimer-notice p {
  margin: 0;
}

.disclaimer-section {
  background: #f8fafc;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.disclaimer-box {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
}

.disclaimer-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.disclaimer-box p {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.7;
  margin: 0 0 0.5rem;
}

.disclaimer-box p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   16. District Page
   ========================================================================== */

.district-header {
  padding: 2rem 0;
}

.district-header-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e293b;
}

.district-header-count {
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

/* Filter bar */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  margin-bottom: 1.5rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  flex-wrap: wrap;
}

.filter-search {
  flex: 1;
  min-width: 200px;
}

.filter-sort-btns {
  display: flex;
  gap: 0.5rem;
}

/* District Controls */
.district-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.district-search-wrapper {
  flex: 1;
  max-width: 400px;
  position: relative;
}

.district-search-input {
  width: 100%;
  padding: 0.625rem 1rem 0.625rem 2.75rem;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  background: #ffffff;
  color: #1e293b;
  font-family: inherit;
  transition: all 0.2s ease;
}

/* Sort Controls */
.sort-controls {
  display: flex;
  gap: 0.5rem;
}

.sort-btn {
  padding: 0.5rem 1rem;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.sort-btn.active {
  background: #6366f1;
  color: #ffffff;
  border-color: #6366f1;
}

.sort-btn:hover:not(.active) {
  border-color: #6366f1;
  color: #6366f1;
}

/* ==========================================================================
   17. Comparison Bar
   ========================================================================== */

.comparison-bar {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.comparison-bar-stats,
.comparison-stats {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.comparison-bar-stat,
.comparison-stat {
  text-align: center;
}

.comparison-bar-stat-value,
.comparison-stat-value {
  font-weight: 700;
  font-size: 1.25rem;
}

.comparison-bar-stat-label,
.comparison-stat-label {
  font-size: 0.75rem;
  opacity: 0.8;
}

/* ==========================================================================
   18. Breadcrumb
   ========================================================================== */

.breadcrumb {
  padding: 1rem 0;
  font-size: 0.875rem;
}

.hero .breadcrumb {
  text-align: left;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Breadcrumb when rendered as <ol> by JS */
ol.breadcrumb-list {
  list-style: none;
}

.breadcrumb-item {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-item a,
.breadcrumb-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-item a:hover,
.breadcrumb-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-sep,
.breadcrumb-separator {
  color: rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
}

.breadcrumb-current {
  color: rgba(255, 255, 255, 0.5);
}

/* Breadcrumb on light background (from JS renderBreadcrumb) */
.building-detail-header .breadcrumb-item a,
.building-detail-header .breadcrumb-link,
.section-light .breadcrumb-item a,
.section-light .breadcrumb-link {
  color: #6366f1;
}

.building-detail-header .breadcrumb-item.active,
.section-light .breadcrumb-item.active,
.section-light .breadcrumb-current {
  color: #64748b;
}

.building-detail-header .breadcrumb-sep,
.section-light .breadcrumb-sep,
.section-light .breadcrumb-separator {
  color: #94a3b8;
}

/* ==========================================================================
   19. Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.2s ease;
  font-family: inherit;
  line-height: 1.4;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #ffffff;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
}

.btn-whatsapp:hover {
  background: #20bd5a;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
}

.btn-outline-light {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

.btn-outline {
  background: transparent;
  color: #475569;
  border: 2px solid #e2e8f0;
}

.btn-outline:hover {
  border-color: #6366f1;
  color: #6366f1;
}

.btn-load-more {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  color: #475569;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
  display: block;
  margin: 2rem auto 0;
  font-family: inherit;
  font-size: 0.9rem;
}

.btn-load-more:hover {
  border-color: #6366f1;
  color: #6366f1;
}

/* ==========================================================================
   20. CTA Bottom Section
   ========================================================================== */

.section-cta-bottom {
  background: var(--gradient-dark);
  color: #ffffff;
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* CTA Floating SVG decorations */
.cta-float {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  opacity: 0.6;
}

.cta-float-1 {
  top: 18%;
  left: 8%;
  animation: float 9s ease-in-out infinite;
}

.cta-float-2 {
  top: 25%;
  right: 10%;
  animation: float 11s ease-in-out infinite 1.5s;
}

.cta-float-3 {
  bottom: 20%;
  left: 65%;
  animation: float 13s ease-in-out infinite 3s;
}

.cta-bottom-content {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-bottom-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.cta-bottom-subtitle {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2rem;
  font-size: 1rem;
}

.cta-bottom-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   20b. Quick Nav
   ========================================================================== */

.quick-nav {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  justify-content: center;
  flex-wrap: wrap;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.quick-nav-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: #64748b;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.quick-nav-item:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.05);
}

/* ==========================================================================
   20c. Share Buttons
   ========================================================================== */

.share-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  background: #f8fafc;
}

.share-label {
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 500;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   20d. Speed Guide
   ========================================================================== */

.speed-guide-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.speed-guide-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.speed-guide-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.1);
}

.speed-guide-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.speed-guide-speed {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.25rem;
}

.speed-guide-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.speed-guide-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.speed-guide-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: #64748b;
}

.speed-guide-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  justify-content: center;
}

/* ==========================================================================
   20e. Price Comparison Table
   ========================================================================== */

.price-compare-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 1.5rem;
}

.price-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 550px;
}

.price-compare-table th {
  background: var(--gradient-dark);
  color: #ffffff;
  text-align: left;
  padding: 0.75rem 1rem;
  font-weight: 600;
  font-size: 0.85rem;
}

.price-compare-table th:first-child {
  border-radius: var(--radius-sm) 0 0 0;
}

.price-compare-table th:last-child {
  border-radius: 0 var(--radius-sm) 0 0;
}

.price-compare-table td {
  padding: 0.6rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  color: #475569;
}

.price-compare-table tr:hover td {
  background: rgba(99, 102, 241, 0.03);
}

.price-compare-provider strong {
  color: var(--text-primary);
}

.price-compare-price {
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
}

.price-compare-price small {
  font-weight: 400;
  font-size: 0.75rem;
  color: #94a3b8;
}

.speed-badge-sm {
  font-size: 0.8rem;
  font-weight: 600;
}

/* ==========================================================================
   20f. Installation Timeline
   ========================================================================== */

.install-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.install-step {
  display: flex;
  gap: 1.25rem;
  position: relative;
}

.install-step-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.install-step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.install-step-line {
  width: 2px;
  flex-grow: 1;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.3), rgba(236, 72, 153, 0.1));
  min-height: 24px;
}

.install-step-content {
  padding-bottom: 1.5rem;
}

.install-step-icon {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.install-step-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.install-step-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
  line-height: 1.5;
}

.install-step-time {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 500;
}

/* ---- Responsive for new sections ---- */

@media (max-width: 768px) {
  .speed-guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-nav {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .share-buttons {
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .speed-guide-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   20g. Services Section
   ========================================================================== */

.services-section {
  background: #ffffff;
}

.services-telecom {
  background: #f8fafc;
}

.service-carousel-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(99, 102, 241, 0.3) transparent;
  margin: 0 -1rem;
  padding: 0 1rem 0.5rem;
}

.service-carousel-wrapper::-webkit-scrollbar {
  height: 6px;
}

.service-carousel-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.service-carousel-wrapper::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.25);
  border-radius: 3px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  min-width: max-content;
}

.service-grid-telecom {
  grid-template-columns: repeat(4, 1fr);
}

.service-card {
  background: #ffffff;
  border: 1px solid rgba(99, 102, 241, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 140px;
}

.services-telecom .service-card {
  background: #ffffff;
  min-width: 160px;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.25);
}

.service-icon {
  display: block;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.service-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}

.service-name-secondary {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.service-card-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-card-actions .btn {
  width: 100%;
  font-size: 0.75rem;
  padding: 0.4rem 0.5rem;
}

@media (min-width: 769px) {
  .service-grid {
    grid-template-columns: repeat(6, 1fr);
    min-width: 0;
  }

  .service-grid-telecom {
    grid-template-columns: repeat(4, 1fr);
  }

  .service-carousel-wrapper {
    overflow-x: visible;
    margin: 0;
    padding: 0;
  }
}

@media (max-width: 768px) {
  .service-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 0.75rem;
  }

  .service-grid-telecom {
    grid-template-columns: repeat(4, 1fr);
  }

  .service-card {
    min-width: 120px;
    padding: 1rem 0.75rem;
  }
}

/* ==========================================================================
   21. Footer
   ========================================================================== */

.site-footer {
  background: linear-gradient(180deg, #0f172a, #1e1b4b);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 0;
}

.footer-wave {
  height: 60px;
  overflow: hidden;
}

.footer-wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding: 3rem 0;
}

.footer-brand {
  margin-bottom: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.footer-logo:hover {
  color: #ffffff;
}

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
}

.footer-links h4 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s ease;
}

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

.footer-links a svg {
  vertical-align: middle;
  margin-right: 0.375rem;
}

.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 0;
  margin-top: 2rem;
}

.footer-disclaimer p {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.7;
  margin: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 2rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: #ffffff;
}

/* ==========================================================================
   22. Floating WhatsApp Button
   ========================================================================== */

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #25d366;
  color: #ffffff;
  padding: 0.875rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  animation: whatsappBounce 0.6s ease 1s both;
}

.whatsapp-float:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  color: #ffffff;
}

.whatsapp-float::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50px;
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: whatsappPulse 2s infinite;
  pointer-events: none;
}

.whatsapp-float-text {
  font-weight: 600;
  font-size: 0.875rem;
  white-space: nowrap;
  display: none;
}

.whatsapp-float.visible {
  opacity: 1;
}

/* ==========================================================================
   23. Plan Filters (Building Page)
   ========================================================================== */

.plan-filters,
.plan-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.plan-filter-btn,
.plan-filter-tab {
  padding: 0.5rem 1rem;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 500;
  color: #475569;
  transition: all 0.2s ease;
  font-family: inherit;
}

.plan-filter-btn.active,
.plan-filter-tab.active {
  background: #6366f1;
  color: #ffffff;
  border-color: #6366f1;
}

.plan-filter-btn:hover:not(.active),
.plan-filter-tab:hover:not(.active) {
  border-color: #6366f1;
  color: #6366f1;
}

/* Plans section */
.plans-section {
  background: #f8fafc;
}

/* ==========================================================================
   24. Nearby Buildings
   ========================================================================== */

.nearby-section {
  margin-top: 3rem;
  padding: 3rem 0;
}

.nearby-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.nearby-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.nearby-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 1rem;
  text-decoration: none;
  color: #1e293b;
  transition: all 0.3s ease;
}

.nearby-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #6366f1;
}

.nearby-card-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nearby-card-content {
  flex: 1;
  min-width: 0;
}

.nearby-card-name {
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nearby-card-address {
  font-size: 0.75rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nearby-card-price {
  font-size: 0.8rem;
  color: #6366f1;
  font-weight: 500;
  margin-top: 0.25rem;
}

.nearby-card-arrow {
  flex-shrink: 0;
  color: #94a3b8;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.nearby-card:hover .nearby-card-arrow {
  color: #6366f1;
  transform: translateX(4px);
}

/* ==========================================================================
   25. Loading & Error States
   ========================================================================== */

.loading-spinner,
.loading-overlay {
  text-align: center;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.spinner {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 3px solid #e2e8f0;
  border-top-color: #6366f1;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.loading-text,
.loading-overlay p {
  margin-top: 1rem;
  color: #64748b;
  font-size: 0.9rem;
}

.empty-state {
  text-align: center;
  padding: 4rem;
  color: #94a3b8;
}

.empty-state svg {
  margin-bottom: 1rem;
}

.empty-state-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #64748b;
}

.empty-state p {
  color: #94a3b8;
  margin-top: 0.5rem;
}

/* Skeleton loading */
.skeleton-card {
  padding: 1.5rem;
}

.skeleton {
  background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
}

.skeleton-heading {
  height: 1.25rem;
  width: 70%;
  margin-bottom: 0.75rem;
}

.skeleton-text {
  height: 0.875rem;
  margin-bottom: 0.5rem;
}

.skeleton-text.medium {
  width: 80%;
}

.skeleton-text.short {
  width: 50%;
}

/* Load More Wrapper */
.load-more-wrapper {
  text-align: center;
  margin: 2rem 0;
}

/* ==========================================================================
   26. Scroll Animations
   ========================================================================== */

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   26b. Blog Styles
   ========================================================================== */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.blog-card-category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6366f1;
  background: rgba(99, 102, 241, 0.1);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  width: fit-content;
}

.blog-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.blog-card-desc {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 0.75rem;
}

.blog-card-date {
  font-size: 0.75rem;
  color: #94a3b8;
}

.blog-article-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.8;
  color: #334155;
}

.blog-article-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(99, 102, 241, 0.15);
}

.blog-article-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1e293b;
  margin: 1.5rem 0 0.75rem;
}

.blog-article-content p {
  margin-bottom: 1rem;
}

.blog-article-content ul,
.blog-article-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.blog-article-content li {
  margin-bottom: 0.5rem;
}

.blog-article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.blog-article-content table th {
  background: #1e293b;
  color: #fff;
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
}

.blog-article-content table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.blog-article-content table tr:hover td {
  background: #f8fafc;
}

.blog-article-content blockquote {
  border-left: 4px solid #6366f1;
  background: rgba(99, 102, 241, 0.05);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: #475569;
}

.blog-article-content .tip-box {
  background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(236,72,153,0.06));
  border: 1px solid rgba(99,102,241,0.15);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.blog-article-content .tip-box strong {
  color: #6366f1;
}

.btn-outline-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border: 1.5px solid #6366f1;
  color: #6366f1;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.btn-outline-primary:hover {
  background: #6366f1;
  color: #fff;
}

/* ==========================================================================
   27. Keyframe Animations
   ========================================================================== */

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-15px) rotate(2deg); }
  66% { transform: translateY(8px) rotate(-1deg); }
}

@keyframes whatsappBounce {
  0% { transform: scale(0) translateY(20px); opacity: 0; }
  60% { transform: scale(1.1) translateY(-5px); opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

@keyframes whatsappPulse {
  0% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ==========================================================================
   28. Responsive Design
   ========================================================================== */

/* ---- Mobile (max-width: 768px) ---- */
@media (max-width: 768px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .hero-title-sm {
    font-size: 1.5rem;
  }

  .hero-content {
    padding: 4rem 0 3rem;
  }

  .hero {
    min-height: 60vh;
  }

  .hero-short {
    min-height: 35vh;
  }

  .header-nav {
    display: none;
  }

  .header-phone {
    display: none;
  }

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

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .stat-number,
  .stat-value {
    font-size: 2.25rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .plan-cards {
    grid-template-columns: 1fr;
  }

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

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

  .building-info-grid {
    grid-template-columns: 1fr;
  }

  .building-map-wrapper {
    padding-bottom: 65%;
  }

  .hero-float,
  .cta-float {
    display: none;
  }

  .comparison-bar {
    flex-direction: column;
    text-align: center;
  }

  .comparison-stats {
    justify-content: center;
  }

  .district-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .district-search-wrapper {
    max-width: 100%;
  }

  .cta-bottom-actions {
    flex-direction: column;
    align-items: center;
  }

  .whatsapp-float-text {
    display: none;
  }

  .section {
    padding: 3rem 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .hero-badges {
    gap: 0.5rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
  }

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

  .region-tabs {
    width: 100%;
    overflow-x: auto;
  }

  .building-detail-title {
    font-size: 1.35rem;
  }

  .sort-controls {
    flex-wrap: wrap;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }

  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .plan-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
  }

  .plan-filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }
}

/* ---- Tablet (769px to 1024px) ---- */
@media (min-width: 769px) and (max-width: 1024px) {
  .plan-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .building-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .district-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

/* ---- Desktop (1025px+) ---- */
@media (min-width: 1025px) {
  .whatsapp-float-text {
    display: inline;
  }
}

/* ==========================================================================
   29. Print Styles
   ========================================================================== */

@media print {
  .site-header,
  .site-footer,
  .whatsapp-float,
  .wave-separator,
  .mobile-menu,
  .mobile-menu-btn,
  .hero-bg-animated,
  #particle-canvas,
  .hero-float,
  .hero-deco-line,
  .cta-float {
    display: none !important;
  }

  .hero {
    min-height: auto;
    background: none;
    color: #1e293b;
  }

  .hero-title,
  .hero-subtitle {
    color: #1e293b;
  }

  body {
    color: #000000;
    background: #ffffff;
  }

  .section {
    padding: 1.5rem 0;
    break-inside: avoid;
  }

  .plan-card,
  .building-card,
  .district-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #cccccc;
  }
}

/* ==========================================================================
   30. Reduced Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-bg-animated {
    animation: none;
    background: #0f172a;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .whatsapp-float {
    animation: none;
  }

  .whatsapp-float::after {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ==========================================================================
   31. Selection & Scrollbar
   ========================================================================== */

::selection {
  background: rgba(99, 102, 241, 0.2);
  color: #1e293b;
}

/* Custom scrollbar for WebKit */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Search results scrollbar */
.search-results::-webkit-scrollbar {
  width: 6px;
}

.search-results::-webkit-scrollbar-thumb {
  background: #e2e8f0;
  border-radius: 3px;
}

.search-results::-webkit-scrollbar-thumb:hover {
  background: #cbd5e1;
}
