.nav-links {
  gap: 18px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-links a {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid #e6eaf1;
  background: #ffffff;
  color: #172033;
  transition: transform .2s ease, color .2s ease, border-color .2s ease, background .2s ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  border-color: #f4a51c;
  background: #fff8eb;
  color: #c97805;
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-social {
  margin-top: 16px;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img {
  content-visibility: auto;
}

.motion-ready {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease, transform .65s ease;
}

.motion-ready.motion-in {
  opacity: 1;
  transform: translateY(0);
}

.card,
.feature-card,
.service-card,
.project-card,
.why-card,
.support-card,
.leader-card,
.process-card,
.gallery-item,
.media-mini {
  will-change: transform;
}

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

  .motion-ready {
    opacity: 1;
    transform: none;
  }
}

.footer {
  background: #f7f9fc !important;
  color: #637086 !important;
  border-top: 1px solid #e6eaf1;
}

.footer .footer-grid {
  grid-template-columns: 1.2fr .75fr .75fr .9fr;
  border-bottom-color: #e6eaf1 !important;
}

.footer h4 {
  color: #172033 !important;
}

.footer a {
  color: #637086;
}

.footer a:hover {
  color: #c97805;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.footer-brand img {
  width: 70px;
  height: 58px;
  object-fit: contain;
  padding: 6px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(17,26,53,.08);
}

.footer-brand strong {
  display: block;
  color: #172033;
  font-size: 20px;
  line-height: 1.15;
}

.footer-brand span {
  display: block;
  margin-top: 4px;
  color: #637086;
  font-size: 13px;
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 22px;
  color: #637086;
  font-size: 14px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  display: inline;
  margin: 0;
  color: #f4a51c;
  font-weight: 800;
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: grid;
  gap: 10px;
}

.floating-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 138px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 14px 30px rgba(17,26,53,.22);
  transition: transform .2s ease, box-shadow .2s ease;
}

.floating-actions a:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(17,26,53,.28);
}

.floating-actions .whatsapp {
  background: #1f9d55;
}

.floating-actions .call-now {
  background: #f4a51c;
  color: #111111;
}

.lead-popup {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(11,16,34,.68);
}

.lead-popup.open {
  display: flex;
}

.lead-popup-card {
  width: min(520px, 100%);
  max-height: calc(100vh - 44px);
  position: relative;
  overflow-y: auto;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(0,0,0,.3);
}

.lead-popup-head {
  padding: 28px;
  background:
    linear-gradient(90deg, rgba(17,26,53,.94), rgba(39,91,140,.82)),
    url("wp-content/uploads/2025/04/civil-construction-3-1.jpg") center / cover;
  color: #ffffff;
}

.lead-popup-head p {
  margin: 10px 0 0;
  color: rgba(255,255,255,.82);
}

.lead-popup-body {
  padding: 26px;
}

.lead-popup-body form {
  display: grid;
  gap: 12px;
}

.lead-popup-body input,
.lead-popup-body select,
.lead-popup-body textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #e6eaf1;
  border-radius: 6px;
  padding: 12px 14px;
  font: inherit;
}

.lead-popup-body textarea {
  min-height: 100px;
  resize: vertical;
}

.lead-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  color: #111a35;
  cursor: pointer;
  font-size: 20px;
  font-weight: 900;
}

@media (max-width: 960px) {
  .footer .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: clamp(36px, 13vw, 48px) !important;
  }

  h2 {
    font-size: clamp(28px, 10vw, 38px) !important;
  }

  .hero p,
  .lead {
    font-size: 16px !important;
  }

  .nav {
    gap: 12px;
  }

  .brand {
    min-width: 0;
  }

  .brand span {
    overflow-wrap: anywhere;
  }

  .header-social {
    display: none;
  }

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

  .floating-actions {
    left: 14px;
    right: 14px;
    grid-template-columns: 1fr 1fr;
  }

  .floating-actions a {
    min-width: 0;
    min-height: 44px;
    padding: 0 10px;
    font-size: 12px;
  }
}
