/* ==========================================================================
   IT THINK ZONE — REUSABLE SITE-WIDE WIDGETS
   Single source of truth for:
   1. Sticky Floating Pill AppBar & Mobile Drawer (Zero Overflow, Responsive)
   2. Global Quote Form Popup Dialog
   3. Office Locations Across India (4 Interactive Google Map Iframes)
   4. Unified SEO Footer (Dynamic Top 10 Portfolio Synced with work.html)
   5. Mandatory Floating WhatsApp & Call Controls (Mobile Glassy Bar + Desktop Dock)
   All selectors are prefixed `.itzw-*` to prevent conflicts with legacy page CSS.
   ========================================================================== */

:root {
  --itzw-orange: #eb670c;
  --itzw-orange-hover: #d45900;
  --itzw-orange-soft: #fff3ec;
  --itzw-orange-border: #fcd7c0;
  --itzw-navy: #0b1221;
  --itzw-navy-deep: #021037;
  --itzw-navy-mid: #071a4f;
  --itzw-ink: #0f172a;
  --itzw-muted: #475569;
  --itzw-border: #e2e8f0;
  --itzw-surface: #f8fafc;
  --itzw-green: #25d366;
  --itzw-green-dark: #128c7e;
  --itzw-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reserve top offset when page uses fixed appbar */
body.itzw-has-fixed-appbar {
  padding-top: 80px !important;
}

@media (max-width: 767px) {
  body.itzw-has-fixed-appbar {
    padding-top: 68px !important;
  }
}

/* Hide legacy duplicate floating WhatsApp wrappers when unified widgets load */
body.itzw-widgets-active .float-icon,
body.itzw-widgets-active .floating-whatsapp,
body.itzw-widgets-active .whatsapp-float {
  display: none !important;
}

/* ==========================================================================
   1. STICKY FLOATING PILL APP BAR (STRICT ZERO HORIZONTAL OVERFLOW)
   ========================================================================== */
.itzw-header-wrapper {
  position: fixed !important;
  top: 10px !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100vw !important;
  z-index: 9990 !important;
  display: flex !important;
  justify-content: center !important;
  padding: 0 12px !important;
  margin: 0 !important;
  pointer-events: none;
  font-family: var(--itzw-font);
  box-sizing: border-box !important;
}

.itzw-header-wrapper *,
.itzw-header-wrapper *::before,
.itzw-header-wrapper *::after {
  box-sizing: border-box !important;
}

.itzw-header {
  pointer-events: auto;
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  width: 100% !important;
  max-width: min(1160px, calc(100vw - 24px)) !important;
  min-width: 0 !important;
  margin: 0 auto !important;
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 999px !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.11) !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  padding: 6px 8px 6px 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  color: var(--itzw-ink) !important;
  height: auto !important;
  min-height: 54px !important;
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.itzw-header.sticky-nav {
  position: static !important;
  top: auto !important;
  left: auto !important;
  width: 100% !important;
  max-width: min(1220px, calc(100vw - 24px)) !important;
  margin: 0 auto !important;
}

.itzw-header.is-scrolled {
  background: rgba(255, 255, 255, 0.99) !important;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.16) !important;
}

.itzw-brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.itzw-brand img {
  height: 30px !important;
  width: auto !important;
  max-width: 170px !important;
  display: block !important;
  object-fit: contain !important;
  image-rendering: -webkit-optimize-contrast;
  margin: 0 !important;
}

.itzw-est-badge {
  background: var(--itzw-orange-soft);
  border: 1px solid var(--itzw-orange-border);
  color: var(--itzw-orange);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.2px;
  white-space: nowrap;
  line-height: 1.4;
}

/* Desktop Nav */
.itzw-header nav {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  position: static !important;
}

.itzw-nav {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-wrap: nowrap !important;
}

.itzw-nav-item {
  position: relative !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

.itzw-nav-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 7px 10px !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  color: #1e293b !important;
  text-decoration: none !important;
  transition: color 0.18s ease, background 0.18s ease;
  white-space: nowrap !important;
  cursor: pointer;
}

