/* ============================================================
   assets/shared-components.css
   Canonical Shared Stylesheet for TechDataSeeders
   Consolidates: Global Reset & Overflow, Variables, Custom Cursor,
   Navbar, Footer, Scroll-to-Top, Floating WhatsApp, Breadcrumbs
   ============================================================ */

/* ------------------------------------------------------------
   1. RESET, OVERFLOW SAFETY & OVERSCROLL
   ------------------------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ------------------------------------------------------------
   2. CSS VARIABLES
   ------------------------------------------------------------ */
:root {
  --blue:        #2563FF;
  --blue-dark:   #1a4fd8;
  --blue-light:  #5b8fff;
  --black:       #0a0a0a;
  --navy:        #060e24;
  --white:       #fff;
  --muted:       #888;
  --border-dark: rgba(255, 255, 255, 0.08);
  --font-d:      'Plus Jakarta Sans', 'Syne', sans-serif;
  --font-b:      'Inter', sans-serif;
}

/* ------------------------------------------------------------
   3. CUSTOM CURSOR (desktop only)
   ------------------------------------------------------------ */
@media (pointer: fine) {
  body { cursor: none; }
}

.cur-dot {
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .15s, height .15s;
}

.cur-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--blue);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s, opacity .2s;
}

@media (hover: none) {
  .cur-dot, .cur-ring { display: none !important; }
}

/* ------------------------------------------------------------
   4. CANONICAL NAVBAR
   ------------------------------------------------------------ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 70px;
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  transition: background .4s, border-color .4s, padding .3s, height .3s;
}

.nav.dark {
  background: rgba(8, 8, 8, .96);
  border-bottom-color: var(--border-dark);
}

.nav-logo img {
  height: 44px;
  width: auto;
  display: block;
}

.nl {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nl a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(0, 0, 0, .7);
  transition: color .25s;
  position: relative;
  text-decoration: none;
}

.nl a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--blue);
  transition: width .3s;
}

.nl a:hover::after { width: 100%; }
.nl a:hover { color: var(--blue); }

.nav.dark .nl a { color: rgba(255, 255, 255, .85); }
.nav.dark .nl a:hover { color: #fff; }

.nav-cta {
  background: var(--blue);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  transition: all .25s;
  text-decoration: none;
}

.nav-cta:hover {
  background: var(--blue-dark);
  box-shadow: 0 6px 20px rgba(37, 99, 255, .4);
  transform: translateY(-1px);
}

.nav-cta::after { display: none !important; }

@media (min-width: 961px) {
  .nl .has-drop:hover > .nav-drop { display: flex !important; }
  .nl .has-drop:not(:hover) > .nav-drop { display: none !important; }
  .nl .has-drop.open > .nav-drop { display: none !important; }
  .nl .has-drop.open:hover > .nav-drop { display: flex !important; }
  .nl .has-drop:hover > a span { transform: rotate(180deg); }
  .nl .has-drop:not(:hover) > a span { transform: rotate(0deg); }
}

.nl .has-drop { position: relative; }
.nl .has-drop > a::after { display: none; }
.nl .has-drop > a { cursor: pointer; }
.nl .has-drop > a span { display: inline-block; transition: transform .25s; }
.nl .has-drop.open > a span { transform: rotate(180deg); }

.nav-drop {
  display: none;
  flex-direction: column;
  gap: 2px;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .12);
  padding: 10px;
  min-width: 230px;
  z-index: 200;
}

.nav-menu { color: #333 !important; }
.has-drop.open > .nav-drop { display: flex; }

.nav-drop a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #333 !important;
  white-space: nowrap;
  transition: background .18s, color .18s;
  text-decoration: none;
}

.nav-drop a:hover { background: #f0f4ff; color: var(--blue) !important; }
.nav-drop a::after { display: none !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform .3s, opacity .3s, background .3s;
}

.nav.dark .nav-toggle span { background: #fff; }

.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   5. CANONICAL FOOTER
   ============================================================ */
