/* ==========================================================================
   PUBLIC-MAP clarity + responsive performance polish
   Loaded last on purpose: removes visual haze and keeps layouts flexible.
   ========================================================================== */

:root {
  --pm-page-bg: #ffffff;
  --pm-section-bg: #f8fafc;
  --pm-text: #0a2540;
  --pm-muted: #4a5568;
  --pm-border: #e5eaf0;
  --pm-hero-ink: rgba(3, 8, 18, .82);
}

html {
  background: var(--pm-page-bg) !important;
}

body {
  background: var(--pm-page-bg) !important;
  color: var(--pm-text) !important;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip !important;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

section,
.google-sec,
.g-features,
.g-pricing,
.services-panel,
.services-panel-inner,
.reviews-sec,
.cred-sec,
.faq-sec,
.pay-sec,
.nl-sec,
footer {
  max-width: 100vw;
}

/* Hero clarity: one sharp image, no ghosted slideshow layers. */
.hero-novideo,
.hero-slideshow {
  overflow: clip !important;
  max-width: 100vw !important;
}

.hero-slide {
  opacity: 1 !important;
  display: block !important;
  animation: none !important;
  transform: none !important;
  will-change: auto !important;
  filter: brightness(1.08) contrast(1.07) saturate(1.06) !important;
  background-position: center center !important;
}

.hero-slide-2,
.hero-slide-3 {
  display: none !important;
  opacity: 0 !important;
}

/* Keep text readable on the left while letting the photo breathe on the right. */
.hero-bg-overlay {
  background:
    linear-gradient(104deg,
      rgba(3, 8, 18, .86) 0%,
      rgba(3, 8, 18, .66) 34%,
      rgba(3, 8, 18, .30) 60%,
      rgba(3, 8, 18, .08) 100%) !important;
}

/* Remove the foggy decorative layers that made the new photo look veiled. */
.hero-novideo .hero-aurora,
.hero-novideo .hero-aurora-2,
.hero-novideo .hero-ambient-glow,
.hero-novideo .hero-glow,
.hero-novideo .hero-map {
  display: none !important;
}

.hero-novideo .hero-grid-overlay {
  opacity: .10 !important;
  background-size: 92px 92px !important;
  mask-image: none !important;
  -webkit-mask-image: none !important;
}

.hero-h1,
.hero-h1-premium .hero-line-1,
.hero-h1-premium .hero-line-2,
.hero-sub,
.hero-trust-item,
.kpi-n,
.kpi-l {
  text-shadow: 0 2px 10px rgba(0, 0, 0, .36) !important;
}

.hero-h1-premium .hero-line-2.hero-line-world {
  max-width: min(900px, 92vw);
  font-size: clamp(38px, 5.8vw, 88px) !important;
  line-height: 1.02 !important;
  letter-spacing: -.018em !important;
  white-space: normal !important;
}

.hero-pre {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: rgba(12, 28, 58, .58) !important;
  border-color: rgba(255, 255, 255, .22) !important;
}

.hero-content .floating-card,
.hero-video-background .floating-card {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: rgba(8, 18, 38, .70) !important;
  border-color: rgba(255, 255, 255, .14) !important;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .24) !important;
}

/* Cleaner navigation over the hero, then crisp white once scrolled. */
nav:not(.scrolled) {
  background: linear-gradient(180deg, rgba(3, 8, 18, .44), rgba(3, 8, 18, .10)) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

nav.scrolled {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Remove decorative particles and cursor bursts for a more serious, faster feel. */
#bg-particles,
.spark,
.burst-3d,
.mouse-trail {
  display: none !important;
}

/* Softer cards across the page: cleaner, lighter, less heavy shadow. */
.srv-card,
.g-feat-card,
.g-price-card,
.rev-card,
.cert-card,
.cred-glass,
.stripe-wrap,
.map-feat,
.contact-card,
.faq-it,
.review-card-3d {
  box-shadow: 0 1px 2px rgba(10, 37, 64, .04), 0 10px 24px rgba(10, 37, 64, .06) !important;
}

.srv-card:hover,
.g-feat-card:hover,
.g-price-card:hover,
.rev-card:hover,
.cert-card:hover,
.cred-glass:hover,
.map-feat:hover,
.contact-card:hover,
.faq-it:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 16px 34px rgba(27, 91, 255, .10) !important;
}

@media (max-width: 1180px), (hover: none), (pointer: coarse) {
  .anim,
  .anim.in,
  .stagger > *,
  .stagger.in > *,
  .rv,
  .rv-l,
  .rv-r,
  .tilt-3d,
  .depth-3d,
  .floating-card,
  .srv-card,
  .g-price-card,
  .rev-card,
  .cred-glass,
  .stripe-wrap,
  .review-card-3d,
  .g-feat-card,
  .cert-card {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    will-change: auto !important;
  }

  .hero-right {
    display: none !important;
  }

  .hero-content {
    grid-template-columns: 1fr !important;
    max-width: 100% !important;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 100svh !important;
  }

  .hero-slide {
    background-position: center top !important;
    filter: brightness(1.05) contrast(1.04) saturate(1.03) !important;
  }

  .hero-bg-overlay {
    background:
      linear-gradient(180deg,
        rgba(3, 8, 18, .72) 0%,
        rgba(3, 8, 18, .62) 44%,
        rgba(3, 8, 18, .54) 100%) !important;
  }

  .hero-novideo .hero-grid-overlay {
    display: none !important;
  }

  .hero-content {
    padding-left: clamp(18px, 5vw, 30px) !important;
    padding-right: clamp(18px, 5vw, 30px) !important;
  }

  .hero-pre,
  .hero-sub,
  .hero-trust,
  .hero-kpis {
    max-width: 100% !important;
  }

  .hero-btns .btn-red,
  .hero-btns .btn-ghost,
  .nav-cta,
  .btn-order,
  .g-btn-primary {
    min-height: 52px;
  }
}

@media (max-width: 520px) {
  .hero-content {
    padding-top: 76px !important;
    padding-bottom: 30px !important;
  }

  .hero-pre {
    margin-bottom: 14px !important;
  }

  .hero-sub {
    line-height: 1.6 !important;
  }

  .hero-kpis {
    margin-top: 22px !important;
  }
}

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

/* Restore the useful certificates, while keeping the removed accreditation frame out. */
#certifications {
  padding: 72px 24px 64px !important;
}