.itzw-nav-link:hover,
.itzw-nav-link.is-active {
  color: var(--itzw-orange) !important;
  background: var(--itzw-orange-soft) !important;
}

.itzw-caret {
  width: 11px;
  height: 11px;
  transition: transform 0.2s ease;
  opacity: 0.65;
  flex-shrink: 0;
}

.itzw-nav-item:hover > .itzw-nav-link .itzw-caret,
.itzw-nav-item.open > .itzw-nav-link .itzw-caret {
  transform: rotate(180deg);
  opacity: 1;
}

/* Dropdown Panel */
.itzw-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 230px;
  background: #ffffff;
  border: 1px solid var(--itzw-border);
  border-radius: 18px;
  padding: 10px;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 9995;
  text-align: left;
}

.itzw-dropdown::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.itzw-dropdown.is-mega {
  min-width: 460px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 8px;
  padding: 12px;
}

.itzw-nav-item:hover > .itzw-dropdown,
.itzw-nav-item:focus-within > .itzw-dropdown,
.itzw-nav-item.open > .itzw-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.itzw-drop-link {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 11px !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  text-decoration: none !important;
  transition: background 0.15s ease, color 0.15s ease;
}

.itzw-drop-link:hover {
  background: var(--itzw-orange-soft) !important;
  color: var(--itzw-orange) !important;
}

.itzw-drop-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--itzw-orange);
  opacity: 0.45;
  flex-shrink: 0;
}

.itzw-drop-link:hover .itzw-drop-dot {
  opacity: 1;
}

/* Header Right Actions */
.itzw-header-actions {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  flex-shrink: 0 !important;
}

.itzw-call-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 8px 13px !important;
  border-radius: 999px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: var(--itzw-ink) !important;
  background: #f8fafc !important;
  border: 1.5px solid var(--itzw-border) !important;
  text-decoration: none !important;
  transition: all 0.2s ease;
  white-space: nowrap !important;
}

.itzw-call-pill:hover {
  border-color: var(--itzw-orange) !important;
  color: var(--itzw-orange) !important;
  background: var(--itzw-orange-soft) !important;
}

.itzw-cta-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 9px 16px !important;
  border-radius: 999px !important;
  border: none !important;
  background: linear-gradient(135deg, #eb670c 0%, #ff7a18 100%) !important;
  color: #ffffff !important;
  font-family: var(--itzw-font) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  cursor: pointer;
  white-space: nowrap !important;
  box-shadow: 0 6px 16px rgba(235, 103, 12, 0.3) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.itzw-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 9px 22px rgba(235, 103, 12, 0.4) !important;
}

/* Mobile Toggle Button */
.itzw-mobile-toggle {
  display: none !important;
  background: #f8fafc !important;
  border: 1.5px solid var(--itzw-border) !important;
  border-radius: 50% !important;
  width: 38px !important;
  height: 38px !important;
  padding: 0 !important;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4.5px;
  transition: background 0.2s ease;
}

.itzw-mobile-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  background: var(--itzw-navy);
  border-radius: 2px;
  transition: all 0.25s ease;
}

.itzw-mobile-toggle.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.itzw-mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.itzw-mobile-toggle.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile Slide-Down Drawer */
.itzw-mobile-drawer {
  display: none;
  position: fixed;
  top: 68px;
  left: 12px;
  right: 12px;
  max-height: calc(100vh - 150px);
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--itzw-border);
  border-radius: 22px;
  padding: 16px 18px 20px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
  z-index: 9989;
  font-family: var(--itzw-font);
  box-sizing: border-box;
}

