:root {
  --navy: #070b1a;
  --navy-card: #0f162e;
  --blue: #0052ff;
  --blue-glow: rgba(0, 82, 255, 0.38);
  --cyan: #00d4ff;
  --cyan-soft: rgba(0, 212, 255, 0.14);
  --whatsapp: #16a34a;
  --whatsapp-hover: #15803d;
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;
  --gold: #fbbf24;
  --radius-xl: 26px;
  --radius-lg: 18px;
  --radius-pill: 999px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.68;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 84px;
}
@media (min-width: 900px) {
  body { padding-bottom: 0; }
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  color: var(--navy);
  line-height: 1.14;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
}
h1 { font-size: clamp(32px, 5vw, 58px); font-weight: 700; }
h2 { font-size: clamp(26px, 3.8vw, 42px); font-weight: 700; }
h3 { font-size: 21px; font-weight: 700; }
p { margin: 0 0 16px; color: var(--muted); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* Keyframe Animations */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.55); }
  70% { box-shadow: 0 0 0 14px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}
@keyframes orbMove {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(35px, -25px) scale(1.12); }
}
@keyframes marqueeSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile-First Touch-Friendly Buttons (54px Min Height) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 16px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
  text-align: center;
  line-height: 1.2;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue), #003ecc);
  color: #fff;
  box-shadow: 0 10px 24px var(--blue-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 82, 255, 0.45); }