#certifications > div {
  max-width: 1180px !important;
}

#certifications .user-cert-panel {
  margin-bottom: 48px !important;
}

#certifications .cert-badges-grid {
  margin-bottom: 0 !important;
}

/* Footer inspired by the clean Mapidea-style blue wave. */
.nl-sec {
  background: #ffffff !important;
  border-top: 1px solid rgba(27, 91, 255, .10) !important;
  border-radius: 0 !important;
  margin-top: 28px !important;
  padding: 54px 24px 72px !important;
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate;
}

.nl-sec::before {
  z-index: 0 !important;
}

.nl-eu-symbol {
  position: absolute;
  left: clamp(-96px, -4vw, -36px);
  top: 50%;
  z-index: 0;
  pointer-events: none;
  transform: translateY(-50%) rotate(-8deg);
  font-size: clamp(150px, 20vw, 330px);
  line-height: 1;
  opacity: .055;
  filter: saturate(.92);
}

.nl-title {
  color: #0a2540 !important;
}

.nl-title em {
  color: #1B5BFF !important;
}

.nl-sub,
.nl-sec p[style] {
  color: rgba(74, 85, 104, .72) !important;
}

.nl-form {
  border: 1px solid #e5eaf0 !important;
  box-shadow: 0 16px 36px rgba(10, 37, 64, .08) !important;
}

.nl-btn {
  background: linear-gradient(135deg, #1B5BFF, #0838d8) !important;
}

footer.foot-bar-rounded {
  position: relative !important;
  isolation: isolate;
  background:
    radial-gradient(circle at 102% 8%, rgba(255,255,255,.18) 0 76px, transparent 78px),
    linear-gradient(135deg, #052cbd 0%, #073bd4 48%, #08bde8 100%) !important;
  color: #fff !important;
  border-radius: 0 !important;
  margin-top: 0 !important;
  padding: 118px 20px 48px !important;
  overflow: hidden !important;
}

footer.foot-bar-rounded::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: -178px;
  width: 128vw;
  height: 255px;
  transform: translateX(-50%);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  background: #ffffff;
  pointer-events: none;
}

footer.foot-bar-rounded::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -125px;
  top: 18px;
  width: 330px;
  height: 205px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  transform: rotate(-28deg);
  pointer-events: none;
}

.footer-wave-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
}

.footer-wave-brand {
  padding-top: 28px;
  margin-bottom: 34px;
}

footer.foot-bar-rounded .ft-brand-name {
  color: #ffffff !important;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-shadow: 0 10px 26px rgba(0,0,0,.18);
}

footer.foot-bar-rounded .ft-brand-name span {
  color: #7ddfff !important;
}

footer.foot-bar-rounded .ft-brand-sub {
  display: block;
  margin-top: 3px;
  color: rgba(255,255,255,.72) !important;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.footer-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0 auto 48px;
  max-width: 980px;
}

.footer-contact-item {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 8px 28px;
  border-right: 1px solid rgba(255,255,255,.22);
}

.footer-contact-item:last-child {
  border-right: 0;
}

.footer-contact-icon {
  font-size: 34px;
  line-height: 1;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,.18));
}

.footer-contact-item p,
.footer-contact-item a {
  margin: 0;
  color: rgba(255,255,255,.92) !important;
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1.28;
  text-decoration: none;
}

.footer-contact-item span,
.footer-hours {
  color: rgba(255,255,255,.70) !important;
  font-size: 14px;
}

.footer-hours {
  margin-bottom: 34px;
}

footer.foot-bar-rounded .foot-bot {
  max-width: 980px;
  padding: 0 !important;
  margin: 0 auto !important;
  border-top: 0 !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

footer.foot-bar-rounded .foot-bot p,
footer.foot-bar-rounded .foot-legal a {
  color: rgba(255,255,255,.66) !important;
}

footer.foot-bar-rounded .foot-legal {
  justify-content: center;
}

@media (max-width: 760px) {
  #certifications {
    padding: 54px 18px 46px !important;
  }

  #certifications .user-cert-panel {
    margin-bottom: 34px !important;
  }

  .nl-sec {
    padding: 44px 20px 58px !important;
  }

  .hero-h1-premium .hero-line-2.hero-line-world {
    max-width: 100%;
    font-size: clamp(28px, 8.8vw, 42px) !important;
    line-height: 1.08 !important;
    letter-spacing: -.012em !important;
  }

  .nl-eu-symbol {
    left: -70px;
    top: 30%;
    font-size: 160px;
    opacity: .04;
  }

  .nl-sec::before {
    right: -110px !important;
    top: 72% !important;
    font-size: 260px !important;
    opacity: .035 !important;
  }

  footer.foot-bar-rounded {
    padding: 92px 20px 38px !important;
  }

  footer.foot-bar-rounded::before {
    top: -122px;
    width: 148vw;
    height: 178px;
  }

  .footer-wave-brand {
    margin-bottom: 24px;
  }

  .footer-contact-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 34px;
  }

  .footer-contact-item {
    min-height: auto;
    padding: 0 18px 20px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.18);
  }

  .footer-contact-item:last-child {
    border-bottom: 0;
  }
}