.itzw-mobile-drawer.active {
  display: block;
  animation: itzwDrawerIn 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes itzwDrawerIn {
  from { opacity: 0; transform: translateY(-12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.itzw-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--itzw-ink) !important;
  text-decoration: none !important;
  background: none;
  border: none;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  font-family: var(--itzw-font);
  text-align: left;
}

.itzw-drawer-link.is-active {
  color: var(--itzw-orange) !important;
}

.itzw-drawer-sub {
  display: none;
  padding: 4px 0 10px 10px;
  border-bottom: 1px solid #f1f5f9;
}

.itzw-drawer-sub.open {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.itzw-drawer-sub a {
  display: block;
  padding: 7px 8px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--itzw-muted) !important;
  text-decoration: none !important;
}

.itzw-drawer-sub a:hover {
  background: var(--itzw-orange-soft);
  color: var(--itzw-orange) !important;
}

.itzw-drawer-cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.itzw-drawer-cta-wrap .itzw-cta-btn,
.itzw-drawer-cta-wrap .itzw-call-pill {
  width: 100% !important;
  justify-content: center !important;
  padding: 12px 16px !important;
  font-size: 14px !important;
}

/* Responsive Breakpoints so AppBar NEVER Overflows */
@media (max-width: 1220px) {
  .itzw-est-badge {
    display: none !important;
  }
  .itzw-header-actions .itzw-call-pill {
    display: none !important;
  }
  .itzw-nav-link {
    padding: 7px 8px !important;
    font-size: 12.5px !important;
  }
}

@media (max-width: 1024px) {
  .itzw-header nav {
    display: none !important;
  }
  .itzw-mobile-toggle {
    display: inline-flex !important;
  }
}

@media (max-width: 640px) {
  .itzw-header-wrapper {
    top: 8px !important;
    padding: 0 10px !important;
  }
  .itzw-header {
    padding: 6px 8px 6px 14px !important;
    max-width: calc(100vw - 20px) !important;
  }
  .itzw-brand img {
    height: 26px !important;
    max-width: 145px !important;
  }
  .itzw-header-actions .itzw-cta-btn {
    padding: 8px 13px !important;
    font-size: 12px !important;
  }
  .itzw-drawer-sub.open {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   2. GLOBAL QUOTE FORM POPUP DIALOG
   ========================================================================== */
.itzw-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(11, 18, 33, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
  font-family: var(--itzw-font);
  box-sizing: border-box;
}

.itzw-modal-overlay *,
.itzw-modal-overlay *::before,
.itzw-modal-overlay *::after {
  box-sizing: border-box;
}

.itzw-modal-overlay.open {
  display: flex;
  animation: itzwFadeIn 0.22s ease;
}

@keyframes itzwFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.itzw-quote-dialog {
  position: relative;
  width: 100%;
  max-width: 500px;
  background: #ffffff;
  border-radius: 26px;
  padding: 28px 24px 24px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(235, 103, 12, 0.25);
  overflow: hidden;
  margin: auto;
  animation: itzwDialogPop 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes itzwDialogPop {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.itzw-quote-dialog::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #eb670c 0%, #ff8c00 100%);
}

.itzw-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--itzw-border);
  background: #f8fafc;
  color: var(--itzw-ink);
  font-size: 20px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.itzw-modal-close:hover {
  background: var(--itzw-navy);
  color: #ffffff;
  border-color: var(--itzw-navy);
}

.itzw-form-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--itzw-orange-soft);
  border: 1px solid var(--itzw-orange-border);
  color: var(--itzw-orange);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.itzw-form-header {
  text-align: center;
  margin-bottom: 18px;
  padding-right: 12px;
}

.itzw-form-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--itzw-ink);
  margin: 0 0 5px;
  line-height: 1.25;
}

.itzw-form-desc {
  font-size: 13.5px;
  color: var(--itzw-muted);
  margin: 0;
}

.itzw-form-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.itzw-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.itzw-input {
  width: 100%;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  font-family: var(--itzw-font);
  font-size: 14px;
  color: var(--itzw-ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.itzw-input:focus {
  background: #ffffff;
  border-color: var(--itzw-orange);
  box-shadow: 0 0 0 3px rgba(235, 103, 12, 0.14);
}

textarea.itzw-input {
  min-height: 82px;
  resize: vertical;
}

.itzw-form-submit {
  width: 100% !important;
  padding: 14px 18px !important;
  border-radius: 12px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  margin-top: 2px;
}

.itzw-form-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: var(--itzw-muted);
  margin-top: 12px;
  font-weight: 600;
  text-align: center;
}

.itzw-form-status {
  display: none;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  text-align: center;
}

.itzw-form-status.is-success {
  display: block;
  background: #ecfdf5;
  border: 1px solid #86efac;
  color: #166534;
}

.itzw-form-status.is-error {
  display: block;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.itzw-quick-alt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  font-size: 12.5px;
  color: var(--itzw-muted);
}

.itzw-quick-alt a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  text-decoration: none !important;
  color: var(--itzw-ink);
}

.itzw-quick-alt a.is-wa {
  color: #128c7e;
}

@media (max-width: 560px) {
  .itzw-quote-dialog {
    padding: 24px 18px 20px;
    border-radius: 22px;
  }
  .itzw-form-row {
    grid-template-columns: 1fr;
  }
  .itzw-form-title {
    font-size: 19px;
  }
}

/* ==========================================================================
   3. REUSABLE OFFICE LOCATIONS SECTION (4 INTERACTIVE GOOGLE MAPS IFRAMES)
   ========================================================================== */
.itzw-offices-section {
  background: linear-gradient(180deg, #f8fafc 0%, #eef3fb 100%) !important;
  padding: 64px 16px !important;
  font-family: var(--itzw-font);
  border-top: 1px solid var(--itzw-border);
  box-sizing: border-box;
  margin: 0 !important;
}

.itzw-offices-section *,
.itzw-offices-section *::before,
.itzw-offices-section *::after {
  box-sizing: border-box;
}

.itzw-offices-inner {
  max-width: 1220px;
  margin: 0 auto;
}

.itzw-offices-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}

.itzw-offices-tag {
  display: inline-block;
  background: var(--itzw-orange-soft);
  color: var(--itzw-orange);
  border: 1px solid var(--itzw-orange-border);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.itzw-offices-title {
  font-size: 30px !important;
  font-weight: 800 !important;
  color: var(--itzw-ink) !important;
  margin: 0 0 8px !important;
  letter-spacing: -0.4px;
  line-height: 1.25 !important;
}

.itzw-offices-sub {
  font-size: 14.5px !important;
  color: var(--itzw-muted) !important;
  margin: 0 !important;
  line-height: 1.55 !important;
}

.itzw-offices-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.itzw-office-card {
  background: #ffffff;
  border: 1px solid var(--itzw-border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.itzw-office-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.11);
  border-color: var(--itzw-orange-border);
}

.itzw-office-map-wrap {
  position: relative;
  width: 100%;
  height: 195px;
  overflow: hidden;
  background: #e2e8f0;
  border-bottom: 1px solid var(--itzw-border);
}

.itzw-office-map-wrap iframe {
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  display: block !important;
}

.itzw-office-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.itzw-office-city-tag {
  display: inline-block;
  width: fit-content;
  background: var(--itzw-orange-soft);
  color: var(--itzw-orange);
  border: 1px solid var(--itzw-orange-border);
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.itzw-office-body h3 {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: var(--itzw-ink) !important;
  margin: 0 0 8px !important;
  line-height: 1.3 !important;
}

.itzw-office-body p {
  font-size: 13px !important;
  line-height: 1.55 !important;
  color: var(--itzw-muted) !important;
  margin: 0 0 12px !important;
  flex: 1;
}

.itzw-office-contact-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.itzw-office-call-pill,
.itzw-office-wa-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 10px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.itzw-office-call-pill {
  flex: 1;
  background: #fff7f2;
  color: #c2410c !important;
  border: 1px solid #fed7aa;
}

.itzw-office-call-pill:hover {
  background: var(--itzw-orange);
  color: #ffffff !important;
  border-color: var(--itzw-orange);
}

.itzw-office-wa-pill {
  background: #f0fdf4;
  color: #15803d !important;
  border: 1px solid #bbf7d0;
}

.itzw-office-wa-pill:hover {
  background: #16a34a;
  color: #ffffff !important;
  border-color: #16a34a;
}

.itzw-office-call-pill svg,
.itzw-office-wa-pill svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.itzw-map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 10px;
  background: #f8fafc;
  color: var(--itzw-ink) !important;
  border: 1.5px solid var(--itzw-border);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.itzw-map-btn:hover {
  background: var(--itzw-orange);
  color: #ffffff !important;
  border-color: var(--itzw-orange);
}

@media (max-width: 1024px) {
  .itzw-offices-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .itzw-offices-section {
    padding: 46px 14px !important;
  }
  .itzw-offices-title {
    font-size: 24px !important;
  }
  .itzw-offices-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ==========================================================================
   4. REUSABLE UNIFIED SEO FOOTER
   ========================================================================== */
.itzw-footer {
  background: linear-gradient(180deg, var(--itzw-navy-mid) 0%, var(--itzw-navy-deep) 100%) !important;
  color: #cbd5e1 !important;
  padding: 56px 16px 28px !important;
  margin: 0 !important;
  font-family: var(--itzw-font);
  box-sizing: border-box;
  height: auto !important;
}

.itzw-footer *,
.itzw-footer *::before,
.itzw-footer *::after {
  box-sizing: border-box;
}

.itzw-footer-inner {
  max-width: 1220px;
  margin: 0 auto;
}

.itzw-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 28px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.itzw-footer-brand-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 480px;
}

.itzw-footer-logo-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 16px;
  width: fit-content;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.05) 100%);
  backdrop-filter: blur(16px) saturate(170%);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.42),
    inset 0 -4px 12px rgba(2, 6, 23, 0.28),
    0 10px 26px rgba(2, 6, 23, 0.34);
  overflow: hidden;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    background 0.24s ease;
}

