/* PakVisionAI editorial refinement. Layout is independent of runtime utilities. */
:root { --pv-ink: #12372B; --pv-green: #12372B; --pv-paper: #F6F4EB; }
html { scroll-padding-top: 100px; }
body { color: var(--pv-ink); }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex="0"]:focus-visible { outline: 3px solid #218365; outline-offset: 5px; }
.pv-skip-link { position: fixed; top: 12px; left: 16px; transform: translateY(-180%); z-index: 100; background: #fff; color: #172b26; padding: 12px 20px; border-radius: 8px; }
.pv-skip-link:focus { transform: none; }
.pv-container { width: min(1216px, calc(100% - 64px)); margin-inline: auto; }
.pv-topbar { background: #eaf0e8; font-size: 11px; padding-block: 9px; }
.pv-topbar > div > div:last-child > a:not(:last-child) { display: none; }
.pv-header { background: rgba(255,255,252,.96); }
.pv-header .pv-desktop-nav { gap: 22px; font-size: 12px; }
.pv-header .pv-desktop-nav > a:last-child { display: none; }
.pv-header > div > div > div.hidden a { background: var(--pv-ink); padding: 13px 23px; border-radius: 9px; }
.pv-nav-disclosure #capabilities-menu { margin-top: 0; }
.pv-nav-disclosure:not(.is-open) #capabilities-menu { visibility: hidden; }
.pv-nav-disclosure.is-open #capabilities-menu { visibility: visible; opacity: 1; transform: translateY(0); pointer-events: auto; transition-property: opacity, transform; }
.wa-float { position: fixed; bottom: 24px; right: 24px; z-index: 35; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: #18664b; box-shadow: 0 6px 22px #173c2930; border: 3px solid #fff; }
.wa-float:hover { background: #254d39; }
.pv-hero { background: radial-gradient(ellipse at 85% 30%, #e1ecdc 0, transparent 44%), var(--pv-paper); overflow: hidden; border-bottom: 1px solid #dce3d8; }
.pv-hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 60px; align-items: center; padding-block: 86px 72px; }
.pv-eyebrow { display: flex; gap: 9px; align-items: center; font: 600 10px/1.6 Inter, sans-serif; letter-spacing: .13em; color: #45634f; margin: 0 0 25px; }
.pv-eyebrow > span { width: 7px; height: 7px; border-radius: 50%; background: #26744f; flex: 0 0 auto; box-shadow: 0 0 0 4px #e0eada; }
.pv-hero h1 { font: 500 clamp(42px, 4.8vw, 67px)/1.07 Inter, sans-serif; letter-spacing: -.065em; color: #172b26; margin: 0 0 24px; }
.pv-hero h1 em { font-family: Newsreader, Georgia, serif; font-size: 1.1em; font-weight: 400; letter-spacing: -.045em; color: #38754f; text-decoration-line: underline; text-decoration-style: wavy; text-decoration-color: #12372B; text-decoration-thickness: 3px; text-underline-offset: 11px; }
.pv-intro { color: #5b6b60; font-size: 16px; line-height: 1.85; max-width: 460px; margin: 0 0 30px; }
.pv-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.pv-button { display: inline-flex; align-items: center; justify-content: center; gap: 17px; min-height: 49px; padding: 14px 18px; font-size: 12px; font-weight: 600; border-radius: 8px; transition: background .2s, transform .2s; }
.pv-button-primary { background: #183d2e; color: white; box-shadow: 0 4px 10px #183d2e12; }
.pv-button-primary:hover { background: #286345; transform: translateY(-2px); }
.pv-button-secondary { border: 1px solid #cbd7c9; color: #254435; background: #ffffff70; }
.pv-button-secondary:hover { background: #fff; }
.pv-button span { font-size: 18px; font-weight: 400; }
.pv-hero-note { margin-top: 22px; font-size: 11px; color: #607060; display: flex; align-items: center; gap: 7px; }
.pv-check { color: #28764e; }
.pv-system { min-width: 0; background: #112f26; border: 1px solid #315043; border-radius: 20px; padding: 22px; box-shadow: 0 30px 70px -25px #244a3b55, 0 0 0 8px #ffffff55; color: #e8efe8; position: relative; }
.pv-system-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #d0ded0; font-size: 9px; font-weight: 500; letter-spacing: .08em; }
.pv-system-heading > span:first-child, .pv-system-footer > span:first-child { display: flex; align-items: center; gap: 7px; }
.pv-system i { width: 5px; height: 5px; display: inline-block; border-radius: 50%; background: #b7d892; }
.pv-system-label { color: #99b3a4; font-size: 8px; }
.pv-orbit { position: relative; height: 355px; margin-block: 12px; }
.pv-connections { position: absolute; width: 100%; height: 100%; inset: 0; stroke: #608470; stroke-opacity: .3; stroke-width: 1; }
.pv-connections circle { stroke-dasharray: 3 7; }
.pv-connections .pv-point { fill: #bad78d; stroke: none; }
.pv-core { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; width: 190px; }
.pv-core svg { width: 41px; height: 41px; color: #cbdea3; margin-bottom: 12px; }
.pv-core strong { font-size: 22px; letter-spacing: -.7px; font-weight: 500; }
.pv-core strong span { color: #c5d9a2; font-family: Newsreader, Georgia, serif; font-style: italic; }
.pv-core small { font-size: 9px; color: #94afa0; margin-top: 7px; }
.pv-node { position: absolute; width: 43%; padding: 14px; border: 1px solid #466353; border-radius: 11px; background: linear-gradient(120deg, #2c4839, #203e30); transition: border-color .2s, transform .2s; }
.pv-node:hover { border-color: #c5d9a2; transform: translateY(-3px); }
.pv-node-vision { top: 12px; left: 0; }
.pv-node-work { top: 12px; right: 0; }
.pv-node-search { bottom: 12px; left: 0; }
.pv-node-voice { bottom: 12px; right: 0; }
.pv-node-icon { display: block; color: #cee1aa; font-size: 23px; line-height: 1; margin-bottom: 10px; }
.pv-node strong { display: block; font-size: 12px; font-weight: 500; }
.pv-node small { display: block; margin-top: 5px; font-size: 9px; color: #b1c3b5; }
.pv-node-arrow { position: absolute; top: 12px; right: 14px; color: #95b29e; font-size: 13px; }
.pv-system-footer { border-top: 1px solid #355344; padding-top: 15px; display: flex; justify-content: space-between; gap: 12px; color: #adc1b2; font-size: 8px; }
.pv-foundations { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #d6dfd0; padding-block: 26px 29px; }
.pv-foundations > div + div { border-left: 1px solid #d6dfd0; padding-left: 34px; }
.pv-foundations span { color: #547450; font-size: 9px; letter-spacing: .13em; font-weight: 600; }
.pv-foundations p { margin-top: 8px; font-size: 13px; color: #304336; }
#objective-navigator { background: #fafbf7; }
#objective-navigator h2, #capabilities-explorer h2 { font-weight: 500; letter-spacing: -.045em; font-size: clamp(30px, 3vw, 42px); }
.objective-card { border-radius: 15px; box-shadow: 0 3px 10px #203f3010; }
.objective-card:hover { box-shadow: 0 12px 30px #203f3015; }
.lux-tab-rail { scrollbar-width: thin; }
#enterprise-contact-form input, #enterprise-contact-form select, #enterprise-contact-form textarea { border-radius: 8px; }
#enterprise-contact-form label { letter-spacing: 0; }
footer { background: #f4f6ef !important; }
@media (max-width: 1199px) {
  .pv-hero-grid { gap: 32px; }
  .pv-header .pv-desktop-nav { gap: 14px; }
  .pv-header .pv-desktop-nav > a[href="/about"] { display: none; }
  .pv-system { padding: 17px; }
  .pv-system-label { display: none; }
}
@media (max-width: 900px) {
  .pv-hero-grid { grid-template-columns: 1fr; gap: 46px; padding-block: 56px 44px; }
  .pv-hero-copy { max-width: 620px; }
  .pv-hero h1 { font-size: clamp(45px, 7.5vw, 65px); }
  .pv-system { width: 100%; max-width: 590px; margin-inline: auto; }
  .pv-foundations > div + div { padding-left: 18px; }
  .pv-foundations p { max-width: 180px; line-height: 1.6; }
}
@media (max-width: 540px) {
  .pv-container { width: calc(100% - 40px); }
  .pv-hero-grid { padding-top: 40px; gap: 36px; }
  .pv-eyebrow { font-size: 8px; letter-spacing: .07em; margin-bottom: 20px; }
  .pv-hero h1 { font-size: clamp(35px, 9.8vw, 51px); }
  .pv-intro { font-size: 14px; line-height: 1.8; }
  .pv-actions { align-items: stretch; flex-direction: column; gap: 10px; }
  .pv-button { min-height: 49px; }
  .pv-hero-note { font-size: 10px; }
  .pv-system { padding: 14px; border-radius: 15px; box-shadow: 0 15px 35px -20px #244a3b55, 0 0 0 4px #ffffff55; }
  .pv-system-heading { font-size: 8px; }
  .pv-orbit { height: 340px; }
  .pv-node { width: 46%; padding: 12px 10px; }
  .pv-node strong { font-size: 11px; }
  .pv-node small { font-size: 8px; }
  .pv-system-footer { flex-wrap: wrap; font-size: 8px; }
  .pv-foundations { grid-template-columns: 1fr; gap: 16px; padding-block: 23px; }
  .pv-foundations > div { display: flex; align-items: baseline; gap: 18px; }
  .pv-foundations > div + div { border-left: 0; padding-left: 0; }
  .pv-foundations span { min-width: 82px; font-size: 8px; }
  .pv-foundations p { font-size: 11px; max-width: none; margin: 0; }
  #objective-navigator, #capabilities-explorer { padding-block: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pv-button, .pv-node { transition: none; }
}

/* Back-to-top float: stacked directly above wa-float, same right offset,
   so the two never overlap and both stay clear of the centered dock. */
.back-to-top-float {
  position: fixed;
  right: 24px;
  bottom: 84px;
  z-index: 34;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #F6F4EB;
  color: #12372B;
  border: 1.5px solid #c8d2c1;
  box-shadow: 0 6px 18px #12372b1a;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
}
.back-to-top-float.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top-float:hover { background: #eeeee2; }
@media (max-width: 767px) {
  .back-to-top-float { display: none !important; }
}

/* Pakistan outline watermark behind the capability-preview orbit */
.pv-map-fill {
  fill: #c5d9a2;
  fill-opacity: 0.07;
  stroke: #7fa588;
  stroke-opacity: 0.4;
  stroke-width: 1.2;
  stroke-dasharray: none;
}
.pv-point--hub { fill: #e7c96a; r: 5; }
@keyframes pvPulse {
  0%, 100% { opacity: 0.55; r: 4; }
  50% { opacity: 1; r: 5.5; }
}
.pv-connections .pv-point { animation: pvPulse 3.2s ease-in-out infinite; }
.pv-connections .pv-point:nth-of-type(2) { animation-delay: .3s; }
.pv-connections .pv-point:nth-of-type(3) { animation-delay: .9s; }
.pv-connections .pv-point:nth-of-type(4) { animation-delay: 1.5s; }
@media (prefers-reduced-motion: reduce) {
  .pv-connections .pv-point { animation: none; }
}

/* Footer social icons — was an unstyled class; now a proper circular
   icon button, with WhatsApp in its real brand green to match the
   floating WhatsApp button's recognizable treatment. */
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #12372B;
  background: #12372B;
  color: #fff;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.social-btn:hover { background: #1c4d3a; border-color: #1c4d3a; transform: translateY(-2px); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-bottom-legal {
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer-bottom-social {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-bottom-social-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #94a08e;
}
.footer-back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
}
@media (max-width: 640px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-bottom-legal { flex-wrap: wrap; row-gap: 10px; }
}