.footer {
  background: #050508 !important;
  color: #fff !important;
  padding: 60px 80px 36px !important;
  position: relative !important;
  z-index: 10 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.ft {
  display: grid !important;
  grid-template-columns: 2.2fr 1.2fr 1.4fr 1fr 1.8fr !important;
  gap: 40px !important;
  padding-bottom: 40px !important;
  border-bottom: 1px solid rgba(255, 255, 255, .06) !important;
  width: 100% !important;
  box-sizing: border-box !important;
  align-items: start !important;
}

/* Brand Column */
.ft-brand {
  display: flex;
  flex-direction: column;
}

.ft-logo {
  height: 44px;
  width: auto;
  margin-bottom: 14px;
  display: block;
}

.ft-tagline {
  font-family: var(--font-d);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, .45);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.ft-desc {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .55);
  max-width: 240px;
  margin-bottom: 20px;
}

.socials {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.soc {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .45);
  transition: all .3s;
  text-decoration: none;
}

.soc:hover {
  border-color: var(--blue);
  background: rgba(37, 99, 255, .15);
  color: #fff;
  transform: translateY(-2px);
}

/* Link Columns */
.fc h4 {
  font-family: var(--font-d);
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, .4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.fl {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fl a {
  font-size: 13px;
  color: rgba(255, 255, 255, .75);
  transition: color .25s;
  text-decoration: none;
  line-height: 1.4;
}

.fl a:hover { color: #fff; }

.ft-regions {
  font-size: 12px;
  color: rgba(255, 255, 255, .75);
  line-height: 1.5;
  margin-bottom: 20px;
}

/* ============ WORLD MAP ============ */
.footer-map-wrap {
  width: 100% !important;
  max-width: 440px !important;
  aspect-ratio: 2 / 1 !important;
  position: relative !important;
  isolation: isolate !important;
  overflow: visible !important;
  margin-top: auto !important;
}

.footer-map-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  background: #000000;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.footer-map-img.is-loaded { opacity: 1; }

/* ============ MARKER ============ */
.map-marker {
  position: absolute;
  left: var(--mx);
  top: var(--my);
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  cursor: pointer;
  outline: none;
}
.map-marker:hover,
.map-marker:focus { z-index: 10; }

.map-pin-label {
  position: relative;
  margin-bottom: 7px;
  padding: 2px 6px;
  background: transparent;
  color: #ffffff;
  font-family: 'SF Mono', 'Monaco', 'Menlo', 'Consolas', monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

/* India marker: reduce distance between label and dot by 10% */
.map-marker--raised .map-pin-label { margin-bottom: 1.0px; }

.map-pin-stem {
  display: block;
  width: 1px;
  height: 16.2px; /* reduced from 18px by 10% */
  margin-bottom: 3.6px; /* reduced from 4px by 10% */
  background: rgba(255, 255, 255, 0.3);
}

/* BLUE PULSE DOT — matches reference image */
.map-pin-dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow:
    0 0 0 4px rgba(0, 100, 255, 0.55),
    0 0 8px 2px rgba(0, 150, 255, 0.7);
  animation: map-pulse 2s infinite;
}

.map-pin-dot::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 130, 255, 0.6) 0%, rgba(0, 130, 255, 0) 70%);
  animation: pulse-ring 2s infinite;
}

@keyframes map-pulse {
  0%, 100% {
    box-shadow: 0 0 0 4px rgba(0, 100, 255, 0.55), 0 0 8px 2px rgba(0, 150, 255, 0.7);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(0, 100, 255, 0.35), 0 0 14px 4px rgba(0, 150, 255, 0.9);
  }
}

@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ============ MAP POPOVER ============ */
.map-popover {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 220px;
  padding: 12px 14px;
  background: #0d0d1a;
  color: #d8e6ff;
  font-size: 10.5px;
  line-height: 1.7;
  border-radius: 8px;
  border: 1px solid rgba(0, 200, 255, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85), 0 0 20px rgba(0, 200, 255, 0.15);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 30;
  white-space: normal;
  text-align: left;
}

