/* ==========================================================================
   National Shield Pro — Where We Operate Interactive Regional Section
   Matches User Figma Reference 100% with Smooth Interactive Tab Switching
   ========================================================================== */

.locations-operate-section {
  position: relative;
  background-color: #ffffff;
  padding: 5.5rem 0 5rem 0;
  border-bottom: 1px solid #e2e8f0;
}

/* Header */
.locations-operate-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.6rem auto;
}

.locations-operate-kicker {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #047857;
  margin-bottom: 0.85rem;
}

.locations-operate-title {
  font-size: clamp(2.2rem, 3.4vw, 3rem);
  font-weight: 850;
  letter-spacing: -0.03em;
  color: #0f172a;
  line-height: 1.2;
  margin: 0 0 1.1rem 0;
}

.locations-operate-subtitle {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* Main 2-Column Grid */
.locations-operate-grid {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 2.2rem;
  align-items: stretch;
  margin-bottom: 3.5rem;
}

/* Left Sidebar Tabs */
.locations-operate-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.operate-tab-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  width: 100%;
  padding: 1.15rem 1.4rem;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  cursor: pointer;
  text-align: left;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
}

.operate-tab-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #044e39;
  border-radius: 4px;
  opacity: 0;
  transform: scaleY(0.4);
  transition: all 0.25s ease;
}

.operate-tab-icon {
  width: 32px;
  height: 32px;
  color: #529b7a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color 0.25s ease;
}

.operate-tab-icon svg {
  width: 100%;
  height: 100%;
}

.operate-tab-label {
  flex-grow: 1;
  font-size: 0.96rem;
  font-weight: 650;
  color: #0f172a;
  transition: color 0.25s ease;
}

.operate-tab-arrow {
  color: #94a3b8;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.operate-tab-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateX(3px);
}

.operate-tab-btn.active {
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.1);
}

.operate-tab-btn.active .operate-tab-accent {
  opacity: 1;
  transform: scaleY(1);
}

.operate-tab-btn.active .operate-tab-icon {
  color: #044e39;
}

.operate-tab-btn.active .operate-tab-label {
  color: #0f172a;
  font-weight: 750;
}

.operate-tab-btn.active .operate-tab-arrow {
  color: #044e39;
  transform: translateX(3px);
}

/* Right Content Display Cards */
.locations-operate-display {
  position: relative;
  min-height: 480px;
}

.operate-panel {
  display: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.operate-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.operate-card-inner {
  position: relative;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 24px;
  padding: 2.8rem 2.8rem;
  box-shadow: 0 10px 32px -4px rgba(15, 23, 42, 0.05);
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: 2.4rem;
  align-items: center;
  overflow: hidden;
}

/* Left Card Info */
.operate-card-info {
  position: relative;
  z-index: 2;
}

.operate-card-flags {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.3rem;
}

.operate-card-title {
  font-size: 1.95rem;
  font-weight: 850;
  color: #0f172a;
  letter-spacing: -0.025em;
  margin: 0 0 0.8rem 0;
  line-height: 1.2;
}

.operate-card-desc {
  font-size: 0.98rem;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 1.6rem 0;
}

.operate-card-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 2.2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.operate-card-checklist li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.94rem;
  font-weight: 550;
  color: #1e293b;
}

.operate-card-checklist .check-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-operate-explore {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #044e39;
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 700;
  padding: 0.85rem 1.6rem;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(4, 78, 57, 0.25);
}

.btn-operate-explore:hover {
  background: #065f46;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(4, 78, 57, 0.35);
  color: #ffffff;
}

/* Right Card Map Wrapper */
.operate-card-map-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 85% 20%, rgba(220, 252, 231, 0.45) 0%, rgba(240, 253, 244, 0.2) 60%, transparent 100%);
  border-radius: 18px;
}

.operate-map-svg {
  width: 100%;
  height: auto;
  display: block;
  max-width: 440px;
}

.map-country {
  transition: fill 0.25s ease, transform 0.25s ease;
  cursor: pointer;
}

.map-country:hover {
  filter: brightness(1.08);
}

/* Floating Active Markets Badge */
.operate-live-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.55rem 0.95rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  z-index: 5;
}

.live-badge-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.live-badge-text {
  display: flex;
  flex-direction: column;
}

.live-badge-title {
  font-size: 0.84rem;
  font-weight: 750;
  color: #0f172a;
  line-height: 1.2;
}

.live-badge-sub {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 500;
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 9999px;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: liveBadgePulse 2s infinite;
}

@keyframes liveBadgePulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Bottom Feature Strip */
.locations-operate-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 1.5rem 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.operate-strip-card {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 0 1.5rem;
  border-right: 1.5px solid #e2e8f0;
}

.operate-strip-card:last-child {
  border-right: none;
}

.operate-strip-icon-box {
  width: 48px;
  height: 48px;
  background: #ecfdf5;
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #059669;
  flex-shrink: 0;
}

.operate-strip-text {
  display: flex;
  flex-direction: column;
}

.operate-strip-title {
  font-size: 0.98rem;
  font-weight: 750;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 0.2rem;
}

.operate-strip-sub {
  font-size: 0.83rem;
  color: #64748b;
  font-weight: 500;
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 1080px) {
  .locations-operate-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .operate-card-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .locations-operate-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
  }
  .operate-strip-card {
    border-right: none;
    padding: 0;
  }
}

@media (max-width: 640px) {
  .locations-operate-strip {
    grid-template-columns: 1fr;
  }
}