.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 10px 24px rgba(22, 163, 74, 0.32);
}
.btn-whatsapp:hover { background: var(--whatsapp-hover); transform: translateY(-2px); }
.btn-pulse { animation: pulseGlow 2.4s infinite; }
.btn-cyan {
  background: var(--cyan);
  color: var(--navy);
  font-weight: 700;
}
.btn-cyan:hover { background: #38bdf8; transform: translateY(-2px); }
.btn-outline {
  background: #fff;
  color: var(--navy);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn-outline-light {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.14); border-color: var(--cyan); }

/* Top Trust Bar */
.top-bar {
  background: #040711;
  color: #cbd5e1;
  font-size: 13px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  color: #fff;
  font-weight: 600;
}
.rating-pill .stars { color: var(--gold); letter-spacing: 1px; }

/* Sticky Glass Header & WP Appearance Menu */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.admin-bar .site-header { top: 32px; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 16px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
}
.brand-badge {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}
.brand-sub {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 24px;
}
.primary-nav li { position: relative; }
.primary-nav a {
  display: block;
  padding: 10px 4px;
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
  transition: color 0.2s;
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a { color: var(--blue); }

.primary-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 20px 44px rgba(7, 11, 26, 0.14);
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  z-index: 1000;
}
.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu { display: flex; }
.primary-nav .sub-menu a { padding: 11px 14px; border-radius: 10px; font-size: 14px; }
.primary-nav .sub-menu a:hover { background: var(--bg); color: var(--blue); }

.header-ctas { display: flex; align-items: center; gap: 10px; }
.header-ctas .btn { min-height: 48px; padding: 10px 18px; font-size: 14px; }

.mobile-menu-btn {
  display: none;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

@media (max-width: 1060px) { .header-ctas .btn-text-hide { display: none; } }
@media (max-width: 899px) {
  .mobile-menu-btn { display: flex; }
  .header-ctas { display: none; }
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 16px 20px 24px;
    box-shadow: 0 20px 44px rgba(7, 11, 26, 0.16);
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 6px; }
  .primary-nav a { padding: 14px 16px; border-radius: 12px; background: var(--bg); font-size: 16px; }
  .primary-nav .sub-menu {
    display: flex;
    position: static;
    box-shadow: none;
    border: 0;
    padding: 6px 0 6px 16px;
    background: transparent;
  }
  .primary-nav .sub-menu a { background: transparent; padding: 11px 12px; }
}

/* UNIQUE ANIMATED DARK-NAVY HERO SECTION */
.hero-animated {
  position: relative;
  background: radial-gradient(circle at 80% 20%, #0f2557 0%, var(--navy) 58%, #040711 100%);
  color: #fff;
  padding: 58px 0 80px;
  overflow: hidden;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: orbMove 9s ease-in-out infinite alternate;
}
.orb-1 { width: 380px; height: 380px; background: rgba(0, 82, 255, 0.32); top: -90px; right: -60px; }
.orb-2 { width: 300px; height: 300px; background: rgba(0, 212, 255, 0.22); bottom: -80px; left: -60px; animation-delay: 2s; }

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-animated { padding: 36px 0 60px; }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 212, 255, 0.14);
  border: 1px solid rgba(0, 212, 255, 0.32);
  color: var(--cyan);
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
  animation: fadeUp 0.6s ease both;
}
.hero-animated h1 {
  color: #fff;
  margin-bottom: 18px;
  animation: fadeUp 0.7s 0.1s ease both;
}
.hero-animated h1 span {
  background: linear-gradient(90deg, var(--cyan), #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-lead {
  color: #cbd5e1;
  font-size: 18px;
  max-width: 580px;
  animation: fadeUp 0.7s 0.2s ease both;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  animation: fadeUp 0.7s 0.3s ease both;
}
@media (max-width: 600px) {
  .hero-actions .btn { width: 100%; }
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  animation: fadeUp 0.7s 0.4s ease both;
}
.hero-stat strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  color: var(--cyan);
}
.hero-stat span { font-size: 13px; color: #94a3b8; }

/* Animated Interactive Before/After Card */
.ba-showcase {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  border-radius: 28px;
  padding: 18px;
  animation: floatSlow 5.5s ease-in-out infinite;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
}
.ba-viewport {
  position: relative;
  height: 330px;
  border-radius: 18px;
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
}
.ba-after, .ba-before {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}
.ba-after { background: linear-gradient(135deg, #0284c7 0%, #0052ff 100%); }
.ba-before { background: linear-gradient(135deg, #334155 0%, #0f172a 100%); clip-path: inset(0 50% 0 0); }
.ba-tag {
  position: absolute;
  top: 16px;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
.ba-before .ba-tag { left: 16px; background: rgba(0, 0, 0, 0.55); color: #e2e8f0; }
.ba-after .ba-tag { right: 16px; background: #fff; color: var(--blue); }
.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #fff;
  transform: translateX(-50%);
  pointer-events: none;
}
.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
}

/* Animated Marquee Ticker */
.ticker-bar {
  background: var(--blue);
  color: #fff;
  padding: 14px 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.ticker-track {
  display: flex;
  gap: 44px;
  width: max-content;
  animation: marqueeSlide 24s linear infinite;
}
.ticker-track span {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker-track i { color: var(--cyan); font-style: normal; margin-left: 44px; }

/* Sections & Cards */
.section { padding: 76px 0; }
.section-white { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-dark { background: var(--navy); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #cbd5e1; }
.section-head { max-width: 740px; margin-bottom: 40px; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  background: rgba(0, 82, 255, 0.09);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}
.section-dark .eyebrow { background: rgba(0, 212, 255, 0.14); color: var(--cyan); }

/* 3-Column Feature / Authority Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}
.info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(7, 11, 26, 0.08);
  border-color: var(--blue);
}
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

/* Quality Comparison Table */
.quality-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: #fff;
}
.quality-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}
.quality-table th, .quality-table td {
  padding: 16px 22px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.quality-table th {
  background: var(--navy);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
}
.quality-table td.good { color: #047857; font-weight: 600; }
.quality-table td.bad { color: #b91c1c; }

/* Major Lahore Areas Interactive Explorer (Strong Local SEO) */
.areas-explorer {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 860px) {
  .areas-explorer { grid-template-columns: 1fr; }
}
.area-pills {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (max-width: 860px) {
  .area-pills {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
}
.area-btn {
  min-height: 50px;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.area-btn:hover { border-color: var(--blue); color: var(--blue); }
.area-btn.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  box-shadow: 0 8px 20px rgba(7, 11, 26, 0.16);
}
.area-detail-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 16px 36px rgba(7, 11, 26, 0.05);
}
@media (max-width: 600px) { .area-detail-card { padding: 24px 20px; } }
.sector-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 24px;
}
.sector-tag {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--navy);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
}

/* Interactive PKR Quote Calculator */
.calc-box {
  background: linear-gradient(135deg, var(--navy) 0%, #0f1e45 100%);
  color: #fff;
  border-radius: 28px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}
@media (max-width: 860px) { .calc-box { grid-template-columns: 1fr; padding: 24px; } }
.calc-box h2, .calc-box h3 { color: #fff; }
.calc-box p { color: #cbd5e1; }
.calc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 18px;
  border-radius: 16px;
  margin-bottom: 12px;
  gap: 12px;
}
.stepper { display: flex; align-items: center; gap: 12px; }
.step-btn {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
}
.step-btn:hover { background: var(--blue); border-color: var(--blue); }
.calc-summary {
  background: #fff;
  color: var(--navy);
  border-radius: 22px;
  padding: 28px;
}
.calc-summary h3 { color: var(--navy); }
.calc-summary p { color: var(--muted); }
.calc-total {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--blue);
  margin: 8px 0 18px;
}
.calc-select {
  width: 100%;
  min-height: 50px;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 0 14px;
  font-size: 15px;
  margin-bottom: 16px;
  background: var(--bg);
  color: var(--navy);
}

/* Single Page & Inner Service Page Template */
.page-banner {
  background: radial-gradient(circle at 80% 20%, #0f2557 0%, var(--navy) 70%);
  color: #fff;
  padding: 56px 0;
}
.page-banner h1 { color: #fff; margin-bottom: 12px; }
.page-banner p { color: #cbd5e1; max-width: 740px; font-size: 18px; }
.breadcrumbs { font-size: 14px; color: var(--cyan); margin-bottom: 14px; font-weight: 600; }
.page-content-wrap {
  padding: 56px 0 80px;
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 36px;
  align-items: start;
}
@media (max-width: 900px) { .page-content-wrap { grid-template-columns: 1fr; } }
.entry-content {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
}
@media (max-width: 600px) { .entry-content { padding: 24px 20px; } }
.sidebar-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  position: sticky;
  top: 96px;
}

/* Footer */
.site-footer {
  background: #040711;
  color: #cbd5e1;
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 17px; margin-bottom: 16px; }
.footer-menu ul { list-style: none; margin: 0; padding: 0; }
.footer-menu li { margin-bottom: 10px; }
.footer-menu a { display: inline-block; padding: 4px 0; color: #cbd5e1; transition: color 0.2s; }
.footer-menu a:hover { color: var(--cyan); }
.footer-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  color: #94a3b8;
}

/* Mobile Sticky Bottom Call & WhatsApp Action Dock */
.mobile-sticky-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 10px 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  box-shadow: 0 -8px 24px rgba(7, 11, 26, 0.14);
}
.mobile-sticky-dock .btn {
  min-height: 52px;
  padding: 10px 14px;
  font-size: 15px;
  border-radius: 14px;
  width: 100%;
}
@media (min-width: 900px) { .mobile-sticky-dock { display: none; } }