.map-popover strong {
  display: block;
  font-size: 11px;
  color: #ffffff;
  margin-bottom: 6px;
  font-family: 'SF Mono', 'Monaco', 'Menlo', 'Consolas', monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.map-popover a {
  display: inline-block;
  margin-top: 6px;
  font-weight: 600;
}

.map-popover::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #0d0d1a;
  filter: drop-shadow(0 1px 0 rgba(0, 200, 255, 0.35));
}

.map-marker:hover .map-popover,
.map-marker:focus .map-popover,
.map-marker:focus-within .map-popover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* ============ OUR OFFICES BAND (Always 3 Columns) ============ */
.ft-offices {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  align-items: start !important;
  gap: 40px !important;
  padding: 40px 0 36px !important;
  margin-top: 8px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  width: 100% !important;
}

.ft-office,
.ft-office-left,
.ft-office-center,
.ft-office-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  width: 100%;
}

.ft-office-left   { justify-self: start;  }
.ft-office-center { justify-self: center; }
.ft-office-right  { justify-self: end;    }

.ft-office-info { text-align: center; }

.ft-flag-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35),
              inset 0 0 0 2px rgba(255, 255, 255, 0.1);
  object-fit: cover;
}

.ft-office-info address {
  font-style: normal;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 8px;
}

.ft-phone {
  display: block;
  font-family: var(--font-d);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: color .25s;
  margin-bottom: 4px;
}
.ft-phone:hover { color: var(--blue-light); }