.itzw-footer-logo-wrap::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 8%;
  right: 8%;
  height: 46%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.itzw-footer-logo-wrap:hover {
  transform: translateY(-2px);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.22) 0%, rgba(235, 103, 12, 0.14) 100%);
  border-color: rgba(255, 166, 102, 0.48);
  box-shadow:
    inset 0 1px 1.5px rgba(255, 255, 255, 0.52),
    0 14px 30px rgba(2, 6, 23, 0.42),
    0 0 0 3px rgba(235, 103, 12, 0.14);
}

.itzw-footer-logo-wrap img {
  position: relative;
  z-index: 1;
  height: 40px !important;
  width: auto !important;
  max-width: 210px !important;
  object-fit: contain !important;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.24));
}

.itzw-footer-brand-info p {
  font-size: 13.5px !important;
  color: #94a3b8 !important;
  margin: 4px 0 0 !important;
  line-height: 1.55 !important;
}

.itzw-footer-contact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.itzw-footer-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none !important;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.itzw-footer-chip:hover {
  background: var(--itzw-orange);
  border-color: var(--itzw-orange);
}

.itzw-footer-chip.is-wa:hover {
  background: var(--itzw-green-dark);
  border-color: var(--itzw-green-dark);
}

.itzw-footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.itzw-footer-col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 0 0 12px;
  margin: 0;
  color: #ffffff;
  font-family: var(--itzw-font);
  font-size: 15px;
  font-weight: 800;
  text-align: left;
  cursor: default;
}

.itzw-footer-acc-icon {
  display: none;
  font-size: 18px;
  font-weight: 400;
  color: var(--itzw-orange);
}

.itzw-footer-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.itzw-footer-list li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.itzw-footer-list a {
  color: #cbd5e1 !important;
  font-size: 13.5px !important;
  font-weight: 500;
  text-decoration: none !important;
  transition: color 0.18s ease, padding-left 0.18s ease;
  display: inline-block;
  line-height: 1.4;
}

.itzw-footer-list a:hover {
  color: #ff9d5c !important;
  padding-left: 3px;
}

.itzw-footer-list a.itzw-footer-all-link {
  color: #ff9d5c !important;
  font-weight: 700 !important;
  margin-top: 4px;
}

.itzw-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.itzw-footer-copy {
  font-size: 13px !important;
  color: #94a3b8 !important;
  margin: 0 !important;
}

.itzw-footer-copy a {
  color: #ffffff !important;
  text-decoration: underline;
}

.itzw-footer-socials {
  display: flex;
  align-items: center;
  gap: 14px;
}

.itzw-footer-socials a {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #ffffff !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.06) 100%);
  backdrop-filter: blur(14px) saturate(175%);
  -webkit-backdrop-filter: blur(14px) saturate(175%);
  border: 1.5px solid rgba(255, 255, 255, 0.34);
  box-shadow:
    inset 0 1.5px 1.5px rgba(255, 255, 255, 0.52),
    inset 0 -4px 10px rgba(2, 6, 23, 0.28),
    0 8px 20px rgba(2, 6, 23, 0.34);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}