.ft-email {
  display: block;
  font-size: 12.5px;
  color: #5b8fff;
  text-decoration: none;
  transition: color .25s;
  word-break: break-all;
}
.ft-email:hover { color: #8aacf6; }

/* ============ BOTTOM BAR ============ */
.fbot {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-content: space-between;
  padding-top: 26px;
  gap: 24px;
}

.fcopy {
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
  text-align: left;
}

.fdisclaim {
  font-size: 11px;
  color: rgba(255, 255, 255, .35);
  text-align: center;
  line-height: 1.6;
  max-width: 700px;
}

.fleg {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

.fleg a {
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
  transition: color .25s;
  text-decoration: none;
}

.fleg a:hover { color: rgba(255, 255, 255, .75); }
.fleg-sep { color: rgba(255, 255, 255, .2); }

/* ============================================================
   FOOTER — RESPONSIVE
   ============================================================ */

/* ── Tablet (≤1024px) ── */
@media (max-width: 1024px) {
  .footer { padding: 52px 40px 32px !important; }
  .ft { gap: 28px !important; grid-template-columns: 2fr 1fr 1.2fr 1fr 1.5fr !important; }
  .ft-desc { max-width: 200px; }
}

/* ── Tablet / Large Mobile (≤900px) ── */
@media (max-width: 900px) {
  .footer { padding: 48px 28px 28px !important; }

  .ft {
    grid-template-columns: 2fr 1fr 1.2fr 1fr 1.5fr !important;
    gap: 20px !important;
  }

  .ft-brand {
    align-items: flex-start;
    text-align: left;
  }

  .ft-desc {
    max-width: 180px;
    text-align: left;
  }

  .socials { justify-content: flex-start; }

  .ft-offices {
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 20px !important;
  }

  .ft-flag-img {
    width: 44px;
    height: 44px;
  }

  .ft-office-info address { font-size: 12px; }
  .ft-phone { font-size: 13px; }
  .ft-email { font-size: 11.5px; }
}

/* ── Mobile (≤768px) ── */
@media (max-width: 768px) {
  .footer { padding: 40px 18px 24px !important; }

  /* Keep 4 link columns in a row below the brand */
  .ft {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr 1fr !important;
    grid-template-areas:
      "brand brand brand brand"
      "s1    s2    s3    s4" !important;
    gap: 22px !important;
  }

  .ft-brand  { grid-area: brand; align-items: center; text-align: center; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.06); }
  .ft > .fc:nth-child(2) { grid-area: s1; }
  .ft > .fc:nth-child(3) { grid-area: s2; }
  .ft > .fc:nth-child(4) { grid-area: s3; }
  .ft > .fc:nth-child(5) { grid-area: s4; }

  .ft-logo { height: 38px; }
  .ft-desc { max-width: 340px; text-align: center; }
  .socials { justify-content: center; }

  .fc { text-align: left; }
  .fc h4 { font-size: 10px; margin-bottom: 12px; }
  .fl { align-items: flex-start; gap: 8px; }
  .fl a { font-size: 11.5px; }

  .ft-global {
    text-align: left;
  }

  .ft-global .footer-map-wrap {
    margin-left: 0;
    margin-right: 0;
    max-width: 100% !important;
  }

  .ft-regions {
    font-size: 10px;
    text-align: left;
    line-height: 1.45;
  }

  /* Offices: keep 3-column layout on mobile */
  .ft-offices {
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 10px !important;
    padding: 24px 0 22px !important;
  }

  .ft-office,
  .ft-office-left,
  .ft-office-center,
  .ft-office-right {
    justify-self: stretch;
    gap: 8px;
  }

  .ft-flag-img {
    width: 36px;
    height: 36px;
  }

  .ft-office-info address {
    font-size: 10.5px;
    line-height: 1.5;
  }

  .ft-phone { font-size: 11.5px; }
  .ft-email { font-size: 10.5px; word-break: break-word; }

  /* Bottom bar stacks */
  .fbot {
    grid-template-columns: 1fr !important;
    justify-items: center;
    text-align: center;
    gap: 14px;
    padding-top: 22px !important;
  }

  .fcopy { text-align: center; font-size: 12px; }
  .fdisclaim { font-size: 10.5px; padding: 0 6px; }
  .fleg { justify-content: center; gap: 14px; }
  .fleg a { font-size: 12px; }

  /* Smaller map */
  .map-popover {
    width: 170px;
    font-size: 9.5px;
    padding: 9px 10px;
  }
  .map-popover strong { font-size: 9.5px; }
  .map-pin-label { font-size: 7.5px; }
  .map-pin-dot { width: 8px; height: 8px; }
  .map-pin-stem { height: 14.4px; }
}

/* ── Small Phones (≤480px) ── */
@media (max-width: 480px) {
  .footer { padding: 32px 12px 20px !important; }

  /* Keep 4 link columns in 2×2 grid below the brand */
  .ft {
    grid-template-columns: 1fr 1fr !important;
    grid-template-areas:
      "brand brand"
      "s1    s2"
      "s3    s4" !important;
    gap: 20px !important;
  }

  .ft-logo { height: 34px; }
  .ft-desc { font-size: 12px; max-width: 300px; }
  .fc h4 { font-size: 10px; margin-bottom: 10px; }
  .fl a { font-size: 11.5px; }

  .ft-regions { font-size: 10px; }

  /* Offices remain 3-column */
  .ft-offices {
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 6px !important;
    padding: 22px 0 18px !important;
  }

  .ft-flag-img {
    width: 30px;
    height: 30px;
  }

  .ft-office-info address {
    font-size: 9.5px;
    line-height: 1.45;
  }

  .ft-phone { font-size: 10.5px; }
  .ft-email { font-size: 9.5px; word-break: break-all; }

  .fcopy { font-size: 11.5px; }
  .fdisclaim { font-size: 10px; }
  .fleg { gap: 12px; }
  .fleg a { font-size: 11.5px; }

  .map-popover {
    width: 150px;
    font-size: 9px;
    padding: 8px 9px;
  }
  .map-popover strong { font-size: 9px; }
  .map-pin-label { font-size: 6.5px; }
  .map-pin-dot { width: 7px; height: 7px; }
  .map-pin-stem { height: 12.6px; }
}

/* ── Extra Small (≤380px) ── */
@media (max-width: 380px) {
  .footer { padding: 28px 10px 18px !important; }

  .ft-logo { height: 30px; }
  .ft-desc { font-size: 11px; }
  .fc h4 { font-size: 9px; }
  .fl a { font-size: 11px; }

  .ft-flag-img { width: 26px; height: 26px; }
  .ft-office-info address { font-size: 9px; }
  .ft-phone { font-size: 10px; }
  .ft-email { font-size: 9px; }

  .ft-offices { gap: 4px !important; }

  .map-popover {
    width: 135px;
    font-size: 8.5px;
    padding: 7px 8px;
  }
  .map-popover strong { font-size: 8.5px; }
  .map-pin-label { font-size: 6px; }
  .map-pin-dot { width: 6px; height: 6px; }
  .map-pin-stem { height: 10.8px; }
}

/* ------------------------------------------------------------
   6. SCROLL-TO-TOP BUTTON
   ------------------------------------------------------------ */
.stb {
  position: fixed;
  bottom: 32px;
  right: 24px;
  width: 46px;
  height: 46px;
  background: var(--blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  z-index: 500;
  opacity: 0;
  transform: translateY(16px);
  transition: all .3s;
  box-shadow: 0 6px 20px rgba(37, 99, 255, .4);
  user-select: none;
  text-decoration: none;
}

.stb.on { opacity: 1; transform: none; }
.stb:hover { background: var(--blue-dark); transform: translateY(-3px); }

/* ------------------------------------------------------------
   7. WHATSAPP FLOATING BUTTON
   ------------------------------------------------------------ */
@keyframes waPulse {
  0%, 100% { box-shadow: 0 6px 30px rgba(37, 211, 102, 0.4); }
  50%       { box-shadow: 0 6px 50px rgba(37, 211, 102, 0.6), 0 0 0 15px rgba(37, 211, 102, 0.1); }
}

.whatsapp-float {
  position: fixed;
  bottom: 100px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.4);
  transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.3s cubic-bezier(0.25, 1, 0.5, 1),
              visibility 0.3s cubic-bezier(0.25, 1, 0.5, 1),
              background-color 0.3s ease,
              box-shadow 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  animation: waPulse 2.5s ease-in-out infinite;
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  visibility: visible;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 40px rgba(37, 211, 102, 0.6);
  background-color: #20ba5a;
}

.whatsapp-float:active { transform: scale(0.95); }

.whatsapp-float.hidden {
  opacity: 0 !important;
  transform: scale(0) !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.whatsapp-tooltip {
  position: absolute;
  right: 76px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 6px solid rgba(0, 0, 0, 0.85);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

/* ------------------------------------------------------------
   8. BREADCRUMBS & GENERAL WRAPPING SAFETY
   ------------------------------------------------------------ */
.crumb-bar, .breadcrumb, .bd-crumb, .bd-bread {
  flex-wrap: wrap;
  max-width: 100%;
}

/* ------------------------------------------------------------
   9. STANDARDIZED RESPONSIVE MEDIA QUERIES
   ------------------------------------------------------------ */

@media (max-width: 1024px) { .nav { padding: 0 32px; } }

@media (max-width: 960px) {
  .nav { padding: 0 20px; }
  .nav-toggle { display: flex; }

  .nl .has-drop:hover > .nav-drop { display: none !important; }

  .nl {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    padding: 10px 22px 22px;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    box-shadow: 0 24px 44px rgba(0, 0, 0, .13);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: transform .3s, opacity .3s, visibility .3s, background .3s;
  }

  .nav-open .nl {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nl li { width: 100%; }

  .nl > li > a {
    display: flex;
    align-items: center;
    padding: 14px 6px;
    font-size: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    color: #0a0a0a;
    min-height: 48px;
    text-decoration: none;
  }

  .nav-open .nl a { color: #0a0a0a; }

  .nl a::after { display: none !important; }
  .nl .has-drop > a span { float: right; }

  .nav-drop {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 2px 0 10px 14px;
    min-width: 0;
  }
  .nl .has-drop.open > .nav-drop { display: flex !important; }
  .nl .has-drop:not(.open) > .nav-drop { display: none !important; }

  .nav-drop a {
    font-size: 14px;
    padding: 11px 8px;
    color: #555 !important;
    white-space: normal;
    min-height: 44px;
  }

  .nl .nav-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 16px;
    min-height: 48px;
    color: #fff !important;
  }

  .nav.dark .nl {
    background: #0a0a0a;
    border-bottom-color: rgba(255, 255, 255, .08);
  }

  .nav.dark .nl > li > a {
    color: rgba(255, 255, 255, .85);
    border-bottom-color: rgba(255, 255, 255, .06);
  }

  .nav.dark.nav-open .nl a { color: rgba(255, 255, 255, .85); }
  .nav.dark.nav-open .nl a:hover { color: #fff; }

  .nav.dark .nav-drop a { color: rgba(255, 255, 255, .65) !important; }
  .nav.dark .nav-drop a:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, .06);
  }
}

@media (max-width: 768px) {
  .crumb-bar { padding: 0 20px; top: 80px; }
  .cta-inner { grid-template-columns: 1fr; gap: 32px; }
  .cta-sec { padding: 60px 20px; }
  .fi-phone-wrap { display: flex; gap: 8px; }
  .fcc-wrap { flex-shrink: 0; }

  .whatsapp-float {
    width: 54px;
    height: 54px;
    bottom: 90px;
    right: 16px;
  }
  .whatsapp-float:hover { transform: scale(1.1); }
  .whatsapp-float:active { transform: scale(0.95); }
  .whatsapp-float svg { width: 28px; height: 28px; }
  .whatsapp-tooltip { right: 70px; }

  .stb { bottom: 24px; right: 16px; }
}

@media (max-width: 480px) {
  .nav { padding: 0 16px; height: 70px; }
  .nav-logo img { height: 38px; }

  .nl { top: 70px; max-height: calc(100vh - 70px); }

  .crumb-bar { padding: 0 14px; top: 70px; gap: 8px; }
  .breadcrumb, .bd-bread { font-size: 12px; gap: 6px; }
  .back-link, .bd-back { font-size: 12px; padding: 6px 12px; }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 80px;
    right: 12px;
  }
  .whatsapp-float:hover { transform: scale(1.1); }
  .whatsapp-float:active { transform: scale(0.95); }
  .whatsapp-float svg { width: 26px; height: 26px; }
  .whatsapp-tooltip { display: none; }

  .stb { width: 42px; height: 42px; bottom: 20px; right: 12px; border-radius: 10px; }
}

@media (max-width: 380px) {
  .nav { padding: 0 10px; }
  .crumb-bar { padding: 0 10px; top: 66px; gap: 6px; }
  .breadcrumb, .bd-bread { font-size: 11px; gap: 4px; }
  .back-link, .bd-back { font-size: 11px; padding: 5px 10px; }

  .whatsapp-float {
    width: 46px;
    height: 46px;
    bottom: 80px;
    right: 12px;
  }
  .whatsapp-float:hover { transform: scale(1.1); }
  .whatsapp-float:active { transform: scale(0.95); }
  .whatsapp-float svg { width: 22px; height: 22px; }
  .stb { width: 40px; height: 40px; bottom: 18px; right: 10px; }
}

/* ============================================================
   FOOTER SPACING REDUCTION (DESKTOP ONLY)
   Targets screens wider than 1024px to avoid affecting tablet
   and mobile layouts.
   ============================================================ */
@media (min-width: 1025px) {
  /* Remove the white line between the main footer and the offices band */
  .ft-offices {
    border-bottom: none !important;
  }

  .footer {
    /* Further reduced top and bottom padding */
    padding-top: 36px !important;
    padding-bottom: 18px !important;
  }

  .ft {
    /* Significantly reduced space between the top grid and the offices band */
    padding-bottom: 24px !important;
  }

  .ft-offices {
    /* Reduced vertical space around the offices band */
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }

  .fbot {
    /* Reduced space above the bottom copyright bar */
    padding-top: 20px !important;
  }
}