.itzw-footer-socials a::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 14%;
  right: 14%;
  height: 44%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.44) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  z-index: 2;
}

.itzw-footer-socials a.is-fb {
  background: linear-gradient(145deg, #2d88ff 0%, #1877f2 55%, #0b57d0 100%);
  border-color: rgba(147, 197, 253, 0.58);
  box-shadow:
    inset 0 1.5px 1.5px rgba(255, 255, 255, 0.52),
    inset 0 -4px 10px rgba(8, 39, 108, 0.35),
    0 8px 20px rgba(24, 119, 242, 0.36);
}

.itzw-footer-socials a.is-fb:hover {
  border-color: rgba(191, 219, 254, 0.9);
  box-shadow:
    inset 0 1.5px 2px rgba(255, 255, 255, 0.62),
    0 12px 28px rgba(24, 119, 242, 0.54),
    0 0 0 4px rgba(24, 119, 242, 0.22);
}

.itzw-footer-socials a.is-tw {
  background: linear-gradient(145deg, #38b6ff 0%, #1da1f2 55%, #0c85d0 100%);
  border-color: rgba(125, 211, 252, 0.58);
  box-shadow:
    inset 0 1.5px 1.5px rgba(255, 255, 255, 0.52),
    inset 0 -4px 10px rgba(7, 89, 133, 0.32),
    0 8px 20px rgba(29, 161, 242, 0.36);
}

.itzw-footer-socials a.is-tw:hover {
  border-color: rgba(186, 230, 253, 0.9);
  box-shadow:
    inset 0 1.5px 2px rgba(255, 255, 255, 0.62),
    0 12px 28px rgba(29, 161, 242, 0.54),
    0 0 0 4px rgba(29, 161, 242, 0.22);
}

.itzw-footer-socials a.is-ig {
  background: radial-gradient(circle at 28% 106%, #fdf497 0%, #fdf497 7%, #fd5949 44%, #d6249f 66%, #285aeb 96%);
  border-color: rgba(253, 186, 116, 0.58);
  box-shadow:
    inset 0 1.5px 1.5px rgba(255, 255, 255, 0.52),
    inset 0 -4px 10px rgba(131, 24, 67, 0.32),
    0 8px 20px rgba(214, 36, 159, 0.38);
}

.itzw-footer-socials a.is-ig:hover {
  border-color: rgba(251, 207, 232, 0.9);
  box-shadow:
    inset 0 1.5px 2px rgba(255, 255, 255, 0.62),
    0 12px 28px rgba(225, 48, 108, 0.54),
    0 0 0 4px rgba(225, 48, 108, 0.22);
}

.itzw-footer-socials a.is-li {
  background: linear-gradient(145deg, #2484e5 0%, #0a66c2 55%, #004182 100%);
  border-color: rgba(125, 185, 252, 0.55);
  box-shadow:
    inset 0 1.5px 1.5px rgba(255, 255, 255, 0.52),
    inset 0 -4px 10px rgba(0, 41, 88, 0.36),
    0 8px 20px rgba(10, 102, 194, 0.36);
}

.itzw-footer-socials a.is-li:hover {
  border-color: rgba(186, 222, 255, 0.9);
  box-shadow:
    inset 0 1.5px 2px rgba(255, 255, 255, 0.62),
    0 12px 28px rgba(10, 102, 194, 0.54),
    0 0 0 4px rgba(10, 102, 194, 0.22);
}

.itzw-footer-socials a:hover {
  transform: translateY(-4px) scale(1.08);
  filter: brightness(1.07) saturate(1.1);
}

.itzw-footer-socials svg,
.itzw-footer-socials img {
  position: relative;
  z-index: 1;
  display: block;
  color: #ffffff;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.26));
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.itzw-footer-socials img {
  width: 24px !important;
  height: 24px !important;
}

.itzw-footer-socials a:hover svg,
.itzw-footer-socials a:hover img {
  transform: scale(1.1);
}

@media (max-width: 991px) {
  .itzw-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .itzw-footer {
    padding: 40px 14px 104px !important; /* Extra bottom room for mandatory mobile bar */
  }
  .itzw-footer-logo-wrap {
    padding: 8px 16px;
    border-radius: 14px;
  }
  .itzw-footer-logo-wrap img {
    height: 36px !important;
    max-width: 185px !important;
  }
  .itzw-footer-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .itzw-footer-col {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .itzw-footer-col-head {
    padding: 14px 2px;
    cursor: pointer;
  }
  .itzw-footer-acc-icon {
    display: inline-block;
  }
  .itzw-footer-list {
    display: none;
    padding-bottom: 14px !important;
  }
  .itzw-footer-col.open .itzw-footer-list {
    display: flex;
  }
  .itzw-footer-bottom {
    flex-direction: column;
    text-align: center;
    padding-right: 0;
  }
}

@media (max-width: 1024px) {
  .itzw-footer {
    padding-bottom: 104px !important; /* Breathing room above centered tablet & mobile floating bar */
  }
  .itzw-footer-bottom {
    padding-right: 0;
  }
}

/* ==========================================================================
   5. MANDATORY GLOBAL WHATSAPP, CALL & QUOTE GLASSY FLOATING CONTROLS
   ========================================================================== */

@keyframes itzwLivePulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(134, 239, 172, 0.85);
    opacity: 1;
  }
  65% {
    box-shadow: 0 0 0 6px rgba(134, 239, 172, 0);
    opacity: 0.9;
  }
}

.itzw-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #bbf7d0;
  flex-shrink: 0;
  animation: itzwLivePulse 2.1s infinite ease-out;
}

/* Desktop Slim Right-Edge Vertical Glass Rail (>= 1025px) */
.itzw-desktop-dock {
  position: fixed;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9985;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 7px 6px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.36);
  backdrop-filter: blur(20px) saturate(185%);
  -webkit-backdrop-filter: blur(20px) saturate(185%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow:
    0 14px 36px rgba(2, 6, 23, 0.22),
    inset 0 1px 1px rgba(255, 255, 255, 0.36);
  font-family: var(--itzw-font);
  box-sizing: border-box;
  transition: background 0.22s ease, box-shadow 0.22s ease;
}

.itzw-desktop-dock:hover {
  background: rgba(15, 23, 42, 0.56);
  box-shadow:
    0 18px 42px rgba(2, 6, 23, 0.32),
    inset 0 1px 1px rgba(255, 255, 255, 0.42);
}

.itzw-dock-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  color: #ffffff !important;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.32);
  cursor: pointer;
  overflow: visible;
  backdrop-filter: blur(12px) saturate(165%);
  -webkit-backdrop-filter: blur(12px) saturate(165%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.45),
    0 6px 14px rgba(2, 6, 23, 0.2);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    filter 0.22s ease;
  font-family: var(--itzw-font);
  box-sizing: border-box;
}

.itzw-dock-btn::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 16%;
  right: 16%;
  height: 42%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.itzw-dock-btn .itzw-live-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 8px;
  height: 8px;
  border: 1.5px solid #064e3b;
  z-index: 2;
}

/* Smooth Glide-Out Frosted Glass Tooltip on Hover */
.itzw-dock-tip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  box-shadow: 0 10px 26px rgba(2, 6, 23, 0.32);
  transition: opacity 0.2s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.itzw-dock-btn:hover .itzw-dock-tip,
.itzw-dock-btn:focus-visible .itzw-dock-tip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.itzw-mbar-btn::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 8%;
  right: 8%;
  height: 46%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.itzw-dock-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.itzw-mbar-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.itzw-mbar-btn span {
  position: relative;
  z-index: 1;
}

.itzw-dock-btn:hover {
  transform: scale(1.1);
  border-color: rgba(255, 255, 255, 0.65);
  filter: brightness(1.06);
}

.itzw-dock-btn:active,
.itzw-mbar-btn:active {
  transform: scale(0.95);
}

.itzw-dock-wa,
.itzw-mbar-wa {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.88) 0%, rgba(18, 140, 126, 0.92) 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.45),
    0 6px 18px rgba(37, 211, 102, 0.34);
}

.itzw-dock-wa:hover {
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.55),
    0 10px 24px rgba(37, 211, 102, 0.52);
}

.itzw-dock-call,
.itzw-mbar-call {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, rgba(148, 163, 184, 0.16) 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.42),
    0 6px 16px rgba(2, 6, 23, 0.22);
}

.itzw-dock-call:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.65) 0%, rgba(30, 58, 138, 0.82) 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.55),
    0 10px 24px rgba(59, 130, 246, 0.42);
}

.itzw-dock-quote,
.itzw-mbar-cta {
  background: linear-gradient(135deg, rgba(255, 134, 44, 0.94) 0%, rgba(235, 103, 12, 0.96) 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.48),
    0 6px 18px rgba(235, 103, 12, 0.38);
}

.itzw-dock-quote:hover {
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.58),
    0 10px 26px rgba(235, 103, 12, 0.54);
}

/* Tablet & Mobile Glassy iOS Sticky Bottom Bar (<= 1024px) */
.itzw-mobile-bar {
  display: none;
  position: fixed;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 9992;
  width: calc(100% - 24px);
  max-width: 500px;
  background: linear-gradient(155deg, rgba(15, 23, 42, 0.58) 0%, rgba(11, 18, 33, 0.76) 100%);
  backdrop-filter: blur(22px) saturate(190%);
  -webkit-backdrop-filter: blur(22px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 6px;
  box-shadow:
    0 16px 38px rgba(2, 6, 23, 0.36),
    inset 0 1px 1px rgba(255, 255, 255, 0.34);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  font-family: var(--itzw-font);
  box-sizing: border-box;
}

.itzw-mbar-btn {
  position: relative;
  width: 100%;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #ffffff !important;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.28);
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  backdrop-filter: blur(12px) saturate(165%);
  -webkit-backdrop-filter: blur(12px) saturate(165%);
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.2s ease,
    border-color 0.2s ease;
  font-family: var(--itzw-font);
  box-sizing: border-box;
}

.itzw-mbar-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.5);
  filter: brightness(1.06);
}

/* Tablet View (768px - 1024px): Centered Sleek Horizontal Glass Pill Bar */
@media (max-width: 1024px) {
  .itzw-desktop-dock {
    display: none;
  }
  .itzw-mobile-bar {
    display: grid;
    align-items: center;
  }
}

/* Mobile View (<= 767px) */
@media (max-width: 767px) {
  .itzw-mobile-bar {
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    width: calc(100% - 16px);
    max-width: 440px;
    padding: 5px;
    gap: 5px;
  }
  .itzw-mbar-btn {
    height: 42px;
    font-size: 12.5px;
    gap: 5px;
    padding: 0 6px;
  }
  .itzw-mbar-btn svg {
    width: 15px;
    height: 15px;
  }
}

/* Compact Mobile (<= 380px) */
@media (max-width: 380px) {
  .itzw-mbar-btn {
    font-size: 11.5px;
    gap: 4px;
    padding: 0 4px;
  }
  .itzw-live-dot {
    width: 6px;
    height: 6px;
  }
}